/* ============================================================
   CARDINAL AI — style.css (EMERALD/GOLD REDESIGN)
   Design tokens + all component styles
   Brand: Emerald #046B3E | Gold #D4AF37 | Navy #0A0F2C
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    7rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Cardinal Brand Palette — Light (Emerald/Gold) */
  --color-bg:              #F7F5EF;
  --color-surface:         #FFFFFF;
  --color-surface-2:       #F0EDE5;
  --color-surface-offset:  #E6E2D8;
  --color-border:          #D4CFC2;
  --color-divider:         #DDD9CE;
  --color-text:            #0A0F2C;
  --color-text-muted:      #4A5540;
  --color-text-faint:      #8A9080;
  --color-text-inverse:    #FFFFFF;

  /* Primary: Deep Emerald */
  --color-primary:         #046B3E;
  --color-primary-hover:   #035A34;
  --color-primary-active:  #024828;
  --color-primary-light:   #E0F2EA;

  /* Accent: Rich Gold */
  --color-accent:          #D4AF37;
  --color-accent-hover:    #B8962E;
  --color-accent-active:   #9A7D26;
  --color-accent-light:    #FBF5DC;

  /* Semantic */
  --color-success:         #046B3E;
  --color-success-light:   #E0F2EA;
  --color-warning:         #A85C00;
  --color-warning-light:   #FFF3E0;
  --color-error:           #B5262A;
  --color-error-light:     #FBE8E8;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.15 0.03 240 / 0.08), 0 1px 2px oklch(0.15 0.03 240 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.15 0.03 240 / 0.1),  0 2px 6px oklch(0.15 0.03 240 / 0.06);
  --shadow-lg: 0 16px 48px oklch(0.15 0.03 240 / 0.14), 0 6px 16px oklch(0.15 0.03 240 / 0.08);
  --shadow-xl: 0 32px 80px oklch(0.15 0.03 240 / 0.18), 0 12px 32px oklch(0.15 0.03 240 / 0.1);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;
}

/* ── DARK MODE ── */
[data-theme='dark'] {
  --color-bg:              #0A0F2C;
  --color-surface:         #0E1535;
  --color-surface-2:       #141C42;
  --color-surface-offset:  #1A2350;
  --color-border:          #243060;
  --color-divider:         #1C2848;
  --color-text:            #EEF0E8;
  --color-text-muted:      #8A9C7A;
  --color-text-faint:      #4A5C48;
  --color-text-inverse:    #0A0F2C;

  --color-primary:         #12A868;
  --color-primary-hover:   #18C07A;
  --color-primary-active:  #1ED88C;
  --color-primary-light:   #0A2A1A;

  --color-accent:          #D4AF37;
  --color-accent-hover:    #E8C840;
  --color-accent-active:   #F0D848;
  --color-accent-light:    #2A2010;

  --color-success:         #12A868;
  --color-success-light:   #0A2A1A;
  --color-warning:         #F59E0B;
  --color-warning-light:   #1F1500;
  --color-error:           #E05050;
  --color-error-light:     #2A1010;

  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.4),  0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.5),  0 2px 6px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 48px oklch(0 0 0 / 0.6), 0 6px 16px oklch(0 0 0 / 0.4);
  --shadow-xl: 0 32px 80px oklch(0 0 0 / 0.7), 0 12px 32px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #0A0F2C;
    --color-surface:         #0E1535;
    --color-surface-2:       #141C42;
    --color-surface-offset:  #1A2350;
    --color-border:          #243060;
    --color-divider:         #1C2848;
    --color-text:            #EEF0E8;
    --color-text-muted:      #8A9C7A;
    --color-text-faint:      #4A5C48;
    --color-text-inverse:    #0A0F2C;
    --color-primary:         #12A868;
    --color-primary-hover:   #18C07A;
    --color-primary-active:  #1ED88C;
    --color-primary-light:   #0A2A1A;
    --color-accent:          #D4AF37;
    --color-accent-hover:    #E8C840;
    --color-accent-active:   #F0D848;
    --color-accent-light:    #2A2010;
    --color-success:         #12A868;
    --color-success-light:   #0A2A1A;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.4), 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.5), 0 2px 6px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 16px 48px oklch(0 0 0 / 0.6), 0 6px 16px oklch(0 0 0 / 0.4);
    --shadow-xl: 0 32px 80px oklch(0 0 0 / 0.7), 0 12px 32px oklch(0 0 0 / 0.45);
  }
}

/* ── LAYOUT ── */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

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

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    box-shadow var(--transition-interactive),
    background var(--transition-interactive);
}

.site-nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1;
}

[data-theme='dark'] .nav-logo-wordmark {
  color: var(--color-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition-interactive);
}

.nav-links a:hover {
  color: var(--color-primary);
}

[data-theme='dark'] .nav-links a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--space-2);
  cursor: pointer;
  border: none;
  background: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: color var(--transition-interactive);
}

.nav-mobile a:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-accent);
  color: #0A0F2C;
  font-weight: 700;
  padding: var(--space-3) var(--space-8);
  box-shadow: 0 2px 8px oklch(from var(--color-accent) l c h / 0.4);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 16px oklch(from var(--color-accent) l c h / 0.45);
}

.btn--primary:active {
  background: var(--color-accent-active);
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  padding: var(--space-3) var(--space-8);
}

/* On dark/navy backgrounds (hero), outline button needs white contrast */
.hero .btn--outline {
  color: oklch(1 0 0 / 0.85);
  border-color: oklch(1 0 0 / 0.45);
  background: oklch(1 0 0 / 0.06);
}

.hero .btn--outline:hover {
  color: #ffffff;
  border-color: oklch(1 0 0 / 0.8);
  background: oklch(1 0 0 / 0.12);
}

.btn--outline:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

[data-theme='dark'] .btn--outline {
  color: var(--color-text);
  border-color: var(--color-border);
}

[data-theme='dark'] .btn--outline:hover {
  background: var(--color-surface-offset);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.btn--icon:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
  transform: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, oklch(0.38 0.14 150 / 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, oklch(0.65 0.14 85 / 0.18) 0%, transparent 60%),
    linear-gradient(160deg, #046B3E 0%, #0A0F2C 100%);
  z-index: 0;
}

/* Subtle grid pattern overlay */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  background-image:
    linear-gradient(oklch(1 0 0 / 1) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 1) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-24) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: oklch(from var(--color-accent) l c h / 0.15);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.3);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.hero-headline-accent {
  color: var(--color-accent);
  display: block;
}

.hero-subheadline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: oklch(1 0 0 / 0.55);
  margin-bottom: var(--space-8);
  line-height: 1.2;
}

.hero-body {
  font-size: var(--text-base);
  color: oklch(1 0 0 / 0.65);
  max-width: 52ch;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.45);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-trust-divider {
  width: 1px;
  height: 14px;
  background: oklch(1 0 0 / 0.2);
}

/* Dashboard Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card {
  width: 100%;
  max-width: 520px;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.05),
    0 32px 80px oklch(0 0 0 / 0.4);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.dashboard-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.5);
}

.dashboard-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-success);
  background: oklch(from var(--color-success) l c h / 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* Score ring */
.score-ring-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  gap: var(--space-6);
}

.score-ring-container {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.score-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: oklch(1 0 0 / 0.1);
  stroke-width: 8;
}

.score-ring-fill {
  fill: none;
  stroke: url(#scoreGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 75;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.score-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.5);
  margin-top: 2px;
}

.score-details {
  flex: 1;
}

.score-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.07);
}

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

.score-detail-label {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.55);
  font-weight: 500;
}

.score-detail-val {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
}

.score-detail-val.positive { color: #3DD68C; }
.score-detail-val.negative { color: #F87171; }

/* Mini chart bars */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-bottom: var(--space-4);
}

.mini-bar {
  flex: 1;
  background: oklch(1 0 0 / 0.12);
  border-radius: 3px 3px 0 0;
  transition: background var(--transition-interactive);
  position: relative;
}

.mini-bar.active {
  background: var(--color-accent);
}

.mini-bar-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: oklch(1 0 0 / 0.35);
  white-space: nowrap;
}

.mini-chart-wrapper {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
}

/* Quick stats in card */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.dash-stat {
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  text-align: center;
}

.dash-stat-val {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 2px;
}

.dash-stat-key {
  font-size: 0.65rem;
  color: oklch(1 0 0 / 0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Inline signal badges inside dashboard card */
.dash-signal-row {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.dash-signal {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.dash-signal--buy {
  background: oklch(0.4 0.15 145 / 0.25);
  color: #3DD68C;
  border: 1px solid oklch(0.4 0.15 145 / 0.3);
}

.dash-signal--avoid {
  background: oklch(0.4 0.18 20 / 0.25);
  color: #f87171;
  border: 1px solid oklch(0.4 0.18 20 / 0.3);
}

/* Floating accent badges on visual */
.hero-float-badge {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  pointer-events: none;
}

.hero-float-badge--tl {
  top: -20px;
  left: -120px;
  animation: float-y 4s ease-in-out infinite;
}

.hero-float-badge--br {
  bottom: 60px;
  right: -130px;
  animation: float-y 4s ease-in-out infinite 2s;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.float-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.float-badge-icon--green { background: var(--color-success-light); }
.float-badge-icon--red   { background: var(--color-accent-light); }

.float-badge-text {
  display: flex;
  flex-direction: column;
}

.float-badge-val {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.float-badge-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1;
}

[data-theme='dark'] .hero-float-badge {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: flex; justify-content: center; margin-top: var(--space-10); }
  .dashboard-card { max-width: 480px; width: 100%; }
  .hero { min-height: auto; }
  .hero-content { padding-block: var(--space-20); }
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-6);
}

.stats-grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

[data-theme='dark'] .stat-number { color: var(--color-text); }

.stat-number span {
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── SECTION SHARED ── */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 58ch;
  line-height: 1.7;
}

.section-header {
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--color-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(33.33% - 12px);
  right: calc(33.33% - 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.4;
}

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  text-align: center;
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

[data-theme='dark'] .step-card {
  background: var(--color-surface-2);
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.step-number--1 { background: var(--color-primary); color: #ffffff; }
.step-number--2 { background: var(--color-accent); color: #ffffff; }
.step-number--3 { background: var(--color-success); color: #ffffff; }

.step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: none;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ── AUDIENCE SPLIT ── */
.audience-section {
  background: var(--color-bg);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.audience-card {
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid var(--color-divider);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.audience-card--dealer {
  background: var(--color-primary);
  border-color: transparent;
  color: #ffffff;
}

.audience-card--dealer::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  padding-bottom: 70%;
  background: radial-gradient(circle, oklch(1 0 0 / 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.audience-card--manager {
  background: var(--color-surface);
}

[data-theme='dark'] .audience-card--manager {
  background: var(--color-surface-2);
}

.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.audience-tag--dealer {
  background: oklch(1 0 0 / 0.1);
  color: oklch(1 0 0 / 0.8);
  border: 1px solid oklch(1 0 0 / 0.15);
}

.audience-tag--manager {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

[data-theme='dark'] .audience-tag--manager {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.audience-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.audience-card--dealer .audience-title { color: #ffffff; }
.audience-card--manager .audience-title { color: var(--color-text); }

.audience-desc {
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.audience-card--dealer .audience-desc { color: oklch(1 0 0 / 0.7); }
.audience-card--manager .audience-desc { color: var(--color-text-muted); }

.audience-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.audience-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.audience-card--dealer .audience-feature { color: oklch(1 0 0 / 0.8); }
.audience-card--manager .audience-feature { color: var(--color-text-muted); }

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 700;
}

.audience-card--dealer .feature-check {
  background: oklch(1 0 0 / 0.15);
  color: #ffffff;
}

.audience-card--manager .feature-check {
  background: var(--color-success-light);
  color: var(--color-success);
}

@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ── PARTNERS ── */
.partners-section {
  background: var(--color-surface);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.partners-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.5;
  filter: grayscale(1);
  transition:
    opacity var(--transition-interactive),
    filter var(--transition-interactive);
}

.partner-logo-item:hover {
  opacity: 0.85;
  filter: grayscale(0);
}

.partner-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.partner-logo-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── PRICING ── */
.pricing-section {
  background: var(--color-bg);
}

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

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: var(--color-primary);
  border-color: transparent;
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

[data-theme='dark'] .pricing-card {
  background: var(--color-surface-2);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-5);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.pricing-card--featured .pricing-tier { color: oklch(1 0 0 / 0.6); }
.pricing-card:not(.pricing-card--featured) .pricing-tier { color: var(--color-accent); }

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-card--featured .pricing-price { color: #ffffff; }
.pricing-card:not(.pricing-card--featured) .pricing-price { color: var(--color-text); }

.pricing-period {
  font-size: var(--text-sm);
  font-weight: 400;
}

.pricing-card--featured .pricing-period { color: oklch(1 0 0 / 0.5); }
.pricing-card:not(.pricing-card--featured) .pricing-period { color: var(--color-text-muted); }

.pricing-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.pricing-card--featured .pricing-desc { color: oklch(1 0 0 / 0.65); }
.pricing-card:not(.pricing-card--featured) .pricing-desc { color: var(--color-text-muted); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.pricing-card--featured .pricing-feature { color: oklch(1 0 0 / 0.8); }
.pricing-card:not(.pricing-card--featured) .pricing-feature { color: var(--color-text-muted); }

.pricing-check {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
}

.pricing-card--featured .pricing-check {
  background: oklch(1 0 0 / 0.15);
  color: #ffffff;
}

.pricing-card:not(.pricing-card--featured) .pricing-check {
  background: var(--color-success-light);
  color: var(--color-success);
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-note strong {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

/* ── FINAL CTA SECTION ── */
.cta-section {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, oklch(0.38 0.14 150 / 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 60%, oklch(0.65 0.14 85 / 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.cta-subtitle {
  font-size: var(--text-base);
  color: oklch(1 0 0 / 0.65);
  max-width: 52ch;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn--white {
  background: var(--color-accent);
  color: #0A0F2C;
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px oklch(from var(--color-accent) l c h / 0.4);
}

.btn--white:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 32px oklch(from var(--color-accent) l c h / 0.5);
}

.btn--ghost-white {
  background: oklch(1 0 0 / 0.08);
  color: oklch(1 0 0 / 0.85);
  border: 2px solid oklch(1 0 0 / 0.2);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.btn--ghost-white:hover {
  background: oklch(1 0 0 / 0.14);
  border-color: oklch(1 0 0 / 0.35);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 36ch;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

[data-theme='dark'] .footer-links a:hover { color: var(--color-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-contact {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-contact a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-contact a:hover { color: var(--color-primary); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── MODAL OVERLAY ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0 0 0 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  background: var(--color-surface);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 350ms var(--ease-out);
}

.modal-overlay.is-open .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto var(--space-2);
}

.modal-header {
  padding: var(--space-4) var(--space-8) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  position: sticky;
  top: 0;
  background: var(--color-surface);
  z-index: 10;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.modal-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: none;
  cursor: pointer;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive);
}

.modal-close:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.modal-body {
  padding: var(--space-8);
}

/* Lead Form */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-label .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-faint);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AAABB' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.form-submit {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-lg);
  margin-top: var(--space-2);
}

.form-footer-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

/* ── SCROLL REVEALS ── */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  cursor: pointer;
  border: none;
  background: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive);
}

.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

/* ── SUCCESS STATE ── */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-8);
}

.form-success.is-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-success-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.success-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.success-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 44ch;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   VIDEO MODAL — Cinematic fullscreen
═══════════════════════════════════════ */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.video-modal-container {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.06);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.is-open .video-modal-container {
  transform: scale(1) translateY(0);
}

.video-modal-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.18s ease;
}

.video-modal-overlay.is-open .video-modal-close {
  opacity: 1;
}

.video-modal-close:hover {
  background: rgba(200, 16, 46, 0.75);
}

@media (max-width: 640px) {
  .video-modal-container {
    width: 100vw;
    border-radius: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   ULTRA-PREMIUM ELEVATION — Bloomberg Terminal × Luxury Auto
   Applied over base tokens for maximum override authority.
   ═══════════════════════════════════════════════════════════ */

/* ── FORCE DARK BASE (always-on, no theme toggle needed for premium) ── */
:root,
[data-theme='light'],
[data-theme='dark'],
body {
  --color-bg:              #000000;
  --color-surface:         #0A0F2C;
  --color-surface-2:       #0E1535;
  --color-surface-offset:  #141C42;
  --color-border:          #1E2A52;
  --color-divider:         #1A2448;
  --color-text:            #F0EEE8;
  --color-text-muted:      #8B9BAA;
  --color-text-faint:      #4A5668;
  --color-text-inverse:    #000000;

  /* Primary: Deep Emerald */
  --color-primary:         #046B3E;
  --color-primary-hover:   #055A34;
  --color-primary-active:  #044A2C;
  --color-primary-light:   #061A10;

  /* Accent: Rich Gold */
  --color-accent:          #D4AF37;
  --color-accent-hover:    #C09B2A;
  --color-accent-active:   #A8841E;
  --color-accent-light:    #1C1800;

  /* Success = emerald */
  --color-success:         #046B3E;
  --color-success-light:   #061A10;

  /* Error = dark maroon */
  --color-error:           #8B1A1A;
  --color-error-light:     #1A0808;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.6),  0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.7), 0 2px 6px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.8), 0 6px 16px rgba(0,0,0,0.6);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.9), 0 12px 32px rgba(0,0,0,0.7);
}

/* ── BODY BASE ── */
body {
  background: #000000;
  color: var(--color-text);
}

/* ── NAV — true black with gold links ── */
.site-nav {
  background: rgba(0, 0, 0, 0.92) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
}

.nav-logo-wordmark {
  color: #D4AF37 !important;
}

.nav-links a {
  color: rgba(240, 238, 232, 0.6) !important;
}

.nav-links a:hover {
  color: #D4AF37 !important;
}

.nav-hamburger span {
  background: #D4AF37 !important;
}

.nav-mobile {
  background: #000000;
  border-top-color: rgba(212, 175, 55, 0.15) !important;
}

.nav-mobile a {
  color: rgba(240, 238, 232, 0.65) !important;
}

.nav-mobile a:hover {
  color: #D4AF37 !important;
}

/* ── HERO — deep black + emerald-to-black gradient ── */
.hero {
  background: #000000 !important;
}

.hero-bg-gradient {
  background:
    radial-gradient(ellipse 60% 50% at 55% 35%, rgba(4, 107, 62, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 15% 75%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, #050E06 0%, #000000 55%, #000000 100%) !important;
}

/* Slightly more visible emerald grid */
.hero-bg-grid {
  opacity: 0.10 !important;
  background-image:
    linear-gradient(rgba(4, 107, 62, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 107, 62, 0.8) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
}

/* Hero headline: "Not by gut." = crisp white */
.hero-headline {
  color: #ffffff !important;
}

/* "By numbers." = bold gold */
.hero-headline-accent {
  color: #D4AF37 !important;
}

/* Hero subheadline and body */
.hero-subheadline {
  color: rgba(255, 255, 255, 0.5) !important;
}

.hero-body {
  color: rgba(255, 255, 255, 0.6) !important;
}

.hero-trust {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* ── DASHBOARD CARD (hero visual) ── */
.dashboard-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(212, 175, 55, 0.15) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08),
    0 32px 80px rgba(0, 0, 0, 0.7) !important;
}

/* Score ring: use a CSS conic or keep SVG gradient emerald→gold */
/* Override SVG stop colors via CSS custom props used by the SVG */
.score-number {
  color: #D4AF37 !important;
}

.score-label {
  color: rgba(212, 175, 55, 0.55) !important;
}

.dash-stat-val {
  color: #D4AF37 !important;
}

.dash-stat-key {
  color: rgba(4, 107, 62, 0.9) !important;
}

/* AVOID badge — darker maroon, not bright red */
.dash-signal--avoid {
  background: rgba(139, 26, 26, 0.2) !important;
  color: #C05050 !important;
  border: 1px solid rgba(139, 26, 26, 0.35) !important;
}

/* BUY badge stays emerald-ish */
.dash-signal--buy {
  background: rgba(4, 107, 62, 0.2) !important;
  color: #4ACA8A !important;
  border: 1px solid rgba(4, 107, 62, 0.35) !important;
}

/* ── STATS BAR — black background, gold numbers, emerald labels ── */
.stats-bar {
  background: #000000 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.12) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
}

.stat-number {
  color: #D4AF37 !important;
}

.stat-number span {
  color: #D4AF37 !important;
}

.stat-label {
  color: #046B3E !important;
  font-weight: 600 !important;
}

/* ── HOW IT WORKS — dark navy cards on near-black bg ── */
.how-it-works {
  background: #030610 !important;
}

.step-card {
  background: #0A0F2C !important;
  border-color: rgba(212, 175, 55, 0.08) !important;
}

.step-card:hover {
  border-color: rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.08), 0 4px 16px rgba(0,0,0,0.6) !important;
}

/* Step circles: 1=Emerald, 2=Gold, 3=Emerald */
.step-number--1 {
  background: #046B3E !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(4, 107, 62, 0.4) !important;
}

.step-number--2 {
  background: #D4AF37 !important;
  color: #000000 !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4) !important;
}

.step-number--3 {
  background: #046B3E !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(4, 107, 62, 0.4) !important;
}

.step-title {
  color: #F0EEE8 !important;
}

.step-desc {
  color: rgba(240, 238, 232, 0.55) !important;
}

/* Steps connector line */
.steps-grid::before {
  background: linear-gradient(90deg, #046B3E, #D4AF37) !important;
  opacity: 0.5 !important;
}

/* ── SECTION TEXT on dark ── */
.section-title {
  color: #F0EEE8 !important;
}

.section-subtitle {
  color: rgba(240, 238, 232, 0.55) !important;
}

.section-eyebrow {
  color: #D4AF37 !important;
}

/* ── AUDIENCE SECTION — black bg ── */
.audience-section {
  background: #000000 !important;
}

.audience-card--dealer {
  background: #046B3E !important;
  border-color: transparent !important;
}

.audience-card--manager {
  background: #0A0F2C !important;
  border-color: rgba(212, 175, 55, 0.08) !important;
}

.audience-card--manager .audience-title {
  color: #F0EEE8 !important;
}

.audience-card--manager .audience-desc {
  color: rgba(240, 238, 232, 0.55) !important;
}

.audience-card--manager .audience-feature {
  color: rgba(240, 238, 232, 0.6) !important;
}

.audience-tag--manager {
  background: rgba(4, 107, 62, 0.15) !important;
  color: #4ACA8A !important;
  border: 1px solid rgba(4, 107, 62, 0.25) !important;
}

.audience-card--manager .feature-check {
  background: rgba(4, 107, 62, 0.2) !important;
  color: #4ACA8A !important;
}

/* ── PARTNERS — black bg ── */
.partners-section {
  background: #030610 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.08) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08) !important;
}

.partner-logo-text {
  color: rgba(240, 238, 232, 0.6) !important;
}

.partners-label {
  color: rgba(212, 175, 55, 0.45) !important;
}

.partner-dot {
  background: #D4AF37 !important;
}

/* ── PRICING — near-black bg, dark navy cards ── */
.pricing-section {
  background: #000000 !important;
}

.pricing-card {
  background: #0A0F2C !important;
  border-color: rgba(212, 175, 55, 0.08) !important;
}

.pricing-card:hover {
  border-color: rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.06), 0 4px 16px rgba(0,0,0,0.6) !important;
}

/* Featured card: deep emerald */
.pricing-card--featured {
  background: #046B3E !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 0 40px rgba(4, 107, 62, 0.3) !important;
}

/* Most Popular badge — gold */
.pricing-popular-badge {
  background: #D4AF37 !important;
  color: #000000 !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4) !important;
}

.pricing-card:not(.pricing-card--featured) .pricing-price {
  color: #F0EEE8 !important;
}

.pricing-card:not(.pricing-card--featured) .pricing-tier {
  color: #D4AF37 !important;
}

.pricing-card:not(.pricing-card--featured) .pricing-desc {
  color: rgba(240, 238, 232, 0.5) !important;
}

.pricing-card:not(.pricing-card--featured) .pricing-feature {
  color: rgba(240, 238, 232, 0.6) !important;
}

.pricing-card:not(.pricing-card--featured) .pricing-check {
  background: rgba(4, 107, 62, 0.2) !important;
  color: #4ACA8A !important;
}

.pricing-note {
  color: rgba(240, 238, 232, 0.45) !important;
}

.pricing-note strong {
  color: #D4AF37 !important;
}

/* ── CTA SECTION — emerald gradient on deep black ── */
.cta-section {
  background: #000000 !important;
  border-top: 1px solid rgba(4, 107, 62, 0.2) !important;
}

.cta-section::before {
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(4, 107, 62, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 60%) !important;
}

.cta-title {
  color: #ffffff !important;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ── BUTTONS — gold primary, emerald outline ── */
.btn--primary {
  background: #D4AF37 !important;
  color: #000000 !important;
  border-color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35) !important;
}

.btn--primary:hover {
  background: #C09B2A !important;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5) !important;
}

.btn--white {
  background: #D4AF37 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4) !important;
}

.btn--white:hover {
  background: #C09B2A !important;
  box-shadow: 0 8px 36px rgba(212, 175, 55, 0.55) !important;
}

.hero .btn--outline {
  color: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
  background: rgba(212, 175, 55, 0.05) !important;
}

.hero .btn--outline:hover {
  color: #D4AF37 !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
  background: rgba(212, 175, 55, 0.1) !important;
}

/* ── FOOTER — true black, gold links ── */
.site-footer {
  background: #000000 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.12) !important;
}

.footer-col-title {
  color: #D4AF37 !important;
  letter-spacing: 0.12em !important;
}

.footer-brand-desc {
  color: rgba(240, 238, 232, 0.45) !important;
}

.footer-links a {
  color: rgba(240, 238, 232, 0.45) !important;
}

.footer-links a:hover {
  color: #D4AF37 !important;
}

.footer-legal {
  color: rgba(240, 238, 232, 0.3) !important;
}

.footer-contact {
  color: rgba(240, 238, 232, 0.3) !important;
}

.footer-contact a {
  color: rgba(240, 238, 232, 0.45) !important;
}

.footer-contact a:hover {
  color: #D4AF37 !important;
}

.footer-bottom {
  border-top-color: rgba(212, 175, 55, 0.08) !important;
}

/* Footer divider */
.footer-grid {
  border-bottom: none !important;
}

/* ── MODAL — deep navy on black ── */
.modal-sheet {
  background: #0A0F2C !important;
}

.modal-header {
  background: #0A0F2C !important;
  border-bottom-color: rgba(212, 175, 55, 0.1) !important;
}

.modal-title {
  color: #F0EEE8 !important;
}

.modal-subtitle {
  color: rgba(240, 238, 232, 0.5) !important;
}

.modal-handle {
  background: rgba(212, 175, 55, 0.2) !important;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(240, 238, 232, 0.5) !important;
}

.modal-close:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  color: #D4AF37 !important;
}

.form-label {
  color: rgba(240, 238, 232, 0.6) !important;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(212, 175, 55, 0.12) !important;
  color: #F0EEE8 !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12) !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(240, 238, 232, 0.2) !important;
}

/* ── EYEBROW PILLS — gold border ── */
.hero-eyebrow {
  color: #D4AF37 !important;
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}

.hero-eyebrow-dot {
  background: #D4AF37 !important;
}

/* ── FLOATING BADGES on hero visual ── */
.hero-float-badge {
  background: #0A0F2C !important;
  border-color: rgba(212, 175, 55, 0.18) !important;
}

.float-badge-val {
  color: #D4AF37 !important;
}

.float-badge-sub {
  color: rgba(240, 238, 232, 0.45) !important;
}

/* ── SCORE RING VALUES in dashboard card ── */
.score-detail-label {
  color: rgba(240, 238, 232, 0.45) !important;
}

.score-detail-val {
  color: #D4AF37 !important;
}

.score-detail-val.positive {
  color: #4ACA8A !important;
}

.score-detail-val.negative {
  color: #C05050 !important;
}

/* ── MINI CHART BARS ── */
.mini-bar { background: rgba(255,255,255,0.06) !important; }
.mini-bar.active { background: #D4AF37 !important; }

/* ── DASHBOARD BADGE (LIVE label) ── */
.dashboard-badge {
  color: #4ACA8A !important;
  background: rgba(4, 107, 62, 0.18) !important;
}

/* ── DARK MODE toggle button (always dark) ── */
.theme-toggle {
  color: rgba(240, 238, 232, 0.5) !important;
}

.theme-toggle:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  color: #D4AF37 !important;
}

/* ══════════════════ END ULTRA-PREMIUM ELEVATION ══════════════════ */

/* ── CTA GLOW MICRO-ANIMATION ── */
@keyframes gold-glow-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35), 0 0 0 0 rgba(212, 175, 55, 0);
  }
  50% {
    box-shadow: 0 4px 28px rgba(212, 175, 55, 0.55), 0 0 20px 4px rgba(212, 175, 55, 0.15);
  }
}

.btn--primary {
  animation: gold-glow-pulse 3s ease-in-out infinite !important;
}

.btn--white {
  animation: gold-glow-pulse 3s ease-in-out infinite !important;
}

/* Pause animation on hover so it doesn't fight the hover state */
.btn--primary:hover,
.btn--white:hover {
  animation: none !important;
}

/* Score ring container subtle emerald glow */
.score-ring-container {
  filter: drop-shadow(0 0 10px rgba(4, 107, 62, 0.35));
}

/* ── FOOTER EMAIL CONTACT ── */
.footer-email-gold {
  color: #D4AF37 !important;
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  display: block;
  margin-top: var(--space-3);
  transition: color var(--transition-interactive);
}

.footer-email-gold:hover {
  color: #C09B2A !important;
}

/* ══════════════════ END GLOW + FOOTER ══════════════════ */

/* ── REFERENCE-MATCH: Hero buttons exactly like mockup ── */

/* Primary hero CTA: emerald fill, gold text, gold arrow */
.hero .btn--primary {
  background: #046B3E !important;
  color: #D4AF37 !important;
  border: 2px solid #046B3E !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: var(--space-4) var(--space-12) !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 24px rgba(4, 107, 62, 0.4) !important;
  animation: emerald-glow-pulse 3s ease-in-out infinite !important;
}

.hero .btn--primary:hover {
  background: #055A34 !important;
  color: #E8C840 !important;
  animation: none !important;
}

@keyframes emerald-glow-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(4, 107, 62, 0.4), 0 0 0 0 rgba(4, 107, 62, 0); }
  50%       { box-shadow: 0 4px 32px rgba(4, 107, 62, 0.6), 0 0 18px 4px rgba(4, 107, 62, 0.2); }
}

/* Secondary hero CTA: dark outline, gold text */
.hero .btn--outline {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #D4AF37 !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  padding: var(--space-4) var(--space-12) !important;
  border-radius: var(--radius-full) !important;
}

.hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  color: #E8C840 !important;
}

/* Nav CTA pill: warm gold/cream bg with dark text — like reference */
.nav-cta-desktop .btn--primary,
.site-nav .btn--primary {
  background: #E8D87A !important;
  color: #0A0F2C !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  font-size: 0.9rem !important;
  border-radius: var(--radius-full) !important;
  box-shadow: none !important;
  animation: none !important;
}

.nav-cta-desktop .btn--primary:hover,
.site-nav .btn--primary:hover {
  background: #D4AF37 !important;
  color: #000000 !important;
}

/* CTA section buttons match reference too */
.cta-section .btn--white {
  background: #D4AF37 !important;
  color: #000000 !important;
  animation: gold-glow-pulse 3s ease-in-out infinite !important;
}

/* Logo border-radius — remove rounded corners since bg is now transparent */
.nav-logo img {
  border-radius: 0 !important;
}

/* ══════════════════ END REFERENCE MATCH ══════════════════ */
