/* ============================================
   ABOUT PAGE — HappenGrid
   Matches global design system
   ============================================ */

/* ---- Text gradient (local alias) ---- */
.text-gradient {
  background: var(--gradient-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Page wrapper: push content below fixed navbar ---- */
.main-content {
  padding-top: 5rem; /* ~80px — clears the fixed navbar */
}

/* ---- Shared section spacing ---- */
.about-section {
  padding: 5rem 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  padding: 4rem 0 5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, hsla(270, 80%, 65%, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(270, 80%, 65%, 0.12);
  border: 1px solid hsla(270, 80%, 65%, 0.25);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(240, 15%, 8%, 0.9) 100%);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.stat-card:hover {
  border-color: hsla(270, 60%, 50%, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.4), 0 0 30px hsla(270, 80%, 65%, 0.12);
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   STORY
   ============================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.story-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.story-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1rem;
}

.story-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(240, 15%, 8%, 0.9) 100%);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--primary);
  backdrop-filter: blur(12px);
}

.image-placeholder span {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ============================================
   MISSION & VISION
   ============================================ */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .mission-vision {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mv-card {
  background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(240, 15%, 8%, 0.9) 100%);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.mv-card:hover {
  border-color: hsla(270, 60%, 50%, 0.4);
  box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.4), 0 0 30px hsla(270, 80%, 65%, 0.12);
}

.mv-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: hsla(270, 80%, 65%, 0.12);
  border: 1px solid hsla(270, 80%, 65%, 0.25);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.mv-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mv-card p {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.9375rem;
}

/* ============================================
   FOUNDER — single centered card
   ============================================ */
.founders-section {
  margin-bottom: 5rem;
  text-align: center;
}

.founders-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.founders-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  font-size: 1.0625rem;
}

/* Center the single card */
.founders-grid {
  display: flex;
  justify-content: center;
}

.founder-card {
  background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(240, 15%, 8%, 0.9) 100%);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.founder-card:hover {
  border-color: hsla(270, 60%, 50%, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px hsla(0, 0%, 0%, 0.5), 0 0 40px hsla(270, 80%, 65%, 0.15);
}

.founder-card:hover::before {
  transform: scaleX(1);
}

.founder-image {
  margin-bottom: 1.5rem;
}

.avatar-placeholder {
  width: 96px;
  height: 96px;
  background: var(--gradient-violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 8px 30px hsla(270, 80%, 65%, 0.35);
}

.founder-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.founder-role {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.875rem;
  background: hsla(270, 80%, 65%, 0.12);
  border: 1px solid hsla(270, 80%, 65%, 0.25);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.founder-bio {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  min-height: 0;
}

.founder-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

/* Override global .social-link for founder socials */
.founder-socials .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.founder-socials .social-link.linkedin {
  background: hsla(211, 90%, 40%, 0.12);
  border: 1px solid hsla(211, 90%, 40%, 0.25);
  color: #4da6ff;
}

.founder-socials .social-link.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: white;
  transform: translateY(-2px);
}

.founder-socials .social-link.twitter {
  background: hsla(240, 15%, 18%, 0.8);
  border: 1px solid hsla(270, 30%, 35%, 0.3);
  color: var(--muted-foreground);
}

.founder-socials .social-link.twitter:hover {
  background: hsla(270, 80%, 65%, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================
   VALUES
   ============================================ */
.values-section {
  margin-bottom: 5rem;
  text-align: center;
}

.values-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(240, 15%, 8%, 0.9) 100%);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.value-card:hover {
  border-color: hsla(270, 60%, 50%, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.4), 0 0 30px hsla(270, 80%, 65%, 0.1);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(270, 80%, 65%, 0.1);
  border: 1px solid hsla(270, 80%, 65%, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.value-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.value-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(270, 30%, 12%, 0.9) 100%);
  border: 1px solid hsla(270, 30%, 35%, 0.2);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, hsla(270, 80%, 65%, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cta-section p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Use global .btn classes — local overrides removed */
.btn-secondary {
  padding: 0.875rem 2rem;
  background: var(--gradient-violet);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px hsla(270, 80%, 65%, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px hsla(270, 80%, 65%, 0.5);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(270, 30%, 35%, 0.3), transparent);
  margin: 0 0 5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .stats-section {
    gap: 0.875rem;
    margin-bottom: 3.5rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 1.875rem;
  }

  .story-section,
  .mission-vision,
  .founders-section,
  .values-section {
    margin-bottom: 3.5rem;
  }

  .cta-section {
    padding: 2.5rem 1.25rem;
    margin-bottom: 3rem;
  }

  .founder-card {
    max-width: 100%;
  }
}
