/* NitroGPT — Main Stylesheet
   Design: dark tech hero + light readable content sections
   ─────────────────────────────────────────────────────────────── */

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --content-max-width:   43.75rem;   /* 700px — body copy */
  --intro-max-width:     60rem;      /* 960px — intro / short lead text */
  --hero-copy-max-width: 46rem;      /* 736px — hero headline + sub */
  --legal-max-width:     43.75rem;
  --pricing-copy-max-width: 43.75rem;
  --pricing-grid-max-width: 76rem;   /* 1216px — 4-column pricing grid */
  --site-max-width:      80rem;      /* 1280px — outer container */

  /* Colors */
  --dark-bg:      #0d0d18;
  --dark-surface: #1a1a2e;
  --dark-border:  rgba(137,180,250,0.15);
  --blue:         #89b4fa;
  --blue-light:   #b4d0fb;
  --green:        #a6e3a1;
  --red:          #f38ba8;
  --yellow:       #f9e2af;
  --muted:        #6c7086;
  --text-dark:    #cdd6f4;

  --light-bg:     #f8f9fb;
  --light-surface:#ffffff;
  --light-border: #e4e7ef;
  --text-light:   #1e2030;
  --text-light-muted: #5a6075;

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Menlo", "Consolas", monospace;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--light-bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Accessibility: Skip to main content ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--blue);
  color: #1e1e2e;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Container ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Site Header / Nav ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,24,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  height: 60px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(137,180,250,0.32);
}
.btn-primary   { background: var(--blue);  color: #1e1e2e; }
.btn-outline   { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); }
.btn-ghost     { background: transparent; color: var(--text-light-muted); }
.btn-ghost:hover { color: var(--text-light); }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; border-radius: 10px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--dark-bg);
  color: var(--text-dark);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/nitrogpt-threadline-hero-accent.svg') right center / auto 100% no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(36rem, 1.22fr);
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-copy { max-width: 33rem; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.hero-h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 38rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  width: 100%;
  position: relative;
}
.hero-product-demo {
  overflow: hidden;
  background: #121222;
  border: 1px solid rgba(137,180,250,0.36);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}
.demo-browser-bar,
.demo-thread-heading,
.demo-hidden-history,
.demo-thread-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.demo-browser-bar {
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.035);
  border-bottom: 1px solid rgba(137,180,250,0.14);
}
.demo-browser-dots {
  display: flex;
  gap: 0.35rem;
}
.demo-browser-dots span {
  display: block;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: rgba(205,214,244,0.28);
}
.demo-browser-title,
.demo-local-badge,
.demo-thread-kicker,
.demo-thread-total,
.demo-restore-actions,
.demo-thread-footer {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-browser-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: auto;
  color: rgba(255,255,255,0.58);
}
.demo-local-badge,
.demo-thread-total,
.demo-thread-footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-light);
}
.demo-thread-heading {
  padding: 1.25rem 1.35rem 1rem;
}
.demo-thread-kicker {
  color: var(--blue);
  margin-bottom: 0.25rem;
}
.demo-thread-heading h2 {
  font-size: 1.12rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 700;
}
.demo-hidden-history {
  margin-top: 1rem;
  margin-inline: 1.35rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(137,180,250,0.22);
  border-radius: 8px;
  background: rgba(137,180,250,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
}
.demo-hidden-icon { color: var(--blue); }
.demo-hidden-history strong,
.demo-hidden-history span {
  display: block;
}
.demo-hidden-history div span {
  margin-top: 0.1rem;
  color: rgba(255,255,255,0.5);
}
.demo-restore-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  white-space: nowrap;
}
.demo-restore-actions span { display: inline; }
.demo-thread-stream {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.35rem 1.15rem;
}
.demo-message {
  width: min(78%, 29rem);
  padding: 0.68rem 0.75rem;
  border: 1px solid rgba(205,214,244,0.12);
  border-radius: 9px;
  background: rgba(255,255,255,0.035);
}
.demo-message-user {
  margin-left: auto;
  background: rgba(137,180,250,0.08);
  border-color: rgba(137,180,250,0.18);
}
.demo-message-label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-message-row {
  display: block;
  width: 100%;
  height: 0.45rem;
  margin-top: 0.34rem;
  border-radius: 999px;
  background: rgba(205,214,244,0.2);
}
.demo-message-user .demo-message-row { background: rgba(137,180,250,0.3); }
.demo-thread-footer {
  padding: 0.75rem 1.35rem;
  border-top: 1px solid rgba(137,180,250,0.14);
  color: rgba(255,255,255,0.58);
}
.demo-thread-footer span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.demo-thread-footer i { color: var(--blue); }

.thread-window {
  display: grid;
  gap: 0.55rem;
  padding-top: 1rem;
}
.thread-row {
  display: block;
  width: 100%;
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(205,214,244,0.2);
}
.thread-row:nth-child(even) { background: rgba(137,180,250,0.24); }
.row-medium { width: 82%; }
.row-short { width: 64%; }

/* ── Product Boundary Strip ──────────────────────────────────────────────── */
.proof-strip {
  background: var(--dark-surface);
  color: var(--text-dark);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.proof-strip-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.proof-strip-list li {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--dark-border);
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}
.proof-strip-list li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.65rem;
  flex: 0 0 auto;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.proof-strip-list li:last-child { border-right: 0; }

/* ── Static Browser Thread Proof ─────────────────────────────────────────── */
.thread-proof-section {
  background: var(--light-surface);
  padding: 5rem 0 4.5rem;
}
.thread-proof-heading { margin-bottom: 2.25rem; }
.thread-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.thread-panel {
  padding: 1.5rem;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: 14px;
}
.thread-panel-after {
  border-color: rgba(137,180,250,0.86);
  box-shadow: inset 0 3px 0 var(--blue);
}
.thread-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.thread-panel-kicker {
  margin-bottom: 0.25rem;
  color: var(--text-light-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.thread-panel h3 { font-size: 1.12rem; }
.thread-status {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.thread-status-heavy {
  background: #f5e8cc;
  color: #765000;
}
.thread-status-light {
  background: #dceafb;
  color: #244c7c;
}
.thread-panel-copy {
  margin-top: 0.8rem;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}
.thread-window {
  min-height: 13rem;
  align-content: start;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--light-border);
  border-radius: 10px;
  background: #fff;
}
.thread-row {
  height: 0.7rem;
  background: #d9deea;
}
.thread-row:nth-child(even) { background: #c4d9f7; }
.thread-restore-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(137,180,250,0.74);
  border-radius: 8px;
  background: #eef5ff;
  color: #244c7c;
  font-size: 0.78rem;
  font-weight: 700;
}
.thread-restore-actions {
  color: #315f9f;
  white-space: nowrap;
}
.thread-window-managed { min-height: 8.6rem; }
.thread-proof-note {
  margin-top: 1.35rem;
  color: var(--text-light-muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-copy { max-width: 44rem; }
}

@media (min-width: 901px) and (max-width: 1149px) {
  .hero-inner {
    grid-template-columns: minmax(17rem, 0.76fr) minmax(31rem, 1.24fr);
    gap: 2rem;
  }
  .hero-h1 {
    font-size: clamp(2.4rem, 4vw, 2.85rem);
  }
}

/* ── Problem Section ──────────────────────────────────────────────────────── */
.problem-section {
  background: #f0f2f8;
  padding: 4rem 0;
}
.problem-inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  text-align: center;
}
.problem-speed-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 1.8rem);
  min-height: 9rem;
  margin-bottom: 1.25rem;
  color: #315f9f;
}
.problem-speed-visual .problem-speed-animal {
  flex: 0 1 auto;
  font-size: clamp(4.5rem, 8vw, 8rem);
  max-width: 34%;
  --fa-primary-color: #315f9f;
  --fa-secondary-color: var(--blue);
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 0.48;
}
.problem-speed-rabbit {
  --fa-primary-color: #1c3d6a;
  --fa-secondary-opacity: 0.72;
}
.problem-speed-visual .problem-speed-bridge {
  display: inline-flex;
  flex: 0 1 auto;
  gap: 0.12em;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 18%;
  color: #315f9f;
}
.problem-speed-bridge .fa-chevron-right {
  --fa-primary-color: #315f9f;
  --fa-secondary-color: var(--blue);
  --fa-primary-opacity: 0.45;
  --fa-secondary-opacity: 0.35;
  opacity: 0.38;
  animation: problem-chevron-flow 1.8s ease-in-out infinite;
}
.problem-speed-bridge .fa-chevron-right:nth-child(2) { animation-delay: 0.18s; }
.problem-speed-bridge .fa-chevron-right:nth-child(3) { animation-delay: 0.36s; }
@keyframes problem-chevron-flow {
  0%, 100% {
    opacity: 0.38;
    transform: translateX(0);
    --fa-primary-opacity: 0.45;
    --fa-secondary-opacity: 0.35;
  }
  45% {
    opacity: 1;
    transform: translateX(0.12rem);
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.75;
  }
}
.problem-h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.75rem; }
.problem-lead { font-size: 1.05rem; color: var(--text-light-muted); line-height: 1.75; margin-bottom: 1.5rem; }

.problem-symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
}
.problem-symptom {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-section {
  background: var(--light-surface);
  padding: 5rem 0;
}
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.section-h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-light-muted);
  max-width: var(--intro-max-width);
  margin-inline: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.feature-icon {
  min-height: 2.2rem;
  margin-bottom: 0.75rem;
  color: #315f9f;
  font-size: 1rem;
}
.feature-icon .fa-duotone {
  --fa-primary-color: #315f9f;
  --fa-secondary-color: var(--blue);
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 0.52;
}
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-desc { font-size: 0.9rem; color: var(--text-light-muted); line-height: 1.6; }
.feature-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  color: #c4a35a;
  background: rgba(196,163,90,0.12);
  border-radius: 4px; padding: 2px 6px;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ── Free vs Pro Preview ──────────────────────────────────────────────────── */
.plan-preview {
  background: #f0f2f8;
  padding: 4rem 0;
}
.plan-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 52rem;
  margin-inline: auto;
}
.plan-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 1.75rem;
}
.plan-card.recommended { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.plan-chip {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  border-radius: 999px; padding: 3px 10px; margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.plan-chip-free { background: #eef0f8; color: var(--muted); }
.plan-chip-pro  { background: var(--blue); color: #1e1e2e; }
.plan-card-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.25rem; }
.plan-card-price { font-size: 0.85rem; color: var(--text-light-muted); margin-bottom: 1rem; }
.plan-card-list { list-style: none; }
.plan-card-list li {
  font-size: 0.9rem; padding: 0.35rem 0;
  border-bottom: 1px solid var(--light-border);
  display: flex; align-items: baseline; gap: 0.4rem;
}
.plan-card-list li:last-child { border-bottom: none; }
.plan-card-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plan-card-list li.limited::before { content: "·"; color: var(--muted); }
.plan-cta { margin-top: 1.25rem; display: block; text-align: center; }

/* ── Privacy ──────────────────────────────────────────────────────────────── */
.privacy-section {
  background: var(--dark-surface);
  color: var(--text-dark);
  padding: 4rem 0;
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 52rem;
  margin-inline: auto;
  align-items: start;
}
.privacy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 1.5rem;
}
.privacy-card-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.privacy-card-text { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ── Compatibility ────────────────────────────────────────────────────────── */
.compat-section {
  background: var(--light-surface);
  padding: 3.5rem 0;
}
.compat-inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  text-align: center;
}
.compat-browsers {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.75rem 0;
}
.compat-browser { text-align: center; font-size: 0.9rem; color: var(--text-light-muted); }
.compat-browser-icon {
  min-height: 2.2rem;
  margin-bottom: 0.4rem;
  color: #315f9f;
  font-size: 1rem;
}
.compat-note { font-size: 0.85rem; color: var(--text-light-muted); max-width: 42rem; margin-inline: auto; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--light-bg);
  padding: 5rem 0;
}
.faq-list {
  max-width: var(--content-max-width);
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--light-border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  gap: 1rem;
}
.faq-question:hover { color: #000; }
.faq-question:focus-visible,
.nav-hamburger:focus-visible,
.consent-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(137,180,250,0.32);
}
.faq-chevron { flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  font-size: 0.95rem;
  color: var(--text-light-muted);
  line-height: 1.75;
  padding-bottom: 1.1rem;
}
.faq-item.open .faq-answer { display: block; }

/* ── Waitlist Form ────────────────────────────────────────────────────────── */
.waitlist-section {
  background: linear-gradient(135deg, #0d0d18 0%, #1a1a2e 100%);
  color: var(--text-dark);
  padding: 5rem 0;
  text-align: center;
}
.waitlist-inner { max-width: var(--content-max-width); margin-inline: auto; }
.waitlist-h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.waitlist-sub { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
  flex-wrap: wrap;
}
.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist-input:focus,
.waitlist-input:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(137,180,250,0.32);
}
.waitlist-consent {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.64);
  margin-top: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
  line-height: 1.6;
}
.waitlist-consent a { color: var(--blue); text-decoration: none; }
.waitlist-consent a:hover { text-decoration: underline; }
.waitlist-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.2em;
  scroll-margin-top: 6rem;
}
.waitlist-status.success {
  display: block;
  background: #a6e3a1;
  color: #0d1f0d;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.55;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 2px solid #6abf65;
  max-width: 28rem;
  margin-inline: auto;
  margin-top: 1.25rem;
}
.waitlist-status.error {
  display: block;
  background: #f38ba8;
  color: #2d0a12;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 2px solid #d9637a;
  max-width: 28rem;
  margin-inline: auto;
  margin-top: 1.25rem;
}

/* Honeypot — off-screen, never seen by real users */
.wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Site Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: #080814;
  color: rgba(255,255,255,0.45);
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand { }
.footer-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.footer-logo img { display: block; }
.footer-brand-desc { line-height: 1.65; max-width: 18rem; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.footer-disclaimer { color: rgba(255,255,255,0.3); }

/* ── Consent Banner ───────────────────────────────────────────────────────── */
.consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: #151527;
  border-top: 1px solid var(--dark-border);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  color: var(--text-dark);
  font-size: 0.82rem;
  line-height: 1.5;
  display: none;
}
.consent-banner.visible { display: block; }
.consent-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.consent-text { max-width: 62rem; }
.consent-text a { color: var(--blue); text-decoration: none; }
.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}
.consent-btn {
  padding: 0.45rem 0.75rem;
  min-height: 44px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.consent-btn:hover { opacity: 0.85; }
.consent-btn-accept { background: var(--blue); color: #1e1e2e; }
.consent-btn-decline { background: transparent; color: var(--muted); border: 1px solid #313244; }

/* ── Pricing Cards (shared, used by pricing page) ─────────────────────────── */
.pricing-hero {
  background: var(--dark-surface);
  color: var(--text-dark);
  padding: 4rem 0 3rem;
  text-align: center;
}
.pricing-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 0.6rem; }
.pricing-hero p  { color: rgba(255,255,255,0.6); max-width: var(--pricing-copy-max-width); margin-inline: auto; }

.pricing-section { background: var(--light-bg); padding: 4rem 0 5rem; }
.pricing-intro {
  text-align: center;
  max-width: var(--pricing-copy-max-width);
  margin-inline: auto 0 2.5rem;
  color: var(--text-light-muted);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: var(--pricing-grid-max-width);
  margin-inline: auto;
}
.pricing-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.recommended {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 12px 40px rgba(137,180,250,0.1);
}
.pricing-card.lifetime-highlight {
  border-color: rgba(49,95,159,0.46);
}
.pricing-rec-label {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #1e1e2e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-rec-label-lifetime {
  background: #dceafb;
  border: 1px solid rgba(49,95,159,0.22);
  color: #1c3d6a;
}
.pricing-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-price { margin-bottom: 0.25rem; }
.pricing-amount { font-size: 2rem; font-weight: 800; color: var(--text-light); }
.pricing-period { font-size: 0.85rem; color: var(--text-light-muted); }
.pricing-tagline { font-size: 0.85rem; color: var(--text-light-muted); margin-bottom: 1.25rem; min-height: 2.8em; }
.pricing-divider { border: none; border-top: 1px solid var(--light-border); margin: 1rem 0; }
.pricing-features { list-style: none; flex: 1; }
.pricing-features li {
  font-size: 0.875rem;
  padding: 0.3rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--text-light-muted);
}
.pricing-features li .check { color: var(--green); font-weight: 700; }
.pricing-card-cta {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  margin-top: 1.5rem;
  text-align: center;
}
.pricing-card .btn-outline {
  background: transparent;
  border-color: #b7bfce;
  color: #1e2030;
}
.pricing-card .btn-outline:hover {
  background: #eef5ff;
  border-color: #5788d2;
  color: #102038;
  opacity: 1;
}
.pricing-card .btn-primary:hover {
  background: var(--blue-light);
  color: #0d0d18;
  opacity: 1;
}
.pricing-card .btn-outline:focus-visible,
.pricing-card .btn-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(137,180,250,0.4);
}
.pricing-card .btn[aria-disabled="true"],
.pricing-card .btn:disabled {
  background: #e5e9f0;
  border-color: #c7ceda;
  color: #525a70;
  cursor: not-allowed;
  opacity: 1;
}
.pricing-note {
  max-width: var(--pricing-copy-max-width);
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}
.pricing-note a { color: inherit; text-decoration: underline; }

/* ── Support Page ─────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--dark-surface);
  color: var(--text-dark);
  padding: 3.5rem 0 3rem;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 40rem; }

.support-section { padding: 4rem 0; }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.support-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 1.5rem;
}
.support-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.support-card-text { font-size: 0.9rem; color: var(--text-light-muted); line-height: 1.65; }
.support-card-text a { color: var(--text-light); text-decoration: underline; text-underline-offset: 2px; }
.support-steps { list-style: decimal; padding-left: 1.25rem; }
.support-steps li { font-size: 0.9rem; color: var(--text-light-muted); padding: 0.3rem 0; line-height: 1.6; }

.status-block {
  background: rgba(166,227,161,0.08);
  border: 1px solid rgba(166,227,161,0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* ── Legal Pages ──────────────────────────────────────────────────────────── */
.legal-section {
  padding: 4rem 0 5rem;
  background: var(--light-surface);
}
.legal-content {
  max-width: var(--legal-max-width);
  margin-inline: auto;
  color: var(--text-light);
  line-height: 1.75;
  font-size: 0.95rem;
}
.legal-content h2 {
  font-size: 1.3rem; font-weight: 700;
  margin-top: 2.5rem; margin-bottom: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--light-border);
}
.legal-content h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.4rem; }
.legal-content p  { margin-bottom: 0.9rem; color: var(--text-light-muted); }
.legal-content ul, .legal-content ol {
  margin: 0.75rem 0 0.9rem 1.25rem;
  color: var(--text-light-muted);
}
.legal-content li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--text-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta {
  font-size: 0.8rem; color: var(--text-light-muted);
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-border);
}
.legal-toc {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}
.legal-toc-title { font-weight: 700; margin-bottom: 0.6rem; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { padding: 0.2rem 0; }
.legal-toc a { color: var(--text-light-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--text-light); }

/* ── Hamburger button ─────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu panel ────────────────────────────────────────────────────── */
.nav-mobile-menu {
  display: none;
  background: rgba(13,13,24,0.98);
  border-top: 1px solid var(--dark-border);
  padding: 0.75rem 1.5rem 1.25rem;
}
.nav-mobile-menu:not([hidden]) { display: block; }
.nav-mobile-menu ul { list-style: none; margin-bottom: 0.5rem; }
.nav-mobile-menu li { border-bottom: 1px solid var(--dark-border); }
.nav-mobile-menu li a {
  display: block;
  padding: 0.85rem 0;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.nav-mobile-menu li a:hover { color: #fff; }
.nav-mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 1rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .plan-preview-inner{ grid-template-columns: 1fr; }
  .privacy-inner     { grid-template-columns: 1fr; }
  .support-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links         { display: none; }
  .nav-cta           { display: none; }
  .nav-hamburger     { display: flex; }
  .footer-grid       { grid-template-columns: 1fr; }
  .pricing-grid      { grid-template-columns: 1fr; }
  .hero              { padding: 3.5rem 0 3rem; }
  .hero-eyebrow      { display: none; }
  .demo-browser-bar {
    flex-wrap: wrap;
    gap: 0.55rem;
  }
  .demo-local-badge { width: 100%; }
  .demo-thread-heading,
  .demo-hidden-history,
  .demo-thread-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }
  .demo-thread-heading { padding-inline: 1rem; }
  .demo-hidden-history { margin-inline: 1rem; }
  .demo-thread-stream { padding-inline: 1rem; }
  .demo-message { width: 88%; }
  .demo-thread-footer { padding-inline: 1rem; }
  .proof-strip-list  { grid-template-columns: 1fr 1fr; }
  .proof-strip-list li {
    min-height: 4.2rem;
    border-bottom: 1px solid var(--dark-border);
  }
  .proof-strip-list li:nth-child(even) { border-right: 0; }
  .proof-strip-list li:nth-last-child(-n+2) { border-bottom: 0; }
  .thread-proof-section { padding: 4rem 0; }
  .thread-comparison { grid-template-columns: 1fr; }
  .thread-panel-header,
  .thread-restore-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
  .thread-window { min-height: auto; }
  .thread-panel-before .thread-row:nth-child(n+7) { display: none; }
  .problem-speed-visual {
    gap: 0.65rem;
    min-height: auto;
  }
  .problem-speed-visual .problem-speed-animal {
    font-size: clamp(3rem, 18vw, 4.25rem);
    max-width: none;
  }
  .problem-speed-visual .problem-speed-bridge {
    font-size: clamp(1.4rem, 8vw, 2.2rem);
    max-width: none;
  }
  .consent-banner-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    padding-block: 0.6rem;
  }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; }
  .waitlist-form     { flex-direction: column; }
  .waitlist-form .btn { min-height: 44px; justify-content: center; }
}

@media (max-width: 360px) {
  .hero-actions .btn-outline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .problem-speed-bridge .fa-chevron-right {
    animation: none !important;
    opacity: 0.75;
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
