/* ============================================================
   Emotions Sea — Serene Tide marketing site
   Design tokens + global styles + components
   ============================================================ */

:root {
  --purple: #4A4DB8;
  --purple-light: #EEEDFE;
  --purple-dark: #3C3489;
  --teal: #3D9E8C;
  --teal-light: #E0F5F1;
  --coral: #E8845A;
  --coral-light: #FAECE7;
  --amber: #E8A842;
  --amber-light: #FFF3DC;
  --green: #639922;
  --green-light: #EAF3DE;
  --background: #F5F3EF;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --muted: #9B9BAA;
  --ink-faint: #6B6B7A;

  --r-card: 16px;
  --r-hero: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(74,77,184,0.06);
  --shadow-md: 0 4px 24px rgba(74,77,184,0.08);
  --shadow-lg: 0 16px 48px rgba(74,77,184,0.12);
  --shadow-xl: 0 24px 80px rgba(26,47,78,0.18);

  --container: 1200px;
  --container-narrow: 960px;

  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--purple-light); color: var(--purple-dark); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(24px, 3vw, 34px); }
h4 { font-size: 20px; }

p { color: var(--ink-faint); font-size: 17px; line-height: 1.65; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-light);
  padding: 8px 14px; border-radius: var(--r-pill);
}
.eyebrow.on-dark { background: rgba(255,255,255,0.1); color: #C5C6FF; }
.eyebrow.teal { background: var(--teal-light); color: var(--teal); }
.eyebrow.coral { background: var(--coral-light); color: var(--coral); }
.eyebrow.amber { background: var(--amber-light); color: #C68410; }
.eyebrow.green { background: var(--green-light); color: var(--green); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { margin: 16px 0 16px; }
.section-head p { font-size: 19px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-pill);
  transition: all 220ms var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 20px rgba(74,77,184,0.3); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(74,77,184,0.38); }
.btn-outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: var(--purple-light); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: #fff; color: var(--purple); border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(74,77,184,0.3); }
  50% { box-shadow: 0 6px 20px rgba(74,77,184,0.3), 0 0 0 12px rgba(74,77,184,0.06); }
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 220ms var(--ease), box-shadow 220ms var(--ease), backdrop-filter 220ms var(--ease);
}
.nav.scrolled { background: rgba(255,255,255,0.88); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 32px rgba(74,77,184,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.brand-wave { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text); transition: color 200ms; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 220ms var(--ease), opacity 200ms; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 240ms var(--ease), opacity 220ms var(--ease);
  z-index: 99;
}
.mobile-drawer.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-drawer a { font-size: 17px; font-weight: 500; padding: 14px 12px; border-radius: 10px; }
.mobile-drawer a:hover { background: var(--purple-light); color: var(--purple); }
.mobile-drawer .btn { margin-top: 12px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Footer ---------- */
.footer {
  background: #14142B;
  color: #fff;
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 48px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #B6B6CC; font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #C8C8DA; font-size: 14px; transition: color 200ms; }
.footer ul a:hover { color: #fff; }
.footer-brand .brand { color: #fff; font-size: 20px; margin-bottom: 14px; }
.footer-tag { color: #B6B6CC; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-mini { color: #7F7F92; font-size: 13px; }
.built-on { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.built-on span { font-size: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); color: #C8C8DA; }
.socials { display: flex; gap: 14px; }
.socials a { font-size: 13px; color: #C8C8DA; padding: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #7F7F92; font-size: 13px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll-reveal (with blur) ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(3px); transition: opacity 750ms var(--ease), transform 750ms var(--ease), filter 750ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal-l { opacity: 0; transform: translateX(-36px); filter: blur(3px); transition: opacity 750ms var(--ease), transform 750ms var(--ease), filter 750ms var(--ease); }
.reveal-l.in { opacity: 1; transform: none; filter: blur(0); }
.reveal-r { opacity: 0; transform: translateX(36px); filter: blur(3px); transition: opacity 750ms var(--ease), transform 750ms var(--ease), filter 750ms var(--ease); }
.reveal-r.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 80px;
  position: relative;
  background: linear-gradient(180deg, #F5F3EF 0%, #EEEDFE 78%, #E6E5FA 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 { margin: 20px 0 24px; }
.hero h1 .accent { color: var(--purple); display: block; }
.hero p.lead { font-size: 19px; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--background); margin-left: -10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; }
.avatar:first-child { margin-left: 0; }
.avatar.a1 { background: linear-gradient(135deg, #4A4DB8, #7B7EE8); }
.avatar.a2 { background: linear-gradient(135deg, #3D9E8C, #6EC9B6); }
.avatar.a3 { background: linear-gradient(135deg, #E8845A, #F3A988); }
.hero-trust-text { font-size: 14px; color: var(--ink-faint); }
.hero-trust-text strong { color: var(--text); font-weight: 600; }
.hero-trust-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,0.6); border: 1px solid rgba(74,77,184,0.12); border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--text); }

.hero-visual { position: relative; height: 620px; display: flex; align-items: center; justify-content: center; }

.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 160px;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 540px; }
}

/* ---------- Tablet Mockup — landscape (2 screens side by side) ---------- */
.tablet-landscape {
  width: 640px;
  background: #14142B;
  border-radius: 26px;
  padding: 20px 28px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
  aspect-ratio: 640 / 460;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tablet-landscape::before { /* front camera */
  content: ''; position: absolute; top: 50%; left: 10px; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #2a2a44;
  box-shadow: 0 0 0 2px #1a1a30;
}
.tablet-landscape::after { /* subtle screen reflection */
  content: ''; position: absolute; inset: 20px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 30%);
  border-radius: 14px; pointer-events: none;
}
.tablet-landscape .tab-screen {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #F5F3EF 0%, #EEEDFE 60%, #E0F5F1 100%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  position: relative;
}
.tablet-landscape .mini-shot {
  height: 100%;
  aspect-ratio: 320 / 668;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(20, 20, 43, 0.25), 0 0 0 2px rgba(0,0,0,0.04);
  background: #14142B;
  flex-shrink: 0;
}
.tablet-landscape .mini-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.tablet-landscape .mini-shot.tilt-l { transform: rotate(-3deg) translateY(-6px); }
.tablet-landscape .mini-shot.tilt-r { transform: rotate(3deg) translateY(-6px); }
.tablet-landscape .deco {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 6px;
}
.tablet-landscape .deco.d-tl { top: 26px; left: 26px; }
.tablet-landscape .deco.d-br { bottom: 26px; right: 26px; background: var(--purple); color: #fff; }
.tablet-landscape .deco.d-tr { top: 26px; right: 26px; background: var(--teal); color: #fff; }
.tablet-landscape .deco.d-bl { bottom: 26px; left: 26px; }

@media (max-width: 980px) {
  .tablet-landscape { width: 100%; max-width: 560px; padding: 16px 22px; }
}
@media (max-width: 540px) {
  .tablet-landscape { padding: 12px 16px; border-radius: 18px; }
  .tablet-landscape .tab-screen { padding: 10px 12px; gap: 10px; border-radius: 10px; }
}

/* ---------- Phone Mockup — screenshot variant
   Used when the screen area is a real app screenshot
   (the screenshot already has its own status bar + nav,
   so no notch / no status overlay needed). ---------- */
.phone-shot {
  width: 320px;
  background: #14142B;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
  aspect-ratio: 320 / 668;
  overflow: hidden;
}
.phone-shot::before { /* side button */
  content: ''; position: absolute; right: -2px; top: 130px;
  width: 4px; height: 60px; background: #0E0E1E; border-radius: 2px;
}
.phone-shot::after { /* volume */
  content: ''; position: absolute; left: -2px; top: 110px;
  width: 4px; height: 36px; background: #0E0E1E; border-radius: 2px;
  box-shadow: 0 60px 0 #0E0E1E;
}
.phone-shot .shot-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #FAFAF7;
}
.phone-shot .shot-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 480px) {
  .phone-shot { width: 280px; }
}

/* ---------- Phone Mockup (CSS-drawn variant) ---------- */
.phone {
  width: 320px; height: 660px;
  background: #14142B;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
}
.phone-tilt { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); transform-origin: center center; }
.phone::before { /* side button */
  content: ''; position: absolute; right: -2px; top: 130px;
  width: 4px; height: 60px; background: #0E0E1E; border-radius: 2px;
}
.phone::after { /* volume */
  content: ''; position: absolute; left: -2px; top: 110px;
  width: 4px; height: 36px; background: #0E0E1E; border-radius: 2px;
  box-shadow: 0 60px 0 #0E0E1E;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #FAFAF7;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; background: #14142B;
  border-radius: 16px;
  z-index: 10;
}
.phone-statusbar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 54px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px;
  font-size: 13px; font-weight: 600; color: var(--text);
  z-index: 5;
}
.phone-statusbar .right { display: flex; align-items: center; gap: 6px; font-size: 11px; }

.phone-inner {
  position: absolute; inset: 54px 0 0 0;
  padding: 14px 18px 18px;
  overflow: hidden;
}

/* float animation for cards near phone */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.float-card .ico { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.float-card.fc-1 { top: 60px; left: -30px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 90px; right: -10px; animation-delay: -2s; }
.float-card .sub { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.float-card .col { display: flex; flex-direction: column; }
@keyframes float {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

@media (max-width: 980px) {
  .phone-tilt { transform: none; }
  .float-card.fc-1 { left: -10px; }
  .float-card.fc-2 { right: 0; }
}
@media (max-width: 480px) {
  .phone { width: 280px; height: 580px; }
  .float-card { display: none; }
}

/* ---------- Dashboard screen ---------- */
.ds-greet { font-size: 11px; color: var(--muted); font-weight: 500; }
.ds-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.ds-chips { display: flex; gap: 8px; margin-bottom: 18px; }
.ds-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; }
.ds-chip.amber { background: var(--amber-light); color: #B47C16; }
.ds-chip.purple { background: var(--purple-light); color: var(--purple); }
.ds-section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.ds-week { display: flex; gap: 6px; margin-bottom: 18px; }
.ds-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ds-day .dot { width: 22px; height: 22px; border-radius: 50%; }
.ds-day .lbl { font-size: 9px; color: var(--muted); font-weight: 600; }
.ds-day.d1 .dot { background: #C5E1F5; }
.ds-day.d2 .dot { background: #F3D08C; }
.ds-day.d3 .dot { background: #B1AFFF; }
.ds-day.d4 .dot { background: #F3A988; }
.ds-day.d5 .dot { background: #A6D9CC; }
.ds-day.d6 .dot { background: #C5E1F5; }
.ds-day.d7 .dot { background: #B1AFFF; border: 2px solid var(--purple); }
.ds-quest { background: linear-gradient(135deg, #FFF, #F5F4FF); border: 1px solid #E5E4F8; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.ds-quest-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.ds-quest-title { font-size: 13px; font-weight: 700; }
.ds-quest-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ds-quest-badge { font-size: 10px; padding: 4px 8px; background: var(--amber-light); color: #B47C16; border-radius: 6px; font-weight: 600; }
.ds-progress { height: 6px; background: #ECEBFA; border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.ds-progress > div { height: 100%; width: 62%; background: linear-gradient(90deg, var(--purple), #7679E2); border-radius: 4px; }
.ds-btn { width: 100%; height: 36px; background: var(--purple); color: #fff; border-radius: 10px; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ds-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-quick > div { background: #fff; border: 1px solid #ECEBFA; border-radius: 12px; padding: 10px 12px; font-size: 11px; font-weight: 600; }
.ds-quick .ico-sq { width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; font-size: 12px; }

.bottom-nav {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 64px; background: #fff;
  border-top: 1px solid #ECEBFA;
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 12px 6px;
}
.bn-i { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); }
.bn-i.active { background: var(--purple); color: #fff; }

/* ---------- Voice screen ---------- */
.vc-h { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.vc-sub { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.voice-orb {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9D9FF0 0%, #4A4DB8 60%, #2D2F8A 100%);
  margin: 30px auto;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 0 12px rgba(74,77,184,0.06), 0 0 0 28px rgba(74,77,184,0.04), 0 20px 50px rgba(74,77,184,0.3);
  animation: orbPulse 3s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(74,77,184,0.06), 0 0 0 28px rgba(74,77,184,0.04), 0 20px 50px rgba(74,77,184,0.3); }
  50% { box-shadow: 0 0 0 18px rgba(74,77,184,0.1), 0 0 0 40px rgba(74,77,184,0.05), 0 20px 50px rgba(74,77,184,0.3); }
}
.wave-bars { display: flex; align-items: center; gap: 4px; height: 70px; }
.wave-bars span { display: block; width: 4px; background: #fff; border-radius: 4px; animation: bar 1.2s ease-in-out infinite; }
.wave-bars span:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bars span:nth-child(2) { height: 50px; animation-delay: -0.2s; }
.wave-bars span:nth-child(3) { height: 30px; animation-delay: -0.4s; }
.wave-bars span:nth-child(4) { height: 60px; animation-delay: -0.6s; }
.wave-bars span:nth-child(5) { height: 28px; animation-delay: -0.8s; }
.wave-bars span:nth-child(6) { height: 44px; animation-delay: -1s; }
.wave-bars span:nth-child(7) { height: 22px; animation-delay: -1.2s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1.15); } }
.vc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.vc-pill { padding: 8px 14px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; }
.vc-pill.primary { background: var(--purple); color: #fff; }
.vc-pill.secondary { background: var(--coral-light); color: var(--coral); }
.vc-pill.muted { background: #F2F2F2; color: var(--ink-faint); border: 1px dashed #D5D5DD; }

/* ---------- Passport screen ---------- */
.pp-h { font-size: 17px; font-weight: 700; }
.pp-sub { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.pp-progress-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pp-progress { flex: 1; height: 6px; background: #ECEBFA; border-radius: 4px; overflow: hidden; }
.pp-progress > div { height: 100%; width: 53%; background: linear-gradient(90deg, var(--teal), #6EC9B6); border-radius: 4px; }
.pp-count { font-size: 11px; font-weight: 700; color: var(--teal); }
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.pp-card { aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 9px; font-weight: 700; padding: 6px; text-align: center; position: relative; }
.pp-card .pp-emoji { font-size: 22px; }
.pp-card.unlocked { background: var(--purple-light); color: var(--purple-dark); }
.pp-card.unlocked.t2 { background: var(--coral-light); color: var(--coral); }
.pp-card.unlocked.t3 { background: var(--teal-light); color: var(--teal); }
.pp-card.unlocked.t4 { background: var(--amber-light); color: #B47C16; }
.pp-card.unlocked.t5 { background: var(--green-light); color: var(--green); }
.pp-card.locked { background: #F2F2EF; color: #C5C5CC; }
.pp-card.locked .pp-emoji { filter: grayscale(1); opacity: 0.5; }
.pp-seas-label { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.pp-seas { display: flex; gap: 4px; flex-wrap: wrap; }
.pp-sea { font-size: 9px; padding: 4px 8px; border-radius: var(--r-pill); background: #F2F2EF; color: var(--ink-faint); font-weight: 600; }
.pp-sea.on { background: var(--purple); color: #fff; }

/* ---------- Mind map screen ---------- */
.mm-insight { background: linear-gradient(135deg, #EEEDFE, #FAECE7); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.mm-insight-label { font-size: 10px; color: var(--purple); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.mm-insight-text { font-size: 12px; font-weight: 600; margin-top: 4px; line-height: 1.4; }
.mm-canvas { position: relative; height: 320px; background: #FAFAF7; border-radius: 12px; overflow: hidden; }
.mm-bubble { position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; text-align: center; }
.mm-bubble.b1 { width: 86px; height: 86px; background: var(--purple); top: 60px; left: 22px; }
.mm-bubble.b2 { width: 60px; height: 60px; background: var(--coral); top: 30px; right: 28px; }
.mm-bubble.b3 { width: 70px; height: 70px; background: var(--teal); bottom: 80px; left: 50%; transform: translateX(-50%); }
.mm-bubble.b4 { width: 44px; height: 44px; background: var(--amber); bottom: 38px; left: 28px; font-size: 9px; }
.mm-bubble.b5 { width: 50px; height: 50px; background: var(--green); bottom: 28px; right: 32px; font-size: 9px; }
.mm-bubble.b6 { width: 34px; height: 34px; background: #B1AFFF; top: 130px; right: 60px; color: var(--purple-dark); font-size: 8px; }
.mm-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Sailing screen ---------- */
.sail-screen-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #6FB5C9 0%, #2D6B8A 60%, #1A2F4E 100%); }
.sail-h { color: #fff; font-size: 14px; font-weight: 700; padding-bottom: 4px; position: relative; z-index: 2; }
.sail-sub { color: rgba(255,255,255,0.7); font-size: 11px; position: relative; z-index: 2; margin-bottom: 14px; }
.sail-stats { display: flex; gap: 8px; position: relative; z-index: 2; }
.sail-stat { flex: 1; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border-radius: 10px; padding: 8px 10px; }
.sail-stat .v { color: #fff; font-size: 14px; font-weight: 700; }
.sail-stat .l { color: rgba(255,255,255,0.7); font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; }

.sail-scene { position: absolute; bottom: 0; left: 0; right: 0; height: 380px; overflow: hidden; }
.sail-wave-svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 120px; animation: waveSlide 18s linear infinite; }
.sail-wave-svg.wb { bottom: -10px; opacity: 0.5; animation: waveSlide 24s linear infinite reverse; }
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.sail-ship { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); animation: bob 4s ease-in-out infinite; z-index: 3; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-2deg); } 50% { transform: translateX(-50%) translateY(-6px) rotate(2deg); } }

.lighthouse { position: absolute; left: 14px; bottom: 134px; z-index: 3; }
.lh-glow { position: absolute; top: -10px; left: -12px; width: 48px; height: 48px; background: radial-gradient(circle, rgba(255,220,150,0.9), transparent 60%); animation: glow 2.4s ease-in-out infinite; border-radius: 50%; }
@keyframes glow { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
.lh-base { width: 14px; height: 36px; background: linear-gradient(180deg, #fff 0%, #fff 50%, #E83F3F 50%, #E83F3F 60%, #fff 60%); border-radius: 3px 3px 0 0; }

.hurdle { position: absolute; right: 18px; bottom: 92px; z-index: 3; }

/* ---------- Recommendations screen ---------- */
.rec-h { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.rec-sub { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.rec-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); margin-bottom: 10px; border: 1px solid #F0EFE9; }
.rec-banner { height: 56px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.rec-banner.story { background: linear-gradient(135deg, #4A4DB8, #7679E2); color: #fff; }
.rec-banner.article { background: linear-gradient(135deg, #3D9E8C, #6EC9B6); color: #fff; }
.rec-banner.activity { background: linear-gradient(135deg, #E8845A, #F3A988); color: #fff; }
.rec-meta { padding: 10px 12px; }
.rec-tag { font-size: 9px; color: var(--purple); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.rec-title { font-size: 13px; font-weight: 700; margin: 4px 0 2px; line-height: 1.3; }
.rec-info { font-size: 10px; color: var(--muted); display: flex; gap: 8px; }

/* ---------- Problem cards ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.problem-card { background: #fff; border: 1px solid #F0EFE9; border-radius: var(--r-card); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.problem-icon.coral { background: var(--coral-light); }
.problem-icon.amber { background: var(--amber-light); }
.problem-icon.purple { background: var(--purple-light); }
.problem-card h3 { font-size: 22px; margin-bottom: 12px; }
.problem-card p { font-size: 16px; }

.founder-quote {
  max-width: 820px; margin: 0 auto; padding: 48px;
  border-radius: var(--r-hero);
  background: linear-gradient(135deg, var(--purple-light), #F8F7FF);
  text-align: center;
  border: 1px solid #E5E4F8;
}
.founder-quote q { display: block; font-size: clamp(20px, 2.6vw, 28px); font-style: italic; color: var(--purple-dark); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.founder-quote q::before, .founder-quote q::after { content: ''; }
.founder-quote .attrib { display: block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--purple); letter-spacing: 0.02em; }

@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- Sailing analogy section (dark) ---------- */
.sailing-section {
  background: linear-gradient(180deg, #1A2F4E 0%, #2D6B8A 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.sailing-section h2 { color: #fff; }
.sailing-section .section-head p { color: rgba(255,255,255,0.78); }
.sailing-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 64px; }
.sail-col { padding: 32px 28px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-card); backdrop-filter: blur(6px); transition: all 280ms var(--ease); }
.sail-col.highlight { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.sail-col-ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.sail-col h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.sail-col p { color: rgba(255,255,255,0.78); font-size: 15px; }

.ocean-strip { position: relative; height: 280px; border-radius: var(--r-hero); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.2)); }
.ocean-strip svg.waves { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.ocean-strip .lighthouse-big { position: absolute; left: 8%; bottom: 38%; }
.ocean-strip .ship-big { position: absolute; left: 50%; bottom: 28%; transform: translateX(-50%); animation: bob 4.5s ease-in-out infinite; }
.ocean-strip .hurdle-big { position: absolute; right: 8%; bottom: 28%; }

@media (max-width: 880px) {
  .sailing-cols { grid-template-columns: 1fr; }
  .sail-col.highlight { transform: none; }
}

/* ---------- Feature alternating rows ---------- */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.feat-row:last-child { margin-bottom: 0; }
.feat-row.reverse { direction: rtl; }
.feat-row.reverse > * { direction: ltr; }
.feat-text h3 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 20px; }
.feat-text p { font-size: 17px; margin-bottom: 24px; }
.feat-text ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-text li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); font-weight: 500; }
.feat-text li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--purple-light); margin-top: 1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4DB8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.feat-visual { display: flex; align-items: center; justify-content: center; min-height: 600px; position: relative; }

@media (max-width: 980px) {
  .feat-row { grid-template-columns: 1fr; gap: 48px; margin-bottom: 80px; }
  .feat-row.reverse { direction: ltr; }
  .feat-visual { min-height: 520px; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--purple) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.step { background: #fff; padding: 32px 24px; border-radius: var(--r-card); border: 1px solid #F0EFE9; text-align: center; position: relative; z-index: 1; box-shadow: var(--shadow-sm); }
.step-num { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: #fff; margin: 0 auto 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.step-num.purple { background: var(--purple); }
.step-num.teal { background: var(--teal); }
.step-num.coral { background: var(--coral); }
.step-num.amber { background: var(--amber); }
.step h4 { margin-bottom: 8px; font-size: 18px; }
.step p { font-size: 14px; line-height: 1.55; }
.step-ico { font-size: 24px; margin-bottom: 8px; }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- For Schools teaser ---------- */
.schools-section {
  background: linear-gradient(135deg, #4A4DB8 0%, #3C3489 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.schools-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
.schools-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.schools-text h2 { color: #fff; margin: 16px 0 20px; }
.schools-text p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 24px; }
.bene-chips { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.bene-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; width: fit-content; }
.bene-chip::before { content: '✓'; color: #A6D9CC; font-weight: 700; }

/* Admin dashboard mockup */
.admin {
  background: #fff; border-radius: var(--r-hero); padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
  color: var(--text);
  transform: rotate(-1deg);
}
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-head h4 { font-size: 18px; }
.admin-head .pill { font-size: 12px; padding: 5px 10px; background: var(--green-light); color: var(--green); border-radius: var(--r-pill); font-weight: 600; }
.admin-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.admin-metric { padding: 16px; background: var(--background); border-radius: 12px; }
.admin-metric .lbl { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.admin-metric .v { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.admin-metric .d { font-size: 11px; color: var(--green); margin-top: 2px; font-weight: 600; }
.admin-chart { padding: 16px; background: var(--background); border-radius: 12px; }
.admin-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.admin-chart-head .ttl { font-size: 13px; font-weight: 700; }
.admin-chart-head .sub { font-size: 11px; color: var(--muted); }
.admin-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; padding-bottom: 4px; }
.admin-bars .bar { flex: 1; background: linear-gradient(180deg, #6EC9B6, var(--teal)); border-radius: 4px 4px 0 0; }
.admin-x { display: flex; gap: 8px; margin-top: 8px; }
.admin-x span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); font-weight: 600; }

@media (max-width: 980px) {
  .schools-grid { grid-template-columns: 1fr; }
  .admin { transform: none; }
}

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.principle { background: #fff; padding: 28px 28px 28px 24px; border-radius: var(--r-card); border: 1px solid #F0EFE9; border-left: 4px solid; transition: all 240ms var(--ease); }
.principle:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.principle.teal { border-left-color: var(--teal); }
.principle.purple { border-left-color: var(--purple); }
.principle.coral { border-left-color: var(--coral); }
.principle.amber { border-left-color: var(--amber); }
.principle .never { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.principle h4 { font-size: 22px; margin-bottom: 10px; }
.principle p { font-size: 15px; }

@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
}

/* ---------- Waitlist section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--purple-light) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(74,77,184,0.06), transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(61,158,140,0.08), transparent 50%);
}
.cta-card {
  position: relative; max-width: 720px; margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  background: #fff;
  border-radius: var(--r-hero);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card > p { font-size: 18px; margin-bottom: 36px; }
.waitlist-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 0 auto; }
.input, .select {
  height: 52px; padding: 0 18px;
  background: var(--background);
  border: 1px solid #E5E4DA;
  border-radius: var(--r-pill);
  font-size: 15px;
  transition: border-color 200ms, background 200ms;
  width: 100%;
}
.input:focus, .select:focus { outline: none; border-color: var(--purple); background: #fff; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B9BAA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.form-foot { margin-top: 18px; font-size: 13px; color: var(--ink-faint); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.success { padding: 18px 22px; background: var(--green-light); color: var(--green); border-radius: var(--r-card); font-weight: 500; font-size: 15px; }

/* ---------- Pricing cards ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: #fff; border-radius: var(--r-hero); padding: 36px 32px; border: 1px solid #F0EFE9; box-shadow: var(--shadow-sm); transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); position: relative; }
.pricing-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.pricing-card.featured { background: linear-gradient(180deg, #fff, #F8F7FF); border-color: var(--purple); }
.pricing-card.featured .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 6px 14px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 600; border-radius: var(--r-pill); }
.pricing-card h3 { font-size: 24px; margin-bottom: 6px; }
.pricing-card .price { display: flex; align-items: baseline; gap: 4px; margin: 16px 0; }
.pricing-card .price .v { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.pricing-card .price .unit { font-size: 14px; color: var(--muted); }
.pricing-card .desc { font-size: 14px; color: var(--ink-faint); margin-bottom: 24px; min-height: 42px; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-card ul li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.pricing-card ul li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; }

@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E5E4DA; padding: 22px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: 18px; font-weight: 600; }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--purple-light); color: var(--purple); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 220ms var(--ease); font-size: 18px; font-weight: 700; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease), opacity 240ms; opacity: 0; }
.faq-item.open .faq-a { max-height: 240px; opacity: 1; padding-top: 12px; }
.faq-a p { font-size: 15px; }

/* ---------- About page bits ---------- */
.about-hero {
  padding: calc(var(--nav-h) + 96px) 0 64px;
  background: linear-gradient(180deg, var(--background) 0%, var(--purple-light) 100%);
  text-align: center;
}
.story-card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--r-hero); padding: 56px 56px; box-shadow: var(--shadow-md); border: 1px solid #F0EFE9; }
.story-card p { font-size: 17px; margin-bottom: 18px; line-height: 1.75; }
.mission-card { max-width: 720px; margin: 0 auto; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); padding: 56px; border-radius: var(--r-hero); color: #fff; text-align: center; }
.mission-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.mission-card p { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-style: italic; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; padding: 28px; border-radius: var(--r-card); border: 1px solid #F0EFE9; }
.value-card .ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; }
.value-card h4 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; }

.book-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.book-cover {
  aspect-ratio: 3/4; max-width: 340px; margin: 0 auto;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: 8px;
  padding: 36px 28px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.book-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 50%); }
.book-cover .top, .book-cover .bot { position: relative; z-index: 1; }
.book-cover .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.7; }
.book-cover .title { font-size: 26px; font-weight: 700; margin-top: 12px; letter-spacing: -0.02em; line-height: 1.1; }
.book-cover .author { font-size: 13px; opacity: 0.85; }
.book-cover .meta { font-size: 11px; opacity: 0.6; margin-top: 6px; }

@media (max-width: 880px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .book-section { grid-template-columns: 1fr; }
  .story-card, .mission-card { padding: 36px 28px; }
}
@media (max-width: 520px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature teasers strip ---------- */
.feature-strip {
  background: #fff;
  padding: 36px 0;
  border-top: 1px solid #F0EFE9;
  border-bottom: 1px solid #F0EFE9;
  overflow: hidden;
}
.strip-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.strip-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 24px 4px;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}
.strip-scroll::-webkit-scrollbar { display: none; }
.strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--purple-light);
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 220ms var(--ease);
  flex-shrink: 0;
}
.strip-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.strip-pill.teal { background: var(--teal-light); color: var(--teal); }
.strip-pill.coral { background: var(--coral-light); color: var(--coral); }
.strip-pill.amber { background: var(--amber-light); color: #C68410; }
.strip-pill.green { background: var(--green-light); color: var(--green); }
.strip-pill.rose { background: #FFE8F0; color: #C0446A; }
.strip-pill.navy { background: #E8EAF6; color: var(--purple-dark); }
.strip-ico { font-size: 16px; line-height: 1; }

@media (max-width: 768px) {
  .strip-scroll { justify-content: flex-start; flex-wrap: nowrap; }
}

/* ---------- 3D motion utilities ---------- */
.scene-3d { perspective: 1400px; perspective-origin: 50% 50%; }
.tilt-3d { transform-style: preserve-3d; transition: transform 320ms var(--ease); will-change: transform; }
.tilt-card { transform-style: preserve-3d; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); will-change: transform; }
.tilt-card > * { transform: translateZ(0); }
.tilt-card .lift { transform: translateZ(28px); }
.tilt-card .lift-sm { transform: translateZ(16px); }
.tilt-card:hover { box-shadow: var(--shadow-lg); }

/* 3D scroll-entry: phones/tablets rotate in */
.fly-in { opacity: 0; transform: perspective(1400px) rotateY(28deg) rotateX(-8deg) translateZ(-80px) scale(0.92); transition: opacity 900ms var(--ease), transform 1100ms var(--ease); will-change: transform, opacity; }
.fly-in.in { opacity: 1; transform: perspective(1400px) rotateY(0) rotateX(0) translateZ(0) scale(1); }
.fly-in.from-l { transform: perspective(1400px) rotateY(-28deg) rotateX(-8deg) translateZ(-80px) scale(0.92); }
.fly-in.from-l.in { transform: perspective(1400px) rotateY(0) rotateX(0) translateZ(0) scale(1); }

/* Continuous gentle 3D float for the landscape tablet */
.float-3d { animation: float3d 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes float3d {
  0%, 100% { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg) translateY(0); }
  50%      { transform: perspective(1400px) rotateY(3deg)  rotateX(-1deg) translateY(-12px); }
}

/* Parallax-ready */
.parallax { will-change: transform; transition: transform 80ms linear; }

/* Hero phone responds to mouse via JS — keep CSS smooth */
.gyro-3d { transition: transform 240ms var(--ease); will-change: transform; transform-style: preserve-3d; }

/* 3D pop-up for floating callout cards on hover */
.float-card { transform-style: preserve-3d; }
.float-card:hover { animation-play-state: paused; transform: translateZ(20px) scale(1.04); transition: transform 220ms var(--ease); }

/* Problem icons get a gentle 3D wobble on parent hover */
.problem-card { transform-style: preserve-3d; }
.problem-card .problem-icon { transition: transform 320ms var(--ease); }
.problem-card:hover .problem-icon { transform: rotateY(18deg) rotateX(-8deg) translateZ(12px); }

/* Step circles spin softly when section enters */
.step .step-num { transition: transform 600ms var(--ease); transform-style: preserve-3d; }
.step.reveal.in .step-num { animation: stepIn 700ms var(--ease); }
@keyframes stepIn {
  from { transform: rotateY(-180deg) scale(0.6); opacity: 0; }
  to   { transform: rotateY(0) scale(1); opacity: 1; }
}

/* Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fly-in, .fly-in.from-l { opacity: 1 !important; transform: none !important; }
  .float-3d, .step.reveal.in .step-num { animation: none !important; }
  .gyro-3d { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-l, .reveal-r { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================
   ENHANCED ANIMATIONS
   ========================================================= */

/* ---------- Page load fade-in ---------- */
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFade 600ms ease both; }

/* ---------- Cursor glow spotlight ---------- */
#cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,77,184,0.08) 0%, rgba(61,158,140,0.04) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  transition: opacity 600ms ease;
}
body:hover #cursor-glow { opacity: 1; }

/* ---------- Animated gradient text ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 45%, var(--coral) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradFlow 5s ease-in-out infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ---------- Shimmer sweep on primary buttons ---------- */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btnShimmer 3.8s ease-in-out infinite;
  border-radius: inherit;
}
@keyframes btnShimmer {
  0%, 55% { transform: translateX(-120%); }
  80%      { transform: translateX(120%); }
  100%     { transform: translateX(120%); }
}

/* ---------- Animated hero background orbs ---------- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  animation: orbFadeIn 1.2s ease forwards;
}
.hero-orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(74,77,184,0.18), transparent 70%); top: -80px; right: -60px; animation-delay: 0.2s; }
.hero-orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(61,158,140,0.15), transparent 70%); bottom: 0; left: -80px; animation-delay: 0.5s; }
.hero-orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(240,120,90,0.12), transparent 70%); top: 30%; right: 20%; animation-delay: 0.8s; animation: orbFadeIn 1.2s ease 0.8s forwards, orbDrift 10s ease-in-out 2s infinite; }
@keyframes orbFadeIn { to { opacity: 1; } }
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(20px, -15px); }
  66%       { transform: translate(-10px, 12px); }
}

/* ---------- Glowing card hover ---------- */
.value-card:hover, .cf:hover, .aud-card:hover {
  box-shadow: 0 8px 40px rgba(74,77,184,0.14), 0 2px 12px rgba(0,0,0,0.06);
}
.problem-card:hover {
  box-shadow: 0 8px 40px rgba(61,158,140,0.14), 0 2px 12px rgba(0,0,0,0.06);
}

/* ---------- Staggered reveal for grid children ---------- */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 90ms; }
.stagger > *:nth-child(3) { transition-delay: 180ms; }
.stagger > *:nth-child(4) { transition-delay: 270ms; }
.stagger > *:nth-child(5) { transition-delay: 360ms; }
.stagger > *:nth-child(6) { transition-delay: 450ms; }

/* ---------- Animated underline on nav links ---------- */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  border-radius: 2px;
  transition: width 280ms var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ---------- Strip pill hover pop ---------- */
.strip-pill {
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
.strip-pill:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

/* ---------- Eyebrow tag pulse on entry ---------- */
.eyebrow.in { animation: eyebrowPop 500ms var(--ease); }
@keyframes eyebrowPop {
  0%   { transform: scale(0.88); opacity: 0; }
  60%  { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Section background shift on scroll ---------- */
.section { transition: background-color 400ms ease; }
