/* ═══════════════════════════════════════════════════════════
   SoberRise — styles.css
   MonAI-inspired design: clean white/grey, large typography,
   left-aligned hero, alternating feature rows, marquee reviews
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --primary:        #3B5BDB;
  --primary-light:  #4C6EF5;
  --primary-muted:  #EEF2FF;
  --accent:         #F59F00;
  --success:        #2F9E44;
  --success-muted:  #EBFBEE;
  --danger-muted:   #FFF5F5;

  --bg:             #FFFFFF;
  --surface:        #F8F9FA;
  --surface-alt:    #F1F3F5;
  --border:         #E9ECEF;
  --border-strong:  #DEE2E6;

  --text:           #1A1A2E;
  --text-sub:       #6C757D;
  --text-muted:     #ADB5BD;
  --text-inverse:   #FFFFFF;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --nav-h: 68px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ─── SCROLL ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.fade-up--delay  { transition-delay: 0.15s; }
.fade-up.fade-up--d1     { transition-delay: 0.1s; }
.fade-up.fade-up--d2     { transition-delay: 0.2s; }
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-full);
  padding: 10px 22px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-dark {
  background: var(--text);
  color: var(--text-inverse);
}

/* ─── STORE BADGES ─── */
.store-badge { display: inline-flex; align-items: center; }
.store-badge-svg { height: 44px; width: auto; border-radius: 8px; }
.store-badge--lg .store-badge-svg { height: 52px; }
.hero-store-btns,
.download-store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ─── EYEBROW ─── */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ══════════════ NAV ══════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo-icon--sm { width: 28px; height: 28px; }
.nav-logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: auto; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Mobile menu ─── */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: var(--radius-md);
}
.mobile-menu a:hover { color: var(--text); background: var(--surface); }
.mobile-menu .btn { width: 100%; margin-top: 8px; justify-content: center; }

/* ══════════════ HERO ══════════════ */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 64px;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-accent { color: var(--primary); }
.hero-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-sub);
  max-width: 480px;
}

/* ══════════════ PHONE SHELL ══════════════ */
.phone-shell {
  width: 320px;
  height: 620px;
  background: var(--text);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    var(--shadow-lg),
    0 24px 64px rgba(59,91,219,0.18);
  position: relative;
  flex-shrink: 0;
}
.phone-shell--sm {
  width: 240px;
  height: 460px;
  border-radius: 36px;
  padding: 11px;
}
.phone-notch {
  width: 90px; height: 26px;
  background: var(--text);
  border-radius: 0 0 18px 18px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}
.phone-shell--sm .phone-notch { width: 70px; height: 20px; margin-bottom: 6px; }

.phone-screen {
  background: var(--primary);
  border-radius: 32px;
  height: calc(100% - 40px);
  overflow: hidden;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-shell--sm .phone-screen { border-radius: 26px; padding: 12px 10px; gap: 6px; }
.phone-screen--light { background: var(--surface); }

/* ── screen content ── */
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.mock-greeting {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.phone-screen--light .mock-greeting { color: var(--text-sub); }
.mock-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.mock-counter-card {
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}
.phone-shell--sm .mock-counter-card { padding: 9px 8px; border-radius: 12px; }
.mock-label {
  font-size: 9px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-counter-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}
.mock-unit { display: flex; flex-direction: column; align-items: center; }
.mock-number {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.phone-shell--sm .mock-number { font-size: 16px; }
.mock-unit-label {
  font-size: 7px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}
.mock-sep { font-size: 16px; color: rgba(255,255,255,0.5); margin: 0 1px; line-height: 1.4; font-weight: 700; }
.phone-shell--sm .mock-sep { font-size: 12px; }
.mock-since { font-size: 8px; color: rgba(255,255,255,0.6); margin-top: 6px; }

.mock-stats-row {
  display: flex;
  gap: 6px;
}
.mock-stat {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 6px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-stat strong { color: #fff; font-size: 11px; font-weight: 700; }
.mock-stat span { color: rgba(255,255,255,0.65); font-size: 8px; }

.mock-message-card {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px;
}
.mock-message-card--hero {
  background: var(--primary-muted);
}
.phone-screen--light .mock-message-card { background: #fff; }
.mock-msg-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  display: flex; align-items: center; gap: 4px;
}
.mock-message-card--hero .mock-msg-label { color: var(--primary); }
.phone-screen--light .mock-message-card .mock-msg-label { color: var(--primary); }
/* .mock-sparkle replaced by .mock-sparkle-icon SVG */
.mock-msg-text {
  font-size: 9px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  font-style: italic;
}
.mock-message-card--hero .mock-msg-text { color: var(--text); }
.phone-screen--light .mock-message-card .mock-msg-text { color: var(--text); }

.mock-actions-row { display: flex; gap: 6px; }
.mock-action {
  flex: 1;
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
}
.mock-action--red { background: #FFF5F5; color: #E03131; }
.mock-action--blue { background: var(--primary-muted); color: var(--primary); }

/* SOS screen */
.mock-screen-title { font-size: 12px; font-weight: 700; color: var(--text); }
.mock-screen-sub { font-size: 9px; color: var(--text-sub); margin-top: 2px; }
.mock-sos-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.mock-prompt-card {
  background: var(--primary-muted);
  border-radius: 10px;
  padding: 8px;
}
.mock-sos-header {
  font-size: 8px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 3px;
}
.mock-sos-text { font-size: 9px; color: var(--text); line-height: 1.5; font-style: italic; }
.mock-tool {
  background: #fff;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* Journal screen */
.mock-journal-entry {
  background: #fff;
  border-radius: 8px;
  padding: 7px 9px;
  box-shadow: var(--shadow-sm);
}
.mock-je-date { font-size: 8px; color: var(--text-sub); font-weight: 500; display: block; margin-bottom: 3px; }
.mock-je-preview { font-size: 8px; color: var(--text); line-height: 1.4; }

/* Buddy screen */
.mock-buddy-card {
  background: #fff;
  border-radius: 10px;
  padding: 9px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.mock-buddy-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mock-buddy-streak { font-size: 9px; font-weight: 700; color: var(--text); }
.mock-buddy-active { font-size: 8px; color: var(--success); margin-top: 2px; }
.mock-bubble {
  max-width: 85%;
  padding: 6px 9px;
  border-radius: 12px;
  font-size: 9px;
  line-height: 1.4;
}
.mock-bubble--received {
  background: #fff;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  box-shadow: var(--shadow-sm);
}
.mock-bubble--sent {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  margin-left: auto;
}

/* hero phone positioning */
.hero-phone { display: flex; justify-content: flex-end; align-items: center; }

/* ─── SVG ICONS ─── */
.hiw-svg {
  width: 32px; height: 32px;
  color: var(--primary);
  display: block;
}
.mock-sparkle-icon {
  width: 10px; height: 10px;
  color: var(--accent);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.mock-action-icon {
  width: 10px; height: 10px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.mock-tool-icon {
  width: 9px; height: 9px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  opacity: 0.7;
}
.milestone-svg {
  width: 28px; height: 28px;
  display: block;
  color: #fff;
}
.milestone-badge--locked .milestone-svg { color: rgba(255,255,255,0.6); }
.milestone-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.feature-icon-row {
  width: 48px; height: 48px;
  background: var(--primary-muted);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon-svg {
  width: 24px; height: 24px;
  color: var(--primary);
  display: block;
}

/* ══════════════ HOW IT WORKS ══════════════ */
.how-it-works {
  background: var(--surface);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.hiw-item { text-align: center; }
.hiw-icon {
  width: 56px; height: 56px;
  background: var(--primary-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto 16px;
}
.hiw-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.hiw-item p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ══════════════ FEATURES ══════════════ */
.features { background: var(--bg); padding-bottom: 0; }
.features-header {
  text-align: center;
  padding: 80px 24px 60px;
}
.features-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}
.features-sub {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Alternating rows */
.feature-row {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.feature-row--alt { background: var(--surface); }

.feature-row-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 72px;
}
.feature-row-inner--rev {
  grid-template-columns: 260px 1fr;
}
.feature-row-inner--rev .feature-copy { order: 2; }
.feature-row-inner--rev .feature-phone { order: 1; }

.feature-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.feature-copy h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.feature-copy p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.feature-phone { display: flex; justify-content: center; }
.feature-phone--right { justify-content: flex-end; }
.feature-phone--left { justify-content: flex-start; }

/* ══════════════ MILESTONES ══════════════ */
.milestones-strip {
  padding: 80px 0;
  background: var(--primary);
  text-align: center;
  overflow: hidden;
}
.milestones-strip-header { margin-bottom: 48px; }
.milestones-strip .section-eyebrow { color: rgba(255,255,255,0.7); }
.milestones-strip h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.milestones-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.milestone-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  min-width: 90px;
  transition: transform 0.2s;
}
.milestone-badge:hover { transform: translateY(-3px); }
.milestone-badge--locked { opacity: 0.45; filter: grayscale(1); }
/* milestone icon — now SVG, see .milestone-svg */
.milestone-badge span:last-child {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* ══════════════ REVIEWS ══════════════ */
.reviews {
  padding: 80px 0;
  background: var(--bg);
  overflow: hidden;
}
.reviews-header { text-align: center; margin-bottom: 48px; }
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.reviews-stars { font-size: 28px; color: var(--accent); letter-spacing: 2px; }
.reviews-score { font-size: 48px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.reviews-sub { font-size: 15px; color: var(--text-sub); }

/* Dual marquee */
.reviews-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.reviews-marquee { overflow: hidden; }
.reviews-marquee-inner {
  display: flex;
  gap: 16px;
  width: max-content;
}
.reviews-marquee--fwd .reviews-marquee-inner {
  animation: marquee-fwd 40s linear infinite;
}
.reviews-marquee--rev .reviews-marquee-inner {
  animation: marquee-rev 40s linear infinite;
}
@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.reviews-marquee-wrap:hover .reviews-marquee-inner { animation-play-state: paused; }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 280px;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: var(--accent); font-size: 14px; margin-bottom: 8px; }
.review-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.review-card p { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin-bottom: 12px; }
.review-author { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* ══════════════ ABOUT ══════════════ */
.about {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 64px;
}
.about-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}
.about-copy p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-visual { display: flex; justify-content: center; }
.about-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-badge-icon {
  width: 120px; height: 120px;
  border-radius: 28px;
  object-fit: cover;
}
.about-badge-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

/* ══════════════ DOWNLOAD CTA ══════════════ */
.download-cta {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.download-inner { text-align: center; }
.download-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.download-cta p {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 0;
}
.download-store-btns {
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 32px;
}
.download-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.download-disclaimer a { color: var(--primary); text-decoration: underline; }

/* ══════════════ FOOTER ══════════════ */
.footer {
  background: var(--text);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo .nav-logo-name { color: #fff; font-size: 15px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  line-height: 1;
}
.footer-col a:hover { color: #fff; }
.footer-copy-row {
  padding-top: 24px;
}
.footer-copy-row p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }
  .feature-row-inner { gap: 48px; }
}

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

  .hero {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-body { max-width: 100%; }
  .hero-store-btns { justify-content: center; }
  .hero-phone { justify-content: center; }
  /* Show a scaled-down version of the hero phone on mobile */
  .hero-phone .phone-shell {
    width: 260px;
    height: 500px;
  }

  /* How it works: horizontal card on mobile */
  .hiw-grid { grid-template-columns: 1fr; gap: 20px; }
  .hiw-item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
  }
  .how-it-works .hiw-item { background: var(--bg); }
  .hiw-icon {
    margin: 0;
    width: 48px; height: 48px;
    flex-shrink: 0;
  }
  .hiw-item h3 { margin-top: 2px; }

  /* Features */
  .features-header { padding: 48px 24px 32px; }
  .feature-row { padding: 48px 0; }
  .feature-row-inner,
  .feature-row-inner--rev {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .feature-row-inner--rev .feature-copy { order: 1; }
  .feature-row-inner--rev .feature-phone { order: 2; }
  .feature-phone--right,
  .feature-phone--left { justify-content: center; }
  .feature-list { display: inline-flex; flex-direction: column; text-align: left; }
  .feature-icon-row { margin: 0 auto 16px; }

  /* Milestones */
  .milestones-grid { gap: 10px; }
  .milestone-badge { min-width: 76px; padding: 16px 12px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .about-visual { display: none; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero-phone .phone-shell { width: 230px; height: 445px; border-radius: 34px; padding: 10px; }
  .hero-phone .phone-notch { width: 65px; height: 18px; }
  .phone-shell--sm { width: 200px; height: 380px; border-radius: 28px; padding: 9px; }
  .phone-shell--sm .phone-notch { width: 58px; height: 16px; margin-bottom: 5px; }
  .mock-number { font-size: 17px; }
  .phone-shell--sm .mock-number { font-size: 13px; }
  .phone-shell--sm .mock-sep { font-size: 11px; }

  .hero-store-btns { flex-direction: column; align-items: center; }
  .store-badge-svg { height: 48px; }

  .hiw-item { padding: 16px; }
  .hiw-icon { width: 40px; height: 40px; }
  .hiw-svg { width: 22px; height: 22px; }

  .milestones-grid { gap: 8px; }
  .milestone-badge { min-width: 64px; padding: 14px 10px; }
  .milestone-svg { width: 22px; height: 22px; }
  .milestone-label { font-size: 11px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .reviews-score { font-size: 40px; }

  .download-cta { padding: 64px 0; }
  .feature-row { padding: 40px 0; }
  .features-header { padding: 40px 24px 28px; }
}

@media (max-width: 390px) {
  .hero-phone .phone-shell { width: 200px; height: 390px; border-radius: 30px; padding: 9px; }
  .hero-phone .phone-notch { width: 56px; height: 16px; }
  .mock-counter-card { padding: 7px 6px; }
  .mock-number { font-size: 15px; }
  .mock-sep { font-size: 12px; }
  .phone-shell--sm { width: 180px; height: 345px; }
  .phone-shell--sm .mock-number { font-size: 12px; }

  .hero-heading { font-size: 34px; }
  .milestone-badge { min-width: 58px; padding: 12px 8px; }
}
