/* ============================================================
   VerBill landing page — dark, high-contrast, green-glow
   Motion: GSAP timelines in script.js animate transform/opacity
   only. Everything is fully visible without JS; reduced motion
   collapses all animation (CSS below + checks in script.js).
   ============================================================ */

:root {
  --bg: #0b0f19;
  --bg-raised: #161f30;
  --bg-card: #1f2c42;

  --text: #f1f5f9;
  --text-secondary: #94a3b8;

  --accent: #22c55e;
  --accent-glow: rgba(34, 197, 94, 0.35);
  --accent-tint: rgba(34, 197, 94, 0.15);

  --border: #24324a;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.35);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  /* Faint grid texture, CSS only */
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 780px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-raised {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  text-align: center;
}

.section-lede {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease, background-color 0.2s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--accent);
  color: #06240f;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px var(--accent-glow);
}

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

.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2.1rem;
}

.btn-sm {
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
}

.cta-microcopy {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* One-time attention pulse on the header CTA (added by JS after 10s idle) */
@keyframes cta-attention {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
  40% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.25); }
}

.header-cta.attention-pulse {
  animation: cta-attention 1.2s ease-out 2;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}

.header-logo {
  display: inline-flex;
  align-items: center;
}

.header-logo img {
  height: 2.1rem;
  width: auto;
}

.header-nav {
  display: none;
  gap: 2rem;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--text);
}

@media (min-width: 640px) {
  .header-nav {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

/* Slow drifting glow, barely perceptible */
.hero-bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 400px at 70% 30%, rgba(34, 197, 94, 0.10), transparent 70%),
    radial-gradient(500px 500px at 20% 80%, rgba(34, 197, 94, 0.05), transparent 70%);
  animation: glow-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-drift {
  from { transform: translate3d(-2%, -1%, 0); }
  to { transform: translate3d(2%, 2%, 0); }
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.hero-subhead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 1.25rem 0 2.25rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 10rem 0 7rem;
  }
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Phone mockup + glow */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

/* Android-style frame: taller screen, punch-hole camera */
.phone-mockup {
  position: relative;
  width: 300px;
  padding: 10px;
  background: #05070d;
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.phone-camera {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #05070d;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
  z-index: 3;
}

.phone-screen {
  position: relative;
  background: var(--bg-raised);
  border-radius: 27px;
  overflow: hidden;
  aspect-ratio: 477 / 912;
}

.demo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* When the animated demo is running, hide the static screenshot */
.phone-screen.is-demo-live .demo-fallback {
  display: none;
}

/* ---------- Hero demo (animated product loop) ---------- */

.demo[hidden] {
  display: none;
}

.demo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 2.75rem 1.1rem 1.4rem;
  background: linear-gradient(180deg, #10192b 0%, var(--bg-raised) 100%);
}

.demo-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 2.35rem 1.1rem 0.5rem;
  border-bottom: 1px solid rgba(36, 50, 74, 0.6);
}

.demo-brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.demo-brand span {
  color: var(--accent);
}

.demo-stage {
  position: absolute;
  inset: 4.4rem 1.1rem 3.6rem;
  display: flex;
  flex-direction: column;
}

/* Stage 1: Record Job (replicates the app's record screen) */

.demo-record {
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.75rem;
  text-align: center;
}

.demo-record-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.4rem;
}

.demo-record-hint {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 1.6rem;
}

.demo-mic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  margin-bottom: 1.4rem;
}

.demo-mic-stop {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
}

.demo-mic-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.is-demo-live .demo-mic-ring {
  animation: mic-pulse 1.6s ease-out infinite;
}

@keyframes mic-pulse {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.7); opacity: 0; }
}

.demo-timer {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin: 0 0 1rem;
}

.demo-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}

.demo-wave span {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleY(0.15);
  transform-origin: center;
}

.is-demo-live .demo-wave.is-playing span {
  animation: wave-bounce 0.9s ease-in-out infinite alternate;
}

.demo-wave span:nth-child(2n) { animation-delay: -0.15s !important; }
.demo-wave span:nth-child(3n) { animation-delay: -0.35s !important; }
.demo-wave span:nth-child(4n) { animation-delay: -0.55s !important; }
.demo-wave span:nth-child(5n) { animation-delay: -0.7s !important; }

@keyframes wave-bounce {
  from { transform: scaleY(0.15); }
  to { transform: scaleY(1); }
}

/* Stage 2: Review (replicates the materials + totals screen) */

.demo-review {
  justify-content: flex-start;
  gap: 0.6rem;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
}

.demo-card-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.demo-mat-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(36, 50, 74, 0.6);
  font-size: 0.72rem;
  color: var(--text);
}

.demo-mat-row span:first-child {
  flex: 1;
}

.demo-mat-qty {
  color: var(--text-secondary);
}

.demo-mat-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.demo-tot-row {
  display: flex;
  justify-content: space-between;
  padding: 0.22rem 0;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.demo-tot-row span:last-child {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.demo-tot-due {
  margin-top: 0.3rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
}

.demo-tot-due span:last-child {
  color: var(--accent);
  font-weight: 800;
}

/* Stage 3: Dashboard (replicates the dashboard screen) */

.demo-dash {
  justify-content: flex-start;
  gap: 0.55rem;
}

.demo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.demo-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
}

.demo-stat span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.demo-stat strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.demo-stat strong.is-amber {
  color: #f59e0b;
}

.demo-list-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.2rem 0 0;
}

.demo-inv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

.demo-inv-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.demo-inv-info strong {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text);
}

.demo-inv-info span {
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.demo-badge {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 999px;
  vertical-align: middle;
}

.demo-inv-amt {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.demo-inv-new {
  border-color: var(--accent);
}

.demo-inv-new.glow-in {
  animation: inv-glow 1.4s ease-out 1;
}

@keyframes inv-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  40% { box-shadow: 0 0 22px var(--accent-glow); }
}

/* Bottom tab bar */

.demo-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.55rem 0.4rem 0.8rem;
  background: rgba(11, 15, 25, 0.85);
  border-top: 1px solid var(--border);
}

.demo-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-nav-item.is-active {
  color: var(--accent);
}

.demo-send {
  position: relative;
  margin-top: auto;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #06240f;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 0.8rem;
  cursor: default;
  pointer-events: none;
  overflow: hidden;
}

.demo-send-sent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  opacity: 0;
}

.demo-send.is-sent .demo-send-sent {
  opacity: 1;
}

.demo-send.is-sent {
  box-shadow: 0 0 24px var(--accent-glow);
}

/* ---------- How it works ---------- */

.how-it-works h2 {
  margin-bottom: 3rem;
}

.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.steps-line {
  display: none;
}

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
}

.step-number {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  /* Opaque: tint layered over the card color so the connector line
     doesn't show through the circle */
  background: linear-gradient(var(--accent-tint), var(--accent-tint)), var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-secondary);
  margin: 0;
}

.step em {
  color: var(--text-secondary);
  opacity: 0.85;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  /* Connecting line drawn by JS (stroke-dashoffset). Runs through the
     centers of the three number circles (circle center = card padding
     1.85rem + circle radius 1.3rem = 3.15rem) and sits above the cards
     so the draw animation is actually visible. */
  .steps-line {
    display: block;
    position: absolute;
    top: calc(3.15rem - 2px);
    left: 3.15rem;
    /* Explicit width: an absolutely-positioned SVG ignores left+right
       sizing and falls back to its intrinsic width. Spans from circle 1's
       center to circle 3's center. */
    width: calc(200% / 3 + 4rem / 3);
    height: 4px;
    color: var(--accent);
    opacity: 0.45;
    z-index: 2;
  }
  .step {
    z-index: 1;
  }
}

/* ---------- Why it matters ---------- */

.callouts {
  display: grid;
  gap: 1.25rem;
}

.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.callout-stat {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.callout p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .callouts {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Positioning ---------- */

.positioning-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--accent-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  text-align: center;
}

.positioning-card h2 {
  margin-bottom: 1rem;
}

.positioning-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ---------- Pricing ---------- */

.pricing h2 {
  margin-bottom: 3rem;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.75rem 2rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 32px rgba(34, 197, 94, 0.15);
}

/* One-time glow pulse when the card scrolls into view (class added by JS) */
@keyframes card-glow-pulse {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 rgba(34, 197, 94, 0); border-color: var(--border); }
  45% { box-shadow: var(--shadow), 0 0 40px var(--accent-glow); border-color: var(--accent); }
}

.pricing-card.glow-pulse {
  animation: card-glow-pulse 1.6s ease-out 1;
}

.billing-toggle {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.85rem;
}

.toggle-option {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toggle-option.is-active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.toggle-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 999px;
}

.price {
  margin: 0 0 0.35rem;
}

.price-amount {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.price-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.85rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1rem;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Trust ---------- */

.trust-items {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.trust-item img {
  height: 88px;
  width: 88px;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 50%;
}

.trust-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trust-item p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .trust-items {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

/* ---------- FAQ ---------- */

.faq h2 {
  margin-bottom: 2.25rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq summary {
  padding: 1.15rem 3rem 1.15rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-body {
  overflow: hidden;
}

.faq-body p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-secondary);
}

/* ---------- Final CTA band ---------- */

.final-cta {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
}

.final-cta p:first-of-type {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 4rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
}

.footer-brand img {
  height: 2.1rem;
  width: auto;
  margin: 0 auto 0.6rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copyright {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    text-align: left;
    justify-items: start;
  }
  .footer-brand img {
    margin-left: 0;
  }
}

/* ---------- Sticky mobile CTA bar ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(22, 31, 48, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.mobile-cta-text strong {
  font-size: 0.85rem;
}

.mobile-cta-text span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.mobile-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-cta-dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
}

@media (min-width: 720px) {
  .mobile-cta {
    display: none;
  }
}

/* ---------- Reduced motion: everything collapses ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-bg {
    animation: none !important;
  }
}
