/* ==========================================================================
   OddsLab Core Design System — Dark Mode Quantitative Sports Terminal
   ========================================================================== */

:root {
  /* Surface & Background Hierarchy */
  --bg-base: #08070d;
  --bg-surface: #0f0d18;
  --bg-surface-elevated: #161324;
  --bg-surface-glass: rgba(15, 13, 24, 0.8);
  --bg-panel: #1b172d;

  /* Brand Palette */
  --brand-primary: #6d3ff0;
  --brand-hover: #7c4dff;
  --brand-light: #9d75ff;
  --brand-dim: rgba(109, 63, 240, 0.15);
  --brand-glow: rgba(109, 63, 240, 0.35);

  /* Functional & Accent Colors */
  --accent-edge: #00e599;       /* +EV, positive profit, live status */
  --accent-edge-dim: rgba(0, 229, 153, 0.12);
  --accent-warning: #f59e0b;    /* High variance / steam alert */
  --accent-danger: #ef4444;     /* Line dropped / -EV */
  --accent-cyan: #06b6d4;

  /* Typography / Inks */
  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-brand: rgba(109, 63, 240, 0.4);
  --border-edge: rgba(0, 229, 153, 0.3);

  /* Typography Definition */
  --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout Constants */
  --container-max: 1220px;
  --container-narrow: 860px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Baseline
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  padding-top: var(--header-height);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease-fast);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: 96px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header.text-left {
  text-align: left;
  margin-inline: 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.badge-pill--brand {
  border-color: var(--border-brand);
  color: var(--brand-light);
  background: var(--brand-dim);
}

.badge-pill--edge {
  border-color: var(--border-edge);
  color: var(--accent-edge);
  background: var(--accent-edge-dim);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-edge);
  box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 229, 153, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 229, 153, 0);
  }
}

.section-title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  transition: all var(--ease-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary,
.btn-signup {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(109, 63, 240, 0.35);
}

.btn-primary:hover,
.btn-signup:hover {
  background-color: var(--brand-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(109, 63, 240, 0.5);
  color: #ffffff;
}

.btn-secondary,
.btn-signin {
  background-color: var(--bg-surface-elevated);
  color: var(--text-pure);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover,
.btn-signin:hover {
  background-color: var(--bg-panel);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-outline,
.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover,
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  color: var(--text-pure);
}

.btn-light {
  background-color: #ffffff;
  color: #08070d;
  border: 1px solid #ffffff;
}

.btn-light:hover {
  background-color: #f1f5f9;
  border-color: #f1f5f9;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(8, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--ease-fast), background-color var(--ease-fast);
}

.site-header.is-scrolled {
  background-color: rgba(8, 7, 13, 0.94);
  border-bottom: 1px solid var(--border-medium);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  transition: color var(--ease-fast);
}

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

.nav a.is-active {
  color: var(--text-pure);
  font-weight: 600;
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-pure);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile Navigation Drawer & Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(3, 2, 7, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background-color: #0b0914 !important;
  background-image: linear-gradient(180deg, #110d22 0%, #08060f 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 99999;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.mobile-menu-head .brand-logo {
  height: 26px;
  width: auto;
}

.mobile-close {
  width: 38px;
  height: 38px;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--ease-fast);
}

.mobile-close:hover,
.mobile-close:active {
  color: #ffffff;
  background: var(--bg-panel);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--ease-fast);
}

.mobile-nav a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav a.is-active {
  color: #ffffff;
  font-weight: 600;
  background-color: rgba(109, 63, 240, 0.16);
  border-color: rgba(109, 63, 240, 0.35);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */

.hero {
  padding-top: 64px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 22px;
}

.hero-title-gradient {
  background: linear-gradient(180deg, #ffffff 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item svg {
  color: var(--accent-edge);
}

/* Terminal Showcase Preview */
.terminal-wrapper {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background-color: var(--bg-surface);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.terminal-topbar {
  height: 42px;
  background-color: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  font-size: 12px;
  color: var(--text-muted);
  min-width: 0;
  overflow: hidden;
  gap: 10px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-dim);
}

.terminal-dot--red { background-color: #ef4444; }
.terminal-dot--yellow { background-color: #f59e0b; }
.terminal-dot--green { background-color: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-shot {
  position: relative;
  background-color: var(--bg-base);
  width: 100%;
  overflow: hidden;
}

.terminal-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Live Odds Marquee / Ticker Bar
   ========================================================================== */

.ticker-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 14px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: ticker-slide 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
  flex-shrink: 0;
}

.ticker-league {
  font-weight: 700;
  font-size: 11px;
  color: var(--brand-light);
  letter-spacing: 0.05em;
  background: var(--brand-dim);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.ticker-teams {
  color: var(--text-primary);
  font-weight: 500;
}

.ticker-odds {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 12px;
}

.ticker-edge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-edge);
  background: var(--accent-edge-dim);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* ==========================================================================
   Quantitative Value Proposition / Asymmetric Split
   ========================================================================== */

.quant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.quant-content h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 20px;
}

.quant-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.stat-val--edge {
  color: var(--accent-edge);
}

.stat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* 3-Step Algorithmic Pipeline Visual */
.pipeline-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--ease-fast);
}

.pipeline-step:hover {
  border-color: var(--border-brand);
  background: var(--bg-surface-elevated);
}

.pipeline-index {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-dim);
  border: 1px solid var(--border-brand);
  color: var(--brand-light);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pipeline-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.pipeline-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Bento Grid Feature Presentation
   ========================================================================== */

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

.bento-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--ease-fast), transform var(--ease-fast);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-2px);
}

.bento-span-8 {
  grid-column: span 8;
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-span-6 {
  grid-column: span 6;
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-head {
  margin-bottom: 24px;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.bento-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-br-desktop {
  display: block;
}

@media (max-width: 768px) {
  .hero-br-desktop {
    display: none;
  }
}

/* Live Interactive Snippets inside Bento Cards */
.bento-mock-table {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  font-size: 13px;
  font-family: var(--font-mono);
}

.bento-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  min-width: 460px;
  padding: 10px 14px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.bento-row:last-child {
  border-bottom: none;
}

.bento-row.header {
  background: var(--bg-surface-elevated);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.bento-edge-val {
  color: var(--accent-edge);
  font-weight: 700;
}

/* ==========================================================================
   Pricing Section & Cards
   ========================================================================== */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  margin: 0 auto 48px;
}

.billing-opt {
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  transition: all var(--ease-fast);
}

.billing-opt.is-active {
  background-color: var(--brand-primary);
  color: #ffffff;
}

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

.plan-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--ease-fast), transform var(--ease-fast);
}

.plan-card:hover {
  border-color: var(--border-medium);
}

.plan-card--featured {
  background-color: var(--bg-surface-elevated);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 12px 40px rgba(109, 63, 240, 0.25);
  transform: scale(1.02);
}

.plan-badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  min-height: 42px;
}

.plan-pricing {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-amount {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-pure);
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.plan-period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-edge);
}

.plan-feature-item.muted {
  color: var(--text-dim);
}

.plan-feature-item.muted svg {
  color: var(--text-dim);
}

.plan-card .btn {
  width: 100%;
}

/* ==========================================================================
   Testimonial & Syndicate Social Proof
   ========================================================================== */

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

.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-light);
  font-size: 14px;
}

.testimonial-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
}

.testimonial-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */

.faq-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: flex-start;
}

.faq-side h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.faq-side p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--ease-fast);
}

.faq-item[open] {
  border-color: var(--border-brand);
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--ease-fast);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-light);
}

.faq-content {
  padding: 0 22px 20px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* ==========================================================================
   Full Width Final Call-To-Action Banner
   ========================================================================== */

.cta-banner {
  padding-block: 88px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.cta-banner-inner {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #130f24 0%, #1a1435 100%);
  border: 1px solid var(--border-brand);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-banner-inner h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.cta-banner-inner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Legal & Documentation Pages
   ========================================================================== */

.legal-section {
  padding-block: 72px 100px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.legal-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.legal-toc {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: flex-start;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.legal-toc h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 700;
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc-list a {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  display: block;
  border-left: 2px solid transparent;
  transition: all var(--ease-fast);
  line-height: 1.45;
}

.legal-toc-list a:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.legal-toc-list a.is-active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(109, 63, 240, 0.16);
  border-left-color: var(--brand-primary);
}

.legal-body {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.legal-body h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-pure);
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.legal-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-pure);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-callout {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--brand-primary);
  margin-block: 24px;
  font-size: 14px;
  color: var(--text-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #06050a;
  border-top: 1px solid var(--border-subtle);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 11.5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--ease-fast);
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color var(--ease-fast);
}

.footer-socials a:hover {
  color: var(--text-pure);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-title {
    font-size: 46px;
  }
  .quant-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bento-span-8,
  .bento-span-4,
  .bento-span-6 {
    grid-column: span 12;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
  .plan-card--featured {
    transform: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .faq-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }
  .header-inner {
    gap: 8px;
    padding-inline: 12px;
  }
  .brand-logo {
    height: 22px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
    width: 38px;
    height: 38px;
  }
  .menu-toggle svg {
    width: 20px;
    height: 20px;
  }
  .section {
    padding-block: 56px;
  }
  .section-title {
    font-size: 26px;
  }
  .hero-title {
    font-size: 30px;
    word-break: break-word;
  }
  .hero-sub {
    font-size: 14.5px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-trust-bar {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card {
    padding: 20px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner-inner {
    padding: 32px 18px;
  }
  .cta-banner-inner h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }
  .hero-title {
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .hero-sub {
    font-size: 13.5px;
    margin-bottom: 22px;
  }
  .section-title {
    font-size: 22px;
  }
  .badge-pill {
    padding: 3px 8px;
    font-size: 10px;
  }
}
