/* ═══════════════════════════════════════════════
   Aussie Citizenship Exam Practice — Global Styles
   HuLearn · hulearn.com
   ═══════════════════════════════════════════════ */

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

:root {
  /* Brand palette — Australian-first */
  --navy:        #0A1E3C;
  --navy-mid:    #132D58;
  --navy-light:  #1E4080;
  --green:       #005C35;
  --green-mid:   #007A46;
  --green-light: #00A65A;
  --green-pale:  #E8F7EF;
  --gold:        #E8981E;
  --gold-light:  #FFBE44;
  --gold-pale:   #FFF8E6;

  /* Neutrals */
  --white:    #FFFFFF;
  --off-white:#F8F7F4;
  --grey-50:  #F4F3F0;
  --grey-100: #E8E6E1;
  --grey-200: #D1CEC7;
  --grey-400: #9A968E;
  --grey-600: #5E5A53;
  --grey-800: #201E1A;
  --black:    #100F0C;

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10,30,60,.08), 0 1px 2px rgba(10,30,60,.06);
  --shadow-md:  0 4px 16px rgba(10,30,60,.10);
  --shadow-lg:  0 12px 40px rgba(10,30,60,.14);
  --shadow-xl:  0 24px 60px rgba(10,30,60,.18);
  --shadow-green: 0 8px 32px rgba(0,92,53,.28);
  --shadow-gold:  0 8px 32px rgba(232,152,30,.30);

  /* Semantic Colors */
  --success: #059669;
  --warning: #D97706;
  --error: #DC2626;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode */
[data-theme="dark"] {
  --navy:       #07131F;
  --navy-mid:   #0E1F35;
  --navy-light: #163052;
  --white:      #0F1923;
  --off-white:  #141F2D;
  --grey-50:    #1A2535;
  --grey-100:   #22334A;
  --grey-200:   #2E4460;
  --grey-400:   #8FA3BF;
  --grey-600:   #C8D5E5;
  --grey-800:   #E4EDF7;
  --black:      #EEF3FA;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.35);
  --shadow-md:  0 4px 16px rgba(0,0,0,.40);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.45);
  --green:      #006B3F;
  --green-mid:  #008C52;
  --green-light:#00B463;
  --gold:       #EDAA2A;
  --gold-light: #FFC94D;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--grey-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  transition: background .3s, color .3s;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}

input:focus-visible {
  outline: none;
  border-color: var(--green-light) !important;
  box-shadow: 0 0 0 3px rgba(0,166,90,.22);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--green-light);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: var(--space-4); }


/* ─── Navigation ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--grey-100);
  transition: background .3s, box-shadow .3s;
}

[data-theme="dark"] .nav {
  background: rgba(14,31,53,.94);
  border-color: var(--grey-200);
}

.nav.scrolled { box-shadow: var(--shadow-md); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 2px 8px rgba(0,92,53,.3);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.01em;
}

[data-theme="dark"] .nav-logo-text { color: var(--grey-800); }

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

.nav-links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: .875rem;
  font-weight: 600;
  color: var(--grey-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: var(--green-pale);
}

[data-theme="dark"] .nav-links a { color: var(--grey-600); }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: var(--green-light);
  background: rgba(0,166,90,.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s;
  color: var(--grey-600);
}

.nav-theme-toggle:hover {
  background: var(--grey-100);
  color: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 18px;
  background: var(--green);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s;
  letter-spacing: .01em;
}

.nav-cta:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

[data-theme="dark"] .nav-cta { background: var(--green-mid); }
[data-theme="dark"] .nav-cta:hover { background: var(--green-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grey-800);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
  transform-origin: center;
}

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

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-md);
  z-index: 901;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .25s;
}

[data-theme="dark"] .nav-mobile-menu {
  background: var(--off-white);
  border-color: var(--grey-200);
}

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

.nav-mobile-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-50);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--grey-600);
  transition: background .2s, color .2s;
}

.nav-mobile-close:hover {
  background: var(--grey-100);
  color: var(--grey-800);
}

.nav-mobile-menu a {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-weight: 600;
  color: var(--grey-600);
  border-bottom: 1px solid var(--grey-100);
  transition: color .2s, background .2s;
}

.nav-mobile-menu a:last-child { border-bottom: none; }

.nav-mobile-menu a:hover {
  color: var(--green);
  background: var(--green-pale);
}

[data-theme="dark"] .nav-mobile-menu a {
  color: var(--grey-600);
  border-color: var(--grey-200);
}

[data-theme="dark"] .nav-mobile-menu a:hover {
  color: var(--green-light);
  background: rgba(0,166,90,.1);
}


/* ─── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  text-decoration: none;
}

.btn:disabled,
.btn[style*="cursor:default"],
.btn[onclick="return false;"] {
  opacity: 0.6;
  filter: grayscale(0.3);
  pointer-events: none;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: var(--space-2);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

[data-theme="dark"] .btn-primary { background: var(--green-mid); }
[data-theme="dark"] .btn-primary:hover { background: var(--green-light); }

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: #c97f14;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline {
  color: var(--green-light);
  border-color: var(--green-light);
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--green-light);
  color: var(--navy);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: .875rem;
}

/* Store Badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all .22s var(--ease-out);
  white-space: nowrap;
}

.store-badge-android {
  background: #000;
  color: #fff;
}

.store-badge-android:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.store-badge-ios {
  background: var(--navy);
  color: #fff;
}

.store-badge-ios:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-badge-label-small {
  font-size: .65rem;
  font-weight: 500;
  opacity: .8;
  letter-spacing: .03em;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.store-badge-label-main {
  display: block;
  font-weight: 600;
  font-size: .8rem;
  line-height: 1;
}

.store-badge-coming-soon {
  background: var(--gold);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ─── Hero Section ─────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(150deg, var(--navy) 0%, #0E2A4A 45%, #082E1C 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 55% 60% at 80% 30%, rgba(0,166,90,.13) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 5% 85%, rgba(232,152,30,.10) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 50% 100%, rgba(0,92,53,.20) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23ffffff' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0,166,90,.15);
  border: 1px solid rgba(0,166,90,.35);
  color: #6DEBA0;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: var(--space-5);
  letter-spacing: -.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero h1 .green-text {
  color: #6DEBA0;
}

.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: var(--space-8);
  line-height: 1.75;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.hero-pill svg { flex-shrink: 0; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-6);
}

.hero-disclaimer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.48);
}

/* ─── Phone Mockup ─────────────────────────────── */
.hero-phone { display: flex; justify-content: center; }

.phone-wrap { position: relative; }

.phone-body {
  width: 280px;
  height: 560px;
  background: #0D0D10;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,.12);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #0D0D10;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0A1F12 0%, #0D1A10 100%);
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px 0;
  font-size: .65rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  margin-top: 28px;
}

.phone-app {
  padding: 12px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.phone-app-logo { font-size: 18px; }

.phone-app-name {
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}

.phone-progress-label {
  font-size: .6rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

.phone-progress-bar {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  overflow: hidden;
}

.phone-progress-fill {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  border-radius: 100px;
}

.phone-question-label {
  display: inline-block;
  background: rgba(0,166,90,.18);
  color: #6DEBA0;
  font-size: .58rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
  align-self: flex-start;
}

.phone-question {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  line-height: 1.45;
}

.phone-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.phone-option {
  padding: 9px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  font-size: .68rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  transition: all .4s;
  cursor: default;
}

.phone-option.correct {
  background: rgba(0,166,90,.2);
  border-color: rgba(0,166,90,.5);
  color: #6DEBA0;
}

.phone-option.wrong {
  background: rgba(220,38,38,.15);
  border-color: rgba(220,38,38,.4);
  color: #FCA5A5;
  text-decoration: line-through;
}

.phone-bottom-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(0,166,90,.35) 0%, transparent 70%);
  pointer-events: none;
}


/* ─── Stat Bar ─────────────────────────────────── */
.stat-bar {
  background: var(--green);
  padding: 20px 0;
}

.stat-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.25);
}


/* ─── Trust Badge Bar ───────────────────────────── */
.trust-bar {
  background: var(--bg-alt);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

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

.trust-badge svg {
  flex-shrink: 0;
  color: var(--green);
}


/* ─── Section Base ─────────────────────────────── */
.section {
  padding: var(--space-24) 0;
}

.section-alt {
  background: var(--off-white);
}

[data-theme="dark"] .section-alt {
  background: var(--navy-mid);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.section-eyebrow {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid rgba(0,166,90,.25);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

[data-theme="dark"] .section-eyebrow {
  background: rgba(0,166,90,.15);
  color: var(--green-light);
  border-color: rgba(0,166,90,.3);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -.02em;
}

[data-theme="dark"] .section-header h2 { color: var(--grey-800); }

.section-header p {
  font-size: 1.0625rem;
  color: var(--grey-600);
  line-height: 1.7;
}


/* ─── Comparison Cards ─────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
}

.why-card.problem {
  background: #FEF2F2;
  border-color: #FECACA;
}

[data-theme="dark"] .why-card.problem {
  background: rgba(220,38,38,.08);
  border-color: rgba(220,38,38,.2);
}

.why-card.solution {
  background: var(--green-pale);
  border-color: rgba(0,166,90,.3);
}

[data-theme="dark"] .why-card.solution {
  background: rgba(0,166,90,.08);
  border-color: rgba(0,166,90,.25);
}

.why-card-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding: 3px 12px;
  border-radius: 100px;
}

.why-card.problem .why-card-tag {
  background: #FEE2E2;
  color: #DC2626;
}

.why-card.solution .why-card-tag {
  background: rgba(0,166,90,.15);
  color: var(--green);
}

[data-theme="dark"] .why-card.solution .why-card-tag {
  background: rgba(0,166,90,.2);
  color: var(--green-light);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-5);
  line-height: 1.3;
  letter-spacing: -.01em;
}

[data-theme="dark"] .why-card h3 { color: var(--grey-800); }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--grey-600);
}

.why-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.why-card.problem .why-list li::before {
  background-color: #FEE2E2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.why-card.solution .why-list li::before {
  background-color: rgba(0,166,90,.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23005C35' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

[data-theme="dark"] .why-card.solution .why-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2300A65A' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}


/* ─── Features Grid ────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}

[data-theme="dark"] .feature-card {
  background: var(--off-white);
  border-color: var(--grey-200);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,166,90,.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
}

[data-theme="dark"] .feature-icon {
  background: rgba(0,166,90,.12);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-3);
  letter-spacing: -.01em;
}

[data-theme="dark"] .feature-card h3 { color: var(--grey-800); }

.feature-card p {
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.65;
}


/* ─── Steps Grid ───────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-pale), var(--green-pale));
  background: repeating-linear-gradient(90deg, var(--green-light) 0%, var(--green-light) 40%, transparent 40%, transparent 60%);
  background-size: 30px 2px;
  opacity: .4;
}

.step {
  text-align: center;
  padding: var(--space-6);
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-green);
  position: relative;
  z-index: 1;
}

.step-emoji {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-3);
  letter-spacing: -.01em;
}

[data-theme="dark"] .step h3 { color: var(--grey-800); }

.step p {
  font-size: .9rem;
  color: var(--grey-600);
  line-height: 1.6;
}


/* ─── Values Section ───────────────────────────── */
.values-section {
  background: linear-gradient(150deg, var(--navy) 0%, #0E2A18 100%);
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(0,166,90,.12) 0%, transparent 60%);
}

.values-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.values-section .section-eyebrow {
  background: rgba(255,200,80,.15);
  color: var(--gold-light);
  border-color: rgba(255,200,80,.3);
}

.values-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--space-5);
  letter-spacing: -.02em;
}

.values-section > .container > .values-inner > div > p {
  color: rgba(255,255,255,.7);
  font-size: 1.0rem;
  line-height: 1.72;
  margin-bottom: var(--space-6);
}

.values-warning {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: rgba(232,152,30,.14);
  border: 1px solid rgba(232,152,30,.35);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
}

.values-warning-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }

.values-warning strong {
  display: block;
  color: var(--gold-light);
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.values-warning p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.values-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: rgba(255,255,255,.88);
  font-weight: 500;
  transition: background .2s, border-color .2s;
}

.values-list-item:hover {
  background: rgba(0,166,90,.1);
  border-color: rgba(0,166,90,.3);
}

.values-list-item-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}


/* ─── Pricing ──────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

[data-theme="dark"] .pricing-card {
  background: var(--off-white);
  border-color: var(--grey-200);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.03);
  box-shadow: var(--shadow-green);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-3px);
}

[data-theme="dark"] .pricing-card.featured {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .03em;
  box-shadow: var(--shadow-gold);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: var(--space-4);
}

.pricing-card.featured .pricing-tier { color: rgba(255,255,255,.8); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-3);
}

.pricing-currency {
  font-size: .8rem;
  font-weight: 700;
  color: var(--grey-400);
}

.pricing-card.featured .pricing-currency { color: rgba(255,255,255,.65); }

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}

[data-theme="dark"] .pricing-amount { color: var(--grey-800); }
.pricing-card.featured .pricing-amount { color: #fff; }

.pricing-desc {
  font-size: .875rem;
  color: var(--grey-400);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.pricing-card.featured .pricing-desc { color: rgba(255,255,255,.65); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: .875rem;
  color: var(--grey-600);
}

.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.85); }

.pricing-features li svg { flex-shrink: 0; }

.pricing-features li.dimmed {
  color: var(--grey-200);
}

.pricing-features li svg { color: var(--green-light); }
.pricing-card.featured .pricing-features li svg { color: rgba(255,255,255,.8); }
.pricing-features li.dimmed svg { color: var(--grey-200); }


/* ─── Testimonials ─────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform .25s, box-shadow .25s;
}

[data-theme="dark"] .testimonial-card {
  background: var(--off-white);
  border-color: var(--grey-200);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 1px;
}

.testimonial-quote {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--grey-600);
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: .875rem;
  font-weight: 700;
  color: var(--grey-800);
}

.testimonial-meta {
  font-size: .78rem;
  color: var(--grey-400);
}


/* ─── FAQ ──────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

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

[data-theme="dark"] .faq-item { border-color: var(--grey-200); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--grey-800);
  gap: var(--space-4);
  transition: color .2s;
}

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

.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--grey-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease-out), background .2s;
  color: var(--grey-600);
}

[data-theme="dark"] .faq-chevron { background: var(--grey-100); }

.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--green); }
.faq-item.open .faq-chevron { background: var(--green-pale); color: var(--green); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 var(--space-5);
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.72;
}


/* ─── CTA Banner ───────────────────────────────── */
.cta-banner {
  background: linear-gradient(145deg, var(--green) 0%, var(--green-mid) 50%, #004A2A 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 55% 70% at 90% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
}

.cta-banner-inner {
  padding: var(--space-16) var(--space-24);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -.02em;
}

.cta-banner p {
  color: rgba(255,255,255,.78);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.cta-banner-btns {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.hero-signup {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
}

.hero-signup input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: .9375rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}

.hero-signup input::placeholder {
  color: rgba(255,255,255,.5);
}

.hero-signup input:focus {
  border-color: rgba(255,255,255,.4);
}

.hero-signup-note {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  min-height: 20px;
}

.hero-store-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cta-note {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: var(--space-4);
}


/* ─── Footer ───────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: var(--space-20) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-16);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 340px;
}

.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 340px;
}

.footer-col h2 {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--green-light); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  gap: var(--space-4);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-links a {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }


/* ─── Legal Pages ──────────────────────────────── */
.legal-page {
  padding: 130px 0 var(--space-24);
}

.legal-page-header {
  text-align: center;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--grey-100);
  margin-bottom: var(--space-12);
}

[data-theme="dark"] .legal-page-header { border-color: var(--grey-200); }

.legal-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  margin: var(--space-4) 0 var(--space-3);
}

[data-theme="dark"] .legal-page-header h1 { color: var(--grey-800); }

.legal-page-header p {
  font-size: .9375rem;
  color: var(--grey-400);
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: var(--space-10) 0 var(--space-4);
  letter-spacing: -.01em;
}

[data-theme="dark"] .legal-body h2 { color: var(--grey-800); }

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.legal-body ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.legal-body ul li {
  font-size: .9375rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.legal-contact-box {
  background: var(--green-pale);
  border: 1px solid rgba(0,166,90,.2);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-4) 0;
}

[data-theme="dark"] .legal-contact-box {
  background: rgba(0,166,90,.08);
  border-color: rgba(0,166,90,.2);
}

.legal-contact-box p {
  margin: 0 0 4px;
  font-size: .9375rem;
  color: var(--grey-600);
}

.legal-contact-box a {
  color: var(--green);
  text-decoration: underline;
}

[data-theme="dark"] .legal-contact-box a { color: var(--green-light); }


/* ─── Animations ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .40s; }


/* ─── Responsive ───────────────────────────────── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr 380px; gap: 48px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding: 0 var(--space-6); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .values-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .stat-bar-inner { gap: var(--space-8); }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .cta-banner-inner { padding: var(--space-12) var(--space-8); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-3px); }
}

@media (max-width: 640px) {
  .section { padding: var(--space-16) 0; }
  .hero { padding: 110px 0 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .ios-waitlist { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-store-badges { flex-direction: column; align-items: flex-start; width: 100%; gap: var(--space-3); }
  .store-badge { width: 100%; justify-content: center; }
  .hero-signup { max-width: 100%; }
  .hero-signup input { font-size: 16px; }
  .hero-signup-note { margin-top: var(--space-3); }
  .trust-bar-inner { gap: var(--space-6); flex-direction: column; }
  .trust-badge { justify-content: center; }
}
