/* ============================================================ */
/*  VoterPlus Landing — styles.css                              */
/* ============================================================ */

/* ---------- 1. Custom properties ---------- */
:root {
  --green-primary: #2E7D32;
  --green-primary-hover: #256427;
  --green-mid: #1B5E20;
  --green-dark: #0D1F0E;
  --green-light: #4CAF50;
  --green-faint: #E8F5E9;
  --green-faint-tint: #F4FAF4;
  --green-border: #C8E6C9;
  --yellow: #FFF59D;
  --yellow-text: #5D4037;
  --surface: #F4F8F4;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #4A5568;
  --text-dim: #9E9E9E;

  --font-head: 'Montserrat Alternates', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-head); }
p { margin: 0; }
svg { display: block; }

/* ---------- 3. Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.container-mid { max-width: 1100px; margin: 0 auto; padding: 0 5%; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 5%; }

.section { padding: 100px 0; }
.section-light { background: var(--surface); }
.section-white { background: var(--white); }
.section-dark { background: var(--green-dark); color: var(--white); }

.section-head { margin-bottom: 64px; }
.section-head-center { text-align: center; }
.section-head-center .section-headline,
.section-head-center .section-body,
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

.overline {
  display: inline-flex;
  align-items: center;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 18px;
}
.overline-dark { color: var(--green-light); }
.overline-bar {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin-right: 10px;
}

.section-headline {
  font: 800 42px/1.15 var(--font-head);
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  max-width: 700px;
}
.section-headline-light { color: var(--white); }

.section-body {
  font: 400 17px/1.85 var(--font-body);
  color: var(--text-muted);
  max-width: 680px;
}
.section-body p + p { margin-top: 16px; }

.section-sub {
  font: 400 17px/1.7 var(--font-body);
  color: var(--text-muted);
  max-width: 560px;
}
.section-sub-light { color: var(--text-dim); }
.section-sub-center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 150ms ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}
.btn-primary:hover { background: var(--green-primary-hover); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

/* ---------- 4. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: transparent;
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.navbar.scrolled {
  background: rgba(13, 31, 14, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font: 500 14px/1 var(--font-body);
  color: rgba(255, 255, 255, 0.75);
  transition: opacity 200ms ease, color 200ms ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--green-primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 150ms ease, transform 150ms ease;
}
.nav-links .nav-cta:hover {
  background: var(--green-primary-hover);
  transform: scale(1.02);
}

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--green-dark);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 350ms ease-out;
  padding: 80px 28px 28px;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close svg { width: 24px; height: 24px; }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.drawer-link {
  color: rgba(255, 255, 255, 0.85);
  font: 500 16px/1 var(--font-body);
}
.drawer-link:hover { color: var(--white); }
.drawer-cta {
  background: var(--green-primary);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font: 600 15px/1 var(--font-body);
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-pattern.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13, 31, 14, 0.96) 0%,
    rgba(13, 31, 14, 0.90) 45%,
    rgba(13, 31, 14, 0.78) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px 5% 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-left { flex: 1; max-width: 620px; padding-right: 40px; }
.hero-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; }

.hero-headline {
  font: 800 60px/1.08 var(--font-head);
  letter-spacing: -1.5px;
  color: var(--white);
  margin-top: 20px;
}
.hero-sub {
  font: 400 18px/1.75 var(--font-body);
  color: var(--text-dim);
  max-width: 520px;
  margin-top: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 48px;
}
.stat { display: flex; flex-direction: column; gap: 2px; padding: 0 20px; }
.stat:first-child { padding-left: 0; }
.stat-num {
  font: 500 20px/1.1 var(--font-mono);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font: 400 12px/1 var(--font-body);
  color: var(--text-dim);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* Phone */
.phone-glow-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}
.phone-img {
  position: relative;
  z-index: 1;
  width: 480px;
  max-width: 100%;
  height: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.scroll-indicator span:first-child {
  font: 600 10px/1 var(--font-body);
  color: var(--text-dim);
  letter-spacing: 0.12em;
}
.chevron {
  position: relative;
  width: 12px;
  height: 8px;
  animation: chevron-bounce 2s ease-in-out infinite;
}
.chevron i {
  position: absolute;
  top: 0;
  width: 8px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}
.chevron i:first-child { left: 0; transform: rotate(45deg); transform-origin: right center; }
.chevron i:last-child  { right: 0; transform: rotate(-45deg); transform-origin: left center; }

@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ---------- 6. Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(46, 125, 50, 0.10);
}
.problem-icon {
  width: 44px;
  height: 44px;
  background: var(--green-faint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}
.problem-icon svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem-title {
  font: 600 17px/1.3 var(--font-body);
  color: var(--text);
  margin-top: 16px;
}
.problem-body {
  font: 400 14px/1.65 var(--font-body);
  color: var(--text-muted);
  margin-top: 8px;
}

/* ---------- 7. Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.feature-col {
  border: 1px solid var(--green-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.feature-col:not(.feature-col-featured):hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(46, 125, 50, 0.10);
}
.feature-col-featured {
  border-color: var(--green-primary);
  box-shadow: 0 20px 48px rgba(46, 125, 50, 0.20);
  transform: scale(1.04);
  z-index: 2;
}
.feature-head { padding: 24px; color: var(--white); }
.feature-head-primary { background: var(--green-primary); }
.feature-head-mid     { background: var(--green-mid); }
.feature-head-light   { background: var(--green-light); }
.feature-label {
  font: 600 11px/1.3 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}
.feature-title {
  font: 700 21px/1.2 var(--font-head);
  color: var(--white);
  margin-top: 6px;
}
.feature-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-list { flex: 1; margin-bottom: 24px; }
.feature-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font: 400 14px/1.55 var(--font-body);
  color: var(--text-muted);
}
.feature-list li:last-child { margin-bottom: 0; }
.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-faint);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.check svg { width: 10px; height: 10px; }

.feature-link {
  font: 600 14px/1 var(--font-body);
  color: var(--green-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transition: gap 200ms ease;
}
.feature-link:hover { gap: 12px; }
.feature-arrow { display: inline-block; font-weight: 400; }

.feature-cta {
  display: block;
  background: var(--green-primary);
  color: var(--white);
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font: 700 14px/1 var(--font-body);
  transition: background 150ms ease, transform 150ms ease;
}
.feature-cta:hover {
  background: var(--green-primary-hover);
  transform: translateY(-2px);
}

/* ---------- 8. How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--green-primary) 0, var(--green-primary) 8px,
    transparent 8px, transparent 18px
  );
  opacity: 0.5;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.step-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green-primary);
  border: 4px solid var(--green-dark);
  color: var(--white);
  font: 700 22px/1 var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.3);
}
.step-title {
  font: 700 17px/1.3 var(--font-head);
  color: var(--white);
  margin: 24px 0 8px;
}
.step-desc {
  font: 400 14px/1.65 var(--font-body);
  color: var(--text-dim);
  max-width: 220px;
  margin: 0 auto;
}

/* ---------- 9. Demo ---------- */
.video-frame {
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--green-dark);
  border-radius: 20px;
  border: 1px solid rgba(46, 125, 50, 0.25);
  position: relative;
  overflow: hidden;
}
.video-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(46, 125, 50, 0.35) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.10;
}
.video-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.video-logo {
  width: 48px;
  height: 48px;
  color: var(--white);
}
.video-note {
  font: 400 15px/1 var(--font-body);
  color: var(--text-dim);
  margin-top: 12px;
}
.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  opacity: 0.9;
  cursor: default;
}
.video-play svg { width: 24px; height: 24px; }

.video-caption {
  text-align: center;
  font: 400 15px/1.6 var(--font-body);
  color: var(--text-muted);
  margin-top: 24px;
}
.video-caption a { color: var(--green-primary); font-weight: 500; }
.video-caption a:hover { text-decoration: underline; }

/* ---------- 10. Timeline + Countdown (split) ---------- */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.milestone-list {
  position: relative;
  margin-top: 32px;
  padding-left: 0;
}
.milestone-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--green-border);
}
.milestone-item {
  position: relative;
  padding: 0 0 28px 32px;
  list-style: none;
}
.milestone-item:last-child { padding-bottom: 0; }
.milestone-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green-border);
  z-index: 1;
}
.milestone-dot.milestone-done {
  background: var(--green-primary);
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.18);
}
.milestone-dot.milestone-current {
  background: var(--white);
  border: 3px solid var(--green-primary);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.18);
}
.milestone-dot.milestone-upcoming {
  background: var(--white);
  border: 2px solid var(--green-border);
}
.milestone-date {
  font: 700 14px/1.3 var(--font-body);
  color: var(--green-primary);
}
.milestone-date-muted { color: var(--text-muted); }
.milestone-desc {
  font: 400 14px/1.6 var(--font-body);
  color: var(--text-muted);
  margin-top: 4px;
}
.milestone-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--yellow-text);
  font: 700 10px/1 var(--font-body);
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.countdown-card {
  background: var(--green-dark);
  color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.countdown-title {
  font: 600 22px/1.3 var(--font-head);
  text-align: center;
  margin-bottom: 28px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cd-block {
  background: rgba(46, 125, 50, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 8px;
  text-align: center;
}
.cd-num {
  font: 500 28px/1 var(--font-mono);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.cd-label {
  font: 400 11px/1 var(--font-body);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.countdown-target {
  text-align: center;
  font: 400 13px/1 var(--font-body);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- 11. Waitlist ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: 20px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(46, 125, 50, 0.08);
  text-align: left;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font: 500 14px/1 var(--font-body);
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--green-border);
  border-radius: 8px;
  font: 400 14px/1.4 var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.phone-field {
  display: flex;
  border: 1.5px solid var(--green-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.phone-field:focus-within {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.phone-prefix {
  padding: 12px 14px;
  background: var(--surface);
  color: var(--text-dim);
  font: 400 14px/1.4 var(--font-mono);
  border-right: 1px solid var(--green-border);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.phone-field input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font: 400 14px/1.4 var(--font-body);
  outline: none;
  background: transparent;
}

/* Role select */
.select-wrap { position: relative; }
.role-select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1.5px solid var(--green-border);
  border-radius: 8px;
  font: 400 14px/1.4 var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.role-select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.role-select:invalid { color: var(--text-dim); }
.role-select option { color: var(--text); }
.role-select option[disabled] { color: var(--text-dim); }
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  color: var(--text-muted);
  pointer-events: none;
}

.optional-label { font-weight: 400; color: var(--text-dim); font-size: 12px; }
.required-star { color: #E53935; margin-left: 2px; }
.role-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--surface);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--green-primary);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  font: 600 15px/1 var(--font-body);
  margin-top: 8px;
  transition: background 150ms ease, transform 150ms ease;
}
.submit-btn:hover:not(:disabled) {
  background: var(--green-primary-hover);
  transform: translateY(-1px);
}
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.form-note {
  font: 400 12px/1.5 var(--font-body);
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 350ms ease, transform 350ms ease;
}
.form-success.visible { display: flex; }
.success-icon {
  width: 56px;
  height: 56px;
  background: var(--green-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 28px; height: 28px; }
.success-headline {
  font: 800 26px/1.2 var(--font-head);
  color: var(--text);
  margin-top: 20px;
}
.success-body {
  font: 400 15px/1.6 var(--font-body);
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---------- 12. Donation (split) ---------- */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  flex-shrink: 0;
}
.trust-icon svg { width: 32px; height: 32px; }
.trust-title {
  font: 700 15px/1.3 var(--font-body);
  color: var(--white);
}
.trust-desc {
  font: 400 13px/1.5 var(--font-body);
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.donate-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: 20px;
}
.donate-card-title {
  font: 700 18px/1 var(--font-body);
  color: var(--white);
  margin-bottom: 20px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.amount-card {
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  position: relative;
  transition: border-color 180ms ease, background 180ms ease;
  color: inherit;
}
.amount-card:hover {
  border-color: rgba(76, 175, 80, 0.5);
  background: rgba(76, 175, 80, 0.07);
}
.amount-card.selected {
  border-color: var(--green-light);
  background: rgba(76, 175, 80, 0.10);
}
.amount-num {
  font: 500 24px/1.1 var(--font-mono);
  color: var(--white);
}
.amount-label {
  font: 400 12px/1 var(--font-body);
  color: var(--text-dim);
  margin-top: 4px;
}
.amount-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-light);
  display: none;
  align-items: center;
  justify-content: center;
}
.amount-check svg { width: 10px; height: 10px; }
.amount-card.selected .amount-check { display: flex; }

.custom-amount {
  display: flex;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 14px;
}
.custom-amount .currency {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font: 500 15px/1 var(--font-mono);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
}
#custom-amount {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  color: var(--white);
  font: 400 15px/1 var(--font-mono);
  outline: none;
}
#custom-amount::placeholder { color: rgba(255, 255, 255, 0.25); }

.donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  background: var(--green-light);
  color: var(--green-dark);
  border: 0;
  border-radius: 10px;
  font: 700 15px/1 var(--font-body);
  transition: background 150ms ease, transform 150ms ease;
}
.donate-btn:hover { background: #66BB6A; transform: translateY(-1px); }
.donate-btn svg { width: 18px; height: 18px; }

.paystack-note {
  font: 400 12px/1.5 var(--font-body);
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 14px;
}

/* ---------- 13. Success modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 300ms ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.modal-overlay.visible .modal-card {
  transform: scale(1);
}
.modal-icon {
  width: 56px;
  height: 56px;
  background: var(--green-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.modal-icon svg { width: 28px; height: 28px; }
.modal-title {
  font: 800 24px/1.2 var(--font-head);
  color: var(--text);
  margin-top: 20px;
}
.modal-body {
  font: 400 15px/1.6 var(--font-body);
  color: var(--text-muted);
  margin-top: 10px;
}
.modal-ref {
  font: 400 12px/1.4 var(--font-mono);
  color: var(--text-dim);
  margin-top: 14px;
}

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--green-dark);
  border-top: 1px solid var(--green-mid);
  padding: 64px 0 32px;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-tagline {
  font: 400 14px/1.65 var(--font-body);
  color: var(--text-dim);
  margin: 12px 0 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 200ms ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.12); }
.footer-social svg { width: 16px; height: 16px; }

.footer-label {
  font: 700 11px/1 var(--font-body);
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-links li { line-height: 2; }
.footer-links a {
  font: 400 14px/1 var(--font-body);
  color: var(--text-dim);
  transition: color 200ms ease;
}
.footer-links a:hover { color: var(--white); }
.footer-flag {
  font: 400 13px/1.4 var(--font-body);
  color: rgba(255, 255, 255, 0.3);
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: 400 13px/1 var(--font-body);
  color: rgba(255, 255, 255, 0.25);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { transition: color 200ms ease; }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.5); }

/* ============================================================ */
/*  Mobile responsive                                           */
/* ============================================================ */
@media (max-width: 1024px) {
  .feature-col-featured { transform: none; }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
  .footer-grid > :nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section-headline { font-size: 32px; }
  .section-head { margin-bottom: 48px; }

  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps::before { display: none; }
  .step { padding: 0; }

  .timeline-grid,
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :nth-child(4) { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-inner {
    flex-direction: column;
    text-align: left;
    padding-top: 120px;
  }
  .hero-left { max-width: none; padding-right: 0; }
  .hero-right { display: none; }
  .hero-headline { font-size: 40px; letter-spacing: -1px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .hero-stats { flex-wrap: wrap; gap: 16px 0; }
  .stat { padding: 0 16px; }

  .form-card { padding: 28px 20px; }
  .donate-card { padding: 28px 20px; }
  .countdown-card { padding: 28px 20px; }
  .countdown { gap: 8px; }
  .cd-block { padding: 14px 6px; }
  .cd-num { font-size: 24px; }
  .amount-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > :first-child,
  .footer-grid > :nth-child(4) { grid-column: auto; }
}

@media (max-width: 480px) {
  .section-headline { font-size: 28px; }
  .container,
  .container-mid,
  .container-narrow { padding: 0 20px; }
}

/* ---------- Privacy policy ---------- */
.privacy-page { background: var(--surface); }
.privacy-page .navbar { background: rgba(13, 31, 14, 0.96); }
.privacy-main { padding-top: 68px; }
.privacy-hero { padding: 96px 0 72px; background: var(--green-dark); color: var(--white); }
.privacy-hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.08; letter-spacing: -1.5px; }
.privacy-updated { margin-top: 20px; color: var(--text-dim); font: 500 13px/1.5 var(--font-mono); }
.privacy-content { padding-top: 88px; padding-bottom: 100px; }
.privacy-content section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--green-border); }
.privacy-content section:last-child { margin-bottom: 0; }
.privacy-content h2 { color: var(--green-mid); font-size: 27px; line-height: 1.25; margin-bottom: 22px; }
.privacy-content h3 { color: var(--text); font-size: 19px; line-height: 1.35; margin: 30px 0 12px; }
.privacy-content p, .privacy-content li { color: var(--text-muted); font-size: 16px; line-height: 1.85; }
.privacy-content p + p { margin-top: 18px; }
.privacy-content ul { list-style: disc; padding-left: 24px; margin: 12px 0 18px; }
.privacy-content li { padding-left: 5px; margin: 5px 0; }
.privacy-content a { color: var(--green-primary); text-decoration: underline; text-underline-offset: 3px; }
.privacy-content a:hover { color: var(--green-primary-hover); }
.privacy-content strong { color: var(--text); font-weight: 600; }
