@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --bg-deep: #0A0A14;
  --bg-surface: #12121F;
  --bg-card: rgba(22, 22, 38, 0.7);
  --bg-card-solid: #16162A;
  --bg-nav: rgba(10, 10, 20, 0.72);

  --accent-violet: #8B5CF6;
  --accent-indigo: #6366F1;
  --accent-pink: #EC4899;
  --accent-cyan: #22D3EE;
  --accent-emerald: #34D399;
  --accent-amber: #FBBF24;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;

  --border-subtle: rgba(139, 92, 246, 0.12);
  --border-hover: rgba(139, 92, 246, 0.35);

  --glow-violet: rgba(139, 92, 246, 0.25);
  --glow-pink: rgba(236, 72, 153, 0.2);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ── TWINKLING STARS ── */
#star-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── CUSTOM CURSOR (Desktop only) ── */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }

  #magic-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 18px; height: 18px;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, var(--accent-violet) 55%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--transition-smooth), height 0.25s var(--transition-smooth), background 0.3s;
    box-shadow: 0 0 12px var(--accent-violet), 0 0 24px rgba(139, 92, 246, 0.15);
  }

  #magic-cursor.hovering {
    width: 40px; height: 40px;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, var(--accent-pink) 55%, transparent 100%);
    box-shadow: 0 0 20px var(--accent-pink);
  }
}

@media (hover: none) {
  #magic-cursor { display: none; }
}

.sparkle {
  position: fixed;
  pointer-events: none;
  width: 5px; height: 5px;
  background: white;
  border-radius: 50%;
  z-index: 9998;
  animation: sparkle-fade 0.6s forwards;
  box-shadow: 0 0 6px var(--accent-violet);
}

@keyframes sparkle-fade {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(0) translateY(15px); opacity: 0; }
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(92%, 1200px);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--border-subtle);
  border-radius: 60px;
  transition: all 0.4s var(--transition-smooth);
}

nav.scrolled {
  top: 10px;
  background: rgba(10, 10, 20, 0.88);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--glow-violet));
}

.nav-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.3s var(--transition-smooth);
}

nav ul li a:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink)) !important;
  color: var(--text-primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px var(--glow-violet);
  border: none;
}

.nav-cta:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 24px var(--glow-violet) !important;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink)) !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 8px;
  border-radius: 12px;
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background: rgba(139, 92, 246, 0.1);
}

.mobile-menu-btn svg {
  width: 24px; height: 24px;
  display: block;
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 6% 80px;
  overflow: hidden;
}

/* Radial hero glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-violet);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--transition-smooth) both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s 0.1s var(--transition-smooth) both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #C4B5FD 0%, var(--accent-pink) 50%, #FDBA74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer effect on the magic word */
.hero-magic-word {
  position: relative;
  background-size: 200% auto;
  animation: shimmer-text 3s linear infinite;
}

@keyframes shimmer-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
  animation: fadeInUp 0.8s 0.2s var(--transition-smooth) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s var(--transition-smooth) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: var(--bg-deep);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(236,72,153,0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary svg {
  width: 22px; height: 22px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--transition-smooth);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(139, 92, 246, 0.06);
}

/* Hero visual with phone mockups */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInUp 1s 0.4s var(--transition-smooth) both;
}

.phone-stack {
  position: relative;
  width: 320px;
  height: 560px;
}

.phone-mockup {
  position: absolute;
  width: 260px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.6s var(--transition-smooth), box-shadow 0.6s var(--transition-smooth);
  background: #1a1a2e;
}

.phone-mockup img {
  width: 100%;
  display: block;
}

.phone-mockup.phone-front {
  z-index: 3;
  top: 10%;
  left: 10%;
}

.phone-mockup.phone-back-left {
  z-index: 1;
  top: 0;
  left: -30px;
  transform: rotate(-8deg) scale(0.88);
  opacity: 0.7;
}

.phone-mockup.phone-back-right {
  z-index: 2;
  top: 5%;
  right: -30px;
  transform: rotate(6deg) scale(0.92);
  opacity: 0.8;
}

.phone-stack:hover .phone-front {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(255,255,255,0.12);
}

.phone-stack:hover .phone-back-left {
  transform: rotate(-12deg) scale(0.85) translateX(-12px);
}

.phone-stack:hover .phone-back-right {
  transform: rotate(10deg) scale(0.89) translateX(12px);
}

/* Hero glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow-1 {
  width: 300px; height: 300px;
  background: rgba(139, 92, 246, 0.15);
  top: 20%; right: -5%;
  animation: glow-drift 8s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 200px; height: 200px;
  background: rgba(236, 72, 153, 0.1);
  bottom: 10%; left: 10%;
  animation: glow-drift 10s ease-in-out infinite alternate-reverse;
}

.hero-glow-3 {
  width: 250px; height: 250px;
  background: rgba(34, 211, 238, 0.08);
  top: 40%; left: 30%;
  animation: glow-drift 12s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── HERO PARTICLES ── */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4px;
  height: 4px;
  background: var(--accent-violet);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float var(--duration) var(--delay) ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-violet), 0 0 16px rgba(139, 92, 246, 0.3);
}

.particle:nth-child(even) {
  background: var(--accent-pink);
  box-shadow: 0 0 8px var(--accent-pink), 0 0 16px rgba(236, 72, 153, 0.3);
  width: 3px;
  height: 3px;
}

.particle:nth-child(3n) {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan), 0 0 16px rgba(34, 211, 238, 0.3);
  width: 5px;
  height: 5px;
}

@keyframes particle-float {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0);
  }
  20% {
    opacity: 0.8;
    transform: translateY(-20px) translateX(10px) scale(1);
  }
  80% {
    opacity: 0.6;
    transform: translateY(-60px) translateX(-15px) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) translateX(5px) scale(0);
  }
}

/* ── SOCIAL PROOF BAR ── */
.trust-bar {
  position: relative;
  z-index: 1;
  padding: 48px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.trust-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--border-subtle);
}

.trust-icon svg {
  width: 20px; height: 20px;
  color: var(--accent-violet);
}

.trust-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

/* ── STATS SECTION ── */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 80px 6%;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  font-weight: 400;
  background: linear-gradient(135deg, #C4B5FD, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.stat-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  position: relative;
  z-index: 1;
}

/* ── SECTION SHARED ── */
.section {
  padding: 120px 6%;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-violet);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 30px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-pink), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3), 0 0 0 1px var(--border-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.f-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.f-icon svg {
  width: 28px; height: 28px;
  color: #FFF;
  position: relative;
  z-index: 1;
}

.f-icon-1 {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.f-icon-2 {
  background: linear-gradient(135deg, #EC4899, #F472B6);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35);
}

.f-icon-3 {
  background: linear-gradient(135deg, #22D3EE, #67E8F9);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.35);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── SCREENSHOTS SHOWCASE ── */
.screenshots-section {
  overflow: hidden;
}

.screenshot-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.screenshot-scroll-wrapper::before,
.screenshot-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.screenshot-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep), transparent);
}

.screenshot-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep), transparent);
}

.screenshot-track {
  display: flex;
  gap: 28px;
  animation: scroll-screenshots 40s linear infinite;
  width: fit-content;
}

.screenshot-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-screenshots {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.screenshot-item {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-solid);
  padding: 8px;
  transition: all 0.5s var(--transition-smooth);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.screenshot-item:hover {
  transform: scale(1.05) translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 48px rgba(139, 92, 246, 0.2);
  z-index: 10;
}

.screenshot-item img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ── FOR PARENTS SECTION ── */
.parents-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.parents-grid.parents-grid-centered {
  grid-template-columns: 1fr;
  max-width: 680px;
  text-align: center;
}

.parents-grid-centered .parents-content {
  max-width: 100%;
}

.parents-grid-centered .parents-features {
  align-items: center;
}

.parents-grid-centered .parent-feature-item {
  max-width: 440px;
  text-align: left;
}

.parents-content {
  max-width: 480px;
}

.parents-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.parents-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 500;
}

.parents-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.parent-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.parent-feature-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-subtle);
}

.parent-feature-icon svg {
  width: 20px; height: 20px;
  color: var(--accent-violet);
}

.parent-feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.parent-feature-text p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 0;
  line-height: 1.5;
}

.parents-visual {
  display: flex;
  justify-content: center;
}

.parents-phone {
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.6s var(--transition-smooth);
  background: #1a1a2e;
}

.parents-phone:hover {
  transform: translateY(-12px) rotate(2deg);
}

.parents-phone img {
  width: 100%;
  display: block;
}

/* ── TESTIMONIALS SECTION ── */
.testimonial-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6%;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  transition: all 0.5s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 120px;
  font-family: 'DM Serif Display', serif;
  color: rgba(139, 92, 246, 0.06);
  pointer-events: none;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.testimonial-stars {
  font-size: 16px;
  color: var(--accent-amber);
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
}

/* ── PRIVACY SECTION ── */
.privacy-section {
  position: relative;
}

.privacy-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.4s var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.privacy-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.privacy-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.privacy-item-icon svg {
  width: 22px; height: 22px;
  color: var(--accent-cyan);
}

.privacy-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.privacy-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 500;
}

/* ── SUPPORT SECTION ── */
.support-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.support-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.support-icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
  box-shadow: 0 8px 24px var(--glow-violet);
}

.support-icon-wrap svg {
  width: 30px; height: 30px;
  color: #FFF;
}

.support-contact-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-contact-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 500;
}

.support-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-hover);
  color: var(--accent-violet);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s var(--transition-smooth);
}

.support-email-btn:hover {
  background: rgba(139, 92, 246, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-violet);
}

.support-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.faq-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.faq-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--border-subtle);
}

.faq-icon svg {
  width: 20px; height: 20px;
  color: var(--accent-violet);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 500;
}

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 6%;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.05) 40%, transparent 70%);
  pointer-events: none;
  animation: cta-pulse 4s ease-in-out infinite alternate;
}

@keyframes cta-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(236,72,153,0.08) 50%, rgba(34,211,238,0.06) 100%);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink), var(--accent-cyan));
  z-index: -1;
  opacity: 0.15;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 30px;
}

.cta-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-trust-badges span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  padding: 48px 6%;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.footer-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

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

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parents-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .parents-content {
    max-width: 100%;
  }

  .parents-visual {
    order: -1;
  }

  .parents-features {
    align-items: center;
  }

  .parent-feature-item {
    max-width: 400px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    min-width: 44px;
    min-height: 44px;
  }

  nav.menu-open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    left: 12px; right: 12px;
    background: rgba(18, 18, 31, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  }

  nav.menu-open ul li a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 17px;
    min-height: 44px;
  }

  .hero {
    padding: 120px 5% 60px;
    min-height: 100dvh;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-stack {
    width: 260px;
    height: 450px;
  }

  .phone-mockup {
    width: 210px;
    border-radius: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: 28px 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    padding: 0 5%;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .privacy-item {
    padding: 28px 22px;
  }

  .support-container {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    gap: 28px;
    padding: 36px 6%;
  }

  .trust-item {
    font-size: 13px;
  }

  .section {
    padding: 72px 5%;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .section-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .section-subtitle {
    font-size: 15px;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .cta-trust-badges {
    gap: 16px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ── iPhone SE / Small iPhones (375px) ── */
@media (max-width: 480px) {
  nav {
    width: calc(100% - 24px);
    padding: 10px 16px;
    top: calc(8px + env(safe-area-inset-top));
  }

  .hero {
    padding: calc(110px + env(safe-area-inset-top)) 6% 48px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .btn-primary {
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .phone-stack {
    width: 220px;
    height: 400px;
  }

  .phone-mockup {
    width: 180px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 20px;
  }

  .stats-section {
    padding: 48px 5%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 14px;
  }

  .stat-desc {
    font-size: 11px;
  }

  .screenshot-item {
    width: 180px;
    border-radius: var(--radius-md);
    padding: 6px;
  }

  .parents-content h3 {
    font-size: 28px;
  }

  .parents-content p {
    font-size: 15px;
  }

  .testimonial-card {
    padding: 28px 20px;
  }

  .cta-card h2 {
    font-size: 28px;
  }

  .cta-card p {
    font-size: 15px;
  }

  .support-contact-card {
    padding: 32px 20px;
  }

  .faq-item {
    padding: 20px 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* ── iPhone Pro Max / Large phones (430px+) ── */
@media (min-width: 400px) and (max-width: 480px) {
  .hero-title {
    font-size: 40px;
  }

  .phone-stack {
    width: 250px;
    height: 440px;
  }

  .phone-mockup {
    width: 200px;
  }
}

/* ── SPLASH SCREEN ── */
#splash-screen {
  position: fixed;
  inset: 0;
  background-color: var(--bg-deep);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--transition-smooth), visibility 0.8s;
  overflow: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#splash-screen::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: splash-pulse-glow 3s infinite alternate;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.splash-logo {
  width: 600px;
  height: 600px;
  max-width: 85vw;
  max-height: 50dvh;
  object-fit: contain;
  margin-bottom: -80px;
  animation: pop-in-logo 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float-logo 3s ease-in-out infinite 1s;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
  opacity: 0;
}

.splash-text {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.splash-text .gradient-text {
  display: inline-flex;
  justify-content: center;
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: splash-letter-fade-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(0.4s + (var(--i) * 0.08s));
  background: linear-gradient(135deg, #C4B5FD 0%, var(--accent-pink) 50%, #FDBA74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-space {
  width: 0.3em;
}

/* ── iPhone Splash Screen Sizing ── */
@media (max-width: 480px) {
  .splash-logo {
    width: 80vw;
    height: 80vw;
    max-height: 45dvh;
    margin-bottom: -40px;
  }

  .splash-text {
    font-size: 38px;
  }

  #splash-screen::before {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 375px) {
  .splash-logo {
    width: 75vw;
    height: 75vw;
    max-height: 40dvh;
    margin-bottom: -30px;
  }

  .splash-text {
    font-size: 32px;
  }
}

@keyframes pop-in-logo {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)); }
  50% { transform: translateY(-10px); filter: drop-shadow(0 0 35px rgba(236, 72, 153, 0.6)); }
}

@keyframes splash-letter-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splash-pulse-glow {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Pause hero animations until splash screen is done */
body:not(.loaded) .hero-badge,
body:not(.loaded) .hero-title,
body:not(.loaded) .hero-subtitle,
body:not(.loaded) .hero-actions,
body:not(.loaded) .hero-visual {
  animation-play-state: paused;
}
