/* ==========================================================================
   飞鸟机场 RACING TRANSIT - MOTORSPORT GARAGE DESIGN SYSTEM
   Color Scheme: Graphite (#121417), Warm White (#f4f3ef), Racing Red (#e10600), Silver (#8e95a0, #c5cbd5)
   ========================================================================== */

:root {
  --bg-dark: #111317;
  --bg-surface: #181b21;
  --bg-card: #20242c;
  --bg-card-hover: #262c36;
  --bg-overlay: rgba(17, 19, 23, 0.85);

  --text-primary: #f4f3ef;
  --text-secondary: #c5cbd5;
  --text-muted: #848c99;
  
  --racing-red: #e10600;
  --racing-red-hover: #ff2a24;
  --racing-red-dark: #a10500;
  --racing-red-glow: rgba(225, 6, 0, 0.28);

  --silver-bright: #e2e6ed;
  --silver-medium: #8e95a0;
  --silver-dark: #3a424f;
  
  --telemetry-green: #00e676;
  --telemetry-amber: #ffab00;
  --telemetry-cyan: #00d2ff;

  --border-subtle: #29303c;
  --border-medium: #3b4454;
  --border-strong: #546074;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --max-width: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 50% 0%, rgba(225, 6, 0, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, #15181e 50%, var(--bg-dark) 100%);
  position: relative;
}

/* Subtle Motorsport Carbon & Paddock Grid Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Accessible Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Typography & Motorsport Badges */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--racing-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mono-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--racing-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--racing-red);
}

.badge-silver {
  background: rgba(142, 149, 160, 0.12);
  border: 1px solid var(--border-medium);
  color: var(--silver-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-red {
  background: rgba(225, 6, 0, 0.15);
  border: 1px solid rgba(225, 6, 0, 0.4);
  color: #ff6b66;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Section Common Styling */
.section-block {
  padding: 72px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-block {
    padding: 96px 0;
  }
}

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

.section-header .mono-tag {
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Diagonal Separator Lines (Used sparingly) */
.diagonal-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-medium), var(--racing-red), var(--border-medium), transparent);
  margin: 20px 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--racing-red), var(--racing-red-dark));
  color: var(--white-pure);
  box-shadow: 0 4px 18px var(--racing-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--racing-red-hover), var(--racing-red));
  box-shadow: 0 6px 24px rgba(225, 6, 0, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver-bright);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--silver-light);
  color: var(--white-pure);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 19, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

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

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

.logo-symbol {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--racing-red), #680400);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--racing-red-glow);
  color: var(--white-pure);
}

.logo-symbol svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.brand-text span {
  color: var(--racing-red);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--silver-medium);
  letter-spacing: 0.08em;
  display: block;
  line-height: 1;
  margin-top: 2px;
}

/* Desktop Navigation */
.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 6px 0;
    position: relative;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--white-pure);
  }

  .nav-link:hover::after, .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--racing-red);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  gap: 5px;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 24px 20px;
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  background: var(--bg-card);
  border-color: var(--border-medium);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 56px;
  padding-bottom: 64px;
  position: relative;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.hero-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(32, 36, 44, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--silver-bright);
  margin-bottom: 24px;
}

.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--telemetry-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--telemetry-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white-pure);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-title .brand-highlight {
  color: var(--racing-red);
  text-shadow: 0 0 24px var(--racing-red-glow);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Wide Race-Track Illustration */
.track-illustration-wrap {
  margin: 32px 0 44px 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 18px 20px 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.track-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.track-illustration-svg {
  width: 100%;
  max-height: 280px;
  margin: 0 auto;
}

/* Moving Bird Car (Hero Track) */
.track-bird-car {
  filter: drop-shadow(0 0 10px rgba(225, 6, 0, 0.9));
  cursor: pointer;
  transition: filter var(--transition-fast);
}

.track-bird-car:hover {
  filter: drop-shadow(0 0 16px rgba(255, 42, 36, 1)) drop-shadow(0 0 8px #ffab00);
}

/* Garage Control Panel (Hero CTAs) */
.garage-control-panel {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.garage-control-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--racing-red), transparent);
}

.panel-header-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--silver-medium);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-item strong {
  color: var(--silver-bright);
}

.control-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.panel-disclaimer {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PIT-STOP CHECKLIST (CORE ADVANTAGES)
   ========================================================================== */
.pitstop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pitstop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pitstop-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pitstop-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pitstop-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.pitstop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--racing-red);
}

.pitstop-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--silver-medium);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pitstop-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(225, 6, 0, 0.1);
  border: 1px solid rgba(225, 6, 0, 0.25);
  color: var(--racing-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pitstop-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.pitstop-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

.pitstop-checklist {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--silver-light);
  line-height: 1.4;
}

.check-tick {
  color: var(--telemetry-green);
  font-weight: bold;
  font-size: 0.85rem;
  line-height: 1.2;
}

/* ==========================================================================
   ROUTE BOARD (NETWORK INFORMATION)
   ========================================================================== */
.route-board-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.route-board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.route-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.route-table th {
  background: var(--bg-card);
  color: var(--silver-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}

.route-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.route-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.station-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--telemetry-green);
  box-shadow: 0 0 6px var(--telemetry-green);
  display: inline-block;
}

.route-explanation-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .route-explanation-boxes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.exp-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.exp-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--silver-bright);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   DRIVER USE CASES (AI & STREAMING)
   ========================================================================== */
.cockpit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .cockpit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cockpit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.cockpit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--racing-red), var(--silver-medium));
}

.cockpit-header {
  margin-bottom: 20px;
}

.cockpit-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 6px;
  margin-bottom: 10px;
}

.cockpit-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tool-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--silver-bright);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tool-tag.featured {
  border-color: rgba(225, 6, 0, 0.5);
  background: rgba(225, 6, 0, 0.08);
  color: #ff918c;
}

.cockpit-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-mono);
  color: var(--silver-bright);
  font-weight: 600;
}

/* ==========================================================================
   GARAGE BAYS (PRICING COMPARISON TABLE)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.garage-bay-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.garage-bay-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-color: var(--border-strong);
}

.garage-bay-card.recommended {
  border-color: var(--racing-red);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.06) 0%, var(--bg-surface) 100%);
  box-shadow: 0 8px 30px rgba(225, 6, 0, 0.18);
}

.garage-bay-card.recommended::before {
  content: "RECOMMENDED // 精选主力车位";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--racing-red);
  color: var(--white-pure);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.bay-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.bay-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--silver-medium);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.bay-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.bay-price-box {
  margin-bottom: 8px;
}

.bay-price {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white-pure);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.bay-currency {
  font-size: 1.1rem;
  color: var(--racing-red);
  font-weight: 700;
}

.bay-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.bay-traffic {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--telemetry-green);
  font-weight: 600;
  margin-top: 4px;
}

.bay-network-verified {
  font-size: 0.8rem;
  color: var(--silver-light);
  background: var(--bg-card);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  border-left: 2px solid var(--border-medium);
}

.bay-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.bay-feature-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.bay-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--telemetry-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ORIGINAL MOTORSPORT GARAGE GAME (MINI-GAME)
   ========================================================================== */
.game-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #15181f 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.game-container-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.game-disclaimer-banner {
  background: rgba(225, 6, 0, 0.08);
  border: 1px solid rgba(225, 6, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #ff9d98;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hud-score-label {
  color: var(--silver-bright);
}

.hud-score-val {
  color: var(--racing-red);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Bounded 3-Lane Playfield */
.race-playfield-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 380px;
  margin: 0 auto 16px auto;
  background: #14171d;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

/* 3 Lanes Grid & Asphalt Lines */
.race-lanes-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.race-lane {
  flex: 1;
  border-right: 2px dashed rgba(255, 255, 255, 0.12);
  position: relative;
  height: 100%;
}

.race-lane:last-child {
  border-right: none;
}

/* Road Curbs (Red & White Motorsport Curbs) */
.race-curb-left, .race-curb-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  background: repeating-linear-gradient(
    180deg,
    var(--racing-red) 0px,
    var(--racing-red) 16px,
    var(--white-pure) 16px,
    var(--white-pure) 32px
  );
  z-index: 2;
}

.race-curb-left { left: 0; }
.race-curb-right { right: 0; }

/* Player Car (Original CSS / SVG Vehicle) */
.player-car {
  position: absolute;
  bottom: 24px;
  width: 44px;
  height: 80px;
  transition: left 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

/* Tokens */
.game-token {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}

.game-token svg {
  width: 100%;
  height: 100%;
}

/* Game Status Overlay */
.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 19, 23, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 20;
  text-align: center;
  padding: 20px;
}

.game-overlay.hidden {
  display: none;
}

.game-overlay-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white-pure);
}

.game-overlay-desc {
  font-size: 0.85rem;
  color: var(--silver-light);
  max-width: 300px;
}

/* Game Controls Bar */
.game-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.touch-steering-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 10px auto 0 auto;
}

.btn-steering {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--silver-bright);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-steering:active {
  background: var(--racing-red);
  color: var(--white-pure);
  border-color: var(--racing-red);
}

/* Reduced Motion Alternative for Game */
.reduced-motion-fallback {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .race-playfield-wrap, .game-controls-bar, .touch-steering-cluster {
    display: none !important;
  }
  .reduced-motion-fallback {
    display: block !important;
  }
}

/* ==========================================================================
   SEO ARTICLES SECTION (9 CARDS)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.article-card:hover {
  border-color: var(--silver-medium);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--silver-medium);
  margin-bottom: 12px;
}

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

.article-card-title a {
  color: inherit;
}

.article-card-title a:hover {
  color: var(--racing-red);
}

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

.article-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.article-read-link {
  color: var(--racing-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-read-link:hover {
  color: var(--racing-red-hover);
  text-decoration: underline;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-example-tag {
  display: inline-block;
  background: rgba(142, 149, 160, 0.15);
  border: 1px solid var(--border-medium);
  color: var(--silver-medium);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.review-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
  flex-grow: 1;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--silver-bright);
}

.reviewer-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

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

.faq-summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--racing-red);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 20px 20px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -6px;
  padding-top: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0d0f12;
  border-top: 1px solid var(--border-medium);
  padding: 64px 0 32px 0;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

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

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 14px 0 20px 0;
  max-width: 340px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

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

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--racing-red);
}

/* Mandatory Partner Sites in Footer */
.footer-partner-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.partner-links-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partner-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--silver-bright);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.partner-link-item:last-child {
  border-bottom: none;
}

.partner-link-item:hover {
  color: var(--racing-red);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal-disclaimer {
  max-width: 760px;
  line-height: 1.5;
}

/* ==========================================================================
   ARTICLE & SUBPAGE STYLING
   ========================================================================== */
.page-container {
  padding: 48px 0 80px 0;
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--silver-medium);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--silver-bright);
}

.breadcrumb-nav a:hover {
  color: var(--racing-red);
}

.article-header {
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white-pure);
  margin: 12px 0 16px 0;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 2.6rem;
  }
}

.article-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--silver-medium);
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 1.55rem;
  color: var(--text-primary);
  margin: 40px 0 18px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.article-content h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background-color: var(--racing-red);
}

.article-content h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 28px 0 14px 0;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

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

.article-content blockquote {
  background: var(--bg-surface);
  border-left: 4px solid var(--racing-red);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--silver-bright);
}

.article-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: #ff8080;
}

.article-content pre {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 16px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}

.article-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--silver-bright);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
}

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

.article-content th {
  background: var(--bg-card);
  color: var(--white-pure);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-medium);
}

.article-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border: 1px solid var(--racing-red);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 8px 24px var(--racing-red-glow);
}

.article-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white-pure);
  margin-bottom: 10px;
}

.article-related-links {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 48px;
}

.related-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-list a {
  color: var(--silver-bright);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.related-list a:hover {
  color: var(--racing-red);
}
