/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --navy:             #0F1A2E;
  --navy-mid:         #1B2838;
  --navy-light:       #253447;
  --game-green:       #00E676;
  --game-green-dark:  #00C853;
  --game-green-soft:  rgba(0,230,118,0.12);
  --alert-orange:     #FF6D00;
  --alert-orange-dark:#E65100;
  --white:            #FFFFFF;
  --gray-50:          #F4F6F8;
  --gray-100:         #E8ECF0;
  --gray-300:         #B0B8C4;
  --gray-500:         #6B7A8D;
  --gray-700:         #3D4F63;

  --shadow-1: 0 2px 8px rgba(15,26,46,0.08);
  --shadow-2: 0 4px 16px rgba(15,26,46,0.12);
  --shadow-3: 0 12px 32px rgba(15,26,46,0.16);
  --green-glow: 0 4px 20px rgba(0,230,118,0.35);

  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-input: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  backdrop-filter: blur(8px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  height: 30px;
  width: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  object-fit: cover;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo span {
  color: var(--game-green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.15s ease;
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--game-green);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  box-shadow: var(--green-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,230,118,0.45) !important;
  color: var(--navy) !important;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--navy);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,230,118,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,109,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero__app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--game-green-soft);
  border: 1px solid rgba(0,230,118,0.2);
  color: var(--game-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--game-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero__headline em {
  font-style: normal;
  color: var(--game-green);
}

.hero__tagline {
  font-size: 18px;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-store {
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-store img {
  height: 48px;
  width: auto;
  display: block;
}

.btn-store:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-300);
}

.trust-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--game-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Phone mockup */
.hero__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--gray-50);
  border-radius: 40px;
  border: 8px solid var(--navy-mid);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06), inset 0 0 0 1px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

/* Dynamic island */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: var(--navy-mid);
  border-radius: 100px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* App nav bar */
.phone-nav {
  padding: 40px 14px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.phone-nav__title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.phone-nav__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--gray-500);
  margin-top: 3px;
}

/* Scrollable group list */
.phone-list {
  flex: 1;
  padding: 10px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.phone-card {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 10px 8px;
  box-shadow: 0 1px 4px rgba(15,26,46,0.08);
  border: 1px solid var(--gray-100);
}

.phone-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.phone-sport-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.phone-card__info { flex: 1; min-width: 0; }

.phone-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-card__meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  color: var(--gray-500);
}

.phone-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 100px;
  flex-shrink: 0;
}

.phone-pill--green {
  background: var(--game-green-soft);
  color: var(--game-green-dark);
}

.phone-pill--orange {
  background: rgba(255,109,0,0.12);
  color: var(--alert-orange-dark);
}

.phone-pill--gray {
  background: var(--gray-100);
  color: var(--gray-500);
}

.phone-progress-track {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-100);
  overflow: hidden;
}

.phone-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #00C853, #00E676);
}

.phone-progress-fill--orange {
  background: linear-gradient(90deg, #E65100, #FF6D00);
}

.phone-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}

.phone-progress-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  color: var(--gray-500);
}

/* Bottom tab bar */
.phone-tabbar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 14px;
  flex-shrink: 0;
}

.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.phone-tab__dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--gray-100);
}

.phone-tab__dot--active {
  background: var(--game-green-soft);
}

.phone-tab__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  color: var(--gray-500);
}

.phone-tab__label--active {
  color: var(--game-green-dark);
  font-weight: 600;
}

.phone-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,230,118,0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* =========================================================
   PROBLEM SECTION
   ========================================================= */
.section-problem {
  background: var(--gray-50);
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-headline--light {
  color: var(--white);
}

.section-sub {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.section-sub--light {
  color: var(--gray-300);
}

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

.pain-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.pain-card__emoji {
  font-size: 32px;
  margin-bottom: 16px;
}

.pain-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.pain-card__body {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* =========================================================
   FEATURES SECTION
   ========================================================= */
.section-features {
  background: var(--navy);
}

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

.feature-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,230,118,0.25);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--game-green-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card__body {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.65;
}

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

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

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.666% + 16px);
  right: calc(16.666% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--game-green), var(--game-green-dark));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--game-green);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--green-glow);
}

.step__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step__body {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}

.step__time {
  display: inline-block;
  margin-top: 14px;
  background: var(--game-green-soft);
  color: var(--game-green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.section-testimonials {
  background: var(--gray-50);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 56px;
  font-family: 'Outfit', serif;
  color: var(--game-green);
  line-height: 1;
  opacity: 0.4;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-card__stars span {
  font-size: 14px;
}

.testimonial-card__quote {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* =========================================================
   FAQ
   ========================================================= */
.section-faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: 88px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.15s ease;
}

.faq-question:hover { color: var(--game-green-dark); }

.faq-question.active { color: var(--game-green-dark); }

.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.15s ease;
}

.faq-question.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--game-green-soft);
  border-color: rgba(0,230,118,0.2);
}

.faq-chevron svg {
  width: 12px;
  height: 12px;
  stroke: var(--gray-500);
}

.faq-question.active .faq-chevron svg { stroke: var(--game-green-dark); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open { max-height: 300px; }

.faq-answer-inner {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =========================================================
   DOWNLOAD CTA
   ========================================================= */
.section-cta {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,230,118,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.section-cta .container { position: relative; z-index: 1; }

.cta-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.cta-sub {
  font-size: 18px;
  color: var(--gray-300);
  margin-bottom: 40px;
}

.cta-stores {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 500;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--navy-light);
}

.email-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  height: 52px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-input);
  padding: 0 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.email-form input::placeholder { color: var(--gray-500); }

.email-form input:focus {
  border-color: var(--game-green);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.12);
}

.btn-primary {
  height: 52px;
  background: var(--game-green);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  box-shadow: var(--green-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,230,118,0.45);
}

.btn-primary:active { transform: scale(0.96); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-light);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.footer__brand { max-width: 260px; }

.footer__tagline {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 10px;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__link-group h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.footer__link-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link-group a {
  font-size: 14px;
  color: var(--gray-300);
  transition: color 0.15s ease;
}

.footer__link-group a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--navy-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--gray-500);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.15s ease;
}

.footer__legal a:hover { color: var(--gray-300); }

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__tagline { margin: 0 auto 36px; }

  .hero__ctas { justify-content: center; }

  .hero__trust { align-items: center; }

  .hero__phone-wrap { order: -1; }

  .hero__app-icon { margin: 0 auto 24px; }

  .cards-3,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps::before { display: none; }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-sticky { position: static; }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer__links { flex-wrap: wrap; gap: 24px; }

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

@media (max-width: 640px) {
  section { padding: 60px 0; }

  .hero { padding: 64px 0 56px; }

  .container { padding: 0 16px; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0;
    background: var(--navy);
    padding: 32px 24px;
    gap: 20px;
    z-index: 99;
  }

  .nav__links.open .nav__cta { text-align: center; }

  .nav__mobile-toggle { display: flex; }

  .phone-mockup { width: 220px; height: 440px; }

  .email-form { flex-direction: column; }

  .email-form input, .btn-primary { width: 100%; }
}

@media (min-width: 640px) and (max-width: 900px) {
  .cards-3,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}
