/* ==========================================================================
   CrackRound — Flagship Design System
   Theme: Deep Navy (#070B16), Electric Blue (#4F8CFF), Emerald (#10B981)
   Typography: Inter, JetBrains Mono
   ========================================================================== */

:root {
  --bg: #070B16;
  --bg-darker: #04060d;
  --surface: rgba(17, 24, 39, 0.75);
  --surface-solid: #0d1424;
  --surface-hover: rgba(30, 41, 59, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #F3F6FF;
  --muted: #94A3B8;
  --muted-dim: #64748B;
  --accent: #4F8CFF;
  --accent-glow: rgba(79, 140, 255, 0.22);
  --accent-hover: #3d79f0;
  --accent-light: #dbeafe;
  --ok: #10B981;
  --ok-glow: rgba(16, 185, 129, 0.2);
  --r: 14px;
  --r-sm: 8px;
  --r-lg: 20px;

  /* Backward compat variables for existing classes */
  --cr-bg: var(--bg);
  --cr-panel: var(--surface-solid);
  --cr-line: var(--line);
  --cr-text: var(--text);
  --cr-muted: var(--muted);
  --cr-accent: var(--accent);
}

/* Base reset & typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background-color: var(--bg);
  color-scheme: dark;
}

body.cr-page {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

code, pre, .kbd, .keycap, [data-mono] {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Subtle background grid pattern */
body.cr-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* View transitions */
@view-transition {
  navigation: auto;
}

/* Accessible Skip Link */
.cr-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: #ffffff;
  color: #070B16 !important;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  transition: top 0.2s ease;
  text-decoration: none;
}
.cr-skip:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.cr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.cr-header a, .cr-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text) !important;
}

.cr-brand img, .cr-brand svg {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.cr-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cr-header nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}

.cr-header nav a:hover, .cr-header nav a.active {
  color: #ffffff;
}

.cr-header nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.cr-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cr-actions a {
  color: var(--muted);
  font-weight: 500;
}

.cr-actions a:hover {
  color: #ffffff;
}

/* Buttons */
.cr-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  background: var(--accent);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--accent-glow);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.cr-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 140, 255, 0.35);
}

.cr-button:active {
  transform: translateY(0);
}

.cr-button-secondary, .cr-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text) !important;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cr-button-secondary:hover, .cr-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-bright);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.cr-page main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.cr-page section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.cr-page section:last-of-type {
  border-bottom: 0;
}

/* Typography elements */
.cr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 14px;
}

.cr-page h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 900px;
  margin: 0 0 20px;
  color: #ffffff;
}

.cr-page h1 em {
  font-style: normal;
  color: var(--accent);
}

.cr-page h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 750;
  max-width: 760px;
  margin: 0 0 24px;
  color: #ffffff;
}

.cr-page h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #ffffff;
}

.cr-page p {
  color: var(--muted);
  margin: 0 0 16px;
}

.cr-page .cr-lead {
  font-size: 19px;
  line-height: 1.65;
  color: #c5d2e8;
  max-width: 760px;
  margin-bottom: 28px;
}

.cr-fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-dim);
  max-width: 780px;
}

.cr-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Hero Section & 3D Stage (Atropos + HUD)
   ========================================================================== */
.cr-hero {
  padding-top: 68px !important;
  text-align: left;
}

.cr-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--muted-dim);
  border-radius: 50%;
}

/* Keycap Chips (Raycast/Linear style) */
.kbd, .keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  min-height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.keycap-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.keycap-row .key-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 3D Hero Visual Container */
.hero-visual {
  margin: 44px 0 24px;
  position: relative;
  max-width: 900px;
}

/* View toggle (Your screen vs Shared window) */
.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 16px;
}

.view-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle button:hover {
  color: #ffffff;
}

.view-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Atropos container & outer stage */
.hero-atropos {
  width: 100%;
}

.stage {
  position: relative;
  background: linear-gradient(150deg, #0d1527 0%, #070B16 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.7), 0 0 40px rgba(79, 140, 255, 0.08);
  overflow: hidden;
}

/* Stage back layer: Simulated video call */
.stage-call {
  background: rgba(11, 17, 32, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-dim);
}

.stage-bar i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.stage-bar i:nth-child(1) { background: #ff5f56; }
.stage-bar i:nth-child(2) { background: #ffbd2e; }
.stage-bar i:nth-child(3) { background: #27c93f; }

.stage-bar span {
  margin-left: 6px;
  font-weight: 500;
}

.stage-call-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.interviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.stage-q {
  font-size: 14px;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.5;
}

.stage-q b {
  color: #ffffff;
}

/* Audio wave simulator */
.audio-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
}

.audio-wave span {
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(2) { height: 18px; animation-delay: 0.15s; }
.audio-wave span:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.audio-wave span:nth-child(4) { height: 16px; animation-delay: 0.45s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Stage front layer: The Overlay HUD */
.stage-hud {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--r);
  background: rgba(13, 20, 36, 0.88);
  border: 1px solid rgba(79, 140, 255, 0.45);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(79, 140, 255, 0.15);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  position: relative;
}

@supports (backdrop-filter: blur(1px)) {
  .stage-hud {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(13, 20, 36, 0.75);
  }
}

/* HARDWARE-LEVEL EXCLUSION EFFECT IN SHARED WINDOW MODE */
.is-shared .stage-hud {
  opacity: 0.04;
  transform: scale(0.98);
  filter: blur(8px);
  pointer-events: none;
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(79, 140, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(79, 140, 255, 0.15);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.hud-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

.hud-code {
  margin: 0;
  padding: 14px;
  background: rgba(4, 7, 16, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.55;
  color: #7dd3fc;
  overflow-x: auto;
  min-height: 160px;
}

.hud-code code {
  white-space: pre;
}

.hud-point {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: #d1fae5;
  line-height: 1.5;
}

.hud-point b {
  color: #34d399;
}

/* ==========================================================================
   Bento Grid & Mouse Spotlight
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.bento .card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento .card:hover {
  border-color: rgba(79, 140, 255, 0.35);
  transform: translateY(-2px);
}

/* Linear-style cursor spotlight effect */
.bento .card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 140, 255, 0.16), transparent 45%);
  z-index: 0;
}

.bento .card:hover::before {
  opacity: 1;
}

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

.icon-wrap {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.2);
  color: var(--accent);
  margin-bottom: 16px;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
}

/* Legacy grid compatibility */
.cr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cr-page article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  min-width: 0;
}

.cr-number {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.cr-performance {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.9), rgba(7, 11, 22, 0.9));
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: var(--r);
  padding: 28px;
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */
.cr-currency {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 24px 0 16px;
}

.cr-currency button {
  padding: 7px 18px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cr-currency .on {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.cr-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.cr-packs article {
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all 0.2s ease;
  position: relative;
}

.cr-packs article:hover {
  border-color: rgba(79, 140, 255, 0.35);
  transform: translateY(-2px);
}

.cr-packs article.popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.1) 0%, rgba(13, 20, 36, 0.8) 100%);
  box-shadow: 0 8px 30px rgba(79, 140, 255, 0.15);
}

.cr-pack-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  min-height: 18px;
}

.cr-pack-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin: 8px 0 12px;
}

.cr-packs .cr-button {
  margin-top: auto;
  width: 100%;
  padding: 10px 8px;
  font-size: 13px;
}

.cr-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
}

.cr-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

/* ==========================================================================
   Details / FAQ
   ========================================================================== */
.cr-page details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  max-width: 860px;
}

.cr-page summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cr-page summary::-webkit-details-marker {
  display: none;
}

.cr-page summary::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.cr-page details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.cr-page details div {
  padding: 14px 0 6px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Architecture Pipeline (for doc.html)
   ========================================================================== */
.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0;
  position: relative;
}

.pipeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
}

.pipeline-step::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
  z-index: 2;
}

.pipeline-step:last-child::after {
  display: none;
}

.pipeline-protect {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.08), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: var(--r);
  padding: 28px;
}

/* ==========================================================================
   Download Page Components
   ========================================================================== */
.dl-hero-card {
  background: linear-gradient(145deg, #0d1527 0%, #070B16 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-lg);
  padding: 36px;
  margin: 32px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hash-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: #cbd5e1;
  word-break: break-all;
  margin: 16px 0;
}

.hash-box code {
  color: var(--accent);
}

.smartscreen-callout {
  padding: 18px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--r);
  font-size: 13px;
  color: #fef08a;
  margin: 24px 0;
}

.smartscreen-callout b {
  color: #fef9c3;
}

/* ==========================================================================
   Native CSS Scroll Reveals & Transitions
   ========================================================================== */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .stage-hud {
    transition: none !important;
  }
  .reveal {
    animation: none !important;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cr-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 56px max(24px, calc((100vw - 1160px) / 2));
  font-size: 14px;
  line-height: 1.7;
}

.cr-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.cr-footer nav a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .bento, .cr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cr-packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pipeline-flow {
    grid-template-columns: 1fr;
  }
  .pipeline-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .cr-header {
    flex-wrap: wrap;
    padding: 14px 20px;
  }
  .cr-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 8px;
    gap: 16px;
  }
  .cr-page section {
    padding: 56px 0;
  }
  .bento, .cr-grid, .cr-packs {
    grid-template-columns: 1fr;
  }
  .cr-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cr-cta a {
    text-align: center;
  }
  .keycap-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .stage {
    padding: 16px;
  }
  .stage-hud {
    padding: 16px;
  }
  .hud-code {
    font-size: 11px;
  }
}


/* ==========================================================================
   Flagship 3D Upgrades (Laptop Chassis, Split Slider, Neon Wave, Multimodal)
   ========================================================================== */

/* 1. 3D Laptop Chassis */
.laptop-stage {
  perspective: 1200px;
  max-width: 960px;
  margin: 36px auto 24px;
  position: relative;
}

.laptop-chassis {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.laptop-lid {
  background: linear-gradient(180deg, #182238 0%, #0c1424 100%);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px 20px 8px 8px;
  padding: 12px 14px 18px;
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.85),
    0 0 60px -10px rgba(79, 140, 255, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  position: relative;
}

.laptop-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 18px;
  margin-bottom: 8px;
}

.laptop-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
  border: 1px solid #334155;
  box-shadow: 0 0 4px rgba(79, 140, 255, 0.5);
}

.laptop-screen-bezel {
  background: #060913;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.laptop-base {
  height: 16px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 0 0 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
}

.laptop-notch {
  width: 90px;
  height: 5px;
  background: #090d16;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

/* 2. Interactive Before/After Split-Screen Slider */
.split-slider-wrapper {
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  min-height: 480px;
}

.split-layer {
  position: absolute;
  inset: 0;
  padding: 22px;
  background: #080d1a;
  overflow: hidden;
}

.split-layer.candidate-view {
  z-index: 1;
}

.split-layer.interviewer-view {
  z-index: 2;
  background: #050811;
  clip-path: polygon(0 0, var(--split-pos, 50%) 0, var(--split-pos, 50%) 100%, 0 100%);
  border-right: 2px solid var(--accent);
}

.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pos, 50%);
  width: 3px;
  background: var(--accent);
  z-index: 10;
  box-shadow: 0 0 16px rgba(79, 140, 255, 0.9);
  pointer-events: none;
}

.split-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #070B16;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.split-badge {
  position: absolute;
  top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

.split-badge.interviewer-badge {
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
}

.split-badge.candidate-badge {
  right: 14px;
  background: rgba(79, 140, 255, 0.2);
  border: 1px solid var(--accent);
  color: #60a5fa;
}

/* 3. Neon Glowing Audio Visualizer */
.neon-visualizer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 20, 36, 0.75);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 14px;
}

.neon-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.neon-bar {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #4F8CFF;
  box-shadow: 0 0 8px rgba(79, 140, 255, 0.6);
  animation: neonPulse 1.4s ease-in-out infinite alternate;
}

.neon-bars .neon-bar:nth-child(2) { animation-delay: 0.1s; height: 16px; }
.neon-bars .neon-bar:nth-child(3) { animation-delay: 0.25s; height: 22px; }
.neon-bars .neon-bar:nth-child(4) { animation-delay: 0.4s; height: 12px; }
.neon-bars .neon-bar:nth-child(5) { animation-delay: 0.15s; height: 19px; }
.neon-bars .neon-bar:nth-child(6) { animation-delay: 0.35s; height: 14px; }
.neon-bars .neon-bar:nth-child(7) { animation-delay: 0.05s; height: 24px; }
.neon-bars .neon-bar:nth-child(8) { animation-delay: 0.28s; height: 9px; }
.neon-bars .neon-bar:nth-child(9) { animation-delay: 0.45s; height: 18px; }
.neon-bars .neon-bar:nth-child(10) { animation-delay: 0.18s; height: 21px; }

@keyframes neonPulse {
  0% { height: 4px; opacity: 0.3; }
  50% { height: 22px; opacity: 1; background: #38bdf8; box-shadow: 0 0 12px #38bdf8; }
  100% { height: 10px; opacity: 0.6; }
}

/* 4. Multimodal Fusion Card & Floating Interactive Keycaps */
.multimodal-fusion-box {
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.95), rgba(7, 11, 22, 0.95));
  border: 1px solid rgba(79, 140, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(79, 140, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

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

.fusion-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
}

.fusion-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.fusion-input-card {
  background: rgba(4, 7, 16, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px;
  position: relative;
}

.fusion-input-card.voice-card {
  border-color: rgba(79, 140, 255, 0.3);
}

.fusion-input-card.vision-card {
  border-color: rgba(168, 85, 247, 0.3);
}

.fusion-code-output {
  background: #030610;
  border: 1px solid rgba(79, 140, 255, 0.35);
  border-radius: var(--r);
  padding: 20px;
  margin-top: 14px;
}

/* Floating Keycaps with 3D Depth */
.keycap-interactive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.keycap-interactive:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.35);
}

.keycap-interactive:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* 5. Cyber Background Mesh */
.cyber-canvas-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cyber-grid-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79, 140, 255, 0.15) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}


/* ==========================================================================
   Real App UI Replica (From Demo Video Reference)
   ========================================================================== */
.real-hud-window {
  background: #13151b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(79, 140, 255, 0.18);
  overflow: hidden;
  margin-top: 14px;
  transition: all 0.35s ease;
}

.real-hud-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #181a22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}

.real-hud-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.real-hud-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.real-hud-dot.red { background: #ff5f56; }
.real-hud-dot.yellow { background: #ffbd2e; }
.real-hud-dot.green { background: #27c93f; }

.real-hud-help {
  color: #64748b;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.real-hud-question-bar {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.real-hud-question-bar strong {
  color: #38bdf8;
}

.real-hud-content {
  padding: 14px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.6;
  max-height: 220px;
  overflow-y: auto;
  font-family: Inter, system-ui, sans-serif;
}

.real-hud-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin: 8px 0 4px;
}

.real-hud-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.real-hud-content li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

.real-hud-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.real-hud-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #181a22;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.real-hud-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hud-stop {
  padding: 4px 12px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.dropdown-hud-mic {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.btn-hud-send {
  padding: 4px 14px;
  border-radius: 999px;
  background: #0284c7;
  color: #ffffff;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.btn-hud-cancel {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
}

.real-hud-status-line {
  font-size: 11px;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
}

/* ==========================================================================
   Task Manager Stealth Architecture
   ========================================================================== */
.stealth-matrix-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(7, 11, 22, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.12);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.task-manager-mockup {
  background: #1e1e1e;
  border: 1px solid #333333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin-top: 18px;
}

.tm-titlebar {
  background: #2d2d2d;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #cccccc;
  border-bottom: 1px solid #3c3c3c;
}

.tm-tabs {
  display: flex;
  gap: 16px;
  padding: 8px 14px;
  background: #252526;
  border-bottom: 1px solid #333;
  font-size: 11px;
  color: #888;
}

.tm-tabs .active {
  color: #fff;
  border-bottom: 2px solid #0078d4;
  padding-bottom: 6px;
}

.tm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  color: #ddd;
}

.tm-table th {
  text-align: left;
  padding: 6px 14px;
  background: #1e1e1e;
  color: #888;
  border-bottom: 1px solid #2a2a2a;
}

.tm-table td {
  padding: 6px 14px;
  border-bottom: 1px solid #252525;
}

.tm-row-visible {
  color: #e2e8f0;
}

.tm-ghost-row {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  color: #34d399;
}

/* Panic Kill Dissolve Animation */
.is-panic-killed {
  opacity: 0 !important;
  transform: scale(0.92) translateY(20px) !important;
  filter: blur(14px) !important;
  pointer-events: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 1, 1) !important;
}

/* Red Emergency Kill Keycap */
.keycap-panic {
  border-color: rgba(239, 68, 68, 0.5) !important;
  background: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%) !important;
  color: #fca5a5 !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3) !important;
}
.keycap-panic:hover {
  border-color: #ef4444 !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5) !important;
}


/* ==========================================================================
   Flagship Innovations: Dual-Tone HUD, Teleprompter, Meeting Shield & Decoy
   ========================================================================== */

/* Meeting Shield Detection Badge */
.meeting-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.shield-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: shieldPulse 1.8s infinite ease-in-out;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

/* Response Mode Switcher Tabs */
.hud-mode-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #151822;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.hud-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hud-mode-tab:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.hud-mode-tab.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

/* HUD Tab Panes */
.hud-pane {
  display: none;
  animation: paneFadeIn 0.25s ease forwards;
}

.hud-pane.active {
  display: block;
}

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

/* Teleprompter Mode Styling */
.teleprompter-view {
  background: #0b0d14;
  min-height: 160px;
  max-height: 220px;
  overflow-y: auto;
}

.teleprompter-pacing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #94a3b8;
}

.pacing-meter {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pacing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.pacing-progress-track {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pacing-progress-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: 999px;
  animation: pacingScan 3.5s infinite linear;
}

@keyframes pacingScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

.spoken-points-list {
  list-style: none;
  padding: 10px 12px;
  margin: 0;
}

.spoken-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.55;
  color: #cbd5e1;
  transition: all 0.25s ease;
}

.spoken-point.is-reading {
  background: rgba(56, 189, 248, 0.09);
  border-left-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.1);
}

.spoken-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
  margin-top: 1px;
}

.spoken-point.is-reading .spoken-num {
  background: #0284c7;
  color: #ffffff;
}

/* 3-Step Dry Run & Complexity Badges */
.dryrun-view {
  background: #0b0d14;
  min-height: 160px;
  max-height: 220px;
  overflow-y: auto;
}

.complexity-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.complexity-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.complexity-pill.time {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.complexity-pill.space {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.dry-run-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 3px;
}

.step-detail {
  font-family: 'JetBrains Mono', monospace;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.5;
}

/* Decoy Notepad Window (Smart Camouflage Mode) */
.decoy-notepad-window {
  display: none;
  background: #202020;
  border: 1px solid #333333;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin-top: 14px;
  animation: paneFadeIn 0.2s ease forwards;
}

.decoy-notepad-window.is-active {
  display: block;
}

.notepad-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #2b2b2b;
  border-bottom: 1px solid #383838;
  font-size: 11px;
  color: #dddddd;
}

.notepad-controls {
  display: flex;
  gap: 12px;
  color: #888888;
  font-size: 12px;
}

.notepad-menu-bar {
  display: flex;
  gap: 14px;
  padding: 4px 12px;
  background: #252526;
  border-bottom: 1px solid #333333;
  font-size: 11px;
  color: #cccccc;
}

.notepad-editor {
  padding: 12px 14px;
  font-family: 'Consolas', 'Lucida Console', monospace;
  font-size: 12px;
  color: #e5e5e5;
  line-height: 1.6;
  min-height: 180px;
  white-space: pre-wrap;
  background: #1e1e1e;
}

/* Platform detection switcher strip */
.shield-switch-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.shield-btn {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shield-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.shield-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}


/* ==========================================================================
   Flagship 1-Page Hero & Interactive 3D Control Console
   ========================================================================== */

/* 1-Page Hero Layout */
.cr-hero.onepage-hero {
  padding: 14px 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.onepage-hero h1 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 6px 0 8px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.onepage-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.onepage-hero .cr-lead {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.45;
  max-width: 680px;
  margin: 0 auto 12px;
  color: #94a3b8;
}

.onepage-hero .cr-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.onepage-hero .cr-button {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.onepage-hero .cr-secondary {
  padding: 8px 16px;
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.onepage-hero .cr-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.onepage-hero .hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 11px;
  color: #64748b;
  flex-wrap: wrap;
}

.onepage-hero .hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #475569;
}

/* Compact 3D Laptop Chassis (Fits on 1 Screen) */
.laptop-stage.compact-stage {
  perspective: 1400px;
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
}

.laptop-stage.compact-stage .laptop-chassis {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.laptop-stage.compact-stage .laptop-lid {
  padding: 8px 10px 14px;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, #1a2236 0%, #0b1120 100%);
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 24px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 50px -10px rgba(56, 189, 248, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  position: relative;
  transform-style: preserve-3d;
}

.laptop-stage.compact-stage .laptop-topbar {
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.laptop-stage.compact-stage .laptop-camera {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000;
  border: 1px solid #475569;
  box-shadow: 0 0 4px #38bdf8;
}

.laptop-stage.compact-stage .split-slider-wrapper {
  min-height: 330px;
  height: 330px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.laptop-stage.compact-stage .split-layer {
  padding: 12px 14px;
}

.laptop-stage.compact-stage .neon-visualizer-card {
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.laptop-stage.compact-stage .real-hud-window {
  margin-top: 6px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.15);
}

.laptop-stage.compact-stage .real-hud-titlebar {
  padding: 6px 10px;
  font-size: 11px;
}

.laptop-stage.compact-stage .real-hud-question-bar {
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.35;
}

.laptop-stage.compact-stage .hud-mode-tabs {
  padding: 4px 8px;
}

.laptop-stage.compact-stage .hud-mode-tab {
  padding: 3px 8px;
  font-size: 10px;
}

.laptop-stage.compact-stage .teleprompter-view,
.laptop-stage.compact-stage .dryrun-view {
  min-height: 125px;
  max-height: 140px;
}

.laptop-stage.compact-stage .hud-code {
  min-height: 125px !important;
  max-height: 140px !important;
  font-size: 11px !important;
  padding: 6px 10px !important;
  line-height: 1.45 !important;
}

.laptop-stage.compact-stage .real-hud-toolbar {
  padding: 5px 10px;
}

.laptop-stage.compact-stage .laptop-base {
  height: 12px;
  border-radius: 0 0 20px 20px;
}

/* Floating Screen Feedback Toast Pill */
.screen-feedback-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid #38bdf8;
  color: #f0f9ff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.screen-feedback-pill.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 3D Laser Scanline for Vision Trigger */
.vision-laser-scanner {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c084fc, #38bdf8, transparent);
  box-shadow: 0 0 16px #38bdf8, 0 0 24px #c084fc;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0);
}

.vision-laser-scanner.scanning {
  animation: laserSweep 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes laserSweep {
  0% { opacity: 0; top: 0; }
  15% { opacity: 1; top: 10%; }
  85% { opacity: 1; top: 90%; }
  100% { opacity: 0; top: 100%; }
}

/* Below-Laptop 3D Interactive Control Deck */
.laptop-control-console {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 840px;
}

.console-header-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.console-buttons-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.deck-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #1e2638 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  user-select: none;
}

.deck-btn .kbd-key {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #94a3b8;
}

.deck-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.deck-btn:active, .deck-btn.is-pressed {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.deck-btn.btn-voice { border-color: rgba(56, 189, 248, 0.4); }
.deck-btn.btn-voice:hover { border-color: #38bdf8; }

.deck-btn.btn-vision { border-color: rgba(192, 132, 252, 0.4); }
.deck-btn.btn-vision:hover { border-color: #c084fc; }

.deck-btn.btn-fuse {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
  border-color: #60a5fa;
  border-bottom-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}

.deck-btn.btn-fuse .kbd-key {
  background: rgba(0, 0, 0, 0.3);
  color: #93c5fd;
  border-color: rgba(255, 255, 255, 0.25);
}

.deck-btn.btn-panic {
  background: linear-gradient(180deg, #991b1b 0%, #450a0a 100%);
  border-color: #ef4444;
  border-bottom-color: #dc2626;
  color: #fca5a5;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.deck-btn.btn-compare {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: #94a3b8;
}

.deck-btn.btn-compare.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Simple 2-Liner "How It Works" Bar */
.simple-how-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 840px;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.simple-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-divider {
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
}

.kbd-mini {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #38bdf8;
}

/* Mobile Responsive Optimization for 1-Page Hero */
@media (max-width: 768px) {
  .cr-hero.onepage-hero {
    padding: 10px 12px 16px;
  }
  .onepage-hero h1 {
    font-size: 24px;
  }
  .onepage-hero .cr-lead {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .laptop-stage.compact-stage .split-slider-wrapper {
    min-height: 290px;
    height: 290px;
  }
  .console-buttons-grid {
    gap: 6px;
  }
  .deck-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  .simple-how-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
  }
  .step-divider {
    display: none;
  }
}

/* Neon Equalizer Wave Keyframes */
@keyframes equalizerWave {
  0% { transform: scaleY(0.2); }
  50% { transform: scaleY(1.35); filter: brightness(1.4); }
  100% { transform: scaleY(0.35); }
}

.neon-bar:nth-child(1) { animation-delay: 0.05s; }
.neon-bar:nth-child(2) { animation-delay: 0.2s; }
.neon-bar:nth-child(3) { animation-delay: 0.35s; }
.neon-bar:nth-child(4) { animation-delay: 0.12s; }
.neon-bar:nth-child(5) { animation-delay: 0.28s; }
.neon-bar:nth-child(6) { animation-delay: 0.08s; }
.neon-bar:nth-child(7) { animation-delay: 0.22s; }
.neon-bar:nth-child(8) { animation-delay: 0.4s; }
.neon-bar:nth-child(9) { animation-delay: 0.18s; }
