/* ==========================================================================
   BrowserPad — Controller-First Gaming Browser Landing Page
   Visual World: BrowserPad Noctis Dark Console Architecture
   Palette: Deep Abyssal Teal (#03181b), Bioluminescent Mint (#49e9a6),
            Electric Cyan (#49d6e9), Sky Blue (#49ace9), Amber Gold (#d5971a)
   ========================================================================== */

:root {
  --bg-canvas: #03181b;
  --bg-elevated: #061f24;
  --bg-card: #082328;
  --bg-card-hover: #0c2d33;
  --bg-panel: #051619;
  --bg-console: #0b1320;

  --border: #153c42;
  --border-subtle: #102e33;
  --border-highlight: #256670;

  --text-primary: #e6f4f5;
  --text-secondary: #9ec0c4;
  --text-muted: #7ca8ae;

  --accent-mint: #49e9a6;
  --accent-cyan: #49d6e9;
  --accent-blue: #49ace9;
  --accent-gold: #e5a93c;
  --accent-rose: #df769b;
  --danger: #f87171;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Browser Surface Theming */
::selection {
  background-color: rgba(73, 214, 233, 0.3);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-panel);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-highlight);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-panel);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(ellipse 85% 45% at 50% 0%, rgba(16, 68, 77, 0.55) 0%, transparent 75%),
    radial-gradient(ellipse 60% 40% at 85% 28%, rgba(10, 48, 64, 0.4) 0%, transparent 70%);
  overflow-x: hidden;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-mint);
}

button, a, summary, input, [tabindex="0"] {
  outline: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-panel);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  border-radius: 5px;
  padding: 0.12rem 0.45rem;
  display: inline-block;
  line-height: 1.3;
}

code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  background: var(--bg-panel);
  color: var(--accent-cyan);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
}

/* ==========================================================================
   1. Sticky Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 24, 27, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-link:hover {
  color: #ffffff;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.brand-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-mint);
  background: rgba(73, 233, 166, 0.12);
  border: 1px solid rgba(73, 233, 166, 0.3);
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  font-variant-numeric: tabular-nums;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-btn-cta {
  background: var(--accent-mint);
  color: #021417;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.nav-btn-cta:hover {
  background: var(--accent-cyan);
  color: #021417;
  transform: translateY(-1px);
}

/* ==========================================================================
   Main Wrapper & Section Rhythm
   ========================================================================== */
.main-wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 2.75rem 1.75rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 66ch;
}

/* ==========================================================================
   2. Hero Section: Split Asymmetric Console Stage + Install Deck
   ========================================================================== */
.hero-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.75rem;
  align-items: start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  text-wrap: balance;
}

.hero-title-accent {
  color: var(--accent-mint);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 62ch;
}

/* Telemetry Spec Strip */
.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.telemetry-cell {
  padding: 0.75rem 0.9rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.telemetry-cell:last-child {
  border-right: none;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-variant-numeric: tabular-nums;
}

.telemetry-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Install Card inside Hero */
.install-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.install-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.platform-selector {
  display: inline-flex;
  background: var(--bg-panel);
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 0.3rem;
}

.platform-tab {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.platform-tab svg {
  width: 16px;
  height: 16px;
}

.platform-tab:hover {
  color: var(--text-primary);
}

.platform-tab.active {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--accent-cyan);
}

.detect-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-mint);
  background: rgba(73, 233, 166, 0.1);
  border: 1px solid rgba(73, 233, 166, 0.28);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.platform-panel {
  display: none;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.platform-panel.active {
  display: flex;
}

.step-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(73, 214, 233, 0.15);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent-mint);
  color: #021417;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-cyan);
  color: #021417;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-subtext {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
}

.advanced-install-details {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.advanced-install-details summary {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.advanced-install-details summary:hover {
  color: var(--accent-mint);
}

.advanced-install-body {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.command-section,
.uninstall-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.command-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.uninstall-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.command-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  min-width: 0;
  max-width: 100%;
}

.command-box code {
  background: transparent;
  padding: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--accent-cyan);
  white-space: pre-wrap;
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

.command-box-subtle code {
  color: var(--text-secondary);
}

.btn-copy {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-copy:hover {
  background: var(--accent-cyan);
  color: #021417;
}

.btn-copy.copied {
  background: var(--accent-mint);
  color: #021417;
  border-color: var(--accent-mint);
}

/* Right Hero Visual Stage */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.hero-stage-window {
  background: var(--bg-console);
  border: 1px solid var(--border-highlight);
  border-radius: 14px;
  overflow: hidden;
}

.stage-window-bar {
  background: #070d17;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.stage-window-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
}

.status-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  display: inline-block;
}

.stage-chord-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(73, 214, 233, 0.12);
  border: 1px solid rgba(73, 214, 233, 0.28);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

.stage-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.hero-sub-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-sub-frame img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-sub-caption {
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-sub-caption strong {
  font-size: 0.82rem;
  color: #ffffff;
}

.hero-sub-caption span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. Interactive Native Overlay HUD Explorer (#hud-showcase)
   ========================================================================== */
.hud-explorer-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.hud-selector-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hud-tab-card {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hud-tab-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
}

.hud-tab-card.active {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
}

.hud-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hud-tab-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.hud-tab-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hud-tab-card.active .hud-tab-title svg {
  color: var(--accent-mint);
}

.hud-tab-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
}

.hud-tab-card.active .hud-tab-badge {
  color: #021417;
  background: var(--accent-mint);
  border-color: var(--accent-mint);
}

.hud-tab-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.hud-viewport-stage {
  background: var(--bg-console);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hud-viewport-header {
  background: #060b14;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hud-viewport-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.hud-viewport-specs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.hud-viewport-figure {
  position: relative;
  background: #02060d;
}

.hud-viewport-img {
  width: 100%;
  height: auto;
  display: block;
}

.hud-QuickActions-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.hud-strip-item {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hud-strip-item:last-child {
  border-right: none;
}

.hud-strip-item strong {
  font-size: 0.84rem;
  color: var(--accent-mint);
}

.hud-strip-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   4. Controller-First Engine & Live Hardware Glyph Switcher (#controller-engine)
   ========================================================================== */
.controller-console-deck {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  overflow: hidden;
}

.controller-deck-bar {
  background: var(--bg-elevated);
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.controller-deck-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.controller-deck-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.controller-type-pills {
  display: inline-flex;
  background: var(--bg-panel);
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 0.3rem;
  flex-wrap: wrap;
}

.ctrl-type-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ctrl-type-btn:hover {
  color: #ffffff;
}

.ctrl-type-btn.active {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--accent-mint);
}

.ctrl-vendor-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  opacity: 0.9;
}

.controller-deck-body {
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.75rem;
  align-items: stretch;
}

.chord-architecture-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chord-primary-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chord-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.panel-subtitle {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.chord-hold-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.14);
  border: 1px solid rgba(229, 169, 60, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

.live-chord-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.ctrl-glyph-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 0.55rem;
  background: #132a31;
  border: 1px solid var(--border-highlight);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
}

.ctrl-glyph-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #132a31;
  border: 1.5px solid var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
}

.chord-plus-sep {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.chord-panel-note {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.chord-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.chord-mini-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chord-mini-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.chord-mini-keys {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.chord-mini-box p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Right Column: Mouse Emulation & Input Isolation Matrix */
.mouse-emulation-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.mouse-emu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bento-panel h3,
.engine-column h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.emu-active-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-mint);
  background: rgba(73, 233, 166, 0.14);
  border: 1px solid rgba(73, 233, 166, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

.mouse-emu-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mouse-map-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mouse-map-row {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mouse-map-input {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.mouse-map-output {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   5. Steam Integration, Artwork Pack & System Architecture (#steam-integration)
   ========================================================================== */
.architecture-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.bento-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bento-panel h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.bento-panel p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.steam-artwork-showcase {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: stretch;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.artwork-capsule-preview {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  display: flex;
  flex-direction: column;
}

.artwork-capsule-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artwork-right-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.artwork-banner-preview {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.artwork-banner-preview img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.artwork-slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.artwork-slot-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-mint);
  background: rgba(73, 233, 166, 0.1);
  border: 1px solid rgba(73, 233, 166, 0.25);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
}

/* Memory & Runtime Efficiency Panel */
.memory-bars-group {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.mem-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mem-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mem-bar-track {
  width: 100%;
  height: 10px;
  background: #0d2226;
  border-radius: 9999px;
  overflow: hidden;
}

.mem-bar-fill-bp {
  width: 18%;
  height: 100%;
  background: var(--accent-mint);
  border-radius: 9999px;
}

.mem-bar-fill-chrome {
  width: 88%;
  height: 100%;
  background: var(--danger);
  border-radius: 9999px;
}

.arch-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.arch-feature-list li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.arch-feature-list li strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.15rem;
}

/* ==========================================================================
   6. Supported Game Engines & Use Cases Strip (#use-cases)
   ========================================================================== */
.engines-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.engine-column {
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.engine-column:last-child {
  border-right: none;
}

.engine-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--bg-panel);
  border: 1px solid var(--border-highlight);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.engine-column h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.engine-column p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   7. Comparison Matrix (#comparison)
   ========================================================================== */
.table-container {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.85rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.comparison-table th,
.comparison-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table thead th {
  background: var(--bg-panel);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.col-browser {
  width: 32%;
  color: var(--text-secondary);
}

.col-browserpad {
  width: 38%;
  background: rgba(73, 233, 166, 0.04);
}

.val-yes {
  color: var(--accent-mint);
  font-weight: 700;
}

.val-no {
  color: var(--danger);
  font-size: 0.86rem;
}

/* ==========================================================================
   8. FAQ Accordion (#faq)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--border-highlight);
}

.faq-question {
  padding: 1.1rem 1.25rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent-cyan);
  font-weight: 500;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent-mint);
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   9. Closing CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, #0e3840 0%, var(--bg-card) 85%);
  border: 1px solid var(--border-highlight);
  border-radius: 18px;
  padding: 3.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-content {
  max-width: 620px;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 2rem 1.75rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* ==========================================================================
   10. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section,
  .hud-explorer-layout,
  .controller-deck-body,
  .architecture-bento,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .engines-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .engine-column:nth-child(2) {
    border-right: none;
  }

  .engine-column:nth-child(1),
  .engine-column:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .telemetry-strip,
  .hud-QuickActions-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-guide,
  .chord-secondary-grid,
  .hero-secondary-row,
  .steam-artwork-showcase,
  .engines-showcase {
    grid-template-columns: 1fr;
  }

  .engine-column {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .engine-column:last-child {
    border-bottom: none;
  }

  .cta-banner {
    padding: 2.25rem 1.5rem;
  }
}
