/* =========================================
   ROOMMATE.EXE — STYLESHEET
   Palette: Void Black / Ash / Cinematic Amber / Blood Red
   Type: Bebas Neue (display) + Inter (body) + JetBrains Mono (code)
   ========================================= */

:root {
  --black: #0a0a0b;
  --black-2: #0f0f11;
  --black-3: #141418;
  --ash: #1c1c22;
  --ash-2: #26262e;
  --border: #2e2e38;
  --muted: #4a4a58;
  --text-dim: #7a7a8c;
  --text: #c4c4d4;
  --text-bright: #e8e8f0;
  --white: #f0f0f8;
  --amber: #d4820a;
  --amber-bright: #f0a020;
  --amber-glow: rgba(212, 130, 10, 0.15);
  --red: #c0392b;
  --red-dim: rgba(192, 57, 43, 0.12);
  --green: #1a7a3a;
  --green-dim: rgba(26, 122, 58, 0.12);
  --discord: #5865F2;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --radius: 8px;
  --radius-lg: 16px;
  --nav-h: 64px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--amber-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
code {
  font-family: var(--font-mono);
  background: var(--ash);
  color: var(--amber-bright);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.875em;
}
ul { padding-left: 1.5rem; }
ul li { margin-bottom: 0.5rem; }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-ext { color: var(--amber); }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-bright); }

.btn-nav {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--discord);
  padding: 8px 18px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-nav:hover {
  background: #6979f8;
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =========================================
   HERO (HOME)
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,130,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,130,10,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ba55d;
  box-shadow: 0 0 8px #3ba55d;
  animation: pulse-green 2s ease infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #3ba55d; }
  50% { opacity: 0.6; box-shadow: 0 0 16px #3ba55d; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
}

.title-accent {
  color: var(--amber);
  text-shadow: 0 0 60px rgba(212, 130, 10, 0.4);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.03em;
}

/* TYPING DEMO — Signature Element */
.typing-demo {
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  width: 340px;
  max-width: 100%;
  text-align: left;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.typing-demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--red) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.bot-meta { display: flex; align-items: center; gap: 8px; }
.bot-name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-bright);
  font-weight: 500;
}
.bot-tag {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--discord);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.typing-demo-body {
  min-height: 32px;
  position: relative;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typing-bounce 1.4s ease infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.typing-response {
  display: none;
  font-size: 1.1rem;
  color: var(--text-bright);
  padding: 4px 0;
  font-weight: 500;
}

/* HERO CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: var(--black);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--amber-bright);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,130,10,0.3);
}
.btn-primary.btn-large {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber-bright);
  background: var(--amber-glow);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  z-index: 2;
  animation: fade-bob 2s ease infinite;
}

@keyframes fade-bob {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(-6px); }
}

/* =========================================
   SECTION GLOBALS
   ========================================= */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

/* =========================================
   ORIGIN SECTION
   ========================================= */
.origin {
  padding: 100px 0;
  background: var(--black-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.origin-inner {
  max-width: 720px;
}

.origin-text {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.origin-text em { color: var(--amber-bright); font-style: normal; }

.origin-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.origin-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* =========================================
   FEATURES GRID (HOME)
   ========================================= */
.features-preview {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.feature-card:hover::before { opacity: 1; }

.feature-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-glow);
  border: 1px solid rgba(212,130,10,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}

.module-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.feature-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.k-text {
  color: var(--amber-bright);
  font-size: 1.2em;
  font-family: var(--font-mono);
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--ash);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.feature-link {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 500;
  margin-top: auto;
}
.feature-link:hover { color: var(--amber-bright); }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
  padding: 100px 0;
  background: var(--black-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 56px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--border);
  line-height: 1;
  letter-spacing: 0.04em;
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

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

.step-arrow {
  font-size: 24px;
  color: var(--amber);
  padding-top: 28px;
  flex-shrink: 0;
  opacity: 0.5;
}

.zonemap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.zone {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.zone.green {
  background: var(--green-dim);
  border-color: rgba(26,122,58,0.3);
}

.zone.red {
  background: var(--red-dim);
  border-color: rgba(192,57,43,0.3);
}

.zone-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 10px;
}

.zone.green .zone-label { color: #4caf50; }
.zone.red .zone-label { color: #e57373; }
.zone p { font-size: 0.9rem; color: var(--text-dim); }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  padding: 100px 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-pretitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 120px);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 8px;
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-short {
  padding: calc(var(--nav-h) + 60px) 0 60px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 12px 0 20px;
}

.page-sub {
  font-size: 1rem;
  color: var(--text-dim);
}

/* =========================================
   MODULE SECTIONS (features page)
   ========================================= */
.module-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.module-section.alt-bg {
  background: var(--black-2);
}

.module-header {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 60px;
}

.module-num {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--border);
  line-height: 0.9;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.module-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.module-body.reverse { direction: rtl; }
.module-body.reverse > * { direction: ltr; }

.module-lead {
  font-size: 1.1rem;
  color: var(--text-bright);
  line-height: 1.7;
  margin-bottom: 20px;
}

.module-text p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}

.module-text strong { color: var(--text-bright); }

.k-text-large {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--amber-bright);
  font-weight: bold;
}

/* CALLOUTS */
.callout {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.callout strong { display: block; margin-bottom: 6px; }

.callout-warning {
  background: rgba(212,130,10,0.08);
  border: 1px solid rgba(212,130,10,0.25);
  color: var(--text);
}
.callout-warning strong { color: var(--amber-bright); }

.callout-danger {
  background: var(--red-dim);
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--text);
}
.callout-danger strong { color: #e57373; }

.callout-info {
  background: rgba(88,101,242,0.08);
  border: 1px solid rgba(88,101,242,0.25);
  color: var(--text);
}
.callout-info strong { color: #818cf8; }

/* TRIGGER INFO */
.trigger-info {
  margin-top: 24px;
}

.trigger-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.trigger-info ul { color: var(--text-dim); font-size: 0.9rem; }

/* =========================================
   DISCORD MOCKUPS
   ========================================= */
.module-mockup {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.discord-mockup {
  background: #36393f;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.dm-header {
  background: #2f3136;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #dcddde;
  border-bottom: 1px solid #202225;
}

.dm-message {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  flex-shrink: 0;
}

.dm-avatar.user-av { background: #7289da; }
.dm-avatar.bot-av { background: linear-gradient(135deg, var(--amber), var(--red)); }

.dm-content { flex: 1; }

.dm-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  display: block;
}

.dm-name.bot-name-tag { color: #7289da; }

.bot-badge {
  font-size: 0.55rem;
  background: #7289da;
  color: white;
  padding: 1px 5px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.dm-content p {
  font-size: 0.875rem;
  color: #dcddde;
  line-height: 1.5;
  margin: 0;
}

.k-response {
  font-size: 1.4rem !important;
  color: #fff !important;
  font-weight: 500;
}

.dm-typing-row {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dm-typing-bubble {
  background: #40444b;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72767d;
  animation: typing-bounce 1.4s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.typing-label {
  font-size: 0.75rem;
  color: #72767d;
  font-style: italic;
}

/* DISCORD EMBED */
.discord-embed {
  background: #2f3136;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.embed-stripe {
  width: 4px;
  background: var(--amber);
  flex-shrink: 0;
}

.danger-stripe { background: var(--red); }

.embed-body {
  padding: 16px 20px;
  flex: 1;
}

.embed-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.embed-field {
  margin-bottom: 14px;
}

.embed-field-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.embed-field-value {
  font-size: 0.85rem;
  color: #dcddde;
  line-height: 1.5;
}

.embed-footer {
  font-size: 0.72rem;
  color: #72767d;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* FLOW BROKEN MOCKUP */
.flow-broken-mockup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-broken-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  color: #ff4444;
  background: rgba(255,68,68,0.1);
  border: 2px solid rgba(255,68,68,0.4);
  padding: 10px 20px;
  border-radius: var(--radius);
  letter-spacing: 0.08em;
  align-self: flex-start;
  box-shadow: 0 0 20px rgba(255,68,68,0.15);
}

/* VC MOCKUP */
.vc-mockup {
  background: #2f3136;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.vc-header {
  background: #202225;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8e9297;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vc-member {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #dcddde;
  font-weight: 500;
}

.vc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}
.vc-avatar.user-av { background: #7289da; }
.vc-avatar.bot-av { background: linear-gradient(135deg, var(--amber), var(--red)); }

.vc-alone-tag {
  font-size: 0.65rem;
  background: rgba(255,255,255,0.07);
  padding: 2px 7px;
  border-radius: 10px;
  color: #72767d;
  margin-left: auto;
}

.bot-vc-member { background: rgba(212,130,10,0.06); }

.vc-speech-bubble {
  margin: 12px 16px;
  background: #40444b;
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
}

.vc-waveform {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.vc-speech-bubble p {
  font-size: 0.82rem;
  color: #dcddde;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.vc-status {
  padding: 10px 16px 14px;
  font-size: 0.75rem;
  color: #72767d;
  font-style: italic;
}

/* =========================================
   ADMIN SECTION
   ========================================= */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.admin-card {
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.admin-cmd {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber-bright);
  font-weight: 500;
  margin-bottom: 16px;
  background: var(--black);
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

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

.zone-explainer {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.zone-explainer h3 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.zone-card {
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid var(--border);
}

.green-card {
  background: var(--green-dim);
  border-color: rgba(26,122,58,0.3);
}

.red-card {
  background: var(--red-dim);
  border-color: rgba(192,57,43,0.3);
}

.zone-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.zone-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.green-card .zone-name { color: #4caf50; }
.red-card .zone-name { color: #e57373; }
.zone-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-body {
  padding: 80px 0 120px;
}

.legal-content {
  max-width: 720px;
}

.legal-preamble {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  padding: 24px 28px;
  background: var(--amber-glow);
  border: 1px solid rgba(212,130,10,0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 56px;
  font-style: italic;
}

.legal-section {
  margin-bottom: 52px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.legal-section p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal-section ul, .legal-section ol {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  margin-bottom: 14px;
}

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

.legal-section strong { color: var(--text-bright); }

.legal-section a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 6px;
}

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

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--amber-bright); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.footer-disclaimer {
  font-style: italic;
  color: var(--muted) !important;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .module-body, .module-body.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .module-mockup {
    position: static;
  }

  .steps-row {
    flex-direction: column;
    gap: 32px;
  }
  .step-arrow { display: none; }

  .zonemap, .admin-grid, .zone-grid {
    grid-template-columns: 1fr;
  }

  .origin-stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(10,10,11,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
  }

  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; }
  .btn-nav { font-size: 1rem; padding: 12px 28px; }
  .nav-toggle { display: flex; }

  .module-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .module-num { font-size: 64px; }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

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

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .typing-demo { width: 100%; }
}
