@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
  :root {
    --bg: #050709;
    --primary: #3158ff;
    --cyan: #00dbe9;
    --surface: #0d0f18;
    --surface-container: #1a1c27;
    --surface-high: #222433;
    --outline: #2a2d3e;
    --text: #d4d8f0;
    --text-muted: #8a8fa8;
    --detroit-blue: #00c8ff;
    --detroit-line: rgba(0,200,255,0.15);
  }
  body { background-color: var(--bg); color: var(--text); font-family: 'Roboto Flex', sans-serif; margin: 0; cursor: none; }

  /* ===== CUSTOM CURSOR ===== */
  #cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
    width: 24px; height: 24px;
    border: 1.5px solid var(--detroit-blue);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: transform 0.08s ease, width 0.15s, height 0.15s, border-color 0.2s;
    mix-blend-mode: screen;
  }
  #cursor-dot {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000;
    width: 4px; height: 4px;
    background: var(--detroit-blue);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 6px var(--detroit-blue);
  }
  #trail-canvas {
    position: fixed; inset: 0; pointer-events: none; z-index: 9998;
    mix-blend-mode: screen;
  }

  /* ===== SCANLINES OVERLAY ===== */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 9990; pointer-events: none;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.06) 2px,
      rgba(0,0,0,0.06) 4px
    );
  }

  /* ===== DETROIT NAV ===== */
  .roi-nav {
    background: rgba(5,7,9,0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0,200,255,0.2);
    position: sticky; top: 0; z-index: 100;
    padding: 0 40px;
    height: 56px;
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0px), calc(100% - 0px) 100%, 0 100%);
  }
  .roi-nav::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--detroit-blue), rgba(0,200,255,0.4), var(--detroit-blue), transparent);
    animation: nav-line-scan 4s linear infinite;
  }
  @keyframes nav-line-scan {
    0% { opacity: 0.3; background-position: -100% 0; }
    50% { opacity: 1; }
    100% { opacity: 0.3; background-position: 200% 0; }
  }
  .roi-nav .logo {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    font-weight: 400;
    color: var(--detroit-blue);
    cursor: pointer;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0,200,255,0.5);
    display: flex; align-items: center; gap: 12px;
  }
  .roi-nav .logo::before {
    content: '▶';
    font-size: 10px;
    color: var(--detroit-blue);
    animation: blink 1.5s step-end infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
  .roi-nav .nav-links { display: flex; gap: 0; }
  .roi-nav .nav-links a {
    color: #6a7090;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    padding: 0 20px;
    height: 56px;
    display: flex; align-items: center;
    position: relative;
    border-right: 1px solid rgba(0,200,255,0.08);
  }
  .roi-nav .nav-links a:first-child { border-left: 1px solid rgba(0,200,255,0.08); }
  .roi-nav .nav-links a:hover { color: var(--detroit-blue); background: rgba(0,200,255,0.05); }
  .roi-nav .nav-links a.active {
    color: var(--detroit-blue);
    background: rgba(0,200,255,0.08);
  }
  .roi-nav .nav-links a.active::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--detroit-blue);
    box-shadow: 0 0 8px var(--detroit-blue);
  }
  .nav-status {
    display: flex; align-items: center; gap: 16px;
  }
  .nav-system-info {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: rgba(0,200,255,0.5);
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-align: right;
  }
  .roi-nav .nav-btn {
    background: transparent;
    color: var(--detroit-blue);
    border: 1px solid rgba(0,200,255,0.5);
    padding: 7px 18px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  }
  .roi-nav .nav-btn:hover {
    background: rgba(0,200,255,0.12);
    box-shadow: 0 0 15px rgba(0,200,255,0.3);
    color: #fff;
  }
  .breadcrumb {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #6a7090;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px;
    letter-spacing: 0.08em;
  }
  .breadcrumb span { cursor: pointer; color: var(--detroit-blue); }
  .breadcrumb span:hover { text-shadow: 0 0 8px var(--detroit-blue); }

  /* ===== SCREEN SYSTEM ===== */
  .screen { display: none; min-height: 100vh; flex-direction: column; }
  .screen.active { display: flex; }

  /* ===== GLASS PANEL ===== */
  .glass-panel {
    background-color: rgba(13,15,24,0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0,200,255,0.12);
  }
  .glow-hover:hover {
    box-shadow: 0 0 20px rgba(0,200,255,0.12), inset 0 0 20px rgba(0,200,255,0.03);
    border-color: rgba(0,200,255,0.35);
    transition: all 0.3s;
  }
  .ai-feedback-bar {
    border-left: 2px solid var(--detroit-blue);
    padding-left: 1rem;
  }

  /* ===== BUTTONS ===== */
  .btn-primary {
    background: linear-gradient(135deg, #1b3fd4, #3158ff);
    color: white;
    border: 1px solid rgba(49,88,255,0.6);
    padding: 13px 28px;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 20px rgba(49,88,255,0.25);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover {
    background: linear-gradient(135deg, #2547e0, #4068ff);
    box-shadow: 0 0 30px rgba(49,88,255,0.5);
    transform: translateY(-1px);
  }
  .btn-secondary {
    background: transparent;
    color: var(--detroit-blue);
    border: 1px solid rgba(0,200,255,0.4);
    padding: 13px 28px;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-secondary:hover {
    border-color: var(--detroit-blue);
    background: rgba(0,200,255,0.07);
    box-shadow: 0 0 15px rgba(0,200,255,0.2);
  }
  .btn-ghost {
    background: transparent;
    color: #6a7090;
    border: 1px solid #2a2d3e;
    padding: 8px 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-ghost:hover { border-color: var(--detroit-blue); color: var(--detroit-blue); }
  .btn-danger {
    background: rgba(147,0,10,0.2);
    color: #ff6b6b;
    border: 1px solid rgba(147,0,10,0.4);
    padding: 8px 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    cursor: pointer;
    letter-spacing: 0.06em;
  }

  /* ===== CARDS ===== */
  .card {
    background: #0d0f18;
    border: 1px solid #2a2d3e;
    border-radius: 2px;
    padding: 24px;
    transition: all 0.3s;
    position: relative;
  }
  .card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--detroit-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .card:hover::before { opacity: 1; }
  .card:hover { border-color: rgba(0,200,255,0.25); }
  .tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .tag-active { background: rgba(0,200,255,0.08); color: var(--detroit-blue); border: 1px solid rgba(0,200,255,0.3); }
  .tag-pending { background: rgba(106,112,144,0.1); color: #6a7090; border: 1px solid rgba(106,112,144,0.2); }
  .tag-success { background: rgba(49,88,255,0.1); color: #bac3ff; border: 1px solid rgba(49,88,255,0.3); }
  .pulse-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--detroit-blue); animation: pulse 2s infinite; display: inline-block; box-shadow: 0 0 4px var(--detroit-blue); }
  @keyframes pulse { 0%,100%{opacity:1;box-shadow:0 0 4px var(--detroit-blue)} 50%{opacity:0.4;box-shadow:none} }

  /* ===== PROGRESS BAR ===== */
  .progress-bar { background: #1a1c27; height: 3px; overflow: hidden; position: relative; }
  .progress-bar::before { content:''; position:absolute; inset:0; background: repeating-linear-gradient(90deg, rgba(0,200,255,0.05) 0px, rgba(0,200,255,0.05) 4px, transparent 4px, transparent 8px); }
  .progress-fill { background: linear-gradient(90deg, #3158ff, var(--detroit-blue)); height: 100%; transition: width 1s ease; position: relative; }
  .progress-fill::after { content:''; position:absolute; right:0; top:-2px; width:4px; height:7px; background:var(--detroit-blue); box-shadow:0 0 8px var(--detroit-blue); }

  /* ===== MODAL ===== */
  .modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(5,7,9,0.9);
    backdrop-filter: blur(12px);
    z-index: 200; align-items: center; justify-content: center;
  }
  .modal-overlay.open { display: flex; }
  .modal-box {
    background: #0d0f18;
    border: 1px solid rgba(0,200,255,0.25);
    padding: 40px;
    max-width: 520px; width: 90%;
    position: relative; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 0 60px rgba(0,200,255,0.1), inset 0 0 40px rgba(0,0,0,0.5);
  }
  .modal-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--detroit-blue), transparent);
  }
  .modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: #6a7090;
    cursor: pointer; font-size: 20px; line-height: 1;
    font-family: 'Share Tech Mono', monospace;
  }
  .modal-close:hover { color: var(--detroit-blue); }

  /* ===== FORMS ===== */
  .form-group { margin-bottom: 20px; }
  .form-label { display: block; font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #6a7090; margin-bottom: 8px; }
  .form-input {
    width: 100%; background: #070a10; border: 1px solid #2a2d3e;
    padding: 12px 16px; color: #d4d8f0;
    font-family: 'Share Tech Mono', monospace; font-size: 13px;
    box-sizing: border-box; transition: border-color 0.2s; outline: none;
  }
  .form-input:focus { border-color: var(--detroit-blue); box-shadow: 0 0 10px rgba(0,200,255,0.1); }
  .form-select {
    width: 100%; background: #070a10; border: 1px solid #2a2d3e;
    padding: 12px 16px; color: #d4d8f0;
    font-family: 'Share Tech Mono', monospace; font-size: 13px;
    box-sizing: border-box; cursor: pointer; outline: none;
  }
  .radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
  .radio-btn {
    background: #070a10; border: 1px solid #2a2d3e;
    padding: 9px 16px; color: #6a7090;
    font-family: 'Share Tech Mono', monospace; font-size: 11px;
    letter-spacing: 0.08em; cursor: pointer; transition: all 0.2s;
  }
  .radio-btn.selected, .radio-btn:hover { border-color: var(--detroit-blue); color: var(--detroit-blue); background: rgba(0,200,255,0.07); }

  /* ===== TOAST ===== */
  .toast {
    position: fixed; bottom: 32px; right: 32px;
    background: #0d0f18; border: 1px solid var(--detroit-blue);
    padding: 14px 20px;
    color: var(--detroit-blue); font-family: 'Share Tech Mono', monospace; font-size: 12px;
    z-index: 500; display: none;
    animation: slideUp 0.3s ease;
    max-width: 300px;
    box-shadow: 0 0 20px rgba(0,200,255,0.2);
    letter-spacing: 0.06em;
  }
  .toast.show { display: flex; align-items: center; gap: 10px; }
  @keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }

  /* ===== DRAWER ===== */
  .drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(5,7,9,0.7); z-index: 150; }
  .drawer-overlay.open { display: block; }
  .drawer {
    position: fixed; right: 0; top: 0; bottom: 0;
    width: 420px; background: #0d0f18;
    border-left: 1px solid rgba(0,200,255,0.2);
    padding: 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -20px 0 60px rgba(0,200,255,0.05);
  }
  .drawer.open { transform: translateX(0); }

  /* ===== FOOTER ===== */
  .roi-footer {
    background: rgba(5,7,9,0.95);
    border-top: 1px solid rgba(0,200,255,0.1);
    padding: 16px 40px;
    display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0; margin-top: auto;
  }
  .roi-footer .logo-sm { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: rgba(0,200,255,0.6); letter-spacing: 0.15em; text-transform: uppercase; }
  .roi-footer .copy { font-size: 11px; color: #3a3d50; font-family: 'Share Tech Mono', monospace; letter-spacing: 0.06em; }
  .roi-footer .links { display: flex; gap: 20px; }
  .roi-footer .links a { font-family: 'Share Tech Mono', monospace; font-size: 11px; color: #3a3d50; cursor: pointer; text-decoration: none; letter-spacing: 0.06em; }
  .roi-footer .links a:hover { color: var(--detroit-blue); }

  /* ===== DETROIT HERO ===== */
  .detroit-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 56px);
    overflow: hidden;
    position: relative;
  }
  .detroit-hero::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
      linear-gradient(90deg, transparent 49.8%, rgba(0,200,255,0.15) 50%, transparent 50.2%);
  }

  /* Left panel: AI hostess */
  .detroit-left {
    position: relative;
    overflow: hidden;
    background: #020305;
  }
  .detroit-left img,
  .detroit-left video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.1) brightness(0.85) saturate(0.7);
    display: block;
    position: absolute;
    top: 0; left: 0;
  }
  @media (min-width: 900px) {
    .detroit-left img,
    .detroit-left video {
      height: 116%;
      top: -12%;
    }
  }
  .detroit-left video {
    z-index: 1;
  }
  .detroit-left img {
    z-index: 0; /* fallback behind video */
  }
  /* Speaking glow pulse on the hostess */
  @keyframes speaking-glow {
    0%,100% { box-shadow: inset 0 0 0 rgba(0,200,255,0); }
    30%,70% { box-shadow: inset 0 0 40px rgba(0,200,255,0.06); }
    50% { box-shadow: inset 0 0 80px rgba(0,200,255,0.12); }
  }
  .detroit-left.speaking { animation: speaking-glow 0.4s ease-in-out infinite; }
  .detroit-left.neural-active {
    box-shadow: inset 0 0 50px rgba(0, 220, 233, 0.15);
  }
  
  /* Canvas visualizer style */
  #voice-visualizer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  /* Neural network link button */
  .neural-unmute-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .neural-unmute-container.hidden {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.9);
    pointer-events: none;
  }
  .neural-circle-pulse {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(0, 220, 233, 0.4);
    border-radius: 50%;
    animation: neural-ring-pulse 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    pointer-events: none;
    z-index: 0;
  }
  @keyframes neural-ring-pulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
  }
  .neural-btn {
    position: relative;
    z-index: 1;
    background: rgba(2, 3, 5, 0.85);
    border: 1px solid #00dbe9;
    border-radius: 99px;
    padding: 14px 28px;
    color: #00dbe9;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 219, 233, 0.25), inset 0 0 10px rgba(0, 219, 233, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .neural-btn:hover {
    background: #00dbe9;
    color: #020305;
    box-shadow: 0 0 40px rgba(0, 219, 233, 0.5), inset 0 0 0 rgba(0, 219, 233, 0);
    transform: translateY(-2px);
  }
  .neural-icon {
    font-size: 16px;
    animation: sound-bounce 1s ease infinite alternate;
  }
  @keyframes sound-bounce {
    0% { transform: scale(0.9); }
    100% { transform: scale(1.15); }
  }
  @keyframes hud-blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }
  /* HUD overlay on image */
  .detroit-left::after {
    content: '';
    position: absolute; inset: 0;
    background:
      linear-gradient(to right, transparent 70%, var(--bg) 100%),
      linear-gradient(to bottom, rgba(0,200,255,0.04) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
    pointer-events: none;
  }
  /* HUD corner marks */
  .hud-corner {
    position: absolute;
    width: 20px; height: 20px;
    border-color: var(--detroit-blue);
    border-style: solid;
    opacity: 0.7;
  }
  .hud-tl { top: 20px; left: 20px; border-width: 1px 0 0 1px; }
  .hud-tr { top: 20px; right: 0; border-width: 1px 1px 0 0; }
  .hud-bl { bottom: 20px; left: 20px; border-width: 0 0 1px 1px; }
  .hud-br { bottom: 20px; right: 0; border-width: 0 1px 1px 0; }

  /* Scanning line on hostess */
  .scan-line {
    position: absolute; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,200,255,0.6), transparent);
    animation: scan 5s linear infinite;
    pointer-events: none;
    z-index: 2;
  }
  @keyframes scan { 0%{top:0;opacity:0.8} 100%{top:100%;opacity:0} }

  /* HUD data overlays on image */
  .hud-data {
    position: absolute;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: rgba(0,200,255,0.7);
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 3;
    line-height: 1.8;
  }
  .hud-data-top { top: 24px; left: 28px; }
  .hud-data-bot { bottom: 24px; left: 28px; }
  .hud-eye-ring {
    position: absolute;
    top: 38%; right: 12%;
    width: 48px; height: 48px;
    border: 1px solid rgba(0,200,255,0.5);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,200,255,0.2);
    animation: rotate 8s linear infinite;
    z-index: 3;
  }
  .hud-eye-ring::before {
    content: '';
    position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 1px solid rgba(0,200,255,0.2);
    border-radius: 50%;
  }
  @keyframes rotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

  /* Right panel: manifesto */
  .detroit-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px 60px 48px;
    background: var(--bg);
    position: relative;
    z-index: 2;
  }
  .detroit-right::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--detroit-blue), transparent);
    opacity: 0.4;
  }

  .system-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--detroit-blue);
    margin-bottom: 8px;
    opacity: 0.8;
  }
  .system-label::before { content: '// '; }

  .manifesto-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 24px;
    min-height: 2.2em;
  }
  /* Typewriter cursor */
  .manifesto-text::after {
    content: '█';
    font-size: 40px;
    color: var(--detroit-blue);
    animation: blink 0.8s step-end infinite;
    margin-left: 4px;
    vertical-align: baseline;
  }
  .manifesto-text.typing-done::after { display: none; }

  .manifesto-sub {
    font-size: 15px;
    line-height: 1.8;
    color: #8a8fa8;
    margin: 0 0 40px;
    max-width: 420px;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.04em;
    border-left: 2px solid rgba(0,200,255,0.3);
    padding-left: 16px;
  }
  .manifesto-sub em {
    color: var(--detroit-blue);
    font-style: normal;
  }

  /* Detroit angular decorations */
  .detroit-rule {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 32px;
  }
  .detroit-rule::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--detroit-blue);
    box-shadow: 0 0 6px var(--detroit-blue);
  }
  .detroit-rule span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(0,200,255,0.6);
    text-transform: uppercase;
  }
  .detroit-rule::after {
    content: '';
    flex: 1; height: 1px;
    background: linear-gradient(to right, rgba(0,200,255,0.3), transparent);
  }

  /* Status bar under buttons */
  .status-bar {
    margin-top: 32px;
    display: flex; gap: 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: rgba(0,200,255,0.4);
    letter-spacing: 0.08em;
  }
  .status-bar .stat { display: flex; flex-direction: column; gap: 2px; }
  .status-bar .stat-val { color: var(--detroit-blue); font-size: 16px; font-weight: bold; }

  /* ===== 3-PANEL TRAINER ===== */
  .three-panel { display: grid; grid-template-columns: 280px 1fr 300px; gap: 12px; flex: 1; padding: 20px 32px; overflow: hidden; }
  .panel { background: #0a0c14; border: 1px solid #2a2d3e; overflow-y: auto; }
  .panel-header {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--detroit-blue); margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,200,255,0.15);
    display: flex; align-items: center; gap: 8px;
  }
  .panel-header::before { content: ''; width: 6px; height: 6px; background: var(--detroit-blue); box-shadow: 0 0 4px var(--detroit-blue); }

  .student-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; cursor: pointer; transition: background 0.2s;
    border-bottom: 1px solid #1a1c27;
  }
  .student-row:hover { background: rgba(0,200,255,0.04); }

  .exercise-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #1a1c27; }
  .exercise-check { width: 18px; height: 18px; border: 1px solid #2a2d3e; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .exercise-check.done { background: #3158ff; border-color: #3158ff; }

  /* ===== AI VICTORY ===== */
  .victory-card {
    background: linear-gradient(135deg, #040608 0%, #0d0f18 50%, #060c1a 100%);
    border: 1px solid rgba(49,88,255,0.4);
    padding: 40px; text-align: center;
    position: relative; overflow: hidden;
  }
  .victory-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3158ff, var(--detroit-blue), #3158ff, transparent);
  }
  .trophy { font-size: 80px; line-height: 1; margin-bottom: 24px; filter: drop-shadow(0 0 20px rgba(49,88,255,0.6)); }
  .victory-glow { text-shadow: 0 0 40px rgba(49,88,255,0.8); }

  /* ===== CONTROL ROOM ===== */
  .niche-card { background: #0a0c14; border: 1px solid #2a2d3e; padding: 20px; transition: all 0.2s; cursor: pointer; }
  .niche-card:hover { border-color: rgba(0,200,255,0.3); box-shadow: 0 0 20px rgba(0,200,255,0.05); }
  .metric-chip { background: #070a10; border: 1px solid #2a2d3e; padding: 8px 12px; }

  /* ===== LOGIN ===== */
  .login-box { background: #0d0f18; border: 1px solid rgba(0,200,255,0.2); padding: 48px; max-width: 440px; width: 100%; position: relative; }
  .login-box::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg, transparent, var(--detroit-blue), transparent); }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar { width: 3px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(0,200,255,0.3); }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
  .fade-in { animation: fadeIn 0.5s ease forwards; }
  @keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
  .float { animation: float 4s ease-in-out infinite; }
  @keyframes glitch {
    0%,95%,100%{transform:translate(0)}
    96%{transform:translate(-2px,1px)}
    97%{transform:translate(2px,-1px)}
    98%{transform:translate(-1px,2px)}
    99%{transform:translate(1px,-2px)}
  }
  .glitch { animation: glitch 8s infinite; }