/* ─────────────────────────────────────────────────────────
   MAIYA – Global Styles
   ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:        #e91e8c;
  --pink-light:  #fce4f3;
  --pink-dark:   #c0166f;
  --purple:      #7c3aed;
  --purple-light:#ede9fe;
  --text:        #1a1a2e;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #ffffff;
  --bg-soft:     #fdf8fc;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 4px 24px rgba(233,30,140,.10);
  --shadow-lg:   0 12px 48px rgba(233,30,140,.15);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: #886ec5;
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 30, 140, .35);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,30,140,.45);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ─── Section helpers ─── */
.section-label {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 12px;
}

/* ─────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pink);
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo-img--light {
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--pink); }
.nav-cta { margin-left: 16px; padding: 10px 22px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}
/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu .btn { text-align: center; justify-content: center; }

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fff9fc 0%, #fce4f3 50%, #ede9fe 100%);
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text { padding: 12px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--pink-light);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(233,30,140,.1);
}
.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-social-proof {
  font-size: .9rem;
  color: var(--muted);
}
.hero-social-proof strong { color: var(--pink); }

/* hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-blob {
  position: absolute;
  bottom: 0;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(233,30,140,.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-img {
  position: relative;
  z-index: 1;
  height: 820px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(233,30,140,.25));
}

/* ─────────────────────────────────────────────────────────
   IMPACT STATS
   ───────────────────────────────────────────────────────── */
.impact {
  background: var(--text);
  color: #fff;
  padding: 80px 0;
}
.impact .section-label {
  background: rgba(233,30,140,.25);
  color: #f9a8d4;
}
.impact h2 {
  color: #fff;
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(233,30,140,.15);
  border-color: rgba(233,30,140,.4);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.impact .container { text-align: center; }

/* ─────────────────────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg-soft);
}
.features h2 { margin-bottom: 12px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-card--highlight {
  /* background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%); */
  border-color: transparent;
  color: #fff;
}
.feature-card--highlight p { color: rgba(255,255,255,.85); }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* family callout */
.family-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
  background: #fff;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.family-text { padding: 48px 48px 48px 48px; }
.milestone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-light);
  color: var(--pink);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.chip-dot {
  width: 8px; height: 8px;
  background: var(--pink);
  border-radius: 50%;
}
.family-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}
.family-text p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: .95rem;
}
.family-img-wrap {
  background: linear-gradient(135deg, #fce4f3 0%, #ede9fe 100%);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 360px;
}
.family-img {
  max-height: 380px;
  object-fit: contain;
}

/* ─────────────────────────────────────────────────────────
   ECOSYSTEM
   ───────────────────────────────────────────────────────── */
.ecosystem {
  padding: 100px 0;
  background: #fff;
}
.ecosystem-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.eco-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.eco-step:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.eco-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
}
.eco-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.eco-content p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────
   AI GRANNY
   ───────────────────────────────────────────────────────── */
.granny {
  background: linear-gradient(135deg, var(--text) 0%, #2d1b4e 100%);
  padding: 100px 0 0;
  overflow: hidden;
  color: #fff;
}
.granny-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-end;
}
.granny .section-label {
  background: rgba(233,30,140,.25);
  color: #f9a8d4;
}
.granny h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 16px 0;
}
.granny p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 440px;
}
.granny-img-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.granny-img {
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(233,30,140,.4));
}

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.8);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo--light { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: .9rem;
  max-width: 340px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.45); }

.footer-links { display: flex; gap: 48px; }
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ─────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
   ───────────────────────────────────────────────────────── */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate.visible {
  opacity: 1;
  transform: none;
}
.stat-card:nth-child(2)  { transition-delay: .1s; }
.stat-card:nth-child(3)  { transition-delay: .2s; }
.stat-card:nth-child(4)  { transition-delay: .3s; }
.feature-card:nth-child(2) { transition-delay: .07s; }
.feature-card:nth-child(3) { transition-delay: .14s; }
.feature-card:nth-child(4) { transition-delay: .21s; }
.feature-card:nth-child(5) { transition-delay: .07s; }
.feature-card:nth-child(6) { transition-delay: .14s; }
.feature-card:nth-child(7) { transition-delay: .21s; }
.feature-card:nth-child(8) { transition-delay: .28s; }
.eco-step:nth-child(2) { transition-delay: .1s; }
.eco-step:nth-child(3) { transition-delay: .2s; }
.eco-step:nth-child(4) { transition-delay: .3s; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 0;
    gap: 32px;
  }
  .hero-text { padding-bottom: 0; }
  .hero-sub  { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-image-wrap { justify-content: center; }
  .hero-img { max-height: 480px; }

  .impact h2 { font-size: 1.3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .family-callout {
    grid-template-columns: 1fr;
  }
  .family-text { padding: 32px; }
  .family-img-wrap { min-height: 260px; }

  .ecosystem-steps { grid-template-columns: 1fr; }

  .granny-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .granny p { margin: 0 auto 32px; }
  .granny-img-wrap { justify-content: center; }
  .granny-img { max-height: 300px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: center; }
}
