/* ═══════════════════════════════════════════════
   SPREADSPOKE — Design System v2.0
   Theme: Data Terminal meets Sports Analytics
   Fonts: Syne (display) · DM Sans (body) · IBM Plex Mono (data)
═══════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:          #070b0f;
  --surface:     #0f1418;
  --surface-2:   #161d26;
  --surface-3:   #1e2838;
  --border:      rgba(255,145,0,0.12);
  --border-soft: rgba(255,255,255,0.06);

  --orange:      #ff9100;
  --orange-dark: #cc7400;
  --orange-dim:  rgba(255,145,0,0.10);
  --orange-glow: rgba(255,145,0,0.25);

  --white:    #f4f6f8;
  --text:     #c8d0da;
  --muted:    #64748b;
  --success:  #4ade80;
  --danger:   #f87171;

  --font-display: 'Syne', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.4);
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.6);
  --shadow-orange: 0 0 32px rgba(255,145,0,0.2);

  --transition: 0.2s ease;
  --nav-h: 64px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ─── ACCESSIBILITY ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
.text-orange { color: var(--orange); }
.text-muted  { color: var(--muted); }
.mono        { font-family: var(--font-mono); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }

.btn-orange {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
  box-shadow: 0 0 0 rgba(255,145,0,0);
}
.btn-orange:hover {
  background: var(--white);
  color: var(--orange-dark);
  border-color: var(--white);
  box-shadow: 0 0 24px rgba(255,145,0,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.btn-nav {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
  padding: 9px 20px;
  font-size: 0.9rem;
}
.btn-nav:hover {
  background: var(--orange-dark);
  color: #000;
}

/* ─── SECTION SCAFFOLDING ─── */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ─── ANIMATION ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate][data-delay="60"]  { transition-delay: 0.06s; }
[data-animate][data-delay="80"]  { transition-delay: 0.08s; }
[data-animate][data-delay="100"] { transition-delay: 0.1s; }
[data-animate][data-delay="120"] { transition-delay: 0.12s; }
[data-animate][data-delay="160"] { transition-delay: 0.16s; }
[data-animate][data-delay="180"] { transition-delay: 0.18s; }
[data-animate][data-delay="200"] { transition-delay: 0.2s; }
[data-animate][data-delay="240"] { transition-delay: 0.24s; }
[data-animate][data-delay="300"] { transition-delay: 0.3s; }
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO: use CSS keyframes so above-fold elements always animate in,
   independent of IntersectionObserver timing ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero [data-animate] {
  animation: heroFadeUp 0.65s ease forwards;
  /* Reset the observer-dependent opacity so it doesn't compete */
  opacity: 0;
}
/* Staggered delays matching the data-delay values on hero children */
.hero [data-animate][data-delay="100"] { animation-delay: 0.1s; }
.hero [data-animate][data-delay="200"] { animation-delay: 0.2s; }
.hero [data-animate][data-delay="300"] { animation-delay: 0.35s; }
.hero [data-animate][data-delay="400"] { animation-delay: 0.5s; }
/* After animation completes, keep final state */
.hero [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* ════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(7, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav-scrolled {
  background: rgba(7, 11, 15, 0.97);
  border-bottom-color: var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  gap: 24px;
}

.nav-logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: none;
  mix-blend-mode: screen;
}
.nav-logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links li { margin: 0; }

.nav-links a {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.nav-mobile a.btn-orange {
  margin-top: 12px;
  border-bottom: none;
  text-align: center;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,145,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,145,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,145,0,0.18) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,145,0,0.3);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  max-width: 800px;
  margin: 0 auto;
}

.hero-stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 8px 16px;
}

.hero-stat-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-n-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--orange);
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-soft);
  align-self: center;
}

/* ─── MOBILE ─── */
.mobile-br { display: none; }

/* ════════════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════════ */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.trust-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-pill {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════
   DATA PREVIEW
════════════════════════════════════════════════ */
.data-preview-section {
  background: var(--surface);
}

.data-terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,145,0,0.08);
  margin-bottom: 24px;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border-soft);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-filename {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
}

.terminal-tag {
  background: var(--orange-dim);
  border: 1px solid rgba(255,145,0,0.3);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 100px;
}

.terminal-body {
  background: #060a0e;
}

.table-scroll { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  min-width: 900px;
}

.data-table thead tr {
  background: rgba(255,145,0,0.08);
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 10px 14px;
  text-align: left;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text);
  white-space: nowrap;
}

.data-table tbody tr:hover td {
  background: rgba(255,145,0,0.04);
}

.data-table .row-faded td { opacity: 0.5; }

.score-win  { color: var(--success); font-weight: 600; }
.score-loss { color: var(--danger); }
.spread     { color: var(--orange); font-weight: 600; }

.weather-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}
.weather-tag.snow { background: rgba(147,197,253,0.1); color: #93c5fd; }
.weather-tag.dome { background: rgba(167,243,208,0.1); color: #6ee7b7; }
.weather-tag.clear { background: rgba(253,224,71,0.1); color: #fde047; }

.terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-3);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 8px;
}

.terminal-cta {
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
}

.column-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.col-pill {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.highlight-pill {
  background: var(--orange-dim);
  border-color: rgba(255,145,0,0.25);
  color: var(--orange);
}

.more-pill {
  background: var(--surface-3);
  border-color: rgba(255,145,0,0.2);
  color: var(--orange);
  cursor: pointer;
}

/* ════════════════════════════════════════════════
   SOCIAL PROOF
════════════════════════════════════════════════ */
.social-proof-section { background: var(--bg); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 64px;
  background: var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.proof-stat {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
}

.proof-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.proof-l {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(255,145,0,0.25);
  box-shadow: var(--shadow-orange);
}

.testimonial-stars {
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: normal;
}

.testimonial-author { border-top: 1px solid var(--border-soft); padding-top: 16px; }

.testimonial-name {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial-role {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* ════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════ */
.pricing-section { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: rgba(255,145,0,0.2);
}

.pricing-featured {
  background: var(--surface-2);
  border-color: var(--orange) !important;
  box-shadow: 0 0 48px rgba(255,145,0,0.15);
  transform: translateY(-8px);
}

.pricing-badge {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-featured .pricing-tier { color: var(--orange); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 60px;
}

.pricing-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-yes {
  color: var(--text);
}
.feature-yes::before {
  background-color: rgba(74,222,128,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%234ade80' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-no {
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.5;
}
.feature-no::before {
  background-color: rgba(255,255,255,0.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2L8 8M8 2L2 8' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 12px;
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-top: 40px;
  text-align: left;
}

.guarantee-icon { font-size: 1.5rem; flex-shrink: 0; }
.pricing-guarantee p { font-size: 0.88rem; color: var(--muted); }
.pricing-guarantee strong { color: var(--text); }

/* ════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════ */
.features-section { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(255,145,0,0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   USE CASES / TABS
════════════════════════════════════════════════ */
.usecases-section { background: var(--surface); }

.tab-buttons {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.usecase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.usecase-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.usecase-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.usecase-list {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.usecase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.usecase-list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.mini-terminal {
  background: #040608;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-family: var(--font-mono);
}

.mini-terminal-head {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

/* ════════════════════════════════════════════════
   EMAIL CAPTURE
════════════════════════════════════════════════ */
.email-capture-section { background: var(--bg); }

.email-capture-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  position: relative;
  overflow: hidden;
}

.email-capture-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,145,0,0.1), transparent 70%);
  pointer-events: none;
}

.email-capture-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.email-capture-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.email-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.email-input::placeholder { color: var(--muted); }
.email-input:focus { border-color: var(--orange); }

.email-form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  font-family: var(--font-mono);
}

.csv-preview-mini {
  background: #040608;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.csv-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.6fr 0.7fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.csv-header-row {
  color: var(--orange);
  font-weight: 600;
  border-bottom-color: rgba(255,145,0,0.15);
}

.csv-row-fade { opacity: 0.35; }

/* ════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════ */
.faq-section { background: var(--surface); }

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 800px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: rgba(255,145,0,0.25);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface-2);
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  transition: background var(--transition);
}

.faq-q:hover { background: var(--surface-3); }

.faq-icon {
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}

.faq-a {
  padding: 16px 24px 20px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════════ */
.final-cta-section {
  background: var(--bg);
  border-bottom: none;
}

.final-cta-box {
  text-align: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(255,145,0,0.2);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

.final-cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(255,145,0,0.12), transparent 70%);
  pointer-events: none;
}

.final-cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.final-cta-box p {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.final-cta-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 0 !important;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand img {
  display: block;
  height: 20px;
  width: auto;
  max-width: none;
  mix-blend-mode: screen;
  margin-bottom: 14px;
  opacity: 0.9;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { color: var(--white); }

/* ════════════════════════════════════════════════
   DATA PAGE (data.html)
════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.page-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Data dictionary */
.dict-section { background: var(--bg); }

.dict-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.dict-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.dict-table thead tr {
  background: var(--orange-dim);
  border-bottom: 1px solid var(--border);
}

.dict-table th {
  padding: 12px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  font-weight: 600;
}

.dict-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
}

.dict-table tbody tr:last-child td { border-bottom: none; }
.dict-table tbody tr:hover td { background: var(--surface-2); }
.dict-table td:first-child {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 0.82rem;
}

/* ════════════════════════════════════════════════
   BLOG PAGE
════════════════════════════════════════════════ */
.blog-section { padding: calc(var(--nav-h) + 48px) 0 80px; }

.blog-header {
  margin-bottom: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.blog-posts { display: flex; flex-direction: column; gap: 24px; }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.blog-card:hover {
  border-color: rgba(255,145,0,0.2);
  transform: translateY(-1px);
}

.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.blog-card h2 { margin-bottom: 0; }

.blog-card h2 a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card h2 a:hover { color: var(--orange); }

.blog-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.65;
}

/* Blog sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sidebar-box h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.sidebar-box p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.sidebar-featured {
  border-color: var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}

/* ════════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════ */
.contact-section {
  padding: calc(var(--nav-h) + 60px) 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}

.form-input, .form-textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { min-height: 140px; resize: vertical; }


/* Pricing heading - reduce scale */
.pricing-section .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-featured { transform: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .email-capture-box { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions { display: none; }
  .hero-stat-divider { display: none; }
  .hero-stats { gap: 0; padding: 20px; }
  .hero-stat { flex: 0 0 50%; }
  .features-grid { grid-template-columns: 1fr; }
  .usecase-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-br { display: block; }
  .email-form-row { flex-direction: column; }
  .email-input { min-width: unset; }
  /* Faster transitions on mobile for snappier feel */
  [data-animate] { transition-duration: 0.35s; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 340px; }
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .trust-bar .container { flex-direction: column; align-items: flex-start; }
}
