/* ===================================================================
   BoostNet机场 掌机互联平台 - HANDHELD CONSOLE DESIGN SYSTEM
   Visual Direction: Warm Ivory, Forest Green, Pale Olive LCD, Charcoal, Orange Accents
   =================================================================== */

:root {
  /* Warm Ivory Housing Palette */
  --housing-primary: #f5f2ea;
  --housing-surface: #fbf9f4;
  --housing-deep: #ebe5d8;
  --housing-border: #d4ccbd;
  --housing-bevel: #ffffff;
  --housing-shadow: rgba(43, 38, 30, 0.12);

  /* Dark Forest-Green Typography */
  --text-main: #132e21;
  --text-secondary: #244634;
  --text-muted: #4e6a5b;
  --text-inverse: #f5f2ea;

  /* Pale Olive LCD Panels */
  --lcd-bg: #cad7b2;
  --lcd-surface: #d5e0be;
  --lcd-grid: #bdcca2;
  --lcd-text: #163321;
  --lcd-text-dim: #44614c;
  --lcd-border: #8fa074;
  --lcd-glow: #e2eccb;

  /* Charcoal Controls & Bezel */
  --control-dark: #232625;
  --control-main: #323634;
  --control-light: #444a47;
  --control-shadow: #141615;

  /* Orange Action Accents */
  --accent-main: #e65d24;
  --accent-hover: #d24e17;
  --accent-active: #b94010;
  --accent-light: #fff2eb;
  --accent-border: #fca074;

  /* Cartridge Theme */
  --cartridge-bg: #ded7c6;
  --cartridge-sticker: #f9f7f2;
  --cartridge-gold: #cfa84a;

  /* Fonts */
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Monaco, Consolas, "Liberation Mono", monospace;

  /* Spacing & Radii */
  --radius-console: 28px;
  --radius-screen: 16px;
  --radius-cartridge: 14px;
  --radius-button: 8px;
  --max-width: 1200px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--housing-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--housing-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
    linear-gradient(to right, rgba(212, 204, 189, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 204, 189, 0.25) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessible focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-main);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* ===================================================================
   TOP NAVIGATION BAR (Console Top Edge Theme)
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 242, 234, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--housing-border);
  box-shadow: 0 4px 12px var(--housing-shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--control-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-main);
  border: 1px solid var(--control-light);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-name .badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  background: var(--lcd-bg);
  border: 1px solid var(--lcd-border);
  color: var(--lcd-text);
  border-radius: 4px;
}

/* Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 2px;
}

.nav-link:hover {
  color: var(--accent-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-main);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent-main);
  border-radius: var(--radius-button);
  box-shadow: 0 3px 0 var(--accent-hover), 0 4px 8px rgba(230, 93, 36, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--accent-active), 0 6px 12px rgba(230, 93, 36, 0.3);
}

.header-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--accent-active);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: var(--housing-deep);
  border: 2px solid var(--housing-border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--text-main);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(245, 242, 234, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 24px 20px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 2px solid var(--housing-border);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--housing-surface);
  border: 1px solid var(--housing-border);
}

.mobile-nav-link:hover {
  background: var(--lcd-glow);
  color: var(--accent-main);
}

/* ===================================================================
   HERO CONSOLE SECTION (The Handheld Hardware Frame)
   =================================================================== */
.hero-section {
  padding: 40px 0 60px 0;
}

.console-hardware {
  background: var(--housing-surface);
  border: 4px solid var(--housing-border);
  border-radius: var(--radius-console);
  box-shadow: 
    0 16px 40px var(--housing-shadow),
    inset 0 2px 4px var(--housing-bevel),
    inset 0 -3px 4px rgba(0, 0, 0, 0.05);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

/* Console Hardware Details: Top shoulder grooves & vents */
.console-hardware::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 6px;
  background: var(--housing-border);
  border-radius: 3px;
  opacity: 0.6;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--housing-border);
  padding-bottom: 14px;
}

.console-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.power-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39b54a;
  box-shadow: 0 0 8px #39b54a;
}

.speaker-grill {
  display: flex;
  gap: 5px;
}

.speaker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--control-light);
  opacity: 0.4;
}

/* Main Console Inner Grid: Left Intro + Right Mini-Game */
.console-inner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

/* Console Left: Brand Screen & CTAs */
.console-screen-bezel {
  background: var(--control-dark);
  border: 4px solid var(--control-shadow);
  border-radius: var(--radius-screen);
  padding: 16px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.lcd-display {
  background: var(--lcd-bg);
  border: 2px solid var(--lcd-border);
  border-radius: 8px;
  padding: 24px;
  color: var(--lcd-text);
  box-shadow: inset 0 2px 6px rgba(22, 51, 33, 0.15);
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* LCD Scanline effect */
.lcd-display::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(22, 51, 33, 0.03) 0px,
    rgba(22, 51, 33, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  border-radius: 6px;
}

.lcd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px dashed var(--lcd-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.lcd-title-badge {
  color: var(--lcd-text-dim);
}

.lcd-headline {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--lcd-text);
  letter-spacing: -0.5px;
}

.lcd-headline span.highlight {
  color: var(--accent-main);
  background: rgba(230, 93, 36, 0.12);
  padding: 0 4px;
  border-radius: 4px;
}

.lcd-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--lcd-text);
  margin-bottom: 22px;
}

.lcd-meta-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.lcd-spec-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--lcd-border);
  border-radius: 6px;
  padding: 8px 10px;
}

.lcd-spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--lcd-text-dim);
  text-transform: uppercase;
}

.lcd-spec-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--lcd-text);
}

.lcd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--accent-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-button);
  box-shadow: 0 4px 0 var(--accent-hover), 0 6px 14px rgba(230, 93, 36, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--accent-active), 0 8px 18px rgba(230, 93, 36, 0.4);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--accent-active);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--control-dark);
  color: var(--housing-primary);
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-button);
  box-shadow: 0 4px 0 var(--control-shadow);
  border: 1px solid var(--control-light);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-secondary:hover {
  background: var(--control-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--control-shadow);
}

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--control-shadow);
}

/* ===================================================================
   HERO RIGHT: MINI NETWORK ROUTE PUZZLE & CONTROLS
   =================================================================== */
.console-game-module {
  background: var(--housing-deep);
  border: 3px solid var(--housing-border);
  border-radius: var(--radius-screen);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.game-lcd-screen {
  background: var(--lcd-bg);
  border: 2px solid var(--lcd-border);
  border-radius: 8px;
  padding: 14px;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(22, 51, 33, 0.18);
}

.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lcd-text);
  border-bottom: 1px solid var(--lcd-border);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.game-title {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.grid-cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--lcd-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--lcd-text);
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.grid-cell:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Cell Types */
.grid-cell.cell-start {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

.grid-cell.cell-target {
  background: var(--accent-main);
  color: #fff;
  border-color: var(--accent-hover);
  animation: pulse-target 1.8s infinite;
}

@keyframes pulse-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 93, 36, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(230, 93, 36, 0); }
}

.grid-cell.cell-block {
  background: #a3b28f;
  color: #4b5a3d;
  cursor: not-allowed;
  opacity: 0.75;
}

.grid-cell.cell-bonus {
  border: 2px dashed #39b54a;
  background: rgba(57, 181, 74, 0.15);
}

.grid-cell.cell-visited {
  background: #9fb284;
}

.grid-cell.cell-player {
  background: var(--control-dark);
  color: #fff;
  border-color: #000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
}

/* Victory Banner Overlay inside Game LCD */
.game-victory-banner {
  display: none;
  background: rgba(19, 46, 33, 0.95);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-top: 8px;
  font-size: 0.82rem;
  border: 1px solid var(--accent-main);
}

.game-victory-banner.is-active {
  display: block;
}

/* Tactile Physical Controls (D-Pad + ABXY Buttons + Start/Select) */
.console-controls-deck {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--housing-border);
}

/* D-Pad */
.dpad-container {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  grid-template-rows: repeat(3, 34px);
  gap: 2px;
}

.dpad-btn {
  background: var(--control-dark);
  border: 1px solid var(--control-light);
  border-radius: 4px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 var(--control-shadow);
  user-select: none;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.dpad-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--control-shadow);
}

.dpad-btn.up { grid-column: 2; grid-row: 1; }
.dpad-btn.left { grid-column: 1; grid-row: 2; }
.dpad-btn.center { grid-column: 2; grid-row: 2; background: var(--control-main); cursor: default; }
.dpad-btn.right { grid-column: 3; grid-row: 2; }
.dpad-btn.down { grid-column: 2; grid-row: 3; }

/* Control Center: Start / Reset Buttons */
.meta-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.pill-btn {
  background: var(--housing-border);
  border: 1px solid #bfb7a7;
  border-radius: 12px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: 0 2px 0 #aba394;
  text-transform: uppercase;
}

.pill-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #aba394;
}

/* AB Buttons */
.action-buttons-group {
  display: flex;
  gap: 12px;
  transform: rotate(-15deg);
}

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #181a19, 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.action-btn.btn-a {
  background: var(--accent-main);
  box-shadow: 0 4px 0 var(--accent-hover);
}

.action-btn.btn-b {
  background: var(--control-dark);
  box-shadow: 0 4px 0 var(--control-shadow);
}

.action-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Game Disclaimer Note */
.game-disclaimer-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.4);
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 3px solid var(--accent-main);
}

/* ===================================================================
   SECTION COMMON HEADERS (Console Label Plate Style)
   =================================================================== */
.section {
  padding: 60px 0;
  position: relative;
}

.section-plate-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.plate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--housing-deep);
  border: 1px solid var(--housing-border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   CARTRIDGE-SHAPED CONTENT PANELS (Product Advantages / Features)
   =================================================================== */
.cartridge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cartridge-panel {
  background: var(--cartridge-bg);
  border: 2px solid var(--housing-border);
  border-radius: var(--radius-cartridge);
  padding: 18px 18px 24px 18px;
  position: relative;
  box-shadow: 0 8px 24px var(--housing-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cartridge-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(43, 38, 30, 0.16);
}

/* Cartridge Upper Ribs / Grip Grooves */
.cartridge-ribs {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--housing-border) 0px,
    var(--housing-border) 3px,
    transparent 3px,
    transparent 8px
  );
  border-radius: 4px;
  margin-bottom: 14px;
  opacity: 0.8;
}

/* Cartridge Notch on Top-Right Corner */
.cartridge-notch {
  position: absolute;
  top: -2px;
  right: 28px;
  width: 32px;
  height: 6px;
  background: var(--housing-primary);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 2px solid var(--housing-border);
  border-top: none;
}

/* Cartridge Inner Label / Sticker */
.cartridge-sticker-body {
  background: var(--cartridge-sticker);
  border: 2px solid #ded5c2;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cartridge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cartridge-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--housing-deep);
  padding: 2px 6px;
  border-radius: 4px;
}

.cartridge-icon-box {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-main);
}

.cartridge-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cartridge-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.cartridge-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--housing-border);
  padding-top: 12px;
}

.cartridge-points li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cartridge-points li::before {
  content: "■";
  color: var(--accent-main);
  font-size: 0.6rem;
}

/* Cartridge Gold Contact Pins at Bottom */
.cartridge-gold-pins {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--cartridge-gold) 0px,
    var(--cartridge-gold) 8px,
    #9c7c2c 8px,
    #9c7c2c 12px
  );
  border-radius: 2px;
  margin-top: 14px;
  opacity: 0.85;
}

/* ===================================================================
   NODE NETWORK SECTION (Global Topology & Transit)
   =================================================================== */
.node-network-box {
  background: var(--housing-surface);
  border: 3px solid var(--housing-border);
  border-radius: var(--radius-screen);
  padding: 32px;
  box-shadow: 0 8px 24px var(--housing-shadow);
}

.node-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.node-stat-card {
  background: var(--lcd-bg);
  border: 1px solid var(--lcd-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.node-stat-card .num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--lcd-text);
  line-height: 1.2;
}

.node-stat-card .desc {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lcd-text-dim);
  margin-top: 4px;
}

.node-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.node-cluster-card {
  background: var(--housing-deep);
  border: 1px solid var(--housing-border);
  border-radius: 8px;
  padding: 18px;
}

.cluster-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cluster-latency {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #2b7a3a;
  background: #e3f2e5;
  padding: 2px 8px;
  border-radius: 4px;
}

.cluster-lines {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.node-disclaimer-bar {
  margin-top: 24px;
  background: rgba(230, 93, 36, 0.08);
  border: 1px dashed var(--accent-border);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===================================================================
   AI & STREAMING SCENARIOS SECTION
   =================================================================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.scenario-card {
  background: var(--housing-surface);
  border: 2px solid var(--housing-border);
  border-radius: var(--radius-screen);
  padding: 28px;
  box-shadow: 0 6px 18px var(--housing-shadow);
  display: flex;
  flex-direction: column;
}

.scenario-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--control-dark);
  color: #fff;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 14px;
  align-self: flex-start;
}

.scenario-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.scenario-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.scenario-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.scenario-tag {
  background: var(--housing-deep);
  border: 1px solid var(--housing-border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.scenario-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--housing-border);
  padding-top: 16px;
  margin-top: auto;
}

.scenario-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.scenario-bullet-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-main);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===================================================================
   PRICING PACKAGES SECTION (Cartridge Style Pricing Cards)
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--cartridge-bg);
  border: 2px solid var(--housing-border);
  border-radius: var(--radius-cartridge);
  padding: 16px 16px 20px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px var(--housing-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 38, 30, 0.16);
}

.pricing-card.is-popular {
  border-color: var(--accent-main);
  background: #f7eedf;
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(230, 93, 36, 0.4);
  white-space: nowrap;
}

.pricing-inner {
  background: var(--cartridge-sticker);
  border: 1px solid #ded5c2;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pricing-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pricing-price-box {
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--housing-border);
  padding-bottom: 14px;
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1;
}

.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-meta-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.pricing-meta-line span.label {
  color: var(--text-muted);
}

.pricing-meta-line span.val {
  font-weight: 700;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 16px 0;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-features-list li.unverified {
  color: var(--text-muted);
  font-style: italic;
}

.pricing-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  background: var(--control-dark);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius-button);
  box-shadow: 0 3px 0 var(--control-shadow);
  text-align: center;
  transition: all 0.1s ease;
}

.pricing-card.is-popular .pricing-btn {
  background: var(--accent-main);
  box-shadow: 0 3px 0 var(--accent-hover);
}

.pricing-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.pricing-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--control-shadow);
}

.pricing-disclaimer-box {
  margin-top: 28px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   NINE ARTICLE CARDS (Immediately after pricing, 3x3 desktop)
   =================================================================== */
.articles-section {
  padding: 60px 0;
}

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

.article-card {
  background: var(--housing-surface);
  border: 2px solid var(--housing-border);
  border-radius: var(--radius-cartridge);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px var(--housing-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 38, 30, 0.15);
  border-color: var(--accent-main);
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-category-badge {
  background: var(--lcd-bg);
  border: 1px solid var(--lcd-border);
  color: var(--lcd-text);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 10px;
}

.article-card-title a:hover {
  color: var(--accent-main);
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--housing-border);
  padding-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-main);
}

.article-card-footer .read-time {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: normal;
  font-size: 0.75rem;
}

/* ===================================================================
   TESTIMONIALS (3-6 Reviews Visibly Labelled as Example Reviews)
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--housing-surface);
  border: 1px solid var(--housing-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px var(--housing-shadow);
  display: flex;
  flex-direction: column;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.user-avatar-slot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--control-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.user-info .user-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.user-info .user-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.testimonial-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--housing-deep);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

.testimonial-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ===================================================================
   ACCORDION FAQ SECTION
   =================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--housing-surface);
  border: 1px solid var(--housing-border);
  border-radius: 10px;
  box-shadow: 0 2px 6px var(--housing-shadow);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: #bfb7a7;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: left;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--accent-main);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px dashed var(--housing-border);
  padding-top: 14px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ===================================================================
   ARTICLE DETAIL PAGES (Dedicated Layout)
   =================================================================== */
.article-page-header {
  padding: 40px 0 24px 0;
  border-bottom: 2px solid var(--housing-border);
  margin-bottom: 36px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-nav a:hover {
  color: var(--accent-main);
}

.article-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 14px;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.article-main-content {
  background: var(--housing-surface);
  border: 2px solid var(--housing-border);
  border-radius: var(--radius-screen);
  padding: 36px;
  box-shadow: 0 8px 24px var(--housing-shadow);
}

.article-main-content h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--housing-border);
}

.article-main-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 12px 0;
}

.article-main-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.article-main-content ul,
.article-main-content ol {
  margin: 16px 0 20px 24px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-main-content li {
  margin-bottom: 8px;
}

.article-callout {
  background: var(--lcd-glow);
  border-left: 4px solid var(--accent-main);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--lcd-text);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 10px 14px;
  border: 1px solid var(--housing-border);
}

.article-table th {
  background: var(--housing-deep);
  color: var(--text-main);
  font-weight: 800;
}

.article-table td {
  background: #fff;
  color: var(--text-secondary);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-box {
  background: var(--cartridge-bg);
  border: 2px solid var(--housing-border);
  border-radius: var(--radius-cartridge);
  padding: 20px;
  box-shadow: 0 4px 12px var(--housing-shadow);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--housing-border);
  padding-bottom: 8px;
}

.sidebar-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.sidebar-link-list a {
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-link-list a:hover {
  color: var(--accent-main);
}

.sidebar-cta-card {
  background: var(--control-dark);
  color: #fff;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}

.sidebar-cta-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar-cta-card p {
  font-size: 0.82rem;
  color: #cfc6b5;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ===================================================================
   FOOTER (Concise, Editorial Links, Disclaimers)
   =================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--housing-deep);
  border-top: 3px solid var(--housing-border);
  padding: 50px 0 30px 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--accent-main);
}

/* Editorial Recommendations in original footer position */
.editorial-rec-box {
  background: var(--housing-surface);
  border: 1px solid var(--housing-border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-rec-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.editorial-rec-item a:hover {
  color: var(--accent-main);
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid var(--housing-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: var(--accent-main);
}

/* ===================================================================
   RESPONSIVE DESIGN BREAKPOINTS (375 / 390 / 430 / 768 / 1024 / 1440px)
   =================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .console-inner-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .article-layout-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    position: static;
  }

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

/* Tablet & Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .desktop-nav,
  .header-cta-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .console-hardware {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .lcd-display {
    padding: 16px;
  }

  .lcd-headline {
    font-size: 1.7rem;
  }

  .lcd-meta-specs {
    grid-template-columns: 1fr;
  }

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

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

  .node-cluster-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact Mobile (max-width: 480px / 430px / 390px / 375px) */
@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .console-controls-deck {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .action-buttons-group {
    transform: none;
  }

  .article-hero-title {
    font-size: 1.8rem;
  }

  .article-main-content {
    padding: 20px 16px;
  }
}
