/*
 * itsaryan legacy layer
 * "Operator Console" — depth-first, 3D, unified blue/cyan only.
 * No purple, no rainbow. One disciplined palette.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Young+Serif&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Canvas — deep slate-navy so 3D pops, glass reads as glass */
  --bg-base:      #05070D;
  --bg-elevated:  #0B0F1A;
  --bg-surface:   #11172A;
  --bg-glass:     rgba(18, 24, 44, 0.55);
  --bg-glass-strong: rgba(18, 24, 44, 0.85);

  /* Unified blue family — ice → electric → deep */
  --ice:          #E6F2FF;
  --sky:          #7CC5FF;
  --cyan:         #3FE0FF;
  --blue:         #2A8FFF;
  --blue-vivid:   #0080FF;
  --blue-deep:    #0050B8;
  --indigo:       #1E2A6B;
  --signal-white: #F8FBFF;
  --signal-mint:  #7DFFCA;
  --signal-rose:  #FF7AA8;
  --video-blue:   #168DFF;

  /* Glow utilities */
  --glow-soft:    rgba(63, 224, 255, 0.18);
  --glow-mid:     rgba(42, 143, 255, 0.35);
  --glow-hard:    rgba(0, 128, 255, 0.55);

  /* Text on dark canvas */
  --text-primary:   #F4F8FF;
  --text-secondary: #A8B5CC;
  --text-muted:     #5B6680;
  --text-faint:     rgba(244, 248, 255, 0.4);

  /* Borders */
  --border:        rgba(124, 197, 255, 0.10);
  --border-strong: rgba(124, 197, 255, 0.22);
  --border-hover:  rgba(63, 224, 255, 0.55);

  /* Typography */
  --font-main:    'Space Grotesk', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Young Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-w: 1240px;
  --section-pad: 8rem 2rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.45s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, select, textarea, .launch-card, .filter-btn, .c-dot, .dial-slider { cursor: none; }
}

::selection { background: var(--cyan); color: var(--bg-base); }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
strong { color: var(--text-primary); font-weight: 600; }
em { color: var(--cyan); font-style: normal; font-weight: 600; }

/* ── ATMOSPHERIC BACKGROUND LAYERS ─────────────────── */

/* Layer 1: animated aurora mesh */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 15%, rgba(63, 224, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(0, 128, 255, 0.18), transparent 65%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(30, 42, 107, 0.6), transparent 70%),
    var(--bg-base);
}

.bg-aurora::before,
.bg-aurora::after {
  content: '';
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}

.bg-aurora::before {
  background: radial-gradient(circle, rgba(63, 224, 255, 0.35), transparent 65%);
  top: -20%;
  left: -10%;
  animation: drift1 22s ease-in-out infinite alternate;
}

.bg-aurora::after {
  background: radial-gradient(circle, rgba(0, 128, 255, 0.4), transparent 65%);
  bottom: -30%;
  right: -15%;
  animation: drift2 28s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15vw, 8vh) scale(1.15); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12vw, -6vh) scale(1.2); }
}

/* Layer 2: three.js canvas (floating geometry) */
#three-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* Layer 3: 3D perspective grid floor */
.grid-floor {
  position: fixed;
  bottom: -10vh;
  left: 50%;
  transform: translateX(-50%) perspective(800px) rotateX(60deg);
  width: 200vw;
  height: 70vh;
  background-image:
    linear-gradient(rgba(63, 224, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 224, 255, 0.16) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: grid-pulse 6s ease-in-out infinite alternate;
}

@keyframes grid-pulse {
  0%   { opacity: 0.55; }
  100% { opacity: 0.85; }
}

/* Layer 4: subtle scanline noise */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── CUSTOM CURSOR ─────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(63, 224, 255, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, transform 0.08s linear;
  backdrop-filter: blur(2px);
}

.cursor-ring.hover {
  width: 64px;
  height: 64px;
  border-color: var(--cyan);
  background: rgba(63, 224, 255, 0.06);
}

@media (pointer: coarse), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── HOLOGRAPHIC AVATAR PORTAL ─────────────────────── */
.avatar-deck { display: none; }

@media (min-width: 1080px) {
  .avatar-deck {
    display: block;
    position: fixed;
    top: 50vh;
    right: clamp(1.5rem, 4vw, 4rem);
    width: clamp(280px, 24vw, 340px);
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    will-change: transform;
    transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
  }

  .avatar-deck.in-cinema {
    filter: saturate(1.18) contrast(1.08);
    opacity: 0.62;
  }

  .avatar-deck.in-cinema .ring-outer,
  .avatar-deck.in-cinema .ring-inner {
    border-color: rgba(248, 251, 255, 0.6);
  }

  .avatar-deck.in-cinema .console-wrap {
    opacity: 0;
    transform: translateY(14px);
  }

  /* The portal — concentric rings + glowing orb housing the video */
  .avatar-portal {
    position: relative;
    width: clamp(280px, 24vw, 340px);
    aspect-ratio: 1;
    margin: 0 auto;
    perspective: 1200px;
    transform-style: preserve-3d;
  }

  /* Outer rotating ring with mono text */
  .ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(63, 224, 255, 0.4);
    animation: spin-slow 28s linear infinite;
  }

  .ring-outer::before {
    content: 'ITSARYAN // OPERATOR ONLINE // INDEPENDENT SYSTEMS // ';
    position: absolute;
    inset: -10px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--cyan);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.65;
    /* path text fallback: positioned via offset around the ring */
    background: radial-gradient(circle, transparent 49%, transparent 50%);
  }

  /* Mid pulsating ring */
  .ring-mid {
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    border: 1px solid rgba(124, 197, 255, 0.25);
    box-shadow:
      0 0 60px rgba(63, 224, 255, 0.15) inset,
      0 0 40px rgba(0, 128, 255, 0.18);
    animation: pulse-ring 4s ease-in-out infinite;
  }

  /* Inner ring, slight counter-rotation */
  .ring-inner {
    position: absolute;
    inset: 44px;
    border-radius: 50%;
    border: 1px solid rgba(63, 224, 255, 0.5);
    animation: spin-reverse 18s linear infinite;
    background: radial-gradient(circle at 30% 30%, rgba(63, 224, 255, 0.08), transparent 70%);
  }

  .ring-inner::before,
  .ring-inner::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--cyan);
  }
  .ring-inner::before { top: -4px; left: 50%; transform: translateX(-50%); }
  .ring-inner::after  { bottom: -4px; left: 50%; transform: translateX(-50%); }

  /* The actual video orb */
  .avatar-frame {
    position: absolute;
    inset: 64px;
    border-radius: 50%;
    overflow: hidden;
    background:
      radial-gradient(circle at 30% 25%, #0E5AD8 0%, #003B95 60%, #001E54 100%);
    box-shadow:
      0 30px 80px rgba(0, 60, 200, 0.45),
      0 0 80px rgba(63, 224, 255, 0.25),
      inset 0 0 30px rgba(0, 0, 0, 0.45),
      inset 0 0 2px rgba(255, 255, 255, 0.4);
    will-change: transform;
  }

  .avatar-frame::after {
    /* glassy gloss on the orb */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(255,255,255,0.18) 0%, transparent 35%, transparent 100%);
    pointer-events: none;
    z-index: 3;
  }

  .avatar-scan {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 4;
    pointer-events: none;
    background:
      linear-gradient(180deg, transparent 0 42%, rgba(248, 251, 255, 0.45) 49%, rgba(63, 224, 255, 0.18) 51%, transparent 58%),
      repeating-linear-gradient(180deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 7px);
    mix-blend-mode: screen;
    opacity: calc(0.2 + var(--avatar-boost, 0) * 0.45);
    transform: translateY(calc((var(--avatar-boost, 0) - 0.5) * 26px));
    transition: opacity 0.25s ease;
  }

  .pinned-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s var(--ease), transform 0.4s ease-out;
    will-change: transform, opacity;
  }

  .pinned-video.active { opacity: 1; }

  /* Speaking waveform */
  .speak-wave {
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 24px;
  }

  .speak-wave span {
    display: block;
    width: 3px;
    height: 6px;
    background: var(--cyan);
    border-radius: 2px;
    box-shadow: 0 0 6px var(--cyan);
    animation: wave 1.1s ease-in-out infinite;
  }
  .speak-wave span:nth-child(1) { animation-delay: 0s; }
  .speak-wave span:nth-child(2) { animation-delay: 0.12s; }
  .speak-wave span:nth-child(3) { animation-delay: 0.24s; }
  .speak-wave span:nth-child(4) { animation-delay: 0.36s; }
  .speak-wave span:nth-child(5) { animation-delay: 0.48s; }
  .speak-wave span:nth-child(6) { animation-delay: 0.60s; }
  .speak-wave span:nth-child(7) { animation-delay: 0.72s; }

  @keyframes wave {
    0%, 100% { height: 6px; opacity: 0.7; }
    50%      { height: 22px; opacity: 1; }
  }

  /* HUD status badges flanking the portal */
  .hud-badge {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--cyan);
    letter-spacing: 0.12em;
    background: rgba(5, 7, 13, 0.7);
    border: 1px solid var(--border-strong);
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    pointer-events: none;
    white-space: nowrap;
  }
  .hud-badge .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #34D399;
    margin-right: 0.5rem;
    box-shadow: 0 0 8px #34D399;
    animation: blink 1.6s infinite;
  }
  .hud-badge.tl { top: -10px; left: -30px; }
  .hud-badge.br { bottom: 30px; right: -40px; }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
  }

  /* Console caption box below portal */
  .console-wrap {
    margin-top: 4.5rem;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    backdrop-filter: blur(20px);
    pointer-events: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .console-wrap::before {
    content: '';
    position: absolute;
    top: -1px; left: 12px; right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  }

  .console-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--cyan);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    opacity: 0.85;
  }

  .console-subtitles {
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 50px;
    transition: opacity 0.25s ease;
  }

  .console-subtitles .caret {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--cyan);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink 1s steps(2) infinite;
  }
}

@keyframes spin-slow    { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes spin-reverse { from { transform: rotate(360deg); } to { transform: rotate(0); } }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 60px rgba(63, 224, 255, 0.15) inset, 0 0 40px rgba(0, 128, 255, 0.18); }
  50%      { box-shadow: 0 0 80px rgba(63, 224, 255, 0.28) inset, 0 0 70px rgba(0, 128, 255, 0.30); }
}

/* ── LOADER ────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-base);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-name {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 20px var(--glow-mid);
}
.loader-bar-track {
  width: 220px; height: 2px;
  background: rgba(63, 224, 255, 0.1);
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.15s ease-out;
}
.loader-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 1rem;
  letter-spacing: 0.2em;
}

/* ── NAVIGATION ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 1.1rem 0;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand .brand-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.6s infinite;
}

.brand-dot { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
  position: relative;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a.active { color: var(--text-primary); }

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s var(--ease);
}

.nav-links a.active::after,
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  font-weight: 600;
  color: var(--bg-base) !important;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0, 128, 255, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(63, 224, 255, 0.5);
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px;
  position: relative; z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
  position: absolute; left: 0;
}

.nav-toggle span:first-child { top: 0; }
.nav-toggle span:last-child  { bottom: 0; }
.nav-toggle.active span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:last-child  { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5, 7, 13, 0.97);
  backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan); }

.mobile-cta {
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue)) !important;
  color: var(--bg-base) !important;
  padding: 0.8rem 2.5rem;
  border-radius: 100px;
  font-size: 1.1rem !important;
}

/* ── DASHBOARD LAYOUT ──────────────────────────────── */
.dashboard-main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.inner-page { padding-top: 6rem; }

.db-section {
  padding: var(--section-pad);
  position: relative;
}

.db-container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.db-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.db-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
  display: inline-block;
  text-transform: uppercase;
}

.db-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 1.75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.db-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.db-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Unified gradient — cyan → blue only, no purple */
.gradient-text {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 55%, var(--blue-vivid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(63, 224, 255, 0.15));
}

/* Left-rail layout so the right side breathes for the portal */
@media (min-width: 1080px) {
  .hero-left,
  .launcher-grid,
  .simulator-layout,
  .scraper-layout,
  .timeline-log-wrap,
  .timeline-filters,
  .transceiver-layout,
  .details-grid,
  .sim-cta {
    max-width: 62%;
  }
}

/* ── HERO ──────────────────────────────────────────── */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  background: rgba(63, 224, 255, 0.08);
  border: 1px solid var(--border-strong);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: blink 1.6s infinite;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--bg-base);
  box-shadow: 0 8px 28px rgba(0, 128, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(63, 224, 255, 0.55);
}

.btn-secondary {
  background: rgba(124, 197, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(63, 224, 255, 0.08);
}

/* ── SYSTEM PANEL (HERO STATS) ─────────────────────── */
.system-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: 2.5rem;
  position: relative;
}

.system-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
}

.panel-header {
  background: rgba(63, 224, 255, 0.03);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.15em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: blink 1.6s infinite;
  display: inline-block;
  margin-right: 0.4rem;
}

.panel-body { padding: 1.75rem; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.metric-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 0.9rem;
  border-left: 1px solid var(--border);
}

.metric-card:first-child { padding-left: 0; border-left: none; }

.m-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.m-num em {
  color: var(--cyan);
  font-weight: 700;
  font-style: normal;
}

.m-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.4rem;
  letter-spacing: 0.12em;
}

/* ── LAUNCHER GRID — 3D TILT CARDS ─────────────────── */
/* ---- SIGNAL CINEMA: scroll-linked video stage ---- */
.signal-cinema-section {
  min-height: 185vh;
  padding: 0 2rem;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0), rgba(11, 15, 26, 0.72) 18%, rgba(5, 7, 13, 0.1) 88%),
    radial-gradient(circle at 18% 35%, rgba(125, 255, 202, 0.08), transparent 34%),
    radial-gradient(circle at 78% 58%, rgba(255, 122, 168, 0.08), transparent 32%);
  border-top: 1px solid rgba(248, 251, 255, 0.08);
  border-bottom: 1px solid rgba(248, 251, 255, 0.08);
}

.cinema-shell {
  --cinema-progress: 0;
  --scene-mix: 0;
  position: sticky;
  top: 0;
  min-height: 100vh;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  isolation: isolate;
}

.cinema-shell::before {
  content: '';
  position: absolute;
  inset: 12vh -8vw 10vh;
  z-index: -1;
  background:
    radial-gradient(ellipse at 42% 48%, rgba(22, 141, 255, 0.32), transparent 48%),
    linear-gradient(90deg, rgba(63, 224, 255, 0.12), transparent 38%, rgba(255, 122, 168, 0.08));
  filter: blur(34px);
  opacity: calc(0.45 + var(--scene-mix) * 0.28);
}

.cinema-video-stack {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: #07111F;
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(248, 251, 255, 0.12),
    0 0 74px rgba(22, 141, 255, 0.26);
  transform:
    translateY(calc((0.5 - var(--cinema-progress)) * 34px))
    rotateX(calc((var(--cinema-progress) - 0.5) * 5deg))
    rotateY(calc((0.5 - var(--cinema-progress)) * 7deg));
  transform-style: preserve-3d;
  will-change: transform;
}

.cinema-video-stack::before,
.cinema-video-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cinema-video-stack::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.25), transparent 20%, transparent 72%, rgba(5, 7, 13, 0.48)),
    radial-gradient(circle at calc(24% + var(--scene-mix) * 44%) 42%, transparent 0 15%, rgba(63, 224, 255, 0.16) 16%, transparent 28%);
  mix-blend-mode: screen;
}

.cinema-video-stack::after {
  border: 1px solid rgba(248, 251, 255, 0.16);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(63, 224, 255, 0.1);
}

.cinema-video {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  transform:
    scale(calc(1.03 + var(--cinema-progress) * 0.06))
    translateX(calc((var(--cinema-progress) - 0.5) * -3%));
  filter: saturate(1.25) contrast(1.08);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cinema-video-eye {
  opacity: calc(1 - var(--scene-mix));
}

.cinema-video-operator {
  opacity: var(--scene-mix);
  transform:
    scale(calc(1.08 - var(--cinema-progress) * 0.03))
    translateX(calc((0.5 - var(--cinema-progress)) * 4%));
}

.cinema-reticle {
  position: absolute;
  inset: clamp(1rem, 3vw, 2rem);
  z-index: 4;
  pointer-events: none;
}

.cinema-reticle span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: rgba(248, 251, 255, 0.8);
}

.cinema-reticle span:nth-child(1) { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.cinema-reticle span:nth-child(2) { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.cinema-reticle span:nth-child(3) { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.cinema-reticle span:nth-child(4) { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

.cinema-scanlines {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 45%, rgba(248, 251, 255, 0.42) 49%, rgba(63, 224, 255, 0.18) 52%, transparent 58%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 8px);
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translateY(calc((var(--cinema-progress) - 0.5) * 46%));
}

.cinema-copy {
  transform: translateY(calc((0.5 - var(--cinema-progress)) * 34px));
  will-change: transform;
}

.cinema-copy .db-h2 {
  max-width: 520px;
}

.cinema-copy .db-sub {
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.cinema-nodes {
  display: grid;
  gap: 0.75rem;
  max-width: 520px;
}

.cinema-node {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.2rem 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid rgba(248, 251, 255, 0.12);
}

.cinema-node span {
  grid-row: span 2;
  font-family: var(--font-mono);
  color: var(--signal-mint);
  letter-spacing: 0.15em;
  font-size: 0.68rem;
}

.cinema-node strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--signal-white);
}

.cinema-node small {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.cinema-progress {
  position: absolute;
  left: 0;
  bottom: 9vh;
  width: min(46vw, 480px);
  height: 2px;
  background: rgba(248, 251, 255, 0.12);
  overflow: hidden;
}

.cinema-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--signal-mint), var(--cyan), var(--signal-rose));
  transform-origin: left;
  transform: scaleX(var(--cinema-progress));
  box-shadow: 0 0 18px rgba(63, 224, 255, 0.8);
}

.launcher-section {
  border-top: 1px solid var(--border);
  position: relative;
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  perspective: 1500px;
}

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

.launch-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 2rem 2rem 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.15s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: none;
  transform-style: preserve-3d;
  will-change: transform;
  isolation: isolate;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.card-signal-video {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  opacity: 0.08;
  transform: scale(1.05) rotate(-2deg);
  filter: saturate(1.35) contrast(1.18);
  mix-blend-mode: screen;
  z-index: 0;
  transition: opacity 0.45s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}

.launch-card:hover .card-signal-video {
  opacity: 0.22;
  transform: scale(1.12) rotate(0deg);
}

.launch-card .card-inner-content::before {
  content: '';
  position: absolute;
  inset: -2rem;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.96), rgba(8, 12, 22, 0.78) 55%, rgba(8, 12, 22, 0.38)),
    repeating-linear-gradient(180deg, rgba(248,251,255,0.04) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.launch-card::before {
  /* glossy shine that tracks mouse */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 220px at var(--mx, 50%) var(--my, 50%),
    rgba(63, 224, 255, 0.16),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.launch-card::after {
  /* top accent line */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}

.launch-card:hover {
  border-color: var(--border-hover);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(63, 224, 255, 0.2),
    0 0 60px rgba(63, 224, 255, 0.12);
}

.launch-card:hover::before { opacity: 1; }
.launch-card:hover::after  { transform: scaleX(1); }

.card-inner-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
  transform: translateZ(30px);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: blink 1.8s infinite;
}

.card-status.live    { color: #34D399; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.2); }
.card-status.alpha   { color: var(--cyan); background: rgba(63, 224, 255, 0.08); border: 1px solid var(--border-strong); }
.card-status.status-blue { color: var(--sky); background: rgba(124, 197, 255, 0.08); border: 1px solid rgba(124, 197, 255, 0.2); }
.card-status.status-gray { color: var(--text-secondary); background: rgba(168, 181, 204, 0.06); border: 1px solid rgba(168, 181, 204, 0.12); }

.card-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s, gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.launch-card:hover .card-link {
  gap: 0.8rem;
}

.card-link .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.launch-card:hover .card-link .arrow {
  transform: translateX(4px);
}

/* ── SIMULATOR (ZYPHERIA) ──────────────────────────── */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  position: relative;
}

.simulator-layout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.sim-left-panel { border-right: 1px solid var(--border); }

.sim-dials {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.dial-group { display: flex; flex-direction: column; }

.dial-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  letter-spacing: 0.1em;
}

.dial-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.dial-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.dial-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-primary);
  border-radius: 8px;
  outline: none;
  transition: var(--transition);
  cursor: none;
}

.dial-select:focus { border-color: var(--cyan); background: var(--bg-surface); }

.dial-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(63, 224, 255, 0.15);
  outline: none;
  cursor: none;
}

.dial-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: none;
  box-shadow: 0 0 12px var(--cyan);
  transition: transform 0.15s;
}

.dial-slider::-webkit-slider-thumb:hover { transform: scale(1.25); }

.sim-metrics {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  height: 100%;
}

.sim-metric {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.sim-metric:last-child { border: none; padding-bottom: 0; }

.sim-metric .m-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.highlights-blue {
  background: rgba(63, 224, 255, 0.04);
  border: 1px dashed var(--cyan) !important;
  padding: 1.1rem !important;
  border-radius: 12px;
}

.highlights-blue .m-val { color: var(--cyan); }

/* ── PROSPEKTLAB SCRAPER ───────────────────────────── */
.scraper-layout {
  background: #050810;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  margin-bottom: 3rem;
}

.scraper-header {
  background: rgba(11, 15, 26, 0.9);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
}

.terminal-dots {
  display: flex;
  gap: 0.35rem;
  margin-right: 1.5rem;
}

.terminal-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots span:nth-child(1) { background: #FF5F56; }
.terminal-dots span:nth-child(2) { background: #FFBD2E; }
.terminal-dots span:nth-child(3) { background: #27C93F; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.scraper-log {
  padding: 1.5rem;
  height: 260px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #050810;
}

.log-line {
  opacity: 0.85;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  animation: log-in 0.3s var(--ease);
}

@keyframes log-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 0.85; transform: translateX(0); }
}

.log-line.sig      { color: var(--cyan); border-color: var(--cyan); }
.log-line.score    { color: var(--sky); border-color: var(--sky); }
.log-line.outreach { color: var(--text-primary); border-color: var(--text-muted); }
.log-line.send     { color: #34D399; border-color: #34D399; }

.scraper-metrics {
  background: rgba(11, 15, 26, 0.9);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

.scraper-metrics .sim-metric { border: none; padding: 0; }
.scraper-metrics .sim-metric .m-label { color: var(--text-muted); }
.scraper-metrics .sim-metric .m-val   { color: var(--text-primary); }

.scraper-metrics .highlights-blue {
  background: rgba(63, 224, 255, 0.06);
  border: 1px dashed rgba(63, 224, 255, 0.4) !important;
}

/* ── JOURNEY TIMELINE ──────────────────────────────── */
.timeline-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  cursor: none;
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(63, 224, 255, 0.08);
}

.timeline-log-wrap {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.tl-path {
  position: relative;
  padding-left: 3rem;
}

.tl-line {
  position: absolute;
  top: 0; left: 11px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--cyan), var(--border) 80%, transparent);
  box-shadow: 0 0 8px var(--cyan);
}

.tl-item {
  position: relative;
  margin-bottom: 2.5rem;
  display: none;
}

.tl-item.active {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tl-item:last-child { margin-bottom: 0; }

.tl-node {
  position: absolute;
  top: 8px; left: -3rem;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-node::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: var(--transition);
}

.tl-item:hover .tl-node::before {
  background: var(--cyan);
  transform: scale(1.3);
}

.tl-card {
  background: rgba(11, 15, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.tl-item:hover .tl-card {
  border-color: var(--border-hover);
  background: rgba(17, 23, 42, 0.8);
}

.tl-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.tl-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0.4rem 0;
  color: var(--text-primary);
}

.tl-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── VISIONCRAFT TRANSCEIVER ───────────────────────── */
.transceiver-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.transceiver-slider,
.transceiver-form-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.carousel-container {
  padding: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.carousel-slide { display: none; }

.carousel-slide.active {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.4s var(--ease);
}

.slide-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
}

.carousel-slide h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.carousel-slide p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.carousel-controls {
  border-top: 1px solid var(--border);
  padding: 1rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(63, 224, 255, 0.02);
}

.carousel-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  cursor: none;
  transition: color 0.2s;
  outline: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.carousel-btn:hover { color: var(--ice); }

.carousel-dots { display: flex; gap: 0.5rem; }

.c-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(63, 224, 255, 0.2);
  cursor: none;
  transition: var(--transition);
}

.c-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scale(1.3);
}

.form-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.form-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

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

.form-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 0.85rem 1.2rem;
  font-family: var(--font-main);
  font-size: 0.94rem;
  color: var(--text-primary);
  border-radius: 100px;
  outline: none;
  transition: var(--transition);
  cursor: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--cyan);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(63, 224, 255, 0.1);
}

.form-btn {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--bg-base);
  border: none;
  font-family: var(--font-main);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.9rem;
  border-radius: 100px;
  cursor: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 128, 255, 0.3);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(63, 224, 255, 0.5);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: block;
  letter-spacing: 0.05em;
}

/* ── DETAIL CARDS ──────────────────────────────────── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.details-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.details-card h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.details-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.details-card ul li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  padding-left: 1.5rem;
}

.details-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-size: 0.85rem;
  text-shadow: 0 0 6px var(--cyan);
}

/* ── CTA BOX ───────────────────────────────────────── */
.sim-cta {
  background: linear-gradient(135deg, var(--blue-vivid), var(--blue-deep));
  border-radius: 22px;
  padding: 3.2rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 80, 184, 0.45);
  margin-bottom: 3rem;
  border: 1px solid rgba(63, 224, 255, 0.3);
}

.sim-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(63, 224, 255, 0.3), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
}

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

.sim-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: white;
  letter-spacing: -0.01em;
}

.sim-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  max-width: 500px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.sim-cta .btn-fill,
.sim-cta .btn-primary {
  background: white;
  color: var(--blue-vivid);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 100px;
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.sim-cta .btn-fill:hover,
.sim-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: rgba(5, 7, 13, 0.85);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(20px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-loc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* ── REVEAL ANIMATION ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ── MOBILE VIDEO DOCK ─────────────────────────────── */
.mobile-only-video { display: none; }

@media (max-width: 1079px) {
  .signal-cinema-section {
    min-height: auto;
    padding: 5rem 1.5rem;
  }

  .cinema-shell {
    position: relative;
    top: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cinema-video-stack {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  .cinema-video-eye {
    opacity: 0.45;
  }

  .cinema-video-operator {
    opacity: 0.85;
  }

  .cinema-copy,
  .cinema-video {
    transform: none;
  }

  .cinema-progress {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
  }

  .mobile-only-video {
    display: block;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background:
      radial-gradient(circle at 30% 25%, #0E5AD8 0%, #003B95 60%, #001E54 100%);
    margin: 2rem auto;
    box-shadow:
      0 30px 70px rgba(0, 60, 200, 0.45),
      0 0 60px rgba(63, 224, 255, 0.25);
    border: 2px solid rgba(63, 224, 255, 0.4);
    position: relative;
  }

  .mobile-only-video::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(63, 224, 255, 0.4);
    animation: spin-slow 28s linear infinite;
    pointer-events: none;
  }

  .mobile-only-video video {
    width: 130%;
    height: 130%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 5rem 1.5rem; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.scrolled { background: rgba(5, 7, 13, 0.95); }

  .hero-section { min-height: auto; padding-top: 8rem; }
  .simulator-layout, .transceiver-layout { grid-template-columns: 1fr; }
  .sim-left-panel { border-right: none; border-bottom: 1px solid var(--border); }
  .timeline-log-wrap { padding: 1.75rem 1.25rem; }
  .grid-floor { display: none; }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .metric-card { padding-left: 0; border-left: none; }
  .cinema-node { grid-template-columns: 2.6rem 1fr; }
}
