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

:root {
  --bg-deep: #050508;
  --bg: #0a0a10;
  --bg-card: #0e0e16;
  --bg-card-hover: #14141e;
  --border: #1a1a28;
  --border-accent: #2a2a3a;
  --text: #f0f0f5;
  --text-dim: #8888a0;
  --accent: #e8a000;
  --accent-light: #ffc040;
  --accent-dark: #b07800;
  --accent-glow: rgba(232, 160, 0, 0.12);
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.10);
  --gold: #ffc107;
  --gold-dim: rgba(255, 193, 7, 0.15);
  --red: #ff3d3d;
  --red-dim: rgba(255, 61, 61, 0.15);
  --green: #66bb6a;
  --purple: #ba68c8;
  --radius: 8px;
  --max-w: 1200px;
  --font-display: 'Teko', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;
}

html { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  /* Tactical grid background */
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.42s; }
.reveal-stagger > .reveal:nth-child(9) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(10) { transition-delay: 0.54s; }
.reveal-stagger > .reveal:nth-child(11) { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-avatar { animation: none !important; }
  .avatar-frame::after { animation: none !important; }
}

/* ── Header ───────────────────────────────────────────────── */
header {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.5rem; }

.logo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav { display: flex; gap: 1.5rem; flex: 1; }

.nav-link {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  padding: 0.3rem 0;
}
.nav-link:hover { color: var(--accent); text-decoration: none; }

.header-cta {
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-light); text-decoration: none; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 1.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  border: 2px solid var(--accent-light);
  box-shadow: 0 4px 0 #664400, 0 6px 14px rgba(232, 160, 0, 0.3);
  transition: all 0.15s;
  position: relative;
  top: 0;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ffe070 0%, var(--accent-light) 50%, var(--accent) 100%);
  text-decoration: none;
  box-shadow: 0 4px 0 #664400, 0 8px 24px rgba(232, 160, 0, 0.4);
  top: -1px;
}
.btn-primary:active { top: 2px; box-shadow: 0 1px 0 #664400; }

.btn-lg { font-size: 1rem; padding: 1rem 2.5rem; }

.btn-ghost {
  display: inline-block;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 6rem 2rem 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Scanline sweep */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(232, 160, 0, 0.04), transparent);
  background-size: 100% 300%;
  animation: heroSweep 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroSweep {
  0%, 100% { background-position: 0 -100%; }
  50% { background-position: 0 200%; }
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text { flex: 1; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 3px;
  background: rgba(0, 229, 255, 0.06);
}

.hero h2 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

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

.hero-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 2rem;
}
.hero-bullets li {
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.hero-bullets li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { flex-shrink: 0; }

.avatar-frame {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating dashed ring */
.avatar-frame::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed rgba(232, 160, 0, 0.2);
  border-radius: 50%;
  animation: radarSpin 30s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }

.hero-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  animation: avatarPulse 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes avatarPulse {
  0%, 100% { box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(232, 160, 0, 0.06); }
  50% { box-shadow: 0 0 50px rgba(232, 160, 0, 0.25), 0 0 100px rgba(232, 160, 0, 0.1); }
}

/* ── Social Proof Bar ────────────────────────────────────── */
.proof-bar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 2.5rem 2rem;
}

.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
  padding: 0 1.5rem;
  border-right: 1px solid var(--border);
}
.proof-stat:last-child { border-right: none; }

.proof-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

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

/* ── Ops Report ──────────────────────────────────────────── */
.ops-section {
  padding: 2rem 2rem 0;
}
.ops-container {
  max-width: 900px;
  margin: 0 auto;
}
.ops-stats-inner {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 2rem 2.5rem;
}
.ops-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 1.25rem;
}
.ops-tabs {
  display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem;
}
.ops-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.ops-tab:hover { border-color: var(--accent); color: var(--text); }
.ops-tab.active { background: var(--accent); border-color: var(--accent); color: #000; }
.ops-period { display: block; text-align: center; font-size: 0.7rem; color: var(--text-dim); margin-bottom: 1rem; }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.ops-stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0.6rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s;
}
.ops-stat:hover { border-color: var(--accent); }
.ops-icon { font-size: 1.3rem; margin-bottom: 0.2rem; }
.ops-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.ops-label { font-size: 0.65rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem; }

/* ── Section Headers ──────────────────────────────────────── */
.capabilities h2, .rooms-section h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  margin: 0.75rem auto 0.75rem;
  border-radius: 2px;
}

/* ── Bento Grid ──────────────────────────────────────────── */
.capabilities {
  padding: 5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0.4;
  transition: opacity 0.2s;
}
.bento-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 160, 0, 0.08);
}
.bento-card:hover::before { opacity: 1; }

/* Hero cards span 2 columns */
.bento-hero {
  grid-column: span 2;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(232, 160, 0, 0.02) 100%);
}
.bento-hero::before { height: 3px; }

/* Corner brackets on hero cards */
.bento-corner {
  position: absolute;
  width: 14px; height: 14px;
}
.bento-corner.tl { top: 6px; left: 6px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.bento-corner.tr { top: 6px; right: 6px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.bento-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.bento-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.bento-hero .bento-icon { font-size: 2.4rem; }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.bento-hero h3 { font-size: 1.6rem; }

.bento-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.bento-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(102, 187, 106, 0.15);
  color: var(--green);
  border: 1px solid rgba(102, 187, 106, 0.3);
}
.bento-tag.tag-premium {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(232, 160, 0, 0.3);
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: span 2; }
}
@media (max-width: 500px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-hero { grid-column: span 1; }
}

/* ── Deploy Section ───────────────────────────────────────── */
.deploy-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.015));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.deploy-inner {
  max-width: 700px;
  margin: 0 auto;
}

.deploy-section h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline {
  margin-top: 2.5rem;
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  opacity: 0.4;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.step-marker {
  position: absolute;
  left: -3rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 0 12px var(--accent-glow);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.step-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

.step-content code {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

.deploy-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ── Premium ─────────────────────────────────────────────── */
.premium-section {
  padding: 5rem 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.premium-section h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
}
.tier-card.tier-standard { border-left: 3px solid var(--text-dim); }
.tier-card.tier-premium {
  border-left: 3px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.tier-badge {
  position: absolute;
  top: -0.7rem; right: 1.25rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
}

.tier-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.tier-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tier-standard .tier-header h3 { color: var(--text); }
.tier-premium .tier-header h3 { color: var(--accent); }

.tier-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

.tier-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.tier-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.tier-features li {
  font-size: 0.88rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.tier-features .check { color: var(--green); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.tier-features .x-mark { color: var(--text-dim); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.1rem; opacity: 0.5; }
.tier-features .star { font-size: 0.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.tier-features .included { color: var(--text-dim); }
.tier-features .not-included { color: var(--text-dim); opacity: 0.5; }
.tier-features .upgrade { color: var(--text); }

.tier-cta {
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  opacity: 0.7;
}

.premium-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 2rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.premium-note em { color: var(--accent); font-style: normal; font-weight: 600; }

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

/* ── Tokens Section ───────────────────────────────────────── */
.tokens-section {
  padding: 5rem 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.tokens-section h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

/* ── Token Explainer ──────────────────────────────────────── */
.token-explainer {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--accent);
}

.token-explainer-intro {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.token-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.token-col {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.token-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.token-col p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.token-col em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.token-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.token-section h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text);
}

.token-section > p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.token-section em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.token-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.token-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.token-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.token-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

.token-step em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.token-step code, .token-col code, .token-section code {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--accent);
}

.token-price-tag {
  margin-top: 2rem;
  text-align: center;
  padding: 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 193, 7, 0.04);
}

.token-price-tag > span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.token-price-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
}

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

/* ── Sort Tabs ────────────────────────────────────────────── */
.sort-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.sort-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sort-tab:hover { border-color: var(--text-dim); color: var(--text); }
.sort-tab.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 193, 7, 0.06);
}

/* ── Rank Badges & Glow ──────────────────────────────────── */
@keyframes badge-pulse-gold {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 180, 0, 0.3)); }
  50% { filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 30px rgba(255, 180, 0, 0.5)); }
}
@keyframes badge-pulse-silver {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(200, 200, 220, 0.5)) drop-shadow(0 0 16px rgba(180, 180, 200, 0.25)); }
  50% { filter: drop-shadow(0 0 14px rgba(200, 200, 220, 0.8)) drop-shadow(0 0 24px rgba(180, 180, 200, 0.4)); }
}
@keyframes badge-pulse-bronze {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(220, 140, 50, 0.5)) drop-shadow(0 0 16px rgba(200, 120, 40, 0.25)); }
  50% { filter: drop-shadow(0 0 14px rgba(220, 140, 50, 0.8)) drop-shadow(0 0 24px rgba(200, 120, 40, 0.4)); }
}
@keyframes card-glow-gold {
  0%, 100% { box-shadow: 0 0 30px rgba(255,215,0,0.18), 0 0 60px rgba(255,215,0,0.10), 0 0 100px rgba(255,215,0,0.05), inset 0 0 40px rgba(255,215,0,0.04); }
  50% { box-shadow: 0 0 40px rgba(255,215,0,0.25), 0 0 80px rgba(255,215,0,0.14), 0 0 120px rgba(255,215,0,0.07), inset 0 0 50px rgba(255,215,0,0.06); }
}
@keyframes card-glow-silver {
  0%, 100% { box-shadow: 0 0 25px rgba(192,192,192,0.15), 0 0 50px rgba(192,192,192,0.08), 0 0 80px rgba(192,192,192,0.04), inset 0 0 30px rgba(192,192,192,0.03); }
  50% { box-shadow: 0 0 35px rgba(192,192,192,0.22), 0 0 70px rgba(192,192,192,0.12), 0 0 100px rgba(192,192,192,0.06), inset 0 0 40px rgba(192,192,192,0.05); }
}
@keyframes card-glow-bronze {
  0%, 100% { box-shadow: 0 0 25px rgba(205,127,50,0.15), 0 0 50px rgba(205,127,50,0.08), 0 0 80px rgba(205,127,50,0.04), inset 0 0 30px rgba(205,127,50,0.03); }
  50% { box-shadow: 0 0 35px rgba(205,127,50,0.22), 0 0 70px rgba(205,127,50,0.12), 0 0 100px rgba(205,127,50,0.06), inset 0 0 40px rgba(205,127,50,0.05); }
}

.rank-badge {
  position: absolute;
  top: -1.1rem;
  left: -2rem;
  z-index: 2;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: none;
}
.rank-medal-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.room-card.rank-1 .rank-badge {
  animation: badge-pulse-gold 2.5s ease-in-out infinite;
}
.room-card.rank-2 .rank-badge {
  animation: badge-pulse-silver 3s ease-in-out infinite;
}
.room-card.rank-3 .rank-badge {
  animation: badge-pulse-bronze 3s ease-in-out infinite;
}

.room-card.rank-1 {
  border-color: rgba(255, 215, 0, 0.5);
  animation: card-glow-gold 3s ease-in-out infinite;
}
.room-card.rank-2 {
  border-color: rgba(200, 200, 210, 0.45);
  animation: card-glow-silver 3.5s ease-in-out infinite;
}
.room-card.rank-3 {
  border-color: rgba(220, 140, 50, 0.45);
  animation: card-glow-bronze 3.5s ease-in-out infinite;
}

/* ── Rooms Section ────────────────────────────────────────── */
.rooms-section {
  padding: 5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}
.rooms-section h2 { margin-bottom: 0.5rem; }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.rooms-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 3rem;
  font-size: 0.95rem;
}

/* ── Room Card ────────────────────────────────────────────── */
.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.room-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0.3;
  transition: opacity 0.2s;
}
.room-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px var(--accent-glow);
}
.room-card:hover::before { opacity: 1; }

.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border);
}
.card-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.token-image {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-card);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.card-body { padding: 1rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.room-card:not(:has(.card-image-wrapper)) .card-body { padding-top: 1.5rem; }

.card-description {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.5rem 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-ca {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.card-ca .ca-icon { font-size: 1rem; }
.card-ca:hover { border-color: var(--accent); color: var(--accent); }
.card-ca .copy-hint { font-size: 0.65rem; opacity: 0; transition: opacity 0.2s; text-transform: uppercase; letter-spacing: 0.05em; }
.card-ca:hover .copy-hint { opacity: 0.7; }

.card-mc {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, rgba(232, 160, 0, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid rgba(232, 160, 0, 0.3);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.card-mc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.card-mc .mc-amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.card-mc .mc-tag {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--accent);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  line-height: 1;
}
.card-mc .mc-loading { color: var(--text-dim); font-weight: 400; font-style: italic; font-size: 0.75rem; }
.card-mc .mc-change {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  line-height: 1;
}
.card-mc .mc-up { color: #4caf50; background: rgba(76, 175, 80, 0.12); }
.card-mc .mc-down { color: #f44336; background: rgba(244, 67, 54, 0.12); }
.card-mc.mc-empty .mc-amount { color: var(--text-dim); font-size: 1rem; }
.card-mc .mc-up { color: #4caf50; }
.card-mc .mc-down { color: #f44336; }

.card-socials { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.social-link svg { fill: var(--text-dim); transition: fill 0.2s; }
.social-link img { width: 16px; height: 16px; object-fit: contain; opacity: 0.7; transition: opacity 0.2s; }
.social-link:hover { border-color: var(--accent); background: var(--accent-glow); text-decoration: none; }
.social-link:hover svg { fill: var(--accent); }
.social-link:hover img { opacity: 1; }

.card-airdrops {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  margin-top: 0.6rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.65rem;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #4caf50;
  text-align: center;
}
.card-airdrops .airdrop-line { display: flex; align-items: center; gap: 0.4rem; }
.card-airdrops .airdrop-icon { font-size: 0.85rem; }
.card-airdrops .airdrop-label { font-weight: 700; white-space: nowrap; }
.card-airdrops .airdrop-tokens { color: var(--accent); font-size: 0.68rem; }

.deep-intel-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0.65rem 1rem;
  padding-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  border: 2px solid var(--accent-light);
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 3px 0 #664400, 0 4px 12px rgba(232, 160, 0, 0.25);
  transition: all 0.15s;
  position: relative; top: 0;
}
.deep-intel-btn:hover { top: -1px; box-shadow: 0 4px 0 #664400, 0 8px 20px rgba(232, 160, 0, 0.4); }
.deep-intel-btn:active { top: 2px; box-shadow: 0 1px 0 #664400; }

.room-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }

.room-ticker {
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(232, 160, 0, 0.3);
}

.room-card.graveyard .room-ticker {
  background: var(--red-dim); color: var(--red); border-color: rgba(255, 61, 61, 0.3);
}

.room-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.room-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.room-stat {
  text-align: center;
  padding: 0.5rem 0.4rem;
  border-right: 1px solid var(--border);
}
.room-stat:nth-child(3n) { border-right: none; }
.room-stat .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.room-stat .label { display: block; font-size: 0.65rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; }

.daily-stats { border-bottom: 1px solid var(--border); }
.daily-stats .value { font-size: 1.2rem; }
.green-value { color: #4caf50 !important; }

.room-card.graveyard { opacity: 0.6; }
.room-card.graveyard:hover { opacity: 0.9; }

.room-card.redacted {
  opacity: 0.7;
  border-style: dashed;
  cursor: default;
}
.room-card.redacted:hover { opacity: 0.85; }
.redacted-value { color: var(--gold) !important; letter-spacing: 0.1em; filter: blur(1px); user-select: none; }
.redacted-token-img { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); object-fit: cover; margin-left: auto; }
.redacted-cta { text-align: center; margin-top: auto; padding-top: 0.75rem; font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.room-card.redacted .room-ticker { background: var(--gold-dim); color: var(--gold); border-color: rgba(255, 193, 7, 0.3); }
.room-card.redacted .card-mc { background: rgba(255, 193, 7, 0.05); border-color: rgba(255, 193, 7, 0.15); }
.room-card.redacted .card-ca { color: var(--gold); opacity: 0.6; cursor: default; }
.room-card.redacted .card-ca:hover { opacity: 0.6; }
.room-card.redacted .card-airdrops { border-color: rgba(255, 193, 7, 0.15); background: rgba(255, 193, 7, 0.03); }
.room-card.redacted .airdrop-label,
.room-card.redacted .airdrop-tokens { color: var(--gold); filter: blur(1px); }

/* ── Card Summary Dropdown ────────────────────────────────── */
.card-summary { margin-top: 0.75rem; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.summary-toggle {
  display: block; padding: 0.6rem 1rem;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em;
  cursor: pointer; background: var(--bg-deep); list-style: none; transition: background 0.2s;
}
.summary-toggle::-webkit-details-marker { display: none; }
.summary-toggle::before { content: "\25B8 "; }
.card-summary[open] .summary-toggle::before { content: "\25BE "; }
.summary-toggle:hover { background: var(--accent-glow); }
.summary-content { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
.summary-topics { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.5rem; }
.summary-topic {
  background: var(--accent-glow); color: var(--accent);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.5rem; border-radius: 3px; border: 1px solid rgba(232, 160, 0, 0.2);
}
.summary-text { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; max-height: 200px; overflow-y: auto; }

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  z-index: 200;
  justify-content: center; align-items: center;
  padding: 2rem;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  max-width: 900px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: 2rem; position: relative;
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); font-size: 1.2rem;
  cursor: pointer; padding: 0.2rem 0.5rem; border-radius: 4px;
}
.modal-close:hover { color: var(--accent); border-color: var(--accent); }

.modal h2 {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 0.25rem;
}
.modal .modal-ticker {
  color: var(--accent); font-family: var(--font-mono); font-weight: 600;
  font-size: 0.95rem; margin-bottom: 1rem; display: inline-block;
}
.modal .description {
  color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.5rem;
  line-height: 1.6; padding-left: 0.75rem; border-left: 2px solid var(--accent-dark);
}

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.75rem; margin-bottom: 2rem; }
.stat-box { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-align: center; }
.stat-box .value { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; margin-bottom: 0.3rem; }
.stat-box .label { font-size: 0.72rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.03em; }
.stat-box.green .value { color: var(--green); }
.stat-box.blue .value { color: var(--cyan); }
.stat-box.purple .value { color: var(--purple); }
.stat-box.orange .value { color: var(--accent); }

.rank-badge { display: block; margin-top: 0.35rem; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; opacity: 0.85; }

.stats-grid-sm { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.stats-grid-sm .stat-box { padding: 0.6rem; }
.stats-grid-sm .stat-box .value { font-size: 1.4rem; }

.modal-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-section-header h3 {
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0;
}
.modal-tg-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  color: var(--cyan); text-decoration: none;
  padding: 0.3rem 0.65rem; border-radius: 5px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
}
.modal-tg-link:hover { background: rgba(0, 229, 255, 0.15); border-color: var(--cyan); }
.modal-tg-link svg { fill: var(--cyan); }

.modal-section { margin-top: 1.5rem; }
.modal-section h3 {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border);
}
.modal-summary { margin-top: 1.5rem; }
.modal-summary .card-summary { border-color: var(--accent); }
.modal-summary .summary-text { max-height: 300px; }

.window-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.window-tab {
  padding: 0.45rem 0.9rem; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--text-dim); cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.window-tab:hover { border-color: var(--accent); color: var(--text); }
.window-tab.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }

.heatmap-container { margin-bottom: 2rem; }
.heatmap-container h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.75rem; color: var(--text-dim); }
.heatmap { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.heatmap-cell { aspect-ratio: 1; border-radius: 3px; position: relative; }
.heatmap-cell[title]:hover::after {
  content: attr(title); position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%);
  background: var(--bg-deep); border: 1px solid var(--accent-dark); padding: 0.3rem 0.6rem; border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.75rem; white-space: nowrap; z-index: 10; color: var(--accent);
}
.heatmap-labels { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; margin-top: 4px; }
.heatmap-labels span { text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }

.chatters-container { margin-bottom: 2rem; }
.chatters-container h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.75rem; color: var(--text-dim); }
.chatter-bar { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.4rem; }
.chatter-rank { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); width: 1.5rem; text-align: right; }
.chatter-bar-fill {
  height: 24px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  min-width: 2px; display: flex; align-items: center; padding: 0 0.6rem;
}
.chatter-bar-fill span { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; white-space: nowrap; color: #000; }

/* ── Classified Section ──────────────────────────────────── */
.classified-section {
  padding: 3rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.classified-panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.classified-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  text-transform: uppercase; color: var(--text-dim);
}
.classified-toggle::-webkit-details-marker { display: none; }
.classified-toggle:hover { color: var(--accent); }
.classified-counts { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }
.classified-content { padding: 1.5rem; border-top: 1px solid var(--border); }
.classified-content h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.25rem;
}

/* ── Footer CTA ──────────────────────────────────────────── */
.footer-cta {
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-sub {
  margin-top: 1rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Mobile CTA ──────────────────────────────────────────── */
.mobile-cta { display: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  nav { display: none; flex-direction: column; width: 100%; gap: 0.5rem; padding-top: 0.75rem; }
  nav.open { display: flex; }
  .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  .hero-inner { flex-direction: column; text-align: center; gap: 2rem; }
  .hero h2 { font-size: 2.8rem; }
  .hero-bullets { text-align: left; }
  .hero-actions { justify-content: center; }
  .avatar-frame { width: 180px; height: 180px; }
  .hero-avatar { width: 150px; height: 150px; }

  .proof-inner { gap: 1.5rem; }
  .proof-stat { padding: 0 0.75rem; }
  .proof-number { font-size: 1.8rem; }

  .rooms-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-sm { grid-template-columns: repeat(2, 1fr); }
  .heatmap { gap: 2px; }

  .ops-stats-inner { padding: 1.25rem 1rem; }
  .ops-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .ops-value { font-size: 1.2rem; }
  .ops-label { font-size: 0.58rem; }

  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--accent-dark);
    padding: 0.75rem 1.5rem;
    z-index: 90;
    align-items: center;
    justify-content: center;
  }
  .mobile-cta a {
    background: var(--accent);
    color: #000;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
  }
  body { padding-bottom: 4rem; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 2rem; }
  .capabilities, .rooms-section { padding: 3rem 1rem; }
  .modal { padding: 1.5rem; }
  .proof-stat { border-right: none; }
  .proof-inner { flex-direction: column; gap: 1rem; }
  .footer-cta h2 { font-size: 2rem; }
}

/* ── Performance ─────────────────────────────────────────── */
.rooms-section, .classified-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

@media (max-width: 768px) {
  body { background-attachment: scroll; }
}
