/* ============================================================
   ALPHA POD — Homepage Styles
   ============================================================ */

/* ============================================================
   AMBIENT GLOW ORBS — Atmosphere layer
   ============================================================ */

.bg-glow-primary {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.bg-glow-secondary {
  position: fixed;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--bar-height, 40px) + var(--space-12));
  padding-bottom: var(--space-16);
  position: relative;
  overflow: hidden;
}

/* Grid background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 10%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-12);
  align-items: center;
}

/* --- Hero Copy --- */

.hero__copy {
  max-width: 540px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(34, 197, 94, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

/* Expanding ping ring — like Kairos live indicator */
.hero__pill-ping {
  position: absolute;
  left: 14px; /* offset to align with dot */
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.hero__h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
}

.hero__h1-accent {
  background: linear-gradient(135deg, #c9a84c 0%, #e8c96a 50%, #c9a84c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero__h1-price {
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Campaign: strikethrough old price */
.hero__h1-strike {
  color: rgba(255,255,255,0.25);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.35);
  text-decoration-thickness: 2px;
  font-weight: 400;
  font-size: 0.65em;
  margin-right: 0.15em;
  font-style: normal;
}

.hero__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 460px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero__trust-line {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-bottom: var(--space-8);
}

.hero__proof {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.hero__proof-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__proof-item svg {
  flex-shrink: 0;
  display: inline-block;
}

/* --- Isometric Scene --- */

.hero__scene {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-right: -180px;
  /* Prevent FOUC: hidden until JS animates in */
  opacity: 0;
  transform: scale(0.95) translateX(20px);
}

.scene__ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.06) 0%, rgba(201,168,76,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.scene__surface {
  position: relative;
  width: 860px;
  height: 480px;
  background: linear-gradient(155deg, #1e1e21 0%, #191919 40%, #141415 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top-color: rgba(255, 255, 255, 0.09);
  border-left-color: rgba(255, 255, 255, 0.08);
  transform:
    perspective(1400px)
    rotateX(16deg)
    rotateY(-25deg)
    rotateZ(4deg);
  transform-style: preserve-3d;
  transform-origin: 60% 50%;
  box-shadow:
    40px 60px 100px -20px rgba(0, 0, 0, 0.55),
    20px 30px 40px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 120px -30px rgba(201, 168, 76, 0.06);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.scene__surface:hover {
  transform:
    perspective(1400px)
    rotateX(14deg)
    rotateY(-22deg)
    rotateZ(3deg);
}

.scene__accents {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* --- PnL Card --- */

.scene__card {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 420px;
  background: linear-gradient(145deg, #1a1a1a 0%, #111111 50%, #0a0a0a 100%);
  border-radius: 14px;
  padding: 16px 18px 12px;
  box-shadow:
    0 8px 32px -4px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.scene__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.scene__card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.scene__card-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.scene__card-badge {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 3px;
}

.scene__card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.scene__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scene__stat-label {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.scene__stat-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.scene__stat-value--green { color: var(--green); }
.scene__stat-value--red { color: var(--red); }

/* Chart */
.scene__chart {
  height: 130px;
  margin-bottom: 10px;
  position: relative;
}

.scene__chart-svg {
  width: 100%;
  height: 100%;
}

/* Stats strip */
.scene__card-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.scene__strip-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.scene__strip-label {
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.scene__strip-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.scene__strip-value--green { color: var(--green); }

/* --- Phone Mockup --- */

.scene__phone {
  position: absolute;
  bottom: 20px;
  right: 35px;
  z-index: 3;
}

.scene__phone-frame {
  width: 220px;
  background: #0e0e0e;
  border-radius: 28px;
  border: 3px solid #2a2a2a;
  overflow: hidden;
  box-shadow:
    0 12px 40px -4px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.scene__phone-notch {
  width: 100px;
  height: 24px;
  background: #0e0e0e;
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
}

.scene__phone-content {
  padding: 8px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scene__alert {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px;
  /* Prevent FOUC: hidden until JS stagger animates in */
  opacity: 0;
  transform: translateX(16px);
}

.scene__alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.scene__alert-badge {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  padding: 2px 6px;
  border-radius: 3px;
}

.scene__alert-time {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-faint);
}

.scene__alert-body {
  margin-bottom: 8px;
}

.scene__alert-ticker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.scene__alert-detail {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.scene__alert-msg {
  display: flex;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.scene__alert-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scene__alert-text {
  font-size: 8px;
  line-height: 1.4;
  color: var(--text-tertiary);
}

.scene__alert-name {
  font-weight: 600;
  color: var(--gold);
  display: block;
  font-size: 8px;
  margin-bottom: 2px;
}

.scene__alert--result {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.1);
}

.scene__alert-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.scene__alert-pnl {
  color: var(--green);
}

.scene__alert-result-detail {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-tertiary);
  margin-top: 3px;
}

/* ============================================================
   STATS BAR — integrated into hero, no hard borders
   ============================================================ */

.stats-bar {
  padding: 0;
  margin-top: 5rem;
  border-top: none;
  border-bottom: none;
  background: transparent;
}

.stats-bar::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
  margin-bottom: 2rem;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
}

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

.stats-bar__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stats-bar__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats-bar__label {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.stats-bar__desc {
  font-size: 12px;
  color: var(--text-faint);
}

.stats-bar__disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: 11px;
  color: var(--text-faint);
}

.stats-bar__disclaimer svg {
  flex-shrink: 0;
  display: inline-block;
}

/* ============================================================
   WHO THIS IS FOR
   ============================================================ */

.who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.who__col {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow:
    inset 0 1px 0 var(--edge-subtle),
    0 4px 24px rgba(0,0,0,0.4);
}

.who__col--for {
  border-color: rgba(34, 197, 94, 0.12);
}

.who__col--not {
  border-color: rgba(239, 68, 68, 0.1);
}

.who__col-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.who__col-header svg {
  flex-shrink: 0;
  display: inline-block;
}

.who__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.who__list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}

.who__col--for .who__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 8px;
}

.who__col--not .who__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  left: 0;
  top: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none' stroke='%23ef4444' stroke-width='1.5'%3E%3Cpath d='M1 1l6 6M7 1L1 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ============================================================
   ALPHA PROTOCOL (Methodology Cards)
   ============================================================ */

.protocol__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.protocol__card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.protocol__card:first-child .protocol__card-desc {
  font-size: var(--text-base);
  line-height: 1.7;
}

.protocol__card {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow:
    inset 0 1px 0 var(--edge-subtle),
    0 4px 24px rgba(0,0,0,0.4);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.protocol__card:hover {
  border-color: var(--edge-medium);
  box-shadow:
    inset 0 1px 0 var(--edge-strong),
    inset 1px 0 0 var(--edge-subtle),
    0 8px 40px rgba(0,0,0,0.5);
}

.protocol__num {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  line-height: 1;
}

.protocol__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.protocol__card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.protocol__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.protocol__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.protocol__footer {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: italic;
}

/* ============================================================
   DAILY SCHEDULE
   ============================================================ */

.schedule__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 var(--edge-subtle),
    0 4px 24px rgba(0,0,0,0.4);
}

.schedule__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-6);
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.schedule__item:last-child {
  border-bottom: none;
}

.schedule__item:hover {
  background: rgba(255, 255, 255, 0.015);
}

.schedule__time {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  padding-top: 2px;
}

.schedule__item-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.schedule__content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PERFORMANCE
   ============================================================ */

.perf__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.perf__chart-card {
  padding: var(--space-6);
}

.perf__chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.perf__tabs {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.perf__tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  padding: 4px 12px;
  border-radius: 4px;
  transition: all var(--transition);
}

.perf__tab:hover {
  color: var(--text-secondary);
}

.perf__tab--active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.perf__chart-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.perf__metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.perf__metric-value {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.perf__chart-area {
  height: 200px;
}

.perf__chart-area svg {
  display: block;
}

.perf__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.perf__disclaimer-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: rgba(224, 123, 0, 0.04);
  border-color: rgba(224, 123, 0, 0.1);
}

.perf__disclaimer-card p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.6;
}

.perf__disclaimer-card svg {
  flex-shrink: 0;
  display: inline-block;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.compare__table {
  margin-top: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 var(--edge-subtle),
    0 4px 24px rgba(0,0,0,0.4);
}

.compare__header {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}

.compare__feature-col,
.compare__ap-col,
.compare__other-col {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-tertiary);
}

.compare__ap-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(34, 197, 94, 0.04);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.compare__ap-logo {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.compare__ap-price {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--green);
}

.compare__other-col {
  font-weight: 400;
  color: var(--text-faint);
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.compare__row:last-child {
  border-bottom: none;
}

.compare__row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.compare__feature {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.compare__ap {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: rgba(34, 197, 94, 0.02);
}

.compare__other {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-faint);
}

.compare__check {
  color: var(--green);
  font-weight: 700;
  margin-right: 6px;
}

.compare__x {
  color: var(--red);
  font-weight: 700;
  margin-right: 6px;
  opacity: 0.5;
}

/* ============================================================
   ECOSYSTEM
   ============================================================ */

.eco__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.eco__card {
  display: flex;
  flex-direction: column;
}

.eco__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.15);
  border-radius: 16px;
  margin-bottom: var(--space-6);
}

.eco__card-icon svg {
  display: inline-block;
}

.eco__card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.eco__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: var(--space-3);
  width: fit-content;
}

.eco__card-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews__aggregate {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-3);
  margin-bottom: var(--space-8);
}

.reviews__aggregate span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-left: 6px;
}

.reviews__aggregate svg {
  display: inline-block;
}

.reviews__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.reviews__highlight {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--edge-subtle);
}

.reviews__highlight-stat {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.reviews__highlight-name {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-2);
}

.reviews__highlight-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 3px;
}

.reviews__carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.reviews__card {
  padding: var(--space-6);
}

.reviews__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.reviews__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews__card-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.reviews__card-duration {
  display: block;
  font-size: 11px;
  color: var(--text-faint);
}

.reviews__card-quote {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  max-width: 100%;
}

/* ============================================================
   FOUNDER
   ============================================================ */

.founder__grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
  align-items: start;
}

.founder__avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.founder__avatar-initials {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.founder__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.founder__role {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.founder__creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-6);
}

.founder__cred {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 3px 10px;
  border-radius: 4px;
}

.founder__cred-sep {
  color: var(--text-faint);
  display: none;
}

.founder__quote {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  border-left: 2px solid var(--gold);
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
  max-width: 65ch;
  font-style: italic;
}

.founder__links {
  display: flex;
  gap: var(--space-3);
}

.founder__links svg {
  display: inline-block;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__card {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}

.pricing__card--featured {
  border-color: rgba(201,168,76,0.30);
  box-shadow:
    0 0 80px -8px rgba(201,168,76,0.25),
    0 0 40px -8px rgba(201,168,76,0.12),
    inset 0 1px 0 rgba(201,168,76,0.10);
  position: relative;
}

.pricing__card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}

.pricing__card-label--gold {
  color: var(--gold);
}

.pricing__card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.pricing__amount {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing__period {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.pricing__card-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.pricing__features li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.5;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
  font-size: 12px;
}

.pricing__card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing__trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.pricing__badges {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.pricing__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.pricing__badge svg {
  flex-shrink: 0;
  display: inline-block;
}

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

.faq__list {
  margin-top: var(--space-8);
  max-width: 800px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-5, 1.25rem) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: var(--space-4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s var(--ease-out);
}

.faq__item[open] .faq__question::after {
  transform: rotate(180deg);
}

.faq__answer {
  padding-bottom: var(--space-6);
}

.faq__answer p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {
  padding: var(--space-32) 0 var(--space-24);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(201, 168, 76, 0.02) 50%, var(--surface-1) 100%);
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.final-cta__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.final-cta__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  margin-left: auto;
  margin-right: auto;
}

.final-cta__note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: var(--space-4);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SECTION VISUAL RHYTHM — Gradient dividers + bg alternation
   ============================================================ */

/* Subtle background shift on alternating sections for scroll rhythm */
#schedule {
  background: var(--surface-blue-1);
}

#ecosystem {
  background:
    radial-gradient(ellipse 900px 300px at 50% 0%, rgba(16,185,129,0.05) 0%, transparent 70%),
    var(--bg);
}

#framework {
  background: var(--surface-blue-1);
}

/* Gradient divider between key sections */
#performance::before,
#reviews::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
  margin: 0 auto clamp(var(--space-16), 8vw, var(--space-32));
}

/* Protocol card number — refined opacity on hover */
.protocol__card:hover .protocol__num {
  color: rgba(201, 168, 76, 0.06);
  transition: color var(--transition);
}

/* Schedule items — gold left accent on hover */
.schedule__item {
  border-left: 2px solid transparent;
  transition: background var(--transition), border-left-color var(--transition);
}

.schedule__item:hover {
  border-left-color: rgba(201, 168, 76, 0.3);
}

/* Compare row hover — Kairos-style ultra-subtle */
.compare__row:hover {
  background: rgba(232, 228, 218, 0.01);
}

/* Pricing featured card glow enhancement */
.pricing__card--featured:hover {
  box-shadow:
    0 0 100px -8px rgba(201,168,76,0.30),
    0 0 50px -8px rgba(201,168,76,0.18),
    inset 0 1px 0 rgba(201,168,76,0.16);
  border-color: rgba(201,168,76,0.40);
}

/* Eco card icon glow on hover */
.eco__card:hover .eco__card-icon {
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.12);
  transition: box-shadow 0.3s ease;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }

  .hero__scene {
    margin-right: 0;
    justify-content: center;
  }

  .scene__surface {
    width: 100%;
    max-width: 580px;
    height: 400px;
    transform:
      perspective(1800px)
      rotateX(10deg)
      rotateY(-15deg)
      rotateZ(2deg);
  }

  .scene__surface:hover {
    transform:
      perspective(1800px)
      rotateX(8deg)
      rotateY(-12deg)
      rotateZ(2deg);
  }

  .scene__card {
    width: 320px;
    padding: 12px 14px 10px;
  }

  .scene__stat-value { font-size: 13px; }
  .scene__chart { height: 90px; }
  .scene__strip-value { font-size: 10px; }

  .scene__phone-frame { width: 170px; }
  .scene__phone { right: 20px; bottom: 15px; }

  .protocol__grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .protocol__card:first-child { grid-column: span 2; grid-row: span 1; }
  .eco__grid { grid-template-columns: 1fr 1fr; }
  .reviews__highlights { grid-template-columns: 1fr; }
  .reviews__carousel { grid-template-columns: 1fr; }
  .perf__grid { grid-template-columns: 1fr; }
  .perf__sidebar { flex-direction: row; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--bar-height, 40px) + var(--space-6));
    padding-bottom: var(--space-12);
  }

  .hero__h1 {
    font-size: clamp(2rem, 1rem + 4vw, 3rem);
  }

  .hero__sub {
    max-width: 100%;
  }

  .hero__copy {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    text-align: center;
  }

  .hero__scene {
    display: none;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .who__grid { grid-template-columns: 1fr; }

  .schedule__item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .compare__header,
  .compare__row {
    grid-template-columns: 1fr;
  }

  .compare__ap-col,
  .compare__other-col {
    border-left: none;
    border-right: none;
  }

  .compare__ap,
  .compare__other {
    border-left: none;
    border-right: none;
  }

  .compare__feature {
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: var(--space-1);
  }

  .eco__grid { grid-template-columns: 1fr; }

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

  .founder__avatar {
    width: 80px;
    height: 80px;
  }

  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__card--charting { order: -1; }

  .pricing__badges {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .pricing__trust {
    flex-wrap: wrap;
  }

  .perf__sidebar {
    flex-direction: column;
  }

  .sticky-cta__text {
    font-size: 11px;
  }

  .final-cta {
    padding: var(--space-16) 0;
  }
}

@media (max-width: 480px) {
  .stats-bar__value {
    font-size: 1.25rem;
  }
}


/* ============================================================
   BEST VALUE BADGE — Floating pill on featured pricing card
   ============================================================ */
.pricing__best-value {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.30);
  padding: 4px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  z-index: 2;
}


/* ============================================================
   CHARTING SUITE PRICING CARD
   ============================================================ */
.pricing__card--charting {
  position: relative;
  border-color: rgba(34,197,94,0.20);
  box-shadow:
    0 0 60px -12px rgba(34,197,94,0.15),
    0 0 30px -8px rgba(34,197,94,0.08),
    inset 0 1px 0 rgba(34,197,94,0.12);
}

.pricing__card--charting:hover {
  border-color: rgba(34,197,94,0.30);
  box-shadow:
    0 0 80px -8px rgba(34,197,94,0.20),
    0 0 40px -8px rgba(34,197,94,0.12),
    inset 0 1px 0 rgba(34,197,94,0.16);
}

.pricing__card-label--green {
  color: #22c55e;
}

.pricing__new-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.35);
  padding: 4px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  z-index: 2;
}

.btn--charting {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: 600;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.30);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
  text-decoration: none;
  margin-top: auto;
}

.btn--charting:hover {
  background: rgba(34,197,94,0.20);
  border-color: rgba(34,197,94,0.45);
}

.pricing__includes-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #22c55e;
  text-align: center;
  padding: 8px 0;
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

/* Tablet: 2+1 layout for pricing */
@media (max-width: 1024px) and (min-width: 769px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
  }
  .pricing__card--featured {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* ============================================================
   SECTION GLOW BACKGROUNDS — Breathing rhythm between sections
   ============================================================ */
#features,
#who {
  background:
    radial-gradient(ellipse 800px 250px at 50% 0%, rgba(34,197,94,0.04) 0%, transparent 70%),
    var(--bg);
}

#reviews {
  background:
    radial-gradient(ellipse 700px 200px at 50% 0%, rgba(201,168,76,0.04) 0%, transparent 70%),
    var(--bg);
}

#pricing {
  background:
    radial-gradient(ellipse 900px 300px at 50% 0%, rgba(201,168,76,0.05) 0%, transparent 70%),
    var(--bg);
}

#founder {
  background:
    radial-gradient(ellipse 600px 200px at 30% 0%, rgba(201,168,76,0.03) 0%, transparent 70%),
    var(--bg);
}


/* ============================================================
   REVIEW QUOTE MARK — Large decorative glyph
   ============================================================ */
.reviews__card-quote::before {
  content: '"';
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.6;
  color: rgba(201, 168, 76, 0.12);
  margin-bottom: var(--space-3);
  font-style: normal;
}

/* Per-card star rating */
.reviews__card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}
.reviews__card-stars svg {
  display: inline-block;
}


/* ============================================================
   ANNOUNCEMENT BAR — Urgency/promo strip above nav
   ============================================================ */
.announcement-bar {
  background: #059669;
  padding: 10px 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: white;
  text-align: center;
  position: relative;
  z-index: 101;
  font-family: var(--font-body);
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.announcement-bar__badge {
  background: white;
  color: #059669;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.announcement-bar__text {
  min-width: 0;
  line-height: 1.35;
}

.announcement-bar__text a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}



@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.75rem;
    padding: 8px 0;
    line-height: 1.4;
  }
  .announcement-bar__inner {
    gap: 6px;
  }
  .announcement-bar__text {
    text-align: left;
  }
  .announcement-bar__badge {
    font-size: 9px;
    padding: 1px 6px;
  }
}

/* ============================================================
   MARQUEE TESTIMONIAL TICKER — Dual-row auto-scroll
   ============================================================ */
.marquee-section {
  overflow: hidden;
  padding: var(--space-8) 0;
}
.marquee-row {
  display: flex;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  margin-bottom: 16px;
}
.marquee-inner {
  display: flex;
  gap: 16px;
  animation: marquee 45s linear infinite;
  flex-shrink: 0;
}
.marquee-row:nth-child(2) .marquee-inner {
  animation-direction: reverse;
  animation-duration: 55s;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-chip {
  flex-shrink: 0;
  background: var(--surface-1);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 280px;
  max-width: 340px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.marquee-chip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.marquee-chip__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.marquee-chip__badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(34,197,94,0.10);
  padding: 2px 8px;
  border-radius: 4px;
}
.marquee-chip__quote {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.marquee-chip__stars {
  display: flex;
  gap: 1px;
  margin-bottom: 8px;
}
.marquee-chip__stars svg { display: inline-block; }

@media (max-width: 768px) {
  .marquee-chip { min-width: 240px; max-width: 280px; padding: 14px 16px; }
}


/* ============================================================
   ALERT FEED — Live-looking trade log
   ============================================================ */
.alert-feed {
  background: var(--surface-1);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4);
  max-width: 680px;
  margin: var(--space-8) auto 0;
}
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feed-header__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feed-header__live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}
.feed-header__count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-faint);
}
.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  transition: background var(--transition-fast);
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: rgba(255,255,255,0.02); }
.feed-item__time {
  font-size: 0.6875rem;
  color: var(--text-faint);
  min-width: 48px;
}
.feed-item__ticker {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feed-item__detail {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.feed-item__pnl {
  font-weight: 700;
  min-width: 60px;
  text-align: right;
}
.feed-item__pnl--gain { color: var(--green); }
.feed-item__pnl--loss { color: var(--red); }

.signal-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
}
.signal-badge--call {
  background: rgba(34,197,94,0.15);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.20);
}
.signal-badge--put {
  background: rgba(239,68,68,0.12);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.15);
}

@media (max-width: 768px) {
  .feed-item {
    grid-template-columns: 1fr auto;
    gap: 6px;
    padding: 10px 16px;
  }
  .feed-item__time { display: none; }
  .feed-item__detail { display: none; }
}


/* ============================================================
   MOBILE HERO FALLBACK — Scrolling metric strip
   ============================================================ */
.hero__mobile-proof {
  display: none;
}

@media (max-width: 768px) {
  .hero__mobile-proof {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    gap: 6px;
    margin-top: var(--space-6);
    padding: var(--space-4) 6px;
    background: var(--surface-1);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 var(--edge-subtle);
  }
  .hero__mobile-proof::-webkit-scrollbar { display: none; }

  .hero__mobile-stat {
    min-width: 0;
    padding: var(--space-2);
    text-align: center;
  }
  .hero__mobile-stat-value {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 4.4vw, 1.25rem);
    font-weight: 700;
    color: var(--green);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 4px;
    display: block;
  }
  .hero__mobile-stat-label {
    font-size: 0.625rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    display: block;
  }
}


@media (max-width: 640px) {
  .protocol__grid {
    grid-template-columns: 1fr;
  }
  .protocol__card:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
}


/* ============================================================
   AVATAR STACK — Overlapping circular avatars
   ============================================================ */
.avatar-stack {
  display: inline-flex;
  align-items: center;
}
.avatar-stack__item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.avatar-stack__item:first-child { margin-left: 0; }
.avatar-stack__item--gold { background: var(--gold-dim); color: var(--gold); }
.avatar-stack__item--green { background: var(--green-dim); color: var(--green); }
.avatar-stack__count {
  margin-left: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}


/* ============================================================
   CHART BAR REVEAL — Overshoot easing for data viz
   ============================================================ */
.chart-bar {
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chart-bar.in-view {
  transform: scaleY(1);
}


/* ============================================================
   CHARTING SUITE — Two-indicator showcase section
   ============================================================ */

.cs-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

/* Tighten gap between Charting Suite and the section below */
.cs-section + section {
  padding-top: clamp(3rem, 5vw, 5rem);
}

/* Ambient glow behind entire section */
.cs-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background:
    radial-gradient(ellipse 50% 40% at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 50%, rgba(34,197,94,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Showcase Layout (text + chart side by side) ── */
.cs-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .cs-showcase {
    grid-template-columns: 380px 1fr;
    gap: var(--space-16);
  }
  .cs-showcase--reverse {
    grid-template-columns: 1fr 380px;
  }
  .cs-showcase--reverse .cs-showcase__info {
    order: 2;
  }
  .cs-showcase--reverse .cs-showcase__visual {
    order: 1;
  }
}

/* ── Info Panel ── */
.cs-showcase__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: var(--space-4);
}

.cs-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: rgba(255,255,255,0.95);
  margin-bottom: var(--space-3);
}

.cs-showcase__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

/* ── Feature List ── */
.cs-showcase__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cs-showcase__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.cs-feat__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.cs-feat__dot--green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}
.cs-feat__dot--amber {
  background: #e07b00;
  box-shadow: 0 0 6px rgba(224,123,0,0.5);
}
.cs-feat__dot--red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239,68,68,0.5);
}
.cs-feat__dot--gold {
  background: #c9a84c;
  box-shadow: 0 0 6px rgba(201,168,76,0.5);
}

.cs-feat__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  line-height: 1.2;
}

.cs-feat__desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── Tagline ── */
.cs-showcase__tagline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  font-style: italic;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

/* ── Filter Chips ── */
.cs-showcase__filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.cs-filter {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-tertiary);
  cursor: default;
  transition: all 200ms ease;
}

.cs-filter--active {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.35);
  color: var(--gold);
}

/* ── Chart Card (the visual mockup wrapper) ── */
.cs-chart {
  position: relative;
  background: #0d0d0e;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 4px 16px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow 400ms ease, border-color 400ms ease;
}

.cs-chart:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 4px 16px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 80px -20px rgba(201,168,76,0.12),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* Ambient glow behind chart card */
.cs-showcase__visual {
  position: relative;
}

#cs-gex .cs-showcase__visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(34,197,94,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

#cs-zones .cs-showcase__visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Chart Chrome (header bar) ── */
.cs-chart__chrome {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.cs-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs-chart__ticker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.cs-chart__price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cs-chart__price--green {
  color: #22c55e;
}

.cs-chart__price--red {
  color: #ef4444;
}

.cs-chart__change {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
}

/* ── Chart SVG ── */
.cs-chart__svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Chart Watermark ── */
.cs-chart__watermark {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* ── Dashed line march animation ── */
@keyframes cs-dash-march {
  to { stroke-dashoffset: -24; }
}

.cs-dash-march {
  animation: cs-dash-march 2s linear infinite;
}

/* ── Section Divider ── */
.cs-divider {
  margin: var(--space-20) auto;
}

/* ── Bottom CTA ── */
.cs-bottom-cta {
  text-align: center;
  margin-top: var(--space-10);
}

.cs-bottom-cta__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  margin-left: auto;
  margin-right: auto;
}

/* ── Mobile Responsive ── */
@media (max-width: 1023px) {
  .cs-showcase {
    gap: var(--space-8);
  }
  .cs-showcase__info {
    text-align: left;
  }
  .cs-showcase--reverse .cs-showcase__info {
    order: unset;
  }
  .cs-showcase--reverse .cs-showcase__visual {
    order: unset;
  }
}

@media (max-width: 640px) {
  .cs-showcase__title {
    font-size: 1.375rem;
  }
  .cs-chart__chrome {
    padding: 8px 12px;
  }
  .cs-chart__ticker {
    font-size: 10px;
  }
  .cs-chart__price {
    font-size: 11px;
  }
  .cs-filter {
    font-size: 10px;
    padding: 4px 8px;
  }
}
