/* ============================================================
   JackPop landing — global design system
   ============================================================ */
:root {
  /* Brand colors */
  --green: #1D9E75;
  --green-bright: #25c894;
  --orange: #EF9F27;
  --gold: #D4AF37;
  --red: #ff5544;

  /* Surfaces */
  --bg: #050f0c;
  --bg-2: #0a1f1a;
  --bg-3: #0e2922;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #ffffff;
  --text-dim: #b8c4c1;
  --text-faint: #7a8a86;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  /* Shadows */
  --shadow-1: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow-green: 0 0 60px rgba(29, 158, 117, 0.35);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}
.section-alt {
  background:
    radial-gradient(ellipse at top, rgba(29, 158, 117, 0.06), transparent 60%),
    var(--bg-2);
}

.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 12px 0 14px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 18px;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-bright);
  padding: 6px 14px;
  background: rgba(29, 158, 117, 0.12);
  border: 1px solid rgba(29, 158, 117, 0.3);
  border-radius: 999px;
}

.muted { color: var(--text-faint); font-weight: 600; font-size: 0.8em; }

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--orange) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: #fff;
  box-shadow: 0 8px 26px rgba(29, 158, 117, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(29, 158, 117, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 15, 12, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav-logo { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  gap: 36px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  transform: translateX(-50%);
  transition: width 0.18s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.nav-burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 12, 0.97);
  backdrop-filter: blur(20px);
  z-index: 200;
  padding: 80px 32px 32px;
  animation: fade-in 0.25s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 22px;
  font-weight: 600;
}
.mobile-menu .btn { font-size: 16px; }
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 32px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(29, 158, 117, 0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(239, 159, 39, 0.10), transparent 60%),
    var(--bg);
}
.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(29, 158, 117, 0.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(37, 200, 148, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.hero-heading {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 500;
}
.hero-trust li {
  position: relative;
  padding-left: 18px;
}
.hero-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-bright);
  font-weight: 700;
}

.hero-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}
.crash-demo-mount {
  width: 100%;
  aspect-ratio: 9 / 14;
  max-width: 380px;
  margin: 0 auto;
  background: linear-gradient(180deg, #061814 0%, #0a1f1a 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 158, 117, 0.35);
  box-shadow: var(--shadow-2), 0 0 80px rgba(29, 158, 117, 0.25);
  overflow: hidden;
  position: relative;
}

/* ============================================================
   How it works — steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(29, 158, 117, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 158, 117, 0.4);
  background: rgba(29, 158, 117, 0.04);
}
.step-card:hover::before { opacity: 1; }
.step-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: 0.1em;
  font-feature-settings: "tnum";
}
.step-icon {
  font-size: 40px;
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.step-card p { color: var(--text-dim); font-size: 15px; }

/* ============================================================
   Benefits
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.04);
}
.benefit-icon { font-size: 34px; margin-bottom: 14px; }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   Live demo CTA
   ============================================================ */
.live-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background:
    radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.10), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.live-demo-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 12px 0 16px;
}
.live-demo-copy p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 28px;
}

/* Browser-style preview */
.browser-frame {
  background: #0e1f1c;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: rotate(-1deg);
  transition: transform 0.4s ease;
}
.live-demo:hover .browser-frame { transform: rotate(0deg) scale(1.01); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #555;
}
.browser-bar .dot.red { background: #ff5e5b; }
.browser-bar .dot.yellow { background: #ffbd2e; }
.browser-bar .dot.green { background: #27c93f; }
.browser-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  padding: 4px 12px;
  border-radius: 6px;
  margin-left: 8px;
}
.browser-body {
  position: relative;
  height: 280px;
  background: #0a1f1a;
  padding: 20px;
}
.store-skeleton {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.4;
}
.store-row {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12));
}
.store-row-1 { width: 60%; }
.store-row-2 { width: 40%; height: 10px; }
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.store-grid div {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12));
}
.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 0.6s ease 0.4s both;
}
.popup-card {
  background: linear-gradient(180deg, #0a1f1a, #061814);
  border: 1px solid rgba(29, 158, 117, 0.5);
  border-radius: 16px;
  padding: 22px 26px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 50px rgba(29, 158, 117, 0.4);
  min-width: 180px;
}
.popup-rocket { font-size: 32px; }
.popup-percent {
  font-size: 50px;
  font-weight: 900;
  color: var(--green-bright);
  line-height: 1;
  margin-top: 4px;
}
.popup-percent span { font-size: 22px; }
.popup-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  font-weight: 700;
  margin: 6px 0 14px;
}
.popup-button {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(29, 158, 117, 0.5);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.price-card-featured {
  border-color: rgba(29, 158, 117, 0.6);
  background:
    radial-gradient(ellipse at top, rgba(29, 158, 117, 0.12), transparent 60%),
    rgba(29, 158, 117, 0.04);
  box-shadow: 0 20px 60px rgba(29, 158, 117, 0.2), 0 0 0 1px rgba(29, 158, 117, 0.3);
  transform: translateY(-12px);
}
.price-card-featured:hover { transform: translateY(-16px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-badge-gold {
  background: linear-gradient(135deg, var(--gold), #f0c850);
  color: #1a1308;
}
.price-badge-green {
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: #fff;
}
.price-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
  font-feature-settings: "tnum";
}
.price-currency { font-size: 22px; font-weight: 700; color: var(--text-dim); }
.price-amount { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; }
.price-period { font-size: 17px; color: var(--text-faint); font-weight: 600; }
.price-note {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 22px;
  min-height: 1.2em;
}
.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-features li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(29, 158, 117, 0.18);
  border: 1px solid rgba(29, 158, 117, 0.4);
}
.price-features li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 10px;
  border: solid var(--green-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pricing-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-faint);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(29, 158, 117, 0.4);
  background: rgba(29, 158, 117, 0.04);
}
.faq-item summary {
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--green-bright);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 15px;
  animation: fade-in 0.25s ease;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { padding: 80px 0 120px; }
.final-cta-inner {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(29, 158, 117, 0.18), transparent 65%),
    linear-gradient(180deg, #0c2620, #061814);
  border: 1px solid rgba(29, 158, 117, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 8vw, 96px) 32px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.final-cta-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.4), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.final-cta-inner h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  position: relative;
  margin-bottom: 18px;
}
.final-cta-inner p {
  position: relative;
  color: var(--text-dim);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.final-cta-buttons {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 60px;
  background: var(--bg);
  color: var(--text-dim);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.footer-copy {
  margin-left: 8px;
  color: var(--text-faint);
  font-weight: 400;
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a:hover { color: var(--text); }
.footer-contact { text-align: right; }
.footer-contact a { color: var(--green-bright); font-weight: 600; }
.footer-contact a:hover { color: var(--text); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s);
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.7); }
  70% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 200, 148, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(37, 200, 148, 0); }
}

/* ============================================================
   Crash demo (rendered into #crash-demo by crash-demo.js)
   ============================================================ */
.cd-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}
.cd-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cd-ui {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 22px;
  text-align: center;
}
.cd-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cd-percent {
  font-size: 76px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,255,255,0.4);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.cd-percent span { font-size: 36px; font-weight: 800; }
.cd-discount-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-top: 4px;
}
.cd-instruction {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.cd-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
}
.cd-lock {
  width: 100%;
  max-width: 280px;
  padding: 16px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(29, 158, 117, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: cd-glow 1.6s ease-in-out infinite;
}
.cd-lock:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px rgba(29, 158, 117, 0.7);
}
.cd-lock:active { transform: translateY(0) scale(0.98); }

@keyframes cd-glow {
  0%, 100% { box-shadow: 0 12px 32px rgba(29, 158, 117, 0.55), inset 0 1px 0 rgba(255,255,255,0.3); }
  50% { box-shadow: 0 14px 44px rgba(29, 158, 117, 0.85), 0 0 0 6px rgba(29, 158, 117, 0.18), inset 0 1px 0 rgba(255,255,255,0.3); }
}

/* Result overlays */
.cd-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(6,24,20,0.9), rgba(10,31,26,0.96));
  backdrop-filter: blur(6px);
  text-align: center;
  animation: fade-in 0.3s ease;
}
.cd-result-emoji {
  font-size: 64px;
  margin-bottom: 16px;
  animation: pop-in 0.6s ease;
}
.cd-result-heading {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.cd-result-sub {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.cd-replay {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(29, 158, 117, 0.5);
}
.cd-replay:hover { transform: translateY(-2px); }

.cd-confetti {
  position: absolute;
  width: 8px;
  height: 12px;
  top: -20px;
  pointer-events: none;
  border-radius: 2px;
  animation: cd-fall 1.8s ease-out forwards;
}
@keyframes cd-fall {
  to {
    transform: translateY(120%) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 130px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .crash-demo-mount { max-width: 340px; }

  .steps { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  .live-demo {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 40px;
    text-align: center;
  }

  .pricing-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translateY(-4px); }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .footer-brand { justify-content: center; }
  .footer-contact { text-align: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }

  .benefit-grid { grid-template-columns: 1fr; }
  .live-demo { padding: 36px 22px; }
  .browser-body { height: 240px; }
  .crash-demo-mount { max-width: 320px; }

  .cd-percent { font-size: 60px; }
  .cd-percent span { font-size: 28px; }

  .nav-cta { display: none; }

  .btn { padding: 12px 18px; font-size: 14px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }

  .hero-heading { font-size: 38px; }
  .section-head h2 { font-size: 30px; }
}

/* ============================================================
   Coming Soon Modal
   ============================================================ */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.2s ease;
}
.coming-soon-overlay[hidden] {
  display: none;
}
.coming-soon-modal {
  position: relative;
  background: linear-gradient(180deg, #0c2620, #061814);
  border: 1px solid rgba(29, 158, 117, 0.5);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(29, 158, 117, 0.3);
  animation: pop-in 0.4s ease;
}
.coming-soon-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s ease;
}
.coming-soon-close:hover { color: var(--text); }
.coming-soon-icon { font-size: 56px; margin-bottom: 16px; }
.coming-soon-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.coming-soon-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
