/* ==========================================================================
   Jarvis — Product Sales Website
   Obsidian Stealth Glass + Precision macOS HUD Aesthetic
   ========================================================================== */

:root {
  --bg: #060911;
  --bg-elevated: #0b1120;
  --bg-tinted: #080d19;
  --surface: rgba(15, 23, 42, 0.62);
  --surface-strong: rgba(15, 23, 42, 0.86);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --highlight: rgba(255, 255, 255, 0.06);

  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --cyan: #38bdf8;
  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
  --shadow-lg: 0 24px 64px -20px rgba(0, 0, 0, 0.78);
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 18px 50px -15px rgba(59, 130, 246, 0.32);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code,
kbd {
  font-family: var(--font-mono);
}

kbd {
  display: inline-block;
  padding: 0.12em 0.45em;
  font-size: 0.84em;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom-width: 2px;
  border-radius: 6px;
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.26;
}

.orb-1 {
  width: 640px;
  height: 440px;
  top: -180px;
  left: 10%;
  background: radial-gradient(circle, #2563eb, transparent 70%);
}

.orb-2 {
  width: 560px;
  height: 420px;
  top: 80px;
  right: 4%;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  opacity: 0.18;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
  position: relative;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.45), rgba(8, 13, 25, 0.85), rgba(11, 17, 32, 0.45));
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text);
}

.section-sub {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 9, 17, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.14);
}

.brand-version {
  display: inline-block;
  margin-left: 1px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  background: rgba(59, 130, 246, 0.18);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.28);
  vertical-align: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 16px;
  height: 1.8px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-drawer {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
  background: rgba(6, 9, 17, 0.96);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 650;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-sm {
  font-size: 0.86rem;
  padding: 8px 14px;
}

.btn-lg {
  font-size: 0.98rem;
  padding: 13px 22px;
}

.btn-full {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.94rem;
}

.btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-color: rgba(147, 197, 253, 0.3);
  box-shadow: 0 8px 26px -8px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #4f90fb 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(59, 130, 246, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 var(--highlight);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(148, 163, 184, 0.42);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(30, 41, 59, 0.45);
}

.price-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

/* Status Dots */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.emerald {
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.75);
}

.status-dot.blue {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.75);
}

/* Hero Section */
.hero {
  padding: 64px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 22px;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.55rem, 4.7vw, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 10%, #7dd3fc 52%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 52ch;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 650;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-cta-row.center {
  justify-content: center;
  margin-bottom: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.meta-icon {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* Interactive Desktop Stage */
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-strong);
  gap: 4px;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.18s ease;
}

.toggle-btn:hover {
  color: var(--text);
}

.toggle-btn.is-active {
  background: rgba(51, 65, 85, 0.82);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.scenario-tabs {
  display: inline-flex;
  gap: 6px;
}

.chip {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.chip.is-active {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.5);
  color: #dbeafe;
}

.desktop-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #0a101f;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.macos-menubar {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 11px;
  color: #cbd5e1;
}

.menubar-left,
.menubar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.traffic-dots {
  display: inline-flex;
  gap: 6px;
}

.traffic-dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: block;
}

.traffic-dots i:nth-child(1) { background: #ef4444; }
.traffic-dots i:nth-child(2) { background: #f59e0b; }
.traffic-dots i:nth-child(3) { background: #10b981; }

.menubar-app {
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.share-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 10.5px;
  font-weight: 600;
}

.pulse-ring {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28);
}

.menubar-clock {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}

.underlying-screen {
  position: relative;
  min-height: 458px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(30, 58, 138, 0.25), transparent 55%),
    linear-gradient(160deg, #0b1327 0%, #070b15 100%);
}

.bg-scene {
  display: none;
  height: 100%;
}

.bg-scene.is-visible {
  display: block;
}

/* Call Background */
.call-participants {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 56%;
}

.desktop-frame[data-perspective="interviewer"] .call-participants {
  max-width: 100%;
  grid-template-columns: 1.4fr 0.6fr;
  transition: max-width 0.35s ease;
}

.participant-tile {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.52), rgba(15, 23, 42, 0.72));
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.interviewer-tile {
  min-height: 280px;
}

.self-tile {
  min-height: 120px;
}

.avatar-ring {
  padding: 5px;
  border-radius: 999px;
  border: 2px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.2);
}

.avatar-monogram {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.avatar-monogram.subtle {
  width: 44px;
  height: 44px;
  font-size: 0.78rem;
  background: rgba(51, 65, 85, 0.8);
  color: #cbd5e1;
}

.voice-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
}

.voice-bars span {
  width: 3px;
  border-radius: 3px;
  background: var(--cyan);
  animation: eq 1.1s ease-in-out infinite;
}

.voice-bars span:nth-child(1) { height: 7px; animation-delay: 0s; }
.voice-bars span:nth-child(2) { height: 15px; animation-delay: 0.15s; }
.voice-bars span:nth-child(3) { height: 18px; animation-delay: 0.3s; }
.voice-bars span:nth-child(4) { height: 11px; animation-delay: 0.45s; }
.voice-bars span:nth-child(5) { height: 8px; animation-delay: 0.2s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.45); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

.participant-label {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.speaker-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-family: var(--font-mono);
}

.live-caption {
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 320px;
}

/* Coding IDE Background */
.ide-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 56%;
}

.desktop-frame[data-perspective="interviewer"] .ide-split {
  max-width: 100%;
  grid-template-columns: 0.9fr 1.1fr;
}

.ide-prompt,
.ide-editor {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.72);
  padding: 14px;
}

.ide-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.ide-prompt h4 {
  margin: 0 0 8px;
  font-size: 0.94rem;
}

.ide-prompt p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.ide-prompt code {
  color: #7dd3fc;
  font-size: 11px;
}

.ide-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}

.ide-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #93c5fd;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ide-editor pre {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #cbd5e1;
  overflow-x: auto;
}

/* Interviewer Shield Banner */
.interviewer-shield-banner {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(6, 78, 59, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #d1fae5;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.interviewer-shield-banner .icon {
  width: 22px;
  height: 22px;
  color: #34d399;
  flex-shrink: 0;
}

.interviewer-shield-banner strong {
  display: block;
  font-size: 0.84rem;
}

.interviewer-shield-banner span {
  font-size: 0.76rem;
  color: #a7f3d0;
}

.desktop-frame[data-perspective="interviewer"] .interviewer-shield-banner {
  opacity: 1;
  transform: translateY(0);
}

/* Authentic Jarvis Floating HUD */
.jarvis-hud {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: 318px;
  max-width: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

.desktop-frame[data-perspective="interviewer"] .jarvis-hud {
  opacity: 0;
  transform: scale(0.96) translateY(-6px);
  filter: blur(8px);
  pointer-events: none;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  background: rgba(15, 23, 42, 0.86);
  border-bottom: 1px solid rgba(51, 65, 85, 0.7);
}

.hud-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hud-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  animation: pulse 1.5s infinite;
}

.hud-live-dot.watching {
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hud-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
}

.hud-badge {
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.75);
  color: #94a3b8;
}

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

.hud-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #94a3b8;
}

.hud-icon-btn.is-amber {
  background: rgba(245, 158, 11, 0.22);
  color: #fcd34d;
}

.hud-clickthrough-banner {
  background: rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  padding: 4px 8px;
}

.hud-clickthrough-banner[hidden] {
  display: none;
}

.hud-actionbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  gap: 6px;
}

.hud-shortcuts {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #64748b;
}

.hud-btns {
  display: flex;
  gap: 5px;
}

.hud-pill-btn {
  font-size: 10.5px;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(51, 65, 85, 0.9);
  color: #f1f5f9;
}

.hud-pill-btn.listening {
  background: #ef4444;
  color: #fff;
}

.hud-pill-btn.watching {
  background: #059669;
  color: #fff;
}

.hud-body {
  flex: 1;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
}

.hud-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hud-section-label .bulb {
  color: #facc15;
}

.hud-history-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(71, 85, 105, 0.7);
  color: #94a3b8;
}

.hud-answer-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.hud-answer-card {
  background: rgba(30, 41, 59, 0.88);
  border: 1px solid rgba(71, 85, 105, 0.78);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 11.8px;
  line-height: 1.5;
  color: #f1f5f9;
}

.hud-code-card {
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(51, 65, 85, 0.85);
  border-radius: 8px;
  overflow: hidden;
}

.hud-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #94a3b8;
}

.hud-code-card pre {
  margin: 0;
  padding: 8px 9px;
  font-size: 10.4px;
  line-height: 1.48;
  color: #a7f3d0;
  overflow-x: auto;
}

.hud-followup-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding-top: 6px;
  border-top: 1px solid rgba(30, 41, 59, 0.9);
}

.hud-mini-btn {
  padding: 5px 6px;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(71, 85, 105, 0.65);
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.hud-mini-btn:hover,
.hud-mini-btn.is-active {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  color: #ffffff;
}

.hud-transcript {
  padding: 7px 11px;
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid rgba(51, 65, 85, 0.72);
}

.hud-transcript-head {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 3px;
}

.hud-transcript p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hud-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 11px;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(30, 41, 59, 0.9);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.hud-api-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #34d399;
}

.hud-log {
  color: #60a5fa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 58%;
}

.hud-copy-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 9.5px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.hud-copy-btn:hover {
  color: #f8fafc;
}

.hud-copy-btn.is-copied {
  color: #34d399;
}

.stage-caption {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stage-caption strong {
  color: #cbd5e1;
}

.stage-caption code {
  color: var(--cyan);
  font-size: 0.88em;
}

/* Metrics Strip */
.metrics-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(11, 17, 32, 0.55);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.metric-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 12px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.metric-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

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

.bento-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.72), rgba(9, 14, 28, 0.88));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--highlight);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: rgba(148, 163, 184, 0.28);
  transform: translateY(-2px);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.bento-tag.blue {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.bento-tag.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bento-tag.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.bento-mono {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.bento-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.bento-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Audio Channel Visualizer */
.audio-visual {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-row {
  display: grid;
  grid-template-columns: 205px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  color: #e2e8f0;
}

.wave-track {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
}

.wave-track span {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  opacity: 0.85;
}

.wave-track.subtle span {
  background: linear-gradient(180deg, #34d399, #059669);
  opacity: 0.55;
}

.channel-action {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}

.channel-action.trigger { color: #7dd3fc; }
.channel-action.context { color: #6ee7b7; }

.mini-spec-list {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-spec-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.8rem;
}

.mini-spec-list span { color: var(--text-muted); }
.mini-spec-list strong { color: #e2e8f0; font-weight: 600; text-align: right; }

.context-pills {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}

.context-pills span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

/* Interactive Hotkeys */
.shortcuts-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.shortcut-readout {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.readout-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(59, 130, 246, 0.2);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.shortcut-readout p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.hotkey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hotkey-card {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.62);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: all 0.16s ease;
}

.hotkey-card:hover {
  border-color: var(--border-strong);
  background: rgba(30, 41, 59, 0.55);
}

.hotkey-card.is-active {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(30, 58, 138, 0.28);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.kbd-combo {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cyan);
}

.hotkey-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Wording Sandbox */
.wording-lab {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lab-controls {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}

.lab-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lab-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.question-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.q-tab {
  text-align: left;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.q-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.q-tab.is-active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.55);
}

.level-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 100%;
}

.level-btn {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: all 0.16s ease;
}

.level-btn strong {
  font-size: 0.95rem;
  color: var(--text);
}

.level-btn span {
  font-size: 0.76rem;
  line-height: 1.35;
}

.level-btn:hover {
  border-color: var(--border-strong);
}

.level-btn.is-active {
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.24), rgba(14, 165, 233, 0.14));
  border-color: rgba(56, 189, 248, 0.68);
  color: #dbeafe;
}

.lab-output-card {
  border-radius: var(--radius-md);
  padding: 24px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.lab-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.lab-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-level-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.34);
}

.lab-stat {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald);
}

.lab-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.lab-answer-text {
  margin: 0 0 18px;
  font-size: 1.16rem;
  line-height: 1.65;
  color: #f8fafc;
  font-weight: 500;
  transition: opacity 0.18s ease;
}

.lab-output-foot {
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lab-banned s {
  color: #f87171;
  opacity: 0.85;
}

/* Languages Bar */
.languages-bar {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 0.9fr auto;
  gap: 16px 24px;
  align-items: center;
}

.lang-copy h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.lang-copy p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lang-pill {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.lang-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.lang-pill.is-active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
}

.lang-preview {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.lang-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  flex-shrink: 0;
}

.lang-sample {
  font-size: 0.9rem;
  color: #e2e8f0;
}

/* Privacy & Comparison */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 40px;
  align-items: start;
}

.provider-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.provider-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
}

.provider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.provider-item strong {
  font-size: 0.96rem;
}

.provider-item p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.provider-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.provider-tag.fastest {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.provider-tag.free {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.provider-tag.neutral {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.comparison-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: linear-gradient(170deg, rgba(15, 23, 42, 0.82), rgba(7, 11, 22, 0.94));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.comparison-header h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.comparison-header p {
  margin: 0 0 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.comparison-table {
  display: flex;
  flex-direction: column;
}

.comp-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  gap: 12px;
  padding: 13px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.86rem;
  align-items: center;
}

.comp-row.comp-head {
  border-top: none;
  padding-top: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.col-jarvis {
  font-weight: 700;
  color: #e2e8f0;
}

.col-jarvis.good {
  color: #6ee7b7;
}

.col-other {
  color: var(--text-secondary);
}

.col-other.bad {
  color: #fca5a5;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Pricing */
.platform-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.platform-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.platform-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.platform-btn.is-active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.58);
  color: #ffffff;
}

.platform-note {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.platform-note strong {
  color: var(--cyan);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px); /* one plan, centered */
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 30px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.price-card.featured {
  background: linear-gradient(175deg, rgba(23, 37, 84, 0.72), rgba(11, 17, 32, 0.94));
  border-color: rgba(59, 130, 246, 0.58);
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.price-card-head h3 {
  margin: 0 0 6px;
  font-size: 1.32rem;
}

.price-card-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount .currency {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount .digits {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-amount .cadence {
  margin-left: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.price-features li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 800;
}

.guarantee-strip {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d1fae5;
}

.guarantee-strip .icon {
  width: 28px;
  height: 28px;
  color: var(--emerald);
  flex-shrink: 0;
}

.guarantee-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: #a7f3d0;
}

.guarantee-strip strong {
  color: #ecfdf5;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  padding: 0 22px;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.35);
}

.faq-item summary {
  list-style: none;
  padding: 20px 0;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.faq-item code {
  color: #7dd3fc;
  font-size: 0.88em;
}

/* Final CTA */
.final-cta {
  padding-bottom: 112px;
}

.cta-box {
  border-radius: var(--radius-xl);
  padding: 60px 36px;
  text-align: center;
  background:
    radial-gradient(ellipse 75% 80% at 50% 0%, rgba(37, 99, 235, 0.28), transparent 70%),
    rgba(11, 17, 32, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.32);
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  margin: 0 auto 14px;
  max-width: 18ch;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.cta-box p {
  margin: 0 auto 30px;
  max-width: 54ch;
  font-size: 1.04rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: #04070d;
  padding: 56px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-cols {
  display: flex;
  gap: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.16s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Checkout Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background: #0d1424;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.82);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.modal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.modal-card h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.modal-sub {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.modal-summary strong {
  display: block;
  font-size: 0.92rem;
}

.modal-summary span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(2, 6, 23, 0.75);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.modal-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.config-hint {
  display: inline-block;
  margin-top: 6px;
  color: #93c5fd;
}

.checkout-success {
  text-align: center;
}

.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.license-preview {
  text-align: left;
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid var(--border);
}

.license-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.license-preview code {
  display: block;
  font-size: 0.78rem;
  color: #7dd3fc;
  word-break: break-all;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .voice-bars span, .hud-live-dot { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .bento-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

  .privacy-grid,
  .lab-controls,
  .shortcuts-layout {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 36px 0 60px;
  }

  .call-participants,
  .ide-split {
    max-width: 100%;
  }

  .jarvis-hud {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 14px;
  }

  .desktop-frame[data-perspective="interviewer"] .jarvis-hud {
    max-height: 0;
    margin-top: 0;
    border-width: 0;
  }

  .channel-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hotkey-grid,
  .level-switcher {
    grid-template-columns: 1fr;
  }

  .languages-bar {
    grid-template-columns: 1fr;
  }

  .lang-pills {
    justify-content: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-cols {
    flex-wrap: wrap;
    gap: 32px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
