/* ==========================================================================
   TurboAC storefront — design system
   Void black, charcoal glass, signature gold. Instrumentation-grade, but
   unmistakably TurboAC. Local fonts, no frameworks.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand palette inherited from the original TurboAC site. */
  --void: #07080b;
  --gold-hi: #fff07c;
  --gold: #ffd52e;
  --gold-deep: #ffc417;
  --gold-dim: #a97e12;
  --ink: #f2f1e8;
  --ink-dim: #a9a89e;
  --ink-faint: #6c6b63;
  --on-gold: #171204;

  /* Storefront roles. */
  --bg: var(--void);
  --bg-raise: #0e1015;
  --surface: #16191f;
  --surface-2: #1c2027;
  --panel: rgba(22, 25, 31, 0.68);
  --line: rgba(255, 255, 255, 0.075);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: var(--ink);
  --muted: var(--ink-dim);
  --faint: var(--ink-faint);
  --accent: var(--gold);
  --accent-strong: var(--gold-hi);
  --accent-deep: var(--gold-deep);
  --accent-dim: rgba(255, 213, 46, 0.07);
  --accent-line: rgba(255, 213, 46, 0.34);
  --ok: #8ce99a;
  --ok-deep: #51cf66;
  --warn: #ffd43b;
  --warn-deep: #fab005;
  --bad: #ff8787;
  --bad-deep: #fa5252;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --disp: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --container: 1180px;
  --nav-h: 68px;
}

/* ---------- Reset-ish ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 82% -12%, rgba(255, 196, 23, 0.065), transparent 68%),
    radial-gradient(760px 560px at -12% 34%, rgba(255, 213, 46, 0.032), transparent 72%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  background-image: repeating-conic-gradient(rgba(255, 255, 255, 0.011) 0% 0.0001%, transparent 0.0002% 0.0004%);
  mix-blend-mode: overlay;
}

main, footer { position: relative; z-index: 2; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.018em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 600; }

::selection { background: rgba(255, 213, 46, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.container-narrow { max-width: 860px; }

.section {
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid rgba(255, 213, 46, 0.055);
  position: relative;
}

.section-tight { padding-block: clamp(48px, 6vw, 72px); }

.section h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  margin-bottom: 18px;
}

.section-lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- Eyebrow / mono accents ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(255, 213, 46, 0.55);
  display: inline-block;
  flex: none;
  transform: rotate(45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--disp);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.18s ease;
  user-select: none;
  white-space: nowrap;
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-deep) 100%);
  color: var(--on-gold);
  box-shadow: 0 4px 24px rgba(255, 196, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 34px rgba(255, 196, 23, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.btn-accent:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.13);
}

.btn-ghost:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  background: rgba(255, 213, 46, 0.055);
  box-shadow: 0 0 22px rgba(255, 213, 46, 0.08);
}

.btn-small { padding: 9px 18px; font-size: 0.72rem; }
.btn-large { padding: 17px 34px; font-size: 0.85rem; }

.btn[disabled] {
  opacity: 0.55;
  cursor: wait;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(7, 8, 11, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 213, 46, 0.055);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav.scrolled {
  background: rgba(7, 8, 11, 0.88);
  border-bottom-color: rgba(255, 213, 46, 0.12);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 213, 46, 0.34));
}

.brand-mark-small {
  width: 26px;
  height: 26px;
  opacity: 0.92;
}

.brand-word {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.065em;
  color: var(--text);
}

.brand-word em {
  font-style: normal;
  margin-left: 2px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.14s ease;
}

.nav-links a:hover { color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 110px));
  padding-bottom: clamp(64px, 9vw, 120px);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(242, 241, 232, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 232, 0.038) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 92% 74% at 34% 20%, black 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 92% 74% at 34% 20%, black 28%, transparent 76%);
  pointer-events: none;
}

.hero-grid-bg::before {
  content: "";
  position: absolute;
  top: 29%;
  left: -52vw;
  width: 48vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 46, 0.46), transparent);
  filter: blur(1px);
  opacity: 0;
  animation: hero-beam 8.5s linear infinite;
}

.hero-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 38% at 73% 29%, rgba(255, 213, 46, 0.085), transparent 70%),
    radial-gradient(ellipse 26% 24% at 14% 18%, rgba(255, 240, 124, 0.035), transparent 72%);
}

@keyframes hero-beam {
  0% { transform: translateX(0) rotate(-6deg); opacity: 0; }
  12% { opacity: 0.9; }
  58% { opacity: 0.58; }
  100% { transform: translateX(175vw) rotate(-6deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-logo {
  display: block;
  width: min(420px, 82vw);
  height: auto;
  margin: 0 0 27px -6px;
  filter: drop-shadow(0 10px 34px rgba(255, 196, 23, 0.2));
  animation: hero-logo-float 6s ease-in-out infinite;
}

@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero h1 {
  font-size: clamp(2.45rem, 4.6vw, 3.3rem);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-assurances {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-assurances li {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-assurances li::before {
  content: "";
  width: 6px; height: 6px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(255, 213, 46, 0.44);
  flex: none;
  transform: rotate(45deg);
}

/* ---------- Terminal ---------- */

.hero-terminal {
  position: relative;
}

.hero-terminal::before {
  content: "";
  position: absolute;
  inset: 9% -5% 4%;
  background: radial-gradient(ellipse at center, rgba(255, 196, 23, 0.13), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.terminal {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 25, 31, 0.9), rgba(10, 11, 14, 0.94));
  border: 1px solid rgba(255, 213, 46, 0.17);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.86),
    0 0 42px rgba(255, 196, 23, 0.08),
    inset 0 1px 0 rgba(255, 240, 124, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 213, 46, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface-2);
  display: block;
}
.terminal-dots i:nth-child(1) { background: var(--bad-deep); }
.terminal-dots i:nth-child(2) { background: var(--gold); }
.terminal-dots i:nth-child(3) { background: var(--ok-deep); }

.terminal-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.04em;
  margin-inline: auto;
}

.terminal-live {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ok);
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
  flex: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(140, 233, 154, 0.44); }
  50% { opacity: 0.62; box-shadow: 0 0 0 5px rgba(140, 233, 154, 0); }
}

.terminal-body {
  margin: 0;
  padding: 18px 18px 14px;
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1.15vw, 0.78rem);
  line-height: 1.75;
  min-height: 270px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse 70% 30% at 50% 0%, rgba(255, 213, 46, 0.025), transparent 72%);
}

.terminal-body .t-dim { color: var(--faint); }
.terminal-body .t-shadow { color: var(--warn); }
.terminal-body .t-alert { color: var(--bad); }
.terminal-body .t-flag { color: var(--bad-deep); font-weight: 700; }
.terminal-body .t-enforce { color: var(--accent); }
.terminal-body .t-ok { color: var(--ok); }
.terminal-body .t-check { color: var(--text); font-weight: 600; }

.terminal-caret {
  display: inline-block;
  width: 8px; height: 1.05em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: caret 1s steps(2) infinite;
}

@keyframes caret { 50% { opacity: 0; } }

.terminal-caption {
  padding: 0 18px 14px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---------- Pillars (how it works) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid rgba(255, 213, 46, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 70px -42px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pillar {
  background: var(--panel);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: background 0.2s ease;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 72%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.pillar:hover {
  background: linear-gradient(180deg, rgba(255, 213, 46, 0.035), rgba(22, 25, 31, 0.78) 42%);
}

.pillar:hover::before { opacity: 1; }

.pillar .pillar-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 1.22rem;
  margin-bottom: 14px;
}

.pillar p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Fail-safe strip ---------- */

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid rgba(255, 213, 46, 0.13);
  border-radius: 16px;
  background:
    radial-gradient(560px circle at 50% 0%, rgba(255, 213, 46, 0.055), transparent 72%),
    var(--panel);
  box-shadow: 0 20px 64px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.strip-icon {
  width: 26px; height: 26px;
  color: var(--accent);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(255, 213, 46, 0.22));
}

.strip-item h4 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.strip-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Coverage ---------- */

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}

.coverage-card {
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  background: var(--panel);
  padding: clamp(24px, 2.8vw, 34px);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.coverage-card:hover {
  border-color: rgba(255, 213, 46, 0.27);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.46), 0 0 24px rgba(255, 213, 46, 0.055);
}

.coverage-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid rgba(255, 213, 46, 0.22);
  background: rgba(255, 213, 46, 0.065);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

.check-list li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--line);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  border-radius: 1px;
  box-shadow: 0 0 7px rgba(255, 213, 46, 0.36);
  transform: rotate(45deg);
}

.check-list li:first-child { border-top: 0; }

.coverage-note {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 18px 22px;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  color: var(--muted);
  font-size: 0.92rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 760px;
}

/* ---------- Pricing ---------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
  align-items: stretch;
}

.plan-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: var(--panel);
  padding: clamp(26px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 213, 46, 0.085), transparent 66%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.plan-card:hover {
  border-color: rgba(255, 213, 46, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.plan-card:hover::after { opacity: 1; }

.plan-card.featured {
  border-color: rgba(255, 213, 46, 0.43);
  background: linear-gradient(180deg, rgba(255, 213, 46, 0.07), rgba(22, 25, 31, 0.72) 40%);
  box-shadow: 0 0 44px rgba(255, 196, 23, 0.1);
}

.plan-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  box-shadow: 0 4px 16px rgba(255, 196, 23, 0.28);
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.plan-amount {
  font-family: var(--disp);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-currency { font-family: var(--mono); font-size: 0.9rem; color: var(--faint); }
.plan-period { font-family: var(--mono); font-size: 0.82rem; color: var(--faint); }

.plan-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 26px;
  min-height: 2.6em;
}

.plan-features {
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 9px 0 9px 28px;
  position: relative;
  border-top: 1px solid var(--line);
}

.plan-features li:first-child { border-top: 0; }

.plan-features li strong { font-weight: 600; }

.plan-features li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-48deg);
}

.plan-features li .feat-dim { color: var(--faint); }

.plan-card .btn { width: 100%; }

.plan-card .btn.loading::after {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid rgba(23, 18, 4, 0.3);
  border-top-color: var(--on-gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-ghost.loading::after {
  border-color: rgba(242, 241, 232, 0.25) !important;
  border-top-color: var(--text) !important;
}

@keyframes spin { to { transform: rotate(360deg); } }

.plans-noscript {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-status {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 212, 59, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 212, 59, 0.065);
  color: var(--text);
  font-size: 0.92rem;
  max-width: 760px;
}

.checkout-status strong { color: var(--warn); }

.checkout-status a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-status .checkout-detail {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--faint);
}

.pricing-note {
  margin-top: 30px;
  color: var(--faint);
  font-size: 0.85rem;
  font-family: var(--mono);
}

.pricing-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-note a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.16s ease, background 0.16s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.15); }
.faq-item[open] {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(255, 213, 46, 0.032), rgba(22, 25, 31, 0.68) 46%);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--accent);
  width: 18px;
  flex: none;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-body {
  padding: 0 24px 22px 58px;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-body p + p { margin-top: 12px; }

/* ---------- Final CTA ---------- */

.final-cta { border-top: 1px solid var(--line); }

.final-cta-box {
  text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 80px);
  border: 1px solid rgba(255, 213, 46, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(640px circle at 50% 0%, rgba(255, 213, 46, 0.09), transparent 70%),
    var(--panel);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px -48px rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.final-cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.final-cta-box p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid rgba(255, 213, 46, 0.075);
  padding-top: clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(22, 25, 31, 0.54), rgba(7, 8, 11, 0.96));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}

.footer-tag {
  margin-top: 16px;
  color: var(--faint);
  font-size: 0.86rem;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color 0.14s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-status .live-dot.off {
  background: var(--faint);
  animation: none;
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal p {
  color: var(--faint);
  font-size: 0.76rem;
}

/* ---------- Success / cancel pages ---------- */

.page-standalone {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-standalone main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 48px) 64px;
}

.result-box {
  max-width: 760px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(255, 213, 46, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(520px circle at 50% 0%, rgba(255, 213, 46, 0.06), transparent 70%),
    var(--panel);
  box-shadow: 0 26px 80px -46px rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.result-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.result-icon.ok {
  background: rgba(140, 233, 154, 0.08);
  border: 1px solid rgba(140, 233, 154, 0.28);
  color: var(--ok);
  box-shadow: 0 0 24px rgba(140, 233, 154, 0.09);
}

.result-icon.neutral {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.result-icon svg { width: 26px; height: 26px; }

.result-box h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.result-box .lede { margin-bottom: 32px; }

.steps {
  counter-reset: step;
  margin-bottom: 36px;
  padding-left: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(7, 8, 11, 0.34);
  overflow: hidden;
}

.steps li {
  counter-increment: step;
  padding: 18px 22px 18px 64px;
  position: relative;
  color: var(--muted);
  font-size: 0.94rem;
  border-top: 1px solid var(--line);
}

.steps li:first-child { border-top: 0; }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px; top: 18px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.steps li strong { display: block; margin-bottom: 3px; }

.steps code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--accent);
  white-space: nowrap;
}

.session-line {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--faint);
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius);
  display: none;
}

.session-line.visible { display: block; }
.session-line span { color: var(--muted); }

.result-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.result-note {
  margin-top: 28px;
  color: var(--faint);
  font-size: 0.85rem;
}

.result-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-note a:hover { color: var(--accent); }

/* ---------- Success-page license reveal panel ---------- */

.license-panel {
  margin-bottom: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 213, 46, 0.28);
  border-radius: 14px;
  background: rgba(255, 213, 46, 0.045);
}

.license-panel-status {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.license-key-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.license-key {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: rgba(7, 8, 11, 0.55);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 12px 16px;
  word-break: break-all;
  user-select: all;
  flex: 1;
  min-width: 240px;
}

.license-copy {
  padding: 10px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.license-panel-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.83rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-terminal { max-width: 640px; }
  .pillars { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-tagline { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 6px; }
  .faq-body { padding-left: 24px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
