/* ============================================================
   ECHO — Brand-driven landing page
   Primary  #2F80ED   Accent  #14B8A6
   Navy #0B1220   Slate #334155   Light Gray #E5EAF0
   Background #FFFFFF   Surface #F7F9FC
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800&display=swap');

:root {
  --echo-blue: #2F80ED;
  --echo-blue-soft: #5BA4F5;
  --echo-blue-deep: #1A5FBF;
  --signal-teal: #14B8A6;
  --navy: #0B1220;
  --slate: #334155;
  --slate-soft: #64748B;
  --light-gray: #E5EAF0;
  --surface: #F7F9FC;
  --bg: #FFFFFF;
  --gradient: linear-gradient(135deg, #2F80ED 0%, #14B8A6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(47,128,237,0.08) 0%, rgba(20,184,166,0.08) 100%);
  --shadow-sm: 0 1px 2px rgba(11,18,32,0.04), 0 1px 3px rgba(11,18,32,0.06);
  --shadow-md: 0 4px 6px -1px rgba(11,18,32,0.06), 0 2px 4px -2px rgba(11,18,32,0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11,18,32,0.12), 0 8px 16px -8px rgba(11,18,32,0.08);
  --shadow-xl: 0 40px 80px -20px rgba(47,128,237,0.25), 0 16px 32px -16px rgba(11,18,32,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
}

a { color: var(--echo-blue); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================ NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(229,234,240,0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.nav-brand .brand-icon { width: 36px; height: 36px; display: block; }
.nav-brand .brand-wordmark { height: 22px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: 15px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(47,128,237,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(47,128,237,0.45);
  opacity: 1;
}

/* ============================================================ HERO */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(47,128,237,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20,184,166,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(47,128,237,0.08);
  color: var(--echo-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal-teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,0.18);
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--echo-blue);
}
.hero-tagline span {
  position: relative;
  padding-right: 18px;
}
.hero-tagline span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 4px; height: 4px;
  background: var(--signal-teal);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(47,128,237,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(47,128,237,0.45);
  opacity: 1;
}
.btn-secondary {
  background: var(--bg);
  color: var(--navy);
  border: 1.5px solid var(--light-gray);
}
.btn-secondary:hover {
  border-color: var(--echo-blue);
  color: var(--echo-blue);
  opacity: 1;
  transform: translateY(-2px);
}

.hero-signals {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signal-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--light-gray);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.signal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.signal-dot.energy { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.18); }
.signal-dot.mood   { background: var(--signal-teal); box-shadow: 0 0 0 3px rgba(20,184,166,0.18); }
.signal-dot.focus  { background: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.18); }
.signal-meta {
  font-size: 13.5px;
  color: var(--slate-soft);
  max-width: 460px;
  line-height: 1.55;
}
.signal-meta b { color: var(--navy); font-weight: 600; }

/* ============================================================ PHONE MOCKUP */
.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 640px;
}

.phone {
  position: absolute;
  width: 280px;
  height: 580px;
  border-radius: 42px;
  background: var(--navy);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition:
    transform 0.9s var(--ease),
    opacity 0.6s var(--ease),
    filter 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}

.phone:not(.active) {
  opacity: 0.55;
  filter: saturate(0.6) brightness(0.96);
}

.phone.active {
  opacity: 1;
  filter: none;
  z-index: 10;
  box-shadow:
    var(--shadow-xl),
    0 0 80px -10px rgba(47,128,237,0.45);
}
.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: var(--navy);
  border-radius: 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Resting positions (slightly shrunk so active phone reads as forward) */
.phone-1 { transform: translateX(-110px) rotate(-6deg) scale(0.94); z-index: 1; }
.phone-2 { transform: translateY(0) scale(0.96); z-index: 2; }
.phone-3 { transform: translateX(110px) rotate(6deg) scale(0.94); z-index: 1; }

/* Active state per phone: same position, lifted + scaled */
.phone-1.active { transform: translateX(-110px) rotate(-6deg) scale(1.05) translateY(-14px); }
.phone-2.active { transform: translateY(-20px) scale(1.07); }
.phone-3.active { transform: translateX(110px) rotate(6deg) scale(1.05) translateY(-14px); }

/* Carousel indicator pills */
.phone-indicators {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(11,18,32,0.12), 0 0 0 1px rgba(229,234,240,0.7);
  z-index: 20;
}
.phone-indicator {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--light-gray);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.5s var(--ease), width 0.5s var(--ease);
}
.phone-indicator:hover { background: var(--slate-soft); }
.phone-indicator.active {
  background: var(--gradient);
  width: 32px;
}

@media (prefers-reduced-motion: reduce) {
  .phone { transition: opacity 0.3s, filter 0.3s; }
}

/* Phone screen contents */
.screen-bar {
  padding: 22px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}
.screen-bar-icons { display: flex; gap: 4px; font-size: 10px; }

.screen-title-row {
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.screen-title-row .phone-icon { width: 24px; height: 24px; display: block; }
.screen-title-row .phone-wordmark { height: 14px; width: auto; display: block; }

.screen-headline {
  padding: 18px 24px 4px;
  font-family: 'Inter Tight';
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.screen-sub {
  padding: 0 24px 16px;
  font-size: 11px;
  color: var(--slate-soft);
}

.meal-card {
  margin: 0 20px 16px;
  padding: 12px;
  background: var(--surface);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.meal-img {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.meal-meta { flex: 1; }
.meal-name { font-weight: 600; font-size: 12px; color: var(--navy); }
.meal-time { font-size: 10px; color: var(--slate-soft); margin-top: 2px; }

.metric-row {
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 12px;
}
.metric-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.metric-icon.energy { background: rgba(245,158,11,0.12); color: #F59E0B; }
.metric-icon.mood   { background: rgba(20,184,166,0.12); color: var(--signal-teal); }
.metric-icon.focus  { background: rgba(239,68,68,0.12); color: #EF4444; }

.metric-label { flex: 1; font-size: 11px; }
.metric-label b { display: block; color: var(--navy); font-weight: 600; }
.metric-label small { color: var(--slate-soft); font-size: 9px; }
.metric-score { font-family: 'Inter Tight'; font-weight: 700; font-size: 14px; color: var(--navy); }
.metric-score small { color: var(--slate-soft); font-weight: 500; }

/* Phone 2: dark check-in */
.phone-2 .phone-screen { background: var(--navy); }
.phone-2 .screen-bar, .phone-2 .screen-title-row span { color: #fff; }
.phone-2 .screen-headline { color: #fff; padding-top: 32px; text-align: center; font-size: 22px; }
.phone-2 .screen-sub { color: rgba(255,255,255,0.6); text-align: center; }

.checkin-dial {
  margin: 28px auto 14px;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkin-dial-inner {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.checkin-label {
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.scale-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0 24px;
}
.scale-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scale-dot.active {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.scale-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 28px 18px;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
}

.checkin-save {
  margin: 12px 22px;
  padding: 12px;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

/* ============================================================ STATS STRIP */
.stats {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.stat {
  text-align: center;
}
.stat-num {
  font-family: 'Inter Tight';
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--slate-soft);
  font-weight: 500;
}

/* ============================================================ SECTION SHARED */
.section {
  padding: 120px 0;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--echo-blue);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  max-width: 720px;
  margin-bottom: 20px;
}

.section-lede {
  font-size: 18px;
  color: var(--slate-soft);
  max-width: 620px;
  line-height: 1.6;
}

.section-head-center {
  text-align: center;
  margin-bottom: 72px;
}
.section-head-center .section-title { margin-left: auto; margin-right: auto; }
.section-head-center .section-lede { margin-left: auto; margin-right: auto; }

/* ============================================================ HOW IT WORKS */
.how {
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  position: relative;
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-number {
  font-family: 'Inter Tight';
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--echo-blue);
  margin-bottom: 22px;
}

.step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--echo-blue);
}
.step-icon svg { width: 28px; height: 28px; }

.step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step p {
  color: var(--slate-soft);
  font-size: 15px;
}

/* ============================================================ FEATURES */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.feature-hero {
  grid-row: span 2;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
}

.feature-hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(47,128,237,0.35) 0%, transparent 65%);
}
.feature-hero::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(20,184,166,0.25) 0%, transparent 65%);
}

.feature-hero > * { position: relative; z-index: 1; }

.feature-hero .section-eyebrow {
  color: var(--echo-blue-soft);
}
.feature-hero h3 {
  font-family: 'Inter Tight';
  font-size: 38px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.feature-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 380px;
  margin-bottom: 36px;
}

.pattern-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(20px);
}
.pattern-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--signal-teal);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.pattern-card-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal-teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,0.18);
}
.pattern-card p {
  color: rgba(255,255,255,0.95);
  font-family: 'Inter Tight';
  font-size: 17px;
  margin: 0;
  line-height: 1.4;
}

.feature {
  padding: 36px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.energy  { background: rgba(245,158,11,0.12); color: #F59E0B; }
.feature-icon.mood    { background: rgba(20,184,166,0.12); color: var(--signal-teal); }
.feature-icon.focus   { background: rgba(239,68,68,0.12); color: #EF4444; }
.feature-icon.insights { background: rgba(47,128,237,0.12); color: var(--echo-blue); }

.feature h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--slate-soft);
  font-size: 14.5px;
}

/* ============================================================ FOR ACTIVE PEOPLE */
.for-active {
  background: var(--bg);
}

.fa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fa-img-stack {
  position: relative;
  height: 600px;
}
.fa-img-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.fa-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fa-img-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 240px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-gray);
}
.fa-overlay-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.fa-overlay-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
}
.fa-overlay-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}
.fa-overlay-role {
  font-size: 11px;
  color: var(--slate-soft);
}
.fa-overlay-quote {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

.fa-points {
  list-style: none;
  margin-top: 36px;
}
.fa-points li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--light-gray);
}
.fa-points li:last-child { border-bottom: 1px solid var(--light-gray); }
.fa-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--echo-blue);
  font-weight: 700;
  font-size: 14px;
}
.fa-points h5 {
  font-family: 'Inter Tight';
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.fa-points p {
  font-size: 14px;
  color: var(--slate-soft);
}

/* ============================================================ SCIENCE / PATTERN */
.science {
  background: var(--surface);
  position: relative;
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.pattern-viz {
  position: relative;
  padding: 36px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}
.pattern-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.pattern-title {
  font-family: 'Inter Tight';
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.pattern-meta {
  font-size: 11px;
  color: var(--slate-soft);
  margin-top: 4px;
}
.pattern-tag {
  background: var(--gradient-soft);
  color: var(--echo-blue);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.chart {
  height: 200px;
  position: relative;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--light-gray);
}
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid line {
  stroke: var(--light-gray);
  stroke-dasharray: 2 4;
  stroke-width: 1;
}

.insight-card {
  background: var(--gradient-soft);
  border-left: 3px solid var(--echo-blue);
  padding: 16px 18px;
  border-radius: 10px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.insight-card .insight-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--echo-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insight-card-text {
  font-size: 13px;
  color: var(--navy);
  line-height: 1.5;
}
.insight-card-text b { font-weight: 700; }

/* ============================================================ TESTIMONIALS */
.testimonials {
  background: var(--bg);
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.t-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--light-gray);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.t-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.t-stars {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.t-text {
  font-family: 'Inter Tight';
  font-size: 17px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 24px;
}
.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-person img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.t-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.t-role {
  font-size: 12px;
  color: var(--slate-soft);
}

/* ============================================================ CTA */
.cta {
  padding: 80px 0 140px;
}
.cta-card {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(47,128,237,0.45) 0%, transparent 60%);
}
.cta-card::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20,184,166,0.35) 0%, transparent 65%);
}
.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  color: #fff;
  margin-bottom: 18px;
}
.cta-card p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); opacity: 1; }
.store-btn small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-soft);
  letter-spacing: 0.05em;
}
.store-btn span {
  font-family: 'Inter Tight';
  font-size: 17px;
  font-weight: 700;
}
.store-btn svg { width: 24px; height: 24px; }

/* ============================================================ FOOTER */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--light-gray);
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--slate-soft);
  max-width: 280px;
}
.footer-col h5 {
  font-family: 'Inter Tight';
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--slate-soft);
  font-size: 14px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-soft);
}
.footer-socials {
  display: flex;
  gap: 14px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: background 0.3s, color 0.3s;
}
.footer-socials a:hover {
  background: var(--gradient);
  color: #fff;
  opacity: 1;
}

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
  .hero { padding: 130px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .phone-stack { height: 540px; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section { padding: 80px 0; }
  .steps, .t-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-hero { min-height: auto; }
  .fa-grid, .science-grid { grid-template-columns: 1fr; gap: 60px; }
  .fa-img-stack { height: 480px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .cta-card { padding: 60px 28px; }
}

@media (max-width: 540px) {
  /* Tighter container padding */
  .container { padding: 0 20px; }

  /* Hero: tighter spacing + readable type */
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: clamp(34px, 10vw, 52px); margin-bottom: 20px; }
  .hero-lede { font-size: 17px; margin-bottom: 28px; }
  .eyebrow { margin-bottom: 22px; }
  .hero-tagline {
    gap: 6px 14px;
    margin-bottom: 30px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .hero-tagline span:not(:last-child)::after { right: -6px; }

  /* CTAs stack full-width and become tap-friendly */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
  }

  /* Hero signal pills */
  .hero-signals { margin-top: 28px; }
  .signal-pill { padding: 6px 12px; font-size: 12.5px; }
  .signal-meta { font-size: 13px; }

  /* Phone carousel: show only active, stack centered (no horizontal overflow) */
  .phone-stack { height: 540px; }
  .phone {
    width: 250px;
    height: 520px;
  }
  .phone-1, .phone-2, .phone-3 {
    transform: translateX(0) translateY(0) scale(0.96) rotate(0);
  }
  .phone-1.active,
  .phone-2.active,
  .phone-3.active {
    transform: translateX(0) translateY(0) scale(1.02) rotate(0);
  }
  .phone:not(.active) {
    opacity: 0;
    pointer-events: none;
    filter: none;
  }

  /* Larger touch-friendly carousel indicators */
  .phone-indicators {
    bottom: -14px;
    padding: 12px 16px;
    gap: 10px;
  }
  .phone-indicator {
    height: 6px;
    width: 26px;
  }
  .phone-indicator.active { width: 40px; }

  /* Stats: tighter padding, 2x2 grid */
  .stats { padding: 44px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 12px; }

  /* Sections: tighter padding throughout */
  .section { padding: 70px 0; }
  .section-head-center { margin-bottom: 48px; }
  .section-title { font-size: clamp(28px, 8vw, 40px); }
  .section-lede { font-size: 16px; }

  /* Steps + Features: tighter cards */
  .step { padding: 32px 24px; }
  .feature { padding: 28px 24px; }
  .feature-hero {
    padding: 36px 28px;
    min-height: auto;
  }
  .feature-hero h3 { font-size: 28px; }
  .feature-hero p { font-size: 15px; }

  /* For-active section */
  .for-active { padding: 70px 0; }
  .fa-img-stack { height: 380px; }
  .fa-img-overlay {
    width: 200px;
    right: 8px;
    bottom: -12px;
    padding: 16px 18px;
  }
  .fa-overlay-quote { font-size: 12px; }
  .fa-points li { padding: 16px 0; gap: 12px; }
  .fa-points h5 { font-size: 16px; }
  .fa-points p { font-size: 13.5px; }

  /* Personal comparison section */
  .personal { padding: 70px 0; }
  .personal-card { padding: 28px 22px; gap: 20px; }
  .personal-name { font-size: 16px; }
  .personal-outcome { padding: 12px 16px; }
  .personal-outcome-score { font-size: 19px; }
  .personal-quote { font-size: 14.5px; padding-left: 14px; }
  .personal-pillars { gap: 32px; margin-top: 56px; padding-top: 44px; }
  .personal-pillar h5 { font-size: 18px; }

  /* Science section */
  .science-grid { gap: 48px; }
  .pattern-viz { padding: 24px; }
  .pattern-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .pattern-title { font-size: 16px; }
  .insight-card { padding: 14px 16px; gap: 12px; }
  .insight-card-text { font-size: 12.5px; }

  /* Testimonials */
  .t-card { padding: 28px 24px; }
  .t-text { font-size: 15.5px; margin-bottom: 20px; }

  /* FAQ */
  .faq { padding: 70px 0; }
  .faq-list { gap: 10px; margin-top: 40px; }
  .faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
    gap: 12px;
  }
  .faq-item p {
    padding: 0 20px 18px;
    font-size: 14px;
  }
  .faq-item summary::after {
    width: 26px; height: 26px;
    font-size: 16px;
  }

  /* CTA card: tighter padding */
  .cta { padding: 60px 0 100px; }
  .cta-card { padding: 56px 24px; }
  .cta-card h2 { font-size: clamp(28px, 8vw, 42px); }
  .cta-card p { font-size: 16px; margin-bottom: 28px; }
  .cta-row { gap: 10px; }
  .store-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }

  /* Footer */
  footer { padding: 44px 0 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
  .footer-bottom { gap: 16px; }

  /* Nav: keep brand+hamburger compact */
  .nav { padding: 14px 0; }
  .nav-brand .brand-icon { width: 30px; height: 30px; }
  .nav-brand .brand-wordmark { height: 19px; }
  .nav-cta {
    display: none; /* on tiny screens, rely on the hamburger; saves room */
  }
}

/* Subtle fade-in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-lede, .hero-cta-row, .hero-tagline, .eyebrow {
  animation: fadeUp 0.8s var(--ease) backwards;
}
.eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-lede { animation-delay: 0.3s; }
.hero-tagline { animation-delay: 0.4s; }
.hero-cta-row { animation-delay: 0.5s; }
.phone-stack { animation: fadeUp 1s var(--ease) backwards 0.4s; }

/* ============================================================
   Scroll-reveal animations (toggled by IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Scroll progress bar (thin gradient at top of viewport)
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(47,128,237,0.4);
}

/* ============================================================
   Nav: subtle elevate on scroll
   ============================================================ */
.nav { transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 1px 0 rgba(229,234,240,0.7), 0 10px 30px -20px rgba(11,18,32,0.18);
}

/* ============================================================
   Mobile hamburger
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, width 0.3s var(--ease);
  margin: 0 auto;
}
.nav-toggle span:nth-child(2) { width: 16px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); padding: 100px 0; }
.faq-list {
  max-width: 820px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] {
  border-color: rgba(47,128,237,0.4);
  box-shadow: 0 10px 30px -12px rgba(47,128,237,0.18);
}
.faq-item summary {
  list-style: none;
  padding: 22px 28px;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--echo-blue);
  font-size: 18px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--gradient);
  color: #fff;
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 28px 24px;
  color: var(--slate-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 680px;
}
.faq-cta {
  margin-top: 36px;
  text-align: center;
  font-size: 14px;
  color: var(--slate-soft);
}
.faq-cta a { font-weight: 600; }

/* ============================================================
   PERSONAL — "Your body. Not anyone else's."
   Editorial split-card comparison + 3 principles
   ============================================================ */
.personal {
  background: var(--surface);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.personal::before {
  content: "";
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(47,128,237,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.personal > .container { position: relative; z-index: 1; }
.personal .section-lede em {
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
}

.personal-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 64px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.personal-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-gray);
  padding: 40px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 60px -30px rgba(11,18,32,0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.personal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 30px 80px -30px rgba(47,128,237,0.22);
}

.personal-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.personal-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--light-gray);
}
.personal-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.personal-role {
  font-size: 12.5px;
  color: var(--slate-soft);
  margin-top: 2px;
}

.personal-meal {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(229,234,240,0.7);
}
.personal-meal img {
  width: 56px; height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.personal-meal-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.personal-meal-time {
  font-size: 12px;
  color: var(--slate-soft);
  margin-top: 2px;
}

.personal-outcomes {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-gray);
}
.personal-outcome {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
}
.personal-outcome-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
}
.personal-outcome-score {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.personal-outcome-score small {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-soft);
  margin-left: 1px;
}
.personal-outcome-arrow {
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  font-family: 'Inter Tight', sans-serif;
}
.personal-outcome.up   .personal-outcome-arrow { color: #10B981; }
.personal-outcome.down .personal-outcome-arrow { color: #EF4444; }
.personal-outcome.flat .personal-outcome-arrow { color: var(--slate-soft); }

.personal-quote {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15.5px;
  font-style: italic;
  color: var(--slate);
  line-height: 1.55;
  padding-left: 16px;
  border-left: 2px solid var(--echo-blue);
  margin-top: auto;
  letter-spacing: -0.005em;
}

.personal-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.personal-divider-line {
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, transparent, var(--light-gray) 30%, var(--light-gray) 70%, transparent);
}
.personal-divider-pill {
  font-family: 'Inter Tight', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-soft);
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--light-gray);
  white-space: nowrap;
}

/* Pillars */
.personal-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid var(--light-gray);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.personal-pillar-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: inline-block;
}
.personal-pillar h5 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.personal-pillar p {
  font-size: 14.5px;
  color: var(--slate-soft);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .personal { padding: 90px 0; }
  .personal-compare {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }
  .personal-divider {
    flex-direction: row;
    padding: 0;
  }
  .personal-divider-line {
    width: auto;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(to right, transparent, var(--light-gray) 30%, var(--light-gray) 70%, transparent);
  }
  .personal-card { padding: 32px 28px; }
  .personal-pillars {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 64px;
    padding-top: 48px;
  }
}
