/* ============================================================
   ROIScholars Academy — Design System
   Premium dark theme, segment-aware accent colors,
   mobile-first responsive, agency-tier aesthetic.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* --- Fonts ------------------------------------------------- */
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens ----------------------------------------- */
:root {
  /* Base palette — dark zinc */
  --color-bg: #09090b;
  --color-bg-secondary: #18181b;
  --color-bg-tertiary: #27272a;
  --color-surface: #18181b;
  --color-surface-inner: #141416;

  /* Text */
  --color-text: #fafafa;
  --color-text-secondary: #a1a1aa;
  --color-text-tertiary: #71717a;

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  /* Accent — default emerald (publisher), overridden per segment */
  --color-accent: #10b981;
  --color-accent-dim: rgba(16, 185, 129, 0.12);
  --color-accent-border: rgba(16, 185, 129, 0.22);
  --color-accent-text: #10b981;

  /* Typography */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 10rem);
  --section-py-mobile: clamp(3rem, 8vw, 5rem);
  --content-gap: 3rem;
  --card-padding: 2rem;

  /* Layout */
  --max-w: 1400px;
  --max-w-text: 65ch;

  /* Motion */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 700ms;
  --dur-fast: 400ms;
}

/* --- Segment Accent Overrides ------------------------------ */
[data-segment="publisher"] {
  --color-accent: #10b981;
  --color-accent-dim: rgba(16, 185, 129, 0.12);
  --color-accent-border: rgba(16, 185, 129, 0.22);
  --color-accent-text: #10b981;
}

[data-segment="broker"] {
  --color-accent: #3b82f6;
  --color-accent-dim: rgba(59, 130, 246, 0.12);
  --color-accent-border: rgba(59, 130, 246, 0.22);
  --color-accent-text: #3b82f6;
}

[data-segment="advertiser"] {
  --color-accent: #f59e0b;
  --color-accent-dim: rgba(245, 158, 11, 0.12);
  --color-accent-border: rgba(245, 158, 11, 0.22);
  --color-accent-text: #f59e0b;
}

/* --- Base -------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  background: var(--color-bg);
}

/* --- Typography -------------------------------------------- */
.text-display {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--color-text);
}

.text-heading {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  color: var(--color-text);
}

.text-subheading {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text);
}

.text-body {
  max-width: var(--max-w-text);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text-body-lg {
  font-size: 1.125rem;
  max-width: var(--max-w-text);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text-small {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
}

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.text-accent {
  color: var(--color-accent-text);
}

/* --- Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.section {
  padding: var(--section-py-mobile) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-py) 0;
  }
}

.section-border {
  border-top: 1px solid var(--color-border);
}

/* --- Eyebrow Pill Badge ------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.3125rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--color-accent-dim);
  color: var(--color-accent-text);
  border: 1px solid var(--color-accent-border);
  margin-bottom: 1.25rem;
}

.eyebrow-neutral {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-tertiary);
  border-color: var(--color-border);
}

/* --- Double-Bezel Card ------------------------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 0.3125rem;
  transition: border-color var(--dur-fast) var(--ease-spring);
}

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

.card-inner {
  background: var(--color-surface-inner);
  border-radius: calc(1.5rem - 0.3125rem);
  padding: var(--card-padding);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Card with accent glow on hover */
.card-accent:hover {
  border-color: var(--color-accent-border);
}

/* Large card variant */
.card-lg .card-inner {
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-spring);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Primary — full glassmorphism + depth + CRT */
.btn-primary {
  padding: 1rem 1.5rem 1rem 2.25rem;
  background:
    linear-gradient(180deg, rgba(32, 86, 46, 0.92) 0%, rgba(22, 64, 30, 0.88) 50%, rgba(26, 74, 36, 0.9) 100%);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  color: #3fff6f;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 12px rgba(63, 255, 111, 0.2);
  border: 1px solid rgba(63, 255, 111, 0.3);
  box-shadow:
    0 0 0 1px rgba(63, 255, 111, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    0 20px 4px -18px rgba(63, 255, 111, 0.04),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 24px rgba(16, 185, 129, 0.2),
    0 0 48px rgba(16, 185, 129, 0.06);
  animation: btnPulse 3s ease-in-out infinite;
}

@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(63, 255, 111, 0.08) inset, 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 -1px 0 rgba(0, 0, 0, 0.3) inset, 0 20px 4px -18px rgba(63, 255, 111, 0.04), 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 24px rgba(16, 185, 129, 0.2), 0 0 48px rgba(16, 185, 129, 0.06);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(63, 255, 111, 0.12) inset, 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 -1px 0 rgba(0, 0, 0, 0.3) inset, 0 20px 4px -18px rgba(63, 255, 111, 0.06), 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 36px rgba(16, 185, 129, 0.35), 0 0 72px rgba(16, 185, 129, 0.1);
  }
}

/* Top edge highlight + glass curvature reflection */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, transparent 85%, rgba(255, 255, 255, 0.02) 100%),
    radial-gradient(ellipse 70% 30% at 50% 5%, rgba(255, 255, 255, 0.1), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(0, 0, 0, 0.03) 3px, rgba(0, 0, 0, 0.03) 4px);
  pointer-events: none;
  z-index: 2;
}

/* LED indicator dot + surface light cast */
.btn-primary::after {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), #3fff6f 55%);
  box-shadow:
    0 0 10px rgba(63, 255, 111, 0.9),
    0 0 20px rgba(63, 255, 111, 0.4),
    -4px 0 16px 4px rgba(63, 255, 111, 0.06),
    4px 0 16px 4px rgba(63, 255, 111, 0.06);
  animation: ledBlink 2s ease-in-out infinite;
}

@keyframes ledBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.btn-primary:hover {
  border-color: rgba(63, 255, 111, 0.5);
  background: linear-gradient(180deg, rgba(40, 104, 56, 0.95) 0%, rgba(28, 80, 40, 0.92) 50%, rgba(32, 86, 46, 0.94) 100%);
  animation: none;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(63, 255, 111, 0.15) inset,
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    0 24px 6px -20px rgba(63, 255, 111, 0.08),
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 16px 40px rgba(0, 0, 0, 0.25),
    0 0 44px rgba(16, 185, 129, 0.4),
    0 0 88px rgba(16, 185, 129, 0.12);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 0 0 1px rgba(63, 255, 111, 0.1) inset,
    0 -1px 0 rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(0, 0, 0, 0.3) inset,
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 16px rgba(16, 185, 129, 0.15);
}

/* Button trailing icon — glass with depth */
.btn-icon {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(63, 255, 111, 0.15) 0%, rgba(63, 255, 111, 0.06) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(63, 255, 111, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-spring);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 0 8px rgba(63, 255, 111, 0.1);
}

/* Glass highlight on icon */
.btn-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 40% at 50% 10%, rgba(255, 255, 255, 0.12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0, 0, 0, 0.04) 2px, rgba(0, 0, 0, 0.04) 3px);
  pointer-events: none;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
  background: linear-gradient(180deg, rgba(63, 255, 111, 0.22) 0%, rgba(63, 255, 111, 0.1) 100%);
  border-color: rgba(63, 255, 111, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 0 14px rgba(63, 255, 111, 0.2);
}

.btn-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* Secondary — glass outline */
.btn-secondary {
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(255, 255, 255, 0.03);
}

/* Ghost — text-only */
.btn-ghost {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--color-accent-text);
}

.btn-ghost:hover {
  background: var(--color-accent-dim);
}

/* --- Fixed Join NOW Button --------------------------------- */
/* --- Chat Widget ------------------------------------------- */
.chat-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, #20562e 0%, #1a4a24 100%);
  color: #3fff6f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 16px rgba(16, 185, 129, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.2s var(--ease-spring);
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(16, 185, 129, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chat-toggle svg {
  width: 22px;
  height: 22px;
}

.chat-toggle-close {
  display: none;
}

.chat-toggle.is-open .chat-toggle-icon {
  display: none;
}

.chat-toggle.is-open .chat-toggle-close {
  display: block;
}

/* Chat window */
.chat-window {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 149;
  width: 380px;
  max-width: calc(100vw - 2rem);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 32px 80px rgba(0, 0, 0, 0.2),
    0 0 48px rgba(16, 185, 129, 0.04);
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring);
}

.chat-window.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Dot pattern inside chat */
.chat-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Chat header */
.chat-header {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #20562e, #1a4a24);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3fff6f;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.15);
}

.chat-avatar svg {
  width: 18px;
  height: 18px;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
}

.chat-header-status {
  font-size: 0.6875rem;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #3fff6f;
  box-shadow: 0 0 6px rgba(63, 255, 111, 0.5);
}

/* Disclaimer */
.chat-disclaimer {
  position: relative;
  z-index: 1;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  opacity: 0.6;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Chat body */
.chat-body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 16px;
  min-height: 200px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.chat-msg p {
  margin: 0;
}

.chat-msg-them {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text-secondary);
  align-self: flex-start;
}

.chat-msg-you {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-text);
  align-self: flex-end;
}

.chat-msg-time {
  display: block;
  font-size: 0.625rem;
  color: var(--color-text-tertiary);
  margin-top: 4px;
}

/* Chat input */
.chat-input-row {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 12px;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.chat-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.chat-input::placeholder {
  color: var(--color-text-tertiary);
}

.chat-input:focus {
  border-color: rgba(16, 185, 129, 0.3);
}

.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.12);
  color: #3fff6f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.chat-send svg {
  width: 16px;
  height: 16px;
}

.chat-send:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), #3fff6f);
  box-shadow: 0 0 8px rgba(63, 255, 111, 0.4);
  z-index: 200;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* Fixed Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(9, 9, 11, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
  .site-header {
    padding: 1rem 2.5rem;
  }
}

/* Logo */
.site-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.site-logo-accent {
  color: #33ff66;
  text-shadow: 0 0 12px rgba(50, 255, 100, 0.3);
}

.site-logo-dot {
  color: var(--color-accent);
}

/* Header nav links */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--color-accent);
}

/* Header CTA — terminal style, vibrant */
.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem 0.625rem 2rem;
  background: linear-gradient(180deg, #20562e 0%, #1a4a24 100%);
  color: #3fff6f;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 8px rgba(63, 255, 111, 0.15);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(16, 185, 129, 0.35),
    0 0 40px rgba(16, 185, 129, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.2s var(--ease-spring);
  animation: headerPulse 3s ease-in-out infinite;
}

@keyframes headerPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35), 0 0 40px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 32px rgba(16, 185, 129, 0.5), 0 0 64px rgba(16, 185, 129, 0.18), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

/* Scanlines */
.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.06) 2px, rgba(0, 0, 0, 0.06) 4px);
  pointer-events: none;
  border-radius: inherit;
}

/* LED dot */
.header-cta::after {
  content: '';
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.5), #33ff66 60%);
  box-shadow: 0 0 6px rgba(50, 255, 100, 0.7);
  animation: ledBlink 2s ease-in-out infinite;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.7);
  background: linear-gradient(180deg, #286838 0%, #20562e 100%);
  animation: none;
  box-shadow:
    0 0 36px rgba(16, 185, 129, 0.5),
    0 0 72px rgba(16, 185, 129, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-cta:active {
  transform: scale(0.97);
}

.header-cta .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  background: rgba(50, 255, 100, 0.12);
  border: 1px solid rgba(50, 255, 100, 0.2);
  border-radius: 3px;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-spring);
}

.header-cta:hover .btn-icon {
  transform: translateX(2px);
  background: rgba(50, 255, 100, 0.2);
}

.header-cta svg {
  width: 0.625rem;
  height: 0.625rem;
}

/* --- Floating Pill Navbar ---------------------------------- */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: max-content;
  max-width: calc(100vw - 2rem);
  border-radius: 9999px;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--dur-fast) var(--ease-smooth);
}

.navbar.is-scrolled {
  background: rgba(9, 9, 11, 0.92);
}

.navbar-brand {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.navbar-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  transition: color var(--dur-fast) var(--ease-spring), background var(--dur-fast) var(--ease-spring);
}

.navbar-links a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.navbar-links a.is-active {
  color: var(--color-accent-text);
}

.navbar-cta {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

/* Mobile menu toggle */
.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease-spring);
  position: relative;
}

.navbar-toggle span::before,
.navbar-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transition: inherit;
}

.navbar-toggle span::before {
  top: -5px;
}

.navbar-toggle span::after {
  top: 5px;
}

/* Hamburger → X morph */
.navbar-toggle.is-open span {
  background: transparent;
}

.navbar-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--color-text);
}

.navbar-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--color-text);
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-smooth);
}

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

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity var(--dur) var(--ease-spring),
    transform var(--dur) var(--ease-spring);
}

.mobile-menu.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open a:nth-child(1) {
  transition-delay: 80ms;
}

.mobile-menu.is-open a:nth-child(2) {
  transition-delay: 140ms;
}

.mobile-menu.is-open a:nth-child(3) {
  transition-delay: 200ms;
}

.mobile-menu.is-open a:nth-child(4) {
  transition-delay: 260ms;
}

.mobile-menu.is-open a:nth-child(5) {
  transition-delay: 320ms;
}

/* Navbar spacer — pushes content below fixed navbar */
.navbar-spacer {
  height: 5rem;
}

/* --- Hero Section ------------------------------------------ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 0 var(--section-py-mobile);
}

@media (min-width: 768px) {
  .hero {
    padding: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

.hero-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  background: var(--color-text-tertiary);
}

/* Hero visual area */
.hero-visual {
  display: none;
  position: relative;
}

@media (min-width: 768px) {
  .hero-visual {
    display: block;
  }
}

.hero-visual-card {
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.5rem;
  aspect-ratio: 4 / 3.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Progress Journey -------------------------------------- */

/* Vertical stack — 4 items */
.jny {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Each item: card left + text right */
.jny-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .jny-item {
    grid-template-columns: 14rem 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 599px) {
  .jny-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Hero item — bigger card */
.jny-item-hero .card {}

@media (min-width: 768px) {
  .jny-item-hero {
    grid-template-columns: 18rem 1fr;
  }
}

/* LCD card inside the double-bezel .card */
.jny-card {
  text-align: center;
  padding: 1.25rem 1rem;
}

.jny-card-hero {
  padding: 1.75rem 1.25rem;
}

/* Tag */
.jny-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 60, 60, 0.25);
  margin-bottom: 0.625rem;
}

.jny-card-profit .jny-tag,
.jny-card-hero .jny-tag {
  color: rgba(50, 255, 100, 0.25);
}

.jny-tag-hero {
  color: rgba(50, 255, 100, 0.35) !important;
}

/* Number */
.jny-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.jny-num small {
  font-size: 0.55em;
  opacity: 0.4;
}

.jny-num-hero {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.jny-red {
  color: #ff3333;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.5), 0 0 24px rgba(255, 50, 50, 0.12);
}

.jny-amber {
  color: #f59e0b;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5), 0 0 24px rgba(245, 158, 11, 0.12);
}

.jny-green {
  color: #33ff66;
  text-shadow: 0 0 8px rgba(50, 255, 100, 0.5), 0 0 24px rgba(50, 255, 100, 0.12);
}

/* Monthly sub on hero */
.jny-monthly {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-top: 0.625rem;
  opacity: 0.6;
}

/* Text column */
.jny-text {
  max-width: 36rem;
}

.jny-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.jny-title-hero {
  font-size: 1.25rem;
}

.jny-text p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.jny-card-loss+.jny-text .jny-title {
  color: var(--color-text-tertiary);
}

.jny-card-loss+.jny-text p {
  color: var(--color-text-tertiary);
}

/* CTA below */
.jny-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* --- Problem Section --------------------------------------- */
/* --- Problem Section --------------------------------------- */
.problem-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(239, 68, 68, 0.02), transparent 70%),
    linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(12, 6, 6, 0.3) 30%, rgba(12, 6, 6, 0.3) 70%, rgba(9, 9, 11, 0) 100%);
}

/* Red dot pattern */
.problem-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(239, 68, 68, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}

/* Heading — same gradient style as calc heading */
.problem-heading {
  text-align: center;
  margin-bottom: 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  position: relative;
}

.problem-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scaleY(-0.3);
  transform-origin: top center;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.3;
}

/* Pain cards — 3 inline */
.pain-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .pain-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.pain-card {
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 32px 24px;
  transition: all 0.3s var(--ease-spring);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Top edge highlight */
.pain-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.15), rgba(255, 255, 255, 0.12), rgba(239, 68, 68, 0.15), transparent);
  pointer-events: none;
}

/* Inner glow */
.pain-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(239, 68, 68, 0.03), transparent 60%);
  pointer-events: none;
}

.pain-card:hover {
  border-color: rgba(239, 68, 68, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 16px 40px rgba(0, 0, 0, 0.15),
    0 0 24px rgba(239, 68, 68, 0.04);
}

/* Icon — LCD red style */
.pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: #060c06;
  border: 1px solid rgba(239, 68, 68, 0.15);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

.pain-icon svg {
  width: 18px;
  height: 18px;
}

.pain-icon-red {
  color: #ff3333;
  filter: drop-shadow(0 0 4px rgba(255, 50, 50, 0.4));
}

/* Title */
.pain-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

/* Body */
.pain-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* CTA below cards */
.problem-cta {
  text-align: center;
  margin-top: 3rem;
}

.problem-cta-text {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ff3333;
  text-shadow: 0 0 12px rgba(255, 50, 50, 0.4), 0 0 30px rgba(255, 50, 50, 0.1);
  margin-bottom: 1.5rem;
}

/* Reflection beneath cards */
.pain-row::after {
  content: '';
  display: block;
  grid-column: 1 / -1;
  width: 70%;
  height: 60px;
  margin: 12px auto 0;
  background: radial-gradient(ellipse 100% 100% at 50% 0%,
      rgba(239, 68, 68, 0.12) 0%,
      rgba(239, 68, 68, 0.04) 40%,
      transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

/* --- Value / What You Get Section — green style ------------ */
.value-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(16, 185, 129, 0.02), transparent 70%),
    linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(6, 12, 6, 0.3) 30%, rgba(6, 12, 6, 0.3) 70%, rgba(9, 9, 11, 0) 100%);
}

/* Green dot pattern */
.value-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(16, 185, 129, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}

/* Heading — gradient + reflection */
.value-heading {
  text-align: center;
  margin-bottom: 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  position: relative;
}

.value-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scaleY(-0.3);
  transform-origin: top center;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.3;
}

/* 3-column card grid */
.value-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .value-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* Value cards — glassmorphism, green accent */
.value-card {
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 32px 24px;
  transition: all 0.3s var(--ease-spring);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Top edge highlight — green */
.value-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), rgba(255, 255, 255, 0.12), rgba(16, 185, 129, 0.15), transparent);
  pointer-events: none;
}

/* Inner glow — green */
.value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(16, 185, 129, 0.03), transparent 60%);
  pointer-events: none;
}

.value-card:hover {
  border-color: rgba(16, 185, 129, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 16px 40px rgba(0, 0, 0, 0.15),
    0 0 24px rgba(16, 185, 129, 0.04);
}

/* Icon — LCD green style */
.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: #060c06;
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: #3fff6f;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

.value-icon svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 4px rgba(63, 255, 111, 0.4));
}

/* Title */
.value-card-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

/* Body */
.value-card-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* CTA below cards */
.value-cta {
  text-align: center;
  margin-top: 3rem;
}

.value-cta-text {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #3fff6f;
  text-shadow: 0 0 12px rgba(63, 255, 111, 0.4), 0 0 30px rgba(63, 255, 111, 0.1);
  margin-bottom: 1.5rem;
}

/* Reflection beneath cards */
.value-row::after {
  content: '';
  display: block;
  grid-column: 1 / -1;
  width: 70%;
  height: 60px;
  margin: 12px auto 0;
  background: radial-gradient(ellipse 100% 100% at 50% 0%,
      rgba(16, 185, 129, 0.12) 0%,
      rgba(16, 185, 129, 0.04) 40%,
      transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

/* --- Meet John Section ------------------------------------- */
.john-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(16, 185, 129, 0.02), transparent 70%),
    linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(6, 12, 6, 0.25) 30%, rgba(6, 12, 6, 0.25) 70%, rgba(9, 9, 11, 0) 100%);
}

.john-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(16, 185, 129, 0.1) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 65%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 65%);
  pointer-events: none;
}

/* Heading */
.john-heading {
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  position: relative;
}

.john-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scaleY(-0.3);
  transform-origin: top center;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.3;
}

/* Layout: image left, content right */
.john-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .john-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
  }
}

/* Image — transparent cutout, floating */
.john-image {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 500px;
  max-width: 720px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 40px rgba(16, 185, 129, 0.06));
}

.john-image img,
.weekly-canvas {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Content */
.john-content {
  max-width: 520px;
}

.john-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.john-lead strong {
  color: #3fff6f;
}

.john-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

/* Features bar inside John section */
.john-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .john-features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.john-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: all 0.3s var(--ease-spring);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.1),
    0 2px 4px rgba(0,0,0,0.15),
    0 8px 24px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.john-feature::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.15), rgba(255,255,255,0.12), rgba(16,185,129,0.15), transparent);
  pointer-events: none;
}
.john-feature:hover {
  border-color: rgba(16,185,129,0.12);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.1),
    0 4px 8px rgba(0,0,0,0.2),
    0 16px 40px rgba(0,0,0,0.15),
    0 0 20px rgba(16,185,129,0.04);
}
.john-feature .value-icon {
  flex-shrink: 0;
}
.john-feature-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 4px;
}
.john-feature-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* CTA below John section */
.john-cta {
  text-align: center;
  margin-top: 5.5rem;
}
.john-cta .calc-below-cta-proof {
  margin-bottom: 1.5rem;
}

.john-cta-text {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #3fff6f;
  text-shadow: 0 0 12px rgba(63, 255, 111, 0.4), 0 0 30px rgba(63, 255, 111, 0.1);
  margin-bottom: 1.5rem;
}

/* --- Network Section --------------------------------------- */
.network-content {
  max-width: 52ch;
}

.network-content p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* --- Social Proof Section ---------------------------------- */
.proof-card .card-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .proof-card .card-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.proof-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-tertiary);
  margin-bottom: 0.75rem;
}

.proof-stat {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-accent-text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.proof-stat-sub {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

.proof-quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-accent-border);
}

.proof-author {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  margin-top: 0.75rem;
  font-style: normal;
}

/* --- Social Proof / Case Study Section ---------------------- */
.proof-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 40% 35%, rgba(16,185,129,0.05), transparent 70%),
    radial-gradient(ellipse 40% 50% at 65% 65%, rgba(16,185,129,0.03), transparent 60%),
    linear-gradient(180deg, rgba(9,9,11,0) 0%, rgba(6,12,6,0.3) 30%, rgba(6,12,6,0.3) 70%, rgba(9,9,11,0) 100%);
}
.proof-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(16,185,129,0.1) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}
.proof-heading {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  position: relative;
}
.proof-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scaleY(-0.3);
  transform-origin: top center;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.3;
}

/* Machine-style card */
.proof-machine-body {
  position: relative;
  background: linear-gradient(180deg, rgba(30,30,42,0.6) 0%, rgba(20,20,30,0.55) 40%, rgba(24,24,34,0.58) 100%);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 1px 1px rgba(0,0,0,0.2),
    0 2px 4px rgba(0,0,0,0.18),
    0 8px 16px rgba(0,0,0,0.15),
    0 24px 48px rgba(0,0,0,0.12),
    0 30px 60px -15px rgba(16,185,129,0.06);
}
.proof-machine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .proof-machine-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.proof-machine-panel {
  background: linear-gradient(180deg, rgba(10,10,18,0.7) 0%, rgba(12,12,18,0.65) 100%);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 1px 0 rgba(255,255,255,0.03);
}
.proof-machine-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}

/* LCD readout */
.proof-machine-lcd {
  position: relative;
  background: #060c06;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.3);
  overflow: hidden;
  text-align: center;
  margin-bottom: 16px;
}
.proof-machine-lcd::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0,0,0,0.12) 2px, rgba(0,0,0,0.12) 4px);
  pointer-events: none;
  border-radius: 8px;
}
.proof-lcd-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(50,255,100,0.22);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.proof-lcd-value {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.1em;
  color: #3fff6f;
  text-shadow: 0 0 12px rgba(63,255,111,0.5), 0 0 30px rgba(63,255,111,0.15);
}

/* Stats row */
.proof-machine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.proof-machine-stat {
  text-align: center;
  background: #060c06;
  border-radius: 6px;
  padding: 10px 6px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.5);
}
.proof-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: #ff3333;
  text-shadow: 0 0 6px rgba(255,50,50,0.4);
  margin-bottom: 4px;
}
.proof-stat-num:first-child {
  color: #ff3333;
}
.proof-machine-stat:nth-child(2) .proof-stat-num,
.proof-machine-stat:nth-child(3) .proof-stat-num {
  color: #3fff6f;
  text-shadow: 0 0 6px rgba(63,255,111,0.4);
}
.proof-stat-desc {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,60,60,0.22);
}
.proof-machine-stat:nth-child(2) .proof-stat-desc,
.proof-machine-stat:nth-child(3) .proof-stat-desc {
  color: rgba(50,255,100,0.22);
}

/* Quote panel */
.proof-machine-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid rgba(16,185,129,0.2);
  margin-bottom: 1rem;
}
.proof-machine-author {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
  margin-bottom: 1.25rem;
}
.proof-machine-footnote {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  line-height: 1.5;
  opacity: 0.7;
}

/* Proof boot animation initial states */
.proof-boot .proof-machine-body {
  opacity: 0;
  transform: scale(0.97);
  filter: blur(4px);
}
.proof-boot .proof-machine-panel {
  opacity: 0;
}
.proof-boot .proof-machine-lcd,
.proof-boot .proof-machine-stats,
.proof-boot .proof-machine-quote {
  opacity: 0;
}

/* --- How It Works Section ---------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step {
  counter-increment: step;
  position: relative;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent-text);
  margin-bottom: 1rem;
}

.step-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.step-body {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Connecting line between steps (desktop) */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: calc(2.5rem + 0.75rem);
    width: calc(100% - 2.5rem - 0.75rem);
    height: 1px;
    background: var(--color-border);
  }
}

/* --- Email Capture Section --------------------------------- */
.capture-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(16, 185, 129, 0.03), transparent 70%),
    linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(6, 12, 6, 0.35) 30%, rgba(6, 12, 6, 0.35) 70%, rgba(9, 9, 11, 0) 100%);
}

/* Green dot pattern */
.capture-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(16, 185, 129, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}

/* Heading — gradient + reflection */
.capture-heading {
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  position: relative;
}


.capture-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* Glassmorphic form card */
.capture-card {
  max-width: 38rem;
  margin: 0 auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 32px rgba(16, 185, 129, 0.03);
}

/* Top edge highlight */
.capture-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), rgba(255, 255, 255, 0.12), rgba(16, 185, 129, 0.15), transparent);
  pointer-events: none;
  z-index: 1;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .capture-form {
    flex-direction: row;
  }
}

.capture-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.capture-input::placeholder {
  color: var(--color-text-tertiary);
}

.capture-input:focus {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 12px rgba(16, 185, 129, 0.08);
}

.capture-input.is-error {
  border-color: #ef4444;
}

.capture-error {
  font-size: 0.8125rem;
  color: #ef4444;
  display: none;
  text-align: center;
  margin-top: 0.5rem;
}

.capture-error.is-visible {
  display: block;
}

.capture-privacy {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  margin-top: 1rem;
}

/* Trust badges */
.capture-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
}

.capture-trust strong {
  color: #3fff6f;
}

.capture-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  background: var(--color-accent);
  opacity: 0.5;
}

/* --- FAQ Section ------------------------------------------- */
.faq-section {
  position: relative;
  overflow: hidden;
}
.faq-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(255,255,255,0.03) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}
.faq-heading {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  position: relative;
}
.faq-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scaleY(-0.3);
  transform-origin: top center;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.3;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s var(--ease-spring);
  overflow: hidden;
}
.faq-item:hover {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.faq-item.is-open {
  border-color: rgba(16,185,129,0.12);
  background: rgba(16,185,129,0.02);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: color var(--dur-fast) var(--ease-spring);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-spring);
  color: var(--color-text-tertiary);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease-spring);
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* --- Footer ------------------------------------------------ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Black dot pattern */
.footer-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.04) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}

/* 3-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 3rem;
  }
}

/* Brand column */
.footer-brand .site-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-tertiary);
  max-width: 300px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text-tertiary);
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-social a:hover {
  color: var(--color-accent);
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.08);
}

.footer-social svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Nav columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  margin-bottom: 0.375rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  transition: color 0.15s ease;
}

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

/* Newsletter */
.footer-newsletter-desc {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  margin-bottom: 0.75rem;
}

.footer-newsletter {
  display: flex;
  gap: 0;
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.footer-newsletter-input::placeholder {
  color: var(--color-text-tertiary);
}

.footer-newsletter-input:focus {
  border-color: rgba(16, 185, 129, 0.3);
}

.footer-newsletter-btn {
  padding: 0.625rem 0.875rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-newsletter-btn svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-accent);
}

.footer-newsletter-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: var(--color-text-secondary);
}

/* --- Segment Selector (Master Page) ------------------------ */
.segment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .segment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .segment-grid .card:first-child {
    grid-row: span 2;
  }

  .segment-grid .card:first-child .card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.segment-role {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.segment-pain {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Per-card accent on master page */
.card[data-accent="publisher"] {
  --color-accent: #10b981;
  --color-accent-dim: rgba(16, 185, 129, 0.12);
  --color-accent-border: rgba(16, 185, 129, 0.22);
  --color-accent-text: #10b981;
}

.card[data-accent="broker"] {
  --color-accent: #3b82f6;
  --color-accent-dim: rgba(59, 130, 246, 0.12);
  --color-accent-border: rgba(59, 130, 246, 0.22);
  --color-accent-text: #3b82f6;
}

.card[data-accent="advertiser"] {
  --color-accent: #f59e0b;
  --color-accent-dim: rgba(245, 158, 11, 0.12);
  --color-accent-border: rgba(245, 158, 11, 0.22);
  --color-accent-text: #f59e0b;
}

/* --- Scroll Reveal Animations ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity var(--dur) var(--ease-spring),
    transform var(--dur) var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-item {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity var(--dur) var(--ease-spring),
    transform var(--dur) var(--ease-spring);
  transition-delay: calc(var(--index, 0) * 100ms);
}

.stagger-parent.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* Zig-zag offset preserved after reveal */
@media (min-width: 768px) {}

/* --- Hover Lift -------------------------------------------- */
.hover-lift {
  transition: transform var(--dur-fast) var(--ease-spring),
    border-color var(--dur-fast) var(--ease-spring);
}

.hover-lift:hover {
  transform: translateY(-3px);
}

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

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: 0.75rem;
}

.mb-md {
  margin-bottom: 1.5rem;
}

.mb-lg {
  margin-bottom: 2.5rem;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: #09090b;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Hero visual abstract shapes */
.abstract-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.abstract-glow-1 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 20%;
  right: 10%;
}

.abstract-glow-2 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  bottom: 30%;
  right: 30%;
  opacity: 0.08;
}

/* --- Profit Calculator ------------------------------------- */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .calc-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
  }
}

/* Inputs panel */
.calc-inputs .card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-slider-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  min-width: 5ch;
  text-align: right;
  letter-spacing: -0.02em;
}

/* Range slider styling */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: var(--color-bg-tertiary);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent-border);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-spring);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px var(--color-accent-dim);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent-border);
  cursor: pointer;
}

/* Select dropdown */
.calc-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-spring);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.calc-select:focus {
  border-color: var(--color-accent-border);
}

.calc-select option {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Toggle */
.calc-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.calc-toggle-btn {
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all var(--dur-fast) var(--ease-spring);
}

.calc-toggle-btn.is-active {
  background: var(--color-accent-dim);
  border-color: var(--color-accent-border);
  color: var(--color-accent-text);
}

.calc-toggle-btn:hover:not(.is-active) {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

/* Results panel */
.calc-results .card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.calc-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-result-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
}

.calc-result-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: color var(--dur-fast) var(--ease-spring);
}

.calc-result-value.is-profit {
  color: var(--color-accent-text);
}

.calc-result-value.is-loss {
  color: #ef4444;
}

/* Highlight card for monthly profit */
.calc-highlight {
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent-border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.calc-highlight-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
  margin-bottom: 0.25rem;
}

.calc-highlight-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  letter-spacing: -0.03em;
}

/* ROI comparison bar */
.calc-compare {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-compare-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

.calc-compare-track {
  height: 6px;
  border-radius: 9999px;
  background: var(--color-bg-tertiary);
  position: relative;
  overflow: hidden;
}

.calc-compare-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--color-accent);
  transition: width var(--dur) var(--ease-spring);
  max-width: 100%;
}

.calc-compare-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--color-text-tertiary);
}

/* CTA inside calculator */
.calc-cta {
  text-align: center;
  padding-top: 0.5rem;
}

.calc-cta p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- Money Counter Machine --------------------------------- */

/* Hero section */
.hero-section {
  position: relative;
  padding: 7rem 0 8rem;
  overflow: visible;
  min-height: 56vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.hero-content .text-display {
  margin-bottom: 3.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #c4c4cc 60%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(16, 185, 129, 0.06));
  position: relative;
}

.hero-sub {
  margin-bottom: 2rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-name {
  background: linear-gradient(180deg, #3fff6f 0%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(63, 255, 111, 0.25));
}

.hero-line-nowrap {
  white-space: nowrap;
}

/* Kinetic typography — clip reveal */
.hero-h1 {
  display: flex;
  flex-direction: column;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-line-inner {
  display: block;
  transform: translateY(110%);
  animation: lineReveal 0.7s var(--ease-spring) both;
}

.hero-line:nth-child(1) .hero-line-inner {
  animation-delay: 0.2s;
}

.hero-line:nth-child(2) .hero-line-inner {
  animation-delay: 0.5s;
}

.hero-line:nth-child(3) .hero-line-inner {
  animation-delay: 0.8s;
}

@keyframes lineReveal {
  from {
    transform: translateY(110%);
  }

  to {
    transform: translateY(0);
  }
}

/* Fade-in for sub elements */
.hero-fade {
  opacity: 0;
  animation: heroFadeIn 0.6s ease both;
}

.hero-sub.hero-fade {
  animation-delay: 1.1s;
}

.hero-fade-btn {
  animation-delay: 1.3s;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero V2 — John left, text right */
.hero-v2 {
  padding-bottom: 0;
}

.hero-v2-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-v2-layout {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.hero-john {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(16, 185, 129, 0.08));
}

.hero-john img {
  display: block;
  width: 320px;
  height: auto;
}

@media (min-width: 768px) {

  .hero-john img,
  .john-canvas {
    width: 410px;
    margin-left: 90px;
  }
}

@media (min-width: 1024px) {

  .hero-john img,
  .john-canvas {
    width: 410px;
    margin-left: 90px;
  }
}

.hero-v2 .hero-content {
  flex: 1;
  text-align: center;
  align-items: center;
  margin-top: -50px;
}

.hero-v2 .text-display {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.hero-v2 .hero-sub {
  font-size: 0.9375rem;
}

@media (max-width: 767px) {
  .hero-john {
    order: -1;
  }

  .hero-john img {
    width: 260px;
  }

  .hero-v2 .hero-content {
    padding-bottom: 1rem;
  }
}

/* Social proof strip in hero */
.hero-sub-white {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding-top: 3.4rem;
  margin-bottom: 4rem;
  font-size: 0.975rem;
  color: var(--color-text);
}

.hero-proof strong,
.hero-proof .proof-green {
  color: #3fff6f;
  font-weight: 700;
}

.hero-proof-dot {
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  background: var(--color-accent);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Hero canvas background */
.hero-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(2, 14, 5, 0.96) 0%,
      rgba(3, 18, 8, 0.85) 12%,
      rgba(4, 22, 10, 0.72) 35%,
      rgba(4, 22, 10, 0.72) 65%,
      rgba(3, 18, 8, 0.85) 88%,
      rgba(2, 12, 5, 0.97) 100%);
  pointer-events: none;
}

/* --- Loss Stats Bar ---------------------------------------- */
.loss-bar {
  position: relative;
  overflow: hidden;
  margin-top: -280px;
  padding: 80px 0 28px 0;
  background: rgba(12, 4, 4, 0.6);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-top: 1px solid rgba(239, 68, 68, 0.08);
  border-bottom: 1px solid rgba(239, 68, 68, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(239, 68, 68, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 0 40px rgba(239, 68, 68, 0.03);
}

/* CRT overlay */
.loss-bar-crt {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.06) 2px, rgba(0, 0, 0, 0.06) 4px),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(239, 68, 68, 0.02), transparent 60%);
}

.loss-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

@media (max-width: 767px) {
  .loss-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .loss-stat {
    border-right: none !important;
  }
}

.loss-stat {
  text-align: center;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  border-right: 1px solid rgba(239, 68, 68, 0.08);
}

.loss-stat:last-child {
  border-right: none;
}

.loss-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: #ff3333;
  text-shadow: 0 0 10px rgba(255, 50, 50, 0.4), 0 0 30px rgba(255, 50, 50, 0.1);
  margin-bottom: 0.5rem;
}

.loss-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 60, 60, 0.55);
  text-shadow: 0 0 6px rgba(255, 50, 50, 0.1);
  letter-spacing: 0.04em;
  max-width: 24ch;
  margin: 0 auto;
}

/* --- Ticker Bar (Bloomberg-style) -------------------------- */
.ticker-bar {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -140px;
  padding: 30px 0 20px 0;
  background: rgba(6, 6, 8, 0.6);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* CRT glass overlay */
.ticker-bar .ticker-track {
  position: relative;
  z-index: 1;
}

.ticker-bar .ticker-crt {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.06) 2px, rgba(0, 0, 0, 0.06) 4px),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, 0.02), transparent 60%);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker-slide {
  display: flex;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.ticker-val {
  color: #3fff6f;
  text-shadow: 0 0 6px rgba(63, 255, 111, 0.2);
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.ticker-dot-green {
  background: #3fff6f;
  box-shadow: 0 0 4px rgba(63, 255, 111, 0.5);
}

.ticker-dot-red {
  background: #ff3333;
  box-shadow: 0 0 4px rgba(255, 50, 50, 0.5);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Fade edges */
.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 1;
  pointer-events: none;
}

.ticker-bar::before {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.9), transparent);
}

.ticker-bar::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(9, 9, 11, 0.9), transparent);
}

/* Stats bar (between sections — overlaps hero) */
.section-divider-bar {
  position: relative;
  z-index: 3;
  margin-top: -6rem;
  padding: 2rem 0 1.5rem;
}

/* Dark backdrop bar behind stats */
.section-divider-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  transform: translateY(-50%);
  height: 48%;
  z-index: -1;
  background:
    radial-gradient(rgba(255, 255, 255, 0.04) 1.2px, transparent 1.2px),
    rgba(4, 4, 6, 0.75);
  background-size: 28px 28px, 100% 100%;
  backdrop-filter: blur(40px) saturate(1.3);
  -webkit-backdrop-filter: blur(40px) saturate(1.3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 -20px 40px rgba(0, 0, 0, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism wrapper */
.section-divider-bar .divider-stats {
  position: relative;
  padding: 28px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.22),
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 40px 80px rgba(0, 0, 0, 0.22),
    0 0 60px rgba(16, 185, 129, 0.06);
}

/* Top edge highlight */
.section-divider-bar .divider-stats::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 5%;
  right: 5%;
  height: 1px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 30%, rgba(16, 185, 129, 0.2) 50%, rgba(255, 255, 255, 0.25) 70%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Inner accent glow + bottom edge */
.section-divider-bar .divider-stats::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 50% 100% at 50% 0%, rgba(16, 185, 129, 0.08), transparent 50%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(16, 185, 129, 0.04), transparent 50%);
  pointer-events: none;
}

/* Reflection beneath stats bar */
.section-divider-bar .container::after {
  content: '';
  display: block;
  width: 90%;
  height: 100px;
  margin: 6px auto 0;
  background: radial-gradient(ellipse 100% 100% at 50% 0%,
      rgba(16, 185, 129, 0.28) 0%,
      rgba(16, 185, 129, 0.14) 30%,
      rgba(16, 185, 129, 0.05) 55%,
      transparent 75%);
  filter: blur(20px);
  pointer-events: none;
}

/* Stats row inside divider */
.divider-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  position: relative;
}

@media (min-width: 600px) {
  .divider-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Vertical separator between stats (desktop) */
@media (min-width: 600px) {
  .divider-stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px 0 0 10px;
  }

  .divider-stat:not(:first-child) {
    border-radius: 0 10px 10px 0;
  }

  .divider-stat:not(:first-child):not(:last-child) {
    border-radius: 0;
  }
}

.divider-stat {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border-radius: 10px;
  padding: 24px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.25s var(--ease-spring);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Inner highlight shimmer */
.divider-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
  z-index: 1;
}

.divider-stat:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(16, 185, 129, 0.08),
    0 0 0 1px rgba(16, 185, 129, 0.08);
}

.divider-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 8px;
}

.divider-stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
  letter-spacing: 0.01em;
}

.machine-glow {
  position: absolute;
  top: 15%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: var(--color-accent);
  border-radius: 9999px;
  filter: blur(200px);
  opacity: 0.05;
  pointer-events: none;
}

/* Layout: machine left, copy right */
.machine-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .machine-layout {
    grid-template-columns: auto 1fr;
    gap: 4rem;
  }
}

/* Stage (perspective container) */
.machine-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

/* Machine wrapper (subtle 3D tilt) */
.machine {
  transform: rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: machineEnter 1s var(--ease-spring) 0.2s both;
}

@keyframes machineEnter {
  from {
    opacity: 0;
    transform: rotateY(-5deg) rotateX(2deg) translateY(2.5rem);
  }

  to {
    opacity: 1;
    transform: rotateY(-5deg) rotateX(2deg) translateY(0);
  }
}

@media (max-width: 767px) {
  .machine {
    transform: none;
    animation-name: machineEnterMob;
  }
}

@keyframes machineEnterMob {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Machine body — main panel */
.machine-body {
  position: relative;
  z-index: 0;
  width: 300px;
  background:
    /* Corner screws */
    radial-gradient(circle 2.5px at 24px 24px, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%),
    radial-gradient(circle 2.5px at calc(100% - 24px) 24px, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%),
    radial-gradient(circle 2.5px at 24px calc(100% - 24px), rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%),
    radial-gradient(circle 2.5px at calc(100% - 24px) calc(100% - 24px), rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%),
    /* Base material */
    linear-gradient(180deg, #2c2c36 0%, #22222c 40%, #26262f 100%);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Multi-layer atmospheric shadow */
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.18),
    0 48px 96px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

/* Surface grain texture */
.machine-body::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  .machine-body {
    width: 260px;
  }
}

/* Hopper (top — bills waiting to be counted) */
.machine-hopper {
  position: relative;
  height: 48px;
  background: linear-gradient(180deg, #141420 0%, #16161e 40%, #181822 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 1px 0 rgba(255, 255, 255, 0.025);
}

.hopper-slot {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #0e0e14;
  border-radius: 0 0 2px 2px;
}

#hopper-stack {
  position: absolute;
  bottom: 5px;
  left: 12%;
  right: 12%;
  height: 100%;
  background: linear-gradient(90deg, #2a5532, #357a3f, #2a5532);
  border-radius: 2px;
  transition: height 0.12s ease;
  transform-origin: bottom center;
}

/* Transit zone (bills fly through here) */
.machine-transit {
  position: relative;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d0d14 0%, #111118 50%, #0d0d14 100%);
  border-radius: 4px;
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.5),
    inset 0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 -4px 12px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Flying bill */
.bill-flying {
  position: absolute;
  left: 4%;
  width: 92%;
  height: 44px;
  background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfneig13l_wv18dRkArDt1BhC_3oZ-373A0w&s') center / cover no-repeat;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 3px rgba(0, 0, 0, 0.4);
  will-change: transform, filter;
  filter: blur(0.3px);
  transform-origin: center center;
}

/* Sensor bar (LED strip) */
.machine-sensor {
  height: 3px;
  background: #0c0c12;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
}

.machine-sensor::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.12;
  transition: opacity 0.05s;
}

.machine-sensor.is-flash::after {
  opacity: 1;
}

.machine-sensor.is-flash {
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.15);
}

/* LCD Display */
.machine-lcd {
  position: relative;
  background: #060c06;
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

/* Glass reflection overlay */
.machine-lcd::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 50% at 25% 15%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.025) 0%, transparent 35%);
  pointer-events: none;
  z-index: 3;
}

/* Scanline overlay */
.machine-lcd::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.12) 2px, rgba(0, 0, 0, 0.12) 4px);
  pointer-events: none;
  border-radius: 8px;
}

.lcd-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lcd-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.lcd-label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 60, 60, 0.22);
}

.lcd-row:last-child .lcd-label {
  color: rgba(50, 255, 100, 0.22);
}

.lcd-digits {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.lcd-digits-green {
  font-size: 1.25rem;
}

.lcd-ghost {
  color: rgba(255, 50, 50, 0.05);
}

.lcd-digits-green .lcd-ghost {
  color: rgba(50, 255, 100, 0.05);
}

#lcd-count {
  position: absolute;
  right: 0;
  top: 0;
  color: #ff3333;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.5), 0 0 24px rgba(255, 50, 50, 0.12);
}

#lcd-value {
  position: absolute;
  right: 0;
  top: 0;
  color: #33ff66;
  text-shadow: 0 0 8px rgba(50, 255, 100, 0.5), 0 0 24px rgba(50, 255, 100, 0.12);
}

.lcd-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.03);
}

/* LCD blink after count complete */
.lcd-done {
  animation: lcdDone 0.25s ease 3;
}

@keyframes lcdDone {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* Control buttons */
.machine-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.machine-ctrl {
  padding: 7px 2px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #2e2e38 0%, #26262e 40%, #202028 100%);
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: default;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 1px 1px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.machine-ctrl-go {
  background: linear-gradient(180deg, #1a3822, #142a18);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--color-accent);
  cursor: pointer;
  transition: all 0.15s ease;
}

.machine-ctrl-go:hover {
  background: linear-gradient(180deg, #1f4228, #1a3420);
  border-color: rgba(16, 185, 129, 0.35);
}

.machine-ctrl-go:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* LED dome indicator */
#go-light {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), transparent 55%), rgba(16, 185, 129, 0.2);
  margin-right: 2px;
  vertical-align: middle;
  transition: all 0.2s ease;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.3);
}

#go-light.is-on {
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.5), rgba(16, 185, 129, 0.8) 55%, #10b981), #10b981;
  box-shadow:
    inset 0 -1px 1px rgba(0, 0, 0, 0.15),
    0 0 4px rgba(16, 185, 129, 0.9),
    0 0 12px rgba(16, 185, 129, 0.5),
    0 0 24px rgba(16, 185, 129, 0.2),
    0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Outlet slot */
.machine-outlet {
  height: 4px;
  background: #0e0e14;
  border-radius: 9999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Stacker (bottom — counted bills accumulate here) */
.machine-stacker {
  position: relative;
  height: 56px;
  background: linear-gradient(180deg, #141420 0%, #16161e 40%, #181822 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 1px 0 rgba(255, 255, 255, 0.025);
}

#stacker-tray {
  position: absolute;
  bottom: 4px;
  left: 12%;
  right: 12%;
  display: flex;
  flex-direction: column-reverse;
}

.stacker-bill {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, #2a5532, #357a3f, #2a5532);
  margin-top: 0.5px;
  border-radius: 0.5px;
  flex-shrink: 0;
}

/* Machine base/feet + reflection */
.machine-base {
  width: 55%;
  height: 8px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1c1c24, #14141c);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Surface reflection under machine */
.machine::after {
  content: '';
  display: block;
  width: 80%;
  height: 40px;
  margin: 4px auto 0;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(255, 255, 255, 0.015), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

/* Copy alongside machine */
.machine-copy {
  max-width: 520px;
  animation: copyEnter 0.8s var(--ease-spring) 0.5s both;
}

@keyframes copyEnter {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.machine-copy .text-display {
  margin-bottom: 1.25rem;
}

.machine-copy .text-body-lg {
  margin-bottom: 2rem;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .machine-copy {
    text-align: center;
  }

  .machine-copy .btn {
    margin: 0 auto;
  }
}

/* --- Machine-styled Calculator ----------------------------- */

/* Outer machine body */
.calc-machine {
  margin-top: 2.5rem;
  position: relative;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

/* ===== 3D Floating Timeline ================================ */
.calc-timeline-float {
  position: relative;
  z-index: 10;
  margin-top: -20px;
  margin-left: 3%;
  margin-right: 3%;
  transform: translateZ(40px);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}
.calc-timeline-float:hover {
  transform: translateZ(52px) translateY(-2px);
}
.calc-timeline-inner {
  background: linear-gradient(180deg, rgba(22,24,30,0.88) 0%, rgba(16,18,24,0.82) 100%);
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px 24px 20px;
  box-shadow:
    0 1px 1px rgba(0,0,0,0.25),
    0 2px 4px rgba(0,0,0,0.22),
    0 4px 8px rgba(0,0,0,0.18),
    0 8px 16px rgba(0,0,0,0.14),
    0 16px 32px rgba(0,0,0,0.1),
    0 32px 64px rgba(0,0,0,0.06),
    0 20px 40px -10px rgba(16,185,129,0.08),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0.5px 0 0 rgba(255,255,255,0.05),
    inset -0.5px 0 0 rgba(255,255,255,0.03);
}
.calc-timeline-float:hover .calc-timeline-inner {
  box-shadow:
    0 1px 1px rgba(0,0,0,0.25),
    0 2px 4px rgba(0,0,0,0.22),
    0 4px 8px rgba(0,0,0,0.18),
    0 8px 16px rgba(0,0,0,0.14),
    0 20px 40px rgba(0,0,0,0.12),
    0 40px 80px rgba(0,0,0,0.08),
    0 24px 48px -10px rgba(16,185,129,0.12),
    inset 0 1px 0 rgba(255,255,255,0.14);
}
/* Top edge highlight */
.calc-timeline-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), rgba(16,185,129,0.12), rgba(255,255,255,0.18), transparent);
  pointer-events: none;
  border-radius: 9999px;
}

/* Header */
.calc-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calc-timeline-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}
.calc-timeline-month-display {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(16,185,129,0.3);
}
.calc-timeline-phase {
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  text-shadow: none;
}
.calc-timeline-phase.is-with-john {
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(16,185,129,0.25);
}

/* Slider track */
.calc-timeline-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--color-accent) 0%, var(--color-accent) var(--timeline-fill, 0%), rgba(255,255,255,0.08) var(--timeline-fill, 0%), rgba(255,255,255,0.08) 100%);
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin: 0;
}
.calc-timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #34d399, var(--color-accent));
  border: 3px solid rgba(9,9,11,0.9);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.3), 0 0 16px rgba(16,185,129,0.4), 0 2px 8px rgba(0,0,0,0.5);
  cursor: grab;
  transition: transform 0.2s var(--ease-spring);
}
.calc-timeline-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.calc-timeline-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #34d399, var(--color-accent));
  border: 3px solid rgba(9,9,11,0.9);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.3), 0 0 16px rgba(16,185,129,0.4);
  cursor: grab;
}

/* Month markers */
.calc-timeline-markers {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-top: 10px;
  pointer-events: none;
}
.calc-timeline-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s var(--ease-spring);
}
.calc-timeline-marker.is-active {
  color: var(--color-accent);
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.3);
  box-shadow: 0 0 12px rgba(16,185,129,0.15);
}
.calc-timeline-marker.is-passed {
  color: rgba(16,185,129,0.6);
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.15);
}

/* Month labels */
.calc-timeline-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-top: 6px;
}
.calc-timeline-labels span {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  color: rgba(255,255,255,0.2);
  text-align: center;
  line-height: 1.3;
  width: 28px;
}

/* You vs John chart */
.calc-chart-header {
  display: flex;
  justify-content: space-around;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.calc-chart-bars {
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.calc-chart-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
}
.calc-chart-bar-wrap {
  flex: 1;
  max-width: 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.calc-chart-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 0.4s var(--ease-spring);
  min-height: 4px;
}
.calc-chart-bar-you {
  background: linear-gradient(180deg, rgba(255,50,50,0.6), rgba(255,50,50,0.3));
  border: 1px solid rgba(255,50,50,0.2);
  border-bottom: none;
  box-shadow: 0 0 8px rgba(255,50,50,0.1);
}
.calc-chart-bar-john {
  background: linear-gradient(180deg, rgba(63,255,111,0.6), rgba(63,255,111,0.3));
  border: 1px solid rgba(63,255,111,0.2);
  border-bottom: none;
  box-shadow: 0 0 8px rgba(63,255,111,0.1);
}
.calc-chart-values {
  display: flex;
  justify-content: space-around;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Multiplier badge */
.calc-multiplier-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-spring);
  vertical-align: middle;
}
.calc-multiplier-badge.is-boosted {
  background: rgba(16,185,129,0.18);
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 0 10px rgba(16,185,129,0.15);
  text-shadow: 0 0 8px rgba(16,185,129,0.3);
}

/* Boot animation for timeline */
.calc-boot .calc-timeline-float {
  opacity: 0;
  transform: translateZ(60px) translateY(-10px);
}

/* Mobile */
@media (max-width: 767px) {
  .calc-timeline-float {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -16px;
    transform: translateZ(24px);
  }
  .calc-timeline-inner { padding: 12px 16px 16px; }
  .calc-timeline-header { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 10px; }
}

/* Boot sequence — initial hidden state */
.calc-boot .calc-machine-body {
  opacity: 0;
  transform: scale(0.97);
  filter: blur(4px);
}

.calc-boot .calc-m-panel {
  opacity: 0;
}

.calc-boot .calc-m-field,
.calc-boot .calc-m-lcd,
.calc-boot .calc-m-stats,
.calc-boot .calc-m-bar {
  opacity: 0;
}

.calc-boot .calc-machine-base {
  opacity: 0;
}

.calc-boot .calc-m-bar-fill {
  width: 0% !important;
}

/* LAYER 1: Translucent glass body */
.calc-machine-body {
  position: relative;
  z-index: 0;
  transform: translateZ(0);
  background:
    radial-gradient(circle 2.5px at 26px 26px, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%),
    radial-gradient(circle 2.5px at calc(100% - 26px) 26px, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%),
    radial-gradient(circle 2.5px at 26px calc(100% - 26px), rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%),
    radial-gradient(circle 2.5px at calc(100% - 26px) calc(100% - 26px), rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%),
    linear-gradient(180deg, rgba(30, 30, 42, 0.6) 0%, rgba(20, 20, 30, 0.55) 40%, rgba(24, 24, 34, 0.58) 100%);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0.5px 0 0 rgba(255, 255, 255, 0.04),
    inset -0.5px 0 0 rgba(255, 255, 255, 0.02),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 1px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 48px 96px rgba(0, 0, 0, 0.08),
    0 30px 60px -15px rgba(16, 185, 129, 0.06),
    0 60px 100px -20px rgba(16, 185, 129, 0.03);
}

/* LAYER 3: Grain texture (subtle on glass) */
.calc-machine-body::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  opacity: 0.03;
  mix-blend-mode: soft-light;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* LAYER 2: Gradient border + specular sweep */
.calc-machine-body::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 30%, transparent 55%);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.15),
    inset 0.5px 0 0 rgba(255, 255, 255, 0.06),
    inset -0.5px 0 0 rgba(255, 255, 255, 0.02),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.01);
}

/* Machine base with reflection line */
.calc-machine-base {
  width: 35%;
  height: 8px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 10, 16, 0.9));
  border-radius: 0 0 8px 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03),
    0 6px 16px rgba(0, 0, 0, 0.3),
    0 20px 40px -10px rgba(16, 185, 129, 0.04);
}

/* LAYER 5: Reflection pool beneath calculator */
.calc-machine::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: calc(100% - 4px);
  height: 40%;
  background: radial-gradient(ellipse 100% 80% at 50% 0%,
      rgba(16, 185, 129, 0.06) 0%,
      rgba(16, 185, 129, 0.025) 30%,
      transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

/* 2-column grid inside machine */
.calc-machine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .calc-machine-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
  }
}

/* Recessed panels */
/* LAYER 4: Recessed glass panels */
.calc-m-panel {
  background: linear-gradient(180deg, rgba(10, 10, 18, 0.7) 0%, rgba(12, 12, 18, 0.65) 40%, rgba(14, 14, 20, 0.68) 100%);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Calculator section with video background */
.calc-section {
  position: relative;
  overflow: hidden;
}

/* Section depth — ambient color field for glass to frost */
.calc-section {
  background:
    radial-gradient(ellipse 50% 40% at 40% 35%, rgba(16, 185, 129, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 50% at 65% 65%, rgba(16, 185, 129, 0.04), transparent 60%),
    linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(6, 8, 6, 0.4) 30%, rgba(6, 8, 6, 0.4) 70%, rgba(9, 9, 11, 0) 100%);
}

/* Dot grid pattern */
.calc-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(rgba(16, 185, 129, 0.3) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 65%);
  pointer-events: none;
}

.calc-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  filter: brightness(0.35) contrast(1.3) saturate(0.25);
}

.calc-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(5, 5, 7, 0.96) 0%,
      rgba(5, 5, 7, 0.93) 8%,
      rgba(9, 9, 11, 0.78) 30%,
      rgba(9, 9, 11, 0.74) 50%,
      rgba(9, 9, 11, 0.78) 70%,
      rgba(5, 5, 7, 0.93) 92%,
      rgba(5, 5, 7, 0.96) 100%);
  pointer-events: none;
}

/* Section heading above calculator — equal spacing from stats bar and machine */
.calc-section-heading {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 7.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  position: relative;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Subtle reflection below heading */
.calc-section-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scaleY(-0.3);
  transform-origin: top center;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.3;
}

.calc-section.section {
  padding-top: 1.7rem;
}

/* CTA below calculator (outside the machine body) */
.calc-below-cta {
  text-align: center;
  margin-top: 5.5rem;
}

.calc-below-cta-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.calc-below-cta .calc-below-cta-proof {
  margin-bottom: 2.5rem;
}

.calc-below-cta .btn {
  margin-bottom: 0;
}

.calc-below-cta-proof {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
  letter-spacing: 0.03em;
}

.calc-below-cta-proof strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* --- Floating Annotations ---------------------------------- */

.anno {
  position: absolute;
  z-index: 5;
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(51, 255, 102, 0.12);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 10px rgba(51, 255, 102, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.3);
  animation: ambientGlow 4s ease-in-out infinite;
}

/* Scanlines */
.anno::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.08) 2px, rgba(0, 0, 0, 0.08) 4px);
  pointer-events: none;
  border-radius: inherit;
}

@keyframes ambientGlow {

  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 10px rgba(51, 255, 102, 0.06), 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 16px rgba(51, 255, 102, 0.1), 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* Key (label) */
.anno-key {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3px;
  position: relative;
  z-index: 1;
}

/* Value */
.anno-val {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3fff6f;
  text-shadow: 0 0 6px rgba(63, 255, 111, 0.4);
  position: relative;
  z-index: 1;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

/* Orange for qualification */
.anno-qual .anno-val {
  color: #ff9933;
  text-shadow: 0 0 6px rgba(255, 153, 51, 0.4);
}

.anno-qual {
  border-color: rgba(255, 153, 51, 0.12);
}

/* Pulsing arrow */
.anno-arrow {
  display: inline-block;
  animation: arrowPulse 1.2s ease-in-out infinite;
  margin-left: 2px;
}

@keyframes arrowPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* Red for loss */
.anno-val-red {
  color: #ff3333 !important;
  text-shadow: 0 0 6px rgba(255, 50, 50, 0.4) !important;
}

.anno-val-green {
  color: #3fff6f;
  text-shadow: 0 0 6px rgba(63, 255, 111, 0.4);
}

/* Positions */
.anno-tl {
  top: -52px;
  left: 0;
}

.anno-tr {
  top: -52px;
  right: 0;
}

.anno-bl {
  bottom: 24px;
  left: -8px;
}

.anno-br {
  bottom: 24px;
  right: -8px;
}

/* Staggered entrance */
.anno-tl {
  animation: annoIn 0.6s var(--ease-spring) 0.3s both, ambientGlow 4s ease-in-out 0.9s infinite;
}

.anno-tr {
  animation: annoIn 0.6s var(--ease-spring) 0.45s both, ambientGlow 4s ease-in-out 1.05s infinite;
}

.anno-bl {
  animation: annoIn 0.6s var(--ease-spring) 0.6s both, ambientGlow 4s ease-in-out 1.2s infinite;
}

.anno-br {
  animation: annoIn 0.6s var(--ease-spring) 0.75s both, ambientGlow 4s ease-in-out 1.35s infinite;
}

@keyframes annoIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Flash on value change */
.anno.is-flash {
  animation: annoFlash 0.3s ease-out !important;
}

@keyframes annoFlash {
  0% {
    border-color: rgba(51, 255, 102, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 18px rgba(51, 255, 102, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  100% {
    border-color: rgba(51, 255, 102, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 10px rgba(51, 255, 102, 0.06), 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* Mobile: hide annotations */
@media (max-width: 767px) {
  .anno {
    display: none;
  }
}

/* "After the Course with John" full-width button */
.calc-toggle-john {
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #222228, #1c1c22) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  position: relative;
  overflow: hidden;
}

.calc-toggle-john.is-active {
  background: linear-gradient(180deg, #1e3a28, #163220) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: var(--color-accent) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* Field labels (instrument style) */
.calc-m-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 0.625rem;
}

/* Recessed input well */
.calc-m-recess {
  background: linear-gradient(180deg, #0e0e16 0%, #111118 100%);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Slider track fill */
.calc-m-recess .calc-slider {
  background: linear-gradient(to right, var(--color-accent) 0%, var(--color-accent) var(--fill, 0%), #1a1a22 var(--fill, 0%), #1a1a22 100%);
}

/* LED readout for slider value */
.calc-m-led-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.75rem;
  color: #ff3333;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.5), 0 0 24px rgba(255, 50, 50, 0.12);
  min-width: 5ch;
  text-align: right;
  letter-spacing: 0.1em;
}

/* Vertical icon selector */
.calc-m-verticals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.calc-m-vert {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, #1a1a22 0%, #16161e 100%);
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

.calc-m-vert:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.calc-m-vert:active {
  transform: scale(0.97);
}

.calc-m-vert.is-active {
  background: linear-gradient(180deg, #1a3822 0%, #142a18 100%);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--color-accent);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.2),
    0 0 8px rgba(16, 185, 129, 0.1),
    0 0 1px rgba(16, 185, 129, 0.3);
}

.calc-m-vert-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.calc-m-vert.is-active .calc-m-vert-icon {
  opacity: 1;
  filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.4));
}

/* Select override for machine panels */
.calc-m-panel .calc-select {
  background: #060c06;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    inset 0 0 12px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

.calc-m-panel .calc-select:focus {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(16, 185, 129, 0.1);
}

.calc-m-panel .calc-select option {
  background: #09090b;
  color: var(--color-text);
}

/* Toggle override for machine panels */
.calc-m-panel .calc-toggle-btn {
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #222228, #1c1c22);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calc-m-panel .calc-toggle-btn.is-active {
  background: linear-gradient(180deg, #1a3822, #142a18);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--color-accent);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.15);
}

.calc-m-panel .calc-toggle-btn:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Monthly profit main LCD screen */
.calc-m-lcd {
  position: relative;
  background: #060c06;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.025);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.2s ease;
}

/* Glass reflection */
.calc-m-lcd::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 50% at 25% 15%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.025) 0%, transparent 35%);
  pointer-events: none;
  z-index: 3;
}

.calc-m-lcd::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.12) 2px, rgba(0, 0, 0, 0.12) 4px);
  pointer-events: none;
  border-radius: 8px;
}

.calc-m-lcd-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(50, 255, 100, 0.22);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.calc-m-lcd-main-value {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 4.5rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: #33ff66;
  text-shadow: 0 0 12px rgba(50, 255, 100, 0.5), 0 0 30px rgba(50, 255, 100, 0.15);
}

/* Ghost digits (unlit segments) */
.calc-m-lcd-main-value::before {
  content: '+$88,888';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  color: rgba(50, 255, 100, 0.04);
  text-shadow: none;
  pointer-events: none;
}

/* Sensor line divider */
.calc-m-sensor {
  height: 2px;
  background: #0c0c12;
  border-radius: 9999px;
  position: relative;
}

.calc-m-sensor::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.15;
  border-radius: 9999px;
}

/* Stats LCD grid */
.calc-m-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calc-m-stat {
  position: relative;
  background: #060c06;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 0 12px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

/* Scanlines on stat cells (matching machine LCD) */
.calc-m-stat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent 0px, transparent 2px,
      rgba(0, 0, 0, 0.1) 2px, rgba(0, 0, 0, 0.1) 4px);
  pointer-events: none;
  border-radius: 8px;
}

.calc-m-stats-3 {
  grid-template-columns: repeat(3, 1fr);
}

.calc-m-stat-wide {
  grid-column: span 2;
}

.calc-m-stat-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 60, 60, 0.22);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

/* LCD-matched result values */
.calc-m-stat .calc-result-value {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: #ff3333;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.5), 0 0 24px rgba(255, 50, 50, 0.12);
  letter-spacing: 0.1em;
  line-height: 1;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.calc-m-stat .calc-result-value.is-profit {
  color: #33ff66;
  text-shadow: 0 0 8px rgba(50, 255, 100, 0.5), 0 0 24px rgba(50, 255, 100, 0.12);
}

.calc-m-stat .calc-result-value.is-loss {
  color: #ff3333;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.5), 0 0 24px rgba(255, 50, 50, 0.12);
}

/* Profit stat labels green-tinted */
.calc-m-stat:nth-child(3) .calc-m-stat-label,
.calc-m-stat:nth-child(4) .calc-m-stat-label {
  color: rgba(50, 255, 100, 0.22);
}

/* ROI comparison LED bar */
.calc-m-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-m-bar-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.calc-bar-you {
  color: #ff3333;
  text-shadow: 0 0 6px rgba(255, 50, 50, 0.3);
}

.calc-bar-john {
  color: #33ff66;
  text-shadow: 0 0 6px rgba(50, 255, 100, 0.3);
}

.calc-m-bar-track {
  height: 8px;
  border-radius: 9999px;
  background: #111118;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.calc-m-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-accent), rgba(16, 185, 129, 0.8));
  box-shadow:
    0 0 6px rgba(16, 185, 129, 0.5),
    0 0 16px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: width var(--dur) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on ROI bar */
.calc-m-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: barShimmer 2.5s ease-in-out infinite;
}

@keyframes barShimmer {
  0% {
    transform: translateX(-250%);
  }

  100% {
    transform: translateX(500%);
  }
}

.calc-m-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
}

/* CTA bottom strip */
.calc-m-cta {
  padding: 20px 0 0;
  text-align: center;
}

.calc-m-cta-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0 auto 18px;
  max-width: 48ch;
}

/* --- Calculator Micro-Animations --------------------------- */

/* Stat cell flash on value change */
.calc-m-stat.is-flash {
  animation: statFlash 0.4s ease;
}

@keyframes statFlash {
  0% {
    border-color: rgba(16, 185, 129, 0.18);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(0, 0, 0, 0.2), 0 0 8px rgba(16, 185, 129, 0.06);
  }

  100% {
    border-color: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.02);
  }
}

/* Monthly LCD pulse on value change */
.calc-m-lcd.is-pulse {
  animation: lcdPulse 0.4s ease;
}

@keyframes lcdPulse {
  0% {
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(50, 255, 100, 0.1), 0 1px 0 rgba(255, 255, 255, 0.025);
  }

  100% {
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.025);
  }
}

/* Sensor glow pulse (ambient life) */
.calc-m-sensor::after {
  animation: sensorPulse 3s ease-in-out infinite;
}

@keyframes sensorPulse {

  0%,
  100% {
    opacity: 0.12;
  }

  50% {
    opacity: 0.25;
  }
}