/* ============================================================
   VARIABLES & RESET
============================================================ */

:root {
  --green:        #52B788;
  --green-light:  #D8F3DC;
  --green-dark:   #3a9970;
  --green-deeper: #2D6A4F;
  --text:         #1F2937;
  --text-muted:   #6B7280;
  --text-light:   #9CA3AF;
  --bg:           #F8FAFC;
  --white:        #ffffff;
  --border:       #E5E7EB;
  --border-light: #F3F4F6;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-2xl: 40px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-phone: 0 32px 80px rgba(0,0,0,0.22), 0 8px 24px rgba(0,0,0,0.12);

  --transition: 200ms ease;
  --transition-slow: 350ms ease;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1160px;
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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


/* ============================================================
   TYPOGRAPHY
============================================================ */

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); }
h4 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
p  { color: var(--text-muted); line-height: 1.7; }


/* ============================================================
   LAYOUT
============================================================ */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.1rem;
}

.section-header--light h2,
.section-header--light p {
  color: var(--white);
}

.section-header--light p {
  opacity: 0.8;
}


/* ============================================================
   BUTTONS
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(82,183,136,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: var(--white);
  color: var(--green-deeper);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }


/* ============================================================
   NAVIGATION
============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(248,250,252,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.nav.is-scrolled {
  background: rgba(248,250,252,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 8px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: var(--border-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-signin {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-signin:hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-left: auto;
}
.hamburger:hover { background: var(--border-light); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-slow);
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   MOBILE MENU
============================================================ */

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.mobile-link:hover {
  color: var(--text);
  background: var(--bg);
}

.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}


/* ============================================================
   SCROLL ANIMATIONS
============================================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   HERO
============================================================ */

.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background: var(--white);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text { max-width: 560px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline { margin-bottom: 24px; }

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 36px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audience-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}


/* ============================================================
   PHONE MOCKUPS — HERO
============================================================ */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phones-group {
  position: relative;
  width: 380px;
  height: 540px;
}

.phone {
  position: absolute;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-phone);
}

.phone-body {
  border-radius: inherit;
  background: #18181B;
  padding: 10px;
  position: relative;
}

.phone-camera {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #2D2D30;
  border-radius: 50%;
  z-index: 2;
}

.phone-screen {
  border-radius: calc(var(--radius-2xl) - 8px);
  overflow: hidden;
  background: #000;
}

/* Real screenshot inside hero phone */
.phone-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: calc(var(--radius-2xl) - 8px);
}

.phone-home-bar {
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  width: 80px;
  margin: 8px auto 2px;
}

.phone--primary {
  width: 210px;
  left: 20px;
  top: 20px;
  z-index: 2;
  transform: rotate(-3deg);
}

.phone--secondary {
  width: 180px;
  right: 10px;
  top: 60px;
  z-index: 1;
  transform: rotate(4deg);
}


/* ============================================================
   PHONE FRAMES — FEATURES
============================================================ */

.feature-ui { display: flex; justify-content: center; }

.fp-frame {
  background: #18181B;
  border-radius: 36px;
  padding: 10px 8px;
  width: 240px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
  position: relative;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.fp-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.2), 0 12px 32px rgba(0,0,0,0.1);
}

.fp-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #2D2D30;
  border-radius: 50%;
  z-index: 2;
}

.fp-img {
  display: block;
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.fp-home {
  width: 70px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 8px auto 2px;
}


/* ============================================================
   PROBLEM
============================================================ */

.problem {
  background: var(--green-light);
  padding: 96px 0;
}

.problem-text {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.problem-text h2 { margin-bottom: 20px; }

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pain-quote-mark {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.55;
  font-style: italic;
}

.problem-resolution { text-align: center; }

.problem-resolution p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green-deeper);
  max-width: 500px;
  margin-inline: auto;
}


/* ============================================================
   HOW IT WORKS
============================================================ */

.hiw {
  padding: 96px 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-inline: auto;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(82,183,136,0.35);
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.9375rem; }

.step-connector {
  width: 60px;
  height: 2px;
  border-top: 2px dashed var(--green);
  margin-top: 26px;
  flex-shrink: 0;
  align-self: flex-start;
}


/* ============================================================
   PRICING
============================================================ */

.pricing {
  padding: 96px 0;
  background: var(--bg);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 48px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  background: var(--green);
  border-color: var(--green);
  color: white;
  position: relative;
  box-shadow: 0 12px 40px rgba(82,183,136,0.3);
}

.pricing-card--featured:hover {
  border-color: var(--green-dark);
  box-shadow: 0 16px 48px rgba(82,183,136,0.4);
}

.pc-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.pc-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card--featured .pc-name { color: rgba(255,255,255,0.85); }

.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.pc-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
}
.pricing-card--featured .pc-amount { color: white; }

.pc-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-card--featured .pc-period { color: rgba(255,255,255,0.75); }

.pc-equiv {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.pc-billing {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.pricing-card--featured .pc-billing { color: rgba(255,255,255,0.65); }

.pc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  list-style: none;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.pc-features--light li { color: rgba(255,255,255,0.95); }

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Pricing preview phone */
.pricing-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.pp-frame {
  background: #18181B;
  border-radius: 30px;
  padding: 9px 7px;
  width: 175px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  position: relative;
}

.pp-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #2D2D30;
  border-radius: 50%;
  z-index: 2;
}

.pp-img {
  display: block;
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.pp-home {
  width: 55px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 7px auto 2px;
}

.pp-caption {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 500;
}

.pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-sep { color: var(--border); font-size: 1.2rem; }


/* ============================================================
   FEATURES
============================================================ */

.features {
  padding: 96px 0;
  background: var(--white);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-block:last-child { margin-bottom: 0; }

.feature-block--reverse { direction: rtl; }
.feature-block--reverse > * { direction: ltr; }

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.feature-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-text p { font-size: 1rem; line-height: 1.75; }


/* ============================================================
   SCREENSHOTS GALLERY
============================================================ */

.screenshots {
  padding: 96px 0;
  background: #1A2332;
  overflow: hidden;
}

.screenshots .section-header h2 { color: white; }
.screenshots .section-header p { color: rgba(255,255,255,0.65); }

.ss-gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.ss-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.ss-item--raised .ss-phone-frame { transform: translateY(-28px); }

.ss-phone-frame {
  background: #18181B;
  border-radius: 32px;
  padding: 10px 8px;
  width: 155px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  transition: transform var(--transition-slow);
}
.ss-phone-frame:hover { transform: translateY(-6px) !important; }

.ss-phone-frame--lg {
  width: 185px;
  border-radius: 36px;
}

.ss-notch {
  width: 46px;
  height: 7px;
  background: #2D2D30;
  border-radius: 4px;
  margin: 0 auto 8px;
}

.ss-img {
  display: block;
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.ss-home-bar {
  width: 56px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 8px auto 2px;
}

.ss-caption {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}


/* ============================================================
   FAQ
============================================================ */

.faq {
  padding: 96px 0;
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

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

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--green); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform var(--transition), color var(--transition);
}
.faq-icon svg { width: 100%; height: 100%; display: block; }

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

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

.faq-a p {
  padding-bottom: 22px;
  font-size: 0.9375rem;
  line-height: 1.75;
}


/* ============================================================
   FINAL CTA
============================================================ */

.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deeper) 100%);
}

.final-cta-inner {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.final-cta-inner h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.final-cta-inner > p:not(.cta-note) {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* Phone inside final CTA */
.cta-phone {
  display: flex;
  justify-content: center;
  margin: 36px 0;
}

.cta-frame {
  background: rgba(0,0,0,0.25);
  border-radius: 32px;
  padding: 10px 8px;
  width: 180px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  z-index: 2;
}

.cta-img {
  display: block;
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.cta-home {
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 8px auto 2px;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  min-width: 160px;
}

.store-badge:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.store-icon { width: 24px; height: 24px; flex-shrink: 0; }

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: 0.6875rem;
  opacity: 0.75;
  line-height: 1;
}

.store-main {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}


/* ============================================================
   FOOTER
============================================================ */

.footer {
  background: var(--text);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo { margin-bottom: 14px; display: inline-flex; }
.footer-logo .logo-text { color: white; }

.footer-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.footer-col h4 {
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}


/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .audience-tags { justify-content: center; }
  .hero-visual { order: -1; }

  .phones-group {
    width: 310px;
    height: 460px;
  }

  .phone--primary { width: 172px; left: 10px; top: 16px; }
  .phone--secondary { width: 148px; right: 4px; top: 50px; }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }

  .feature-block--reverse { direction: ltr; }
  .feature-ui { justify-content: center; }

  .fp-frame { width: 210px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}


/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
============================================================ */

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .phones-group {
    width: 270px;
    height: 400px;
  }

  .phone--primary { width: 152px; left: 8px; top: 10px; }
  .phone--secondary { width: 132px; right: 4px; top: 44px; }

  .pain-cards { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-connector { display: none; }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-trust { flex-direction: column; gap: 12px; text-align: center; }
  .trust-sep { display: none; }

  .section-header { margin-bottom: 48px; }
  .feature-block { margin-bottom: 56px; }

  /* Screenshots: horizontal scroll on small screens */
  .ss-gallery {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
  }
  .ss-gallery::-webkit-scrollbar { display: none; }
  .ss-phone-frame { width: 130px; }
  .ss-phone-frame--lg { width: 155px; }

  .cta-frame { width: 160px; }

  .store-badges { flex-direction: column; align-items: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
============================================================ */

@media (max-width: 480px) {
  .container { padding-inline: 16px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .phones-group { width: 230px; height: 340px; }
  .phone--primary { width: 132px; left: 4px; top: 8px; }
  .phone--secondary { width: 114px; right: 0; top: 36px; }

  .fp-frame { width: 190px; }

  .pricing-card { padding: 28px 24px; }
  .pc-amount { font-size: 2.4rem; }

  .pp-frame { width: 150px; }
  .cta-frame { width: 148px; }
}


/* ============================================================
   LEGAL PAGES (privacy.html, terms.html)
============================================================ */

.legal-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.legal-header p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.legal-content {
  max-width: 720px;
  padding: 56px 0 96px;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-email:hover { color: var(--green-dark); }
