/* ==========================================================================
   《规则之城：急送》官方网站视觉样式表
   调性：雨后暮色车行街 (#141B29) × 市政法规手账纸 (#F3EFE3) × 4S 暖金灯箱 (#F4B62A)
   ========================================================================== */

:root {
  /* 核心色彩系统 */
  --bg-dusk: #141B29;
  --bg-dusk-alt: #101622;
  --bg-slate: #1C2638;
  --bg-slate-hover: #233047;
  --bg-paper: #F3EFE3;
  --bg-paper-card: #FAF7EE;
  --ink-light: #F5F2EA;
  --ink-muted: #A7B4C9;
  --ink-dark: #182233;
  --ink-dark-muted: #4C5A70;

  /* 城市信号强调色 */
  --signal-gold: #F4B62A;
  --signal-gold-bright: #FFCB4D;
  --transit-teal: #1FA38B;
  --ordinance-red: #D94136;
  --line-dark: rgba(245, 242, 234, 0.11);
  --line-paper: rgba(24, 34, 51, 0.14);

  /* 字体 */
  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", ui-monospace, monospace;

  /* 尺寸与圆角 */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-dusk);
  color: var(--ink-light);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg-dusk);
  color: var(--ink-light);
  line-height: 1.68;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--signal-gold);
  color: var(--ink-dark);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   按钮体系
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-signal {
  background: var(--signal-gold);
  color: var(--ink-dark);
  box-shadow: 0 8px 24px rgba(244, 182, 42, 0.28);
}

.btn-signal:hover {
  background: var(--signal-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(244, 182, 42, 0.36);
}

.btn-glass {
  background: rgba(20, 27, 41, 0.62);
  color: var(--ink-light);
  border-color: rgba(245, 242, 234, 0.24);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(28, 38, 56, 0.85);
  border-color: rgba(245, 242, 234, 0.45);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--ink-light);
  border-color: rgba(245, 242, 234, 0.28);
}

.btn-outline-light:hover {
  background: rgba(245, 242, 234, 0.09);
  border-color: rgba(245, 242, 234, 0.55);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: rgba(245, 242, 234, 0.14);
}

.btn-ghost:hover {
  color: var(--ink-light);
  border-color: rgba(245, 242, 234, 0.34);
  background: rgba(245, 242, 234, 0.06);
}

/* ==========================================================================
   顶部市政导航条
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(20, 27, 41, 0.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 242, 234, 0.08);
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 22, 34, 0.92);
  border-bottom-color: rgba(245, 242, 234, 0.14);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-beacon {
  width: 12px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--signal-gold) 0%, var(--signal-gold) 58%, var(--transit-teal) 58%, var(--transit-teal) 100%);
  box-shadow: 0 0 14px rgba(244, 182, 42, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(245, 242, 234, 0.8);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--signal-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-current {
  color: var(--ink-light);
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--line-dark);
  background: rgba(28, 38, 56, 0.7);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink-light);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.mobile-drawer {
  padding: 14px 20px 22px;
  background: #101622;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.mobile-drawer a {
  padding: 10px 6px;
  font-weight: 600;
  color: var(--ink-light);
  border-bottom: 1px solid rgba(245, 242, 234, 0.06);
}

.mobile-drawer-cta {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mobile-drawer-cta .btn {
  flex: 1;
  height: 44px;
  border-bottom: none;
  padding: 0 14px;
}

/* ==========================================================================
   HERO：雨夜 4S 旗舰店实景与官方标识
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #101622;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(1.06) contrast(1.03);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(14, 20, 31, 0.92) 0%, rgba(16, 23, 36, 0.74) 44%, rgba(16, 23, 36, 0.24) 76%, rgba(16, 23, 36, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 22, 34, 0.55) 0%, transparent 26%, rgba(16, 22, 34, 0.78) 88%, #141B29 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245, 242, 234, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 234, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 22% 45%, black 15%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(44px, 7vh, 88px);
}

.hero-copy {
  max-width: 650px;
}

.dispatch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 27, 41, 0.72);
  border: 1px solid rgba(244, 182, 42, 0.34);
  font-size: 0.82rem;
  font-weight: 600;
  color: #FCE3A1;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--transit-teal);
  box-shadow: 0 0 0 4px rgba(31, 163, 139, 0.25);
}

.hero-title {
  margin: 0 0 18px;
}

.hero-logo {
  width: min(520px, 86vw);
  height: auto;
  margin-left: -10px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65));
}

.hero-thesis {
  margin: 0 0 28px;
  font-size: clamp(1.03rem, 1.45vw, 1.18rem);
  color: rgba(245, 242, 234, 0.9);
  line-height: 1.78;
  max-width: 580px;
}

.hero-thesis strong {
  color: var(--signal-gold-bright);
  font-weight: 800;
}

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

.hero-quick-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.hero-quick-meta .sep {
  opacity: 0.4;
}

/* 底部城市指标带 */
.city-ticker {
  position: relative;
  z-index: 2;
  background: rgba(16, 22, 34, 0.86);
  border-top: 1px solid rgba(245, 242, 234, 0.12);
  backdrop-filter: blur(14px);
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ticker-cell {
  padding: 18px 20px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid rgba(245, 242, 234, 0.08);
}

.ticker-cell:not(:first-child) {
  padding-left: 22px;
}

.ticker-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.ticker-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.ticker-val {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--ink-light);
}

.ticker-sub {
  font-size: 0.78rem;
  color: rgba(167, 180, 201, 0.82);
}

/* ==========================================================================
   通用分区排版
   ========================================================================== */
.section {
  padding-block: clamp(68px, 8.5vw, 112px);
}

.section-dusk {
  background: var(--bg-dusk);
}

.section-dusk-alt {
  background: var(--bg-dusk-alt);
  border-top: 1px solid rgba(245, 242, 234, 0.06);
  border-bottom: 1px solid rgba(245, 242, 234, 0.06);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 28px 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--signal-gold);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.section-lead {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.76;
}

/* ==========================================================================
   SIGNATURE SECTION：市政规则手册 · 实时推演台（手账纸质感）
   ========================================================================== */
.section-ledger {
  background: var(--bg-paper);
  color: var(--ink-dark);
  position: relative;
}

.section-ledger::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--signal-gold) 0 14px,
    var(--ink-dark) 14px 28px
  );
}

.ledger-head .section-kicker {
  color: #9A6700;
}

.ledger-head .section-lead {
  color: var(--ink-dark-muted);
}

.ledger-shell {
  background: var(--bg-paper-card);
  border: 1.5px solid rgba(24, 34, 51, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(20, 27, 41, 0.09);
  overflow: hidden;
}

.ledger-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #E9E3D3;
  border-bottom: 1.5px solid rgba(24, 34, 51, 0.14);
}

.ledger-tab {
  appearance: none;
  border: none;
  border-right: 1px solid rgba(24, 34, 51, 0.11);
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dark-muted);
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ledger-tab:last-child {
  border-right: none;
}

.ledger-tab:hover {
  background: rgba(250, 247, 238, 0.65);
  color: var(--ink-dark);
}

.ledger-tab.is-active {
  background: var(--bg-paper-card);
  color: var(--ink-dark);
  box-shadow: inset 0 -3px 0 var(--ink-dark);
}

.tab-code {
  font-size: 0.76rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(24, 34, 51, 0.08);
  color: var(--ink-dark);
}

.ledger-tab.is-active .tab-code {
  background: var(--ink-dark);
  color: var(--signal-gold);
}

.tab-name {
  font-size: 0.96rem;
}

.ledger-panel {
  padding: clamp(22px, 3vw, 38px);
}

.ledger-panel[hidden] {
  display: none;
}

.sim-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: stretch;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sim-mode-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 11px;
  background: #EAE4D4;
  border: 1px solid var(--line-paper);
  align-self: flex-start;
  gap: 4px;
}

.mode-pill {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-dark-muted);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.mode-pill.is-active {
  background: var(--ink-dark);
  color: var(--ink-light);
}

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

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.range-header label {
  font-weight: 700;
  font-size: 0.95rem;
}

.range-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-dark);
  background: rgba(244, 182, 42, 0.25);
  padding: 2px 10px;
  border-radius: 6px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--ink-dark);
  height: 8px;
  cursor: pointer;
}

.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--ink-dark-muted);
}

.toggle-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F1ECE0;
  border: 1px dashed rgba(24, 34, 51, 0.22);
}

.toggle-stack[hidden] {
  display: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--transit-teal);
}

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

.field-group label {
  font-weight: 700;
  font-size: 0.9rem;
}

.ledger-select {
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(24, 34, 51, 0.2);
  background: #FFFFFF;
  color: var(--ink-dark);
  font-weight: 600;
  cursor: pointer;
}

.dual-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ordinance-note {
  padding: 16px 18px;
  border-radius: 12px;
  background: #F1ECE0;
  border-left: 4px solid var(--ink-dark);
  font-size: 0.88rem;
  color: var(--ink-dark-muted);
}

.ordinance-note strong {
  display: block;
  color: var(--ink-dark);
  margin-bottom: 4px;
}

.ordinance-note p {
  margin: 0;
}

/* 右侧裁定/账单卡片 */
.sim-verdict {
  background: var(--ink-dark);
  color: var(--ink-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.sim-verdict::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(244, 182, 42, 0.14), transparent 70%);
  pointer-events: none;
}

.verdict-stamp {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(31, 163, 139, 0.18);
  color: #79ECD5;
  border: 1px solid rgba(31, 163, 139, 0.42);
  margin-bottom: 14px;
}

.verdict-stamp.is-warn {
  background: rgba(244, 182, 42, 0.16);
  color: #FFE08A;
  border-color: rgba(244, 182, 42, 0.45);
}

.verdict-stamp.is-danger {
  background: rgba(217, 65, 54, 0.2);
  color: #FFA39C;
  border-color: rgba(217, 65, 54, 0.5);
}

.verdict-amount {
  font-size: clamp(2.15rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--signal-gold-bright);
  margin-bottom: 8px;
}

.verdict-title {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 800;
}

.verdict-desc {
  margin: 0 0 20px;
  font-size: 0.91rem;
  color: rgba(245, 242, 234, 0.78);
  line-height: 1.7;
}

.verdict-facts {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 242, 234, 0.12);
  display: grid;
  gap: 12px;
}

.verdict-facts dt {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.verdict-facts dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-light);
}

/* 公交线路列表 */
.bus-routes-list {
  display: grid;
  gap: 12px;
}

.route-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F1ECE0;
  border: 1px solid var(--line-paper);
}

.route-pill {
  flex: 0 0 auto;
  min-width: 54px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--route-c);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
}

.route-row strong {
  display: block;
  font-size: 0.95rem;
}

.route-row p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--ink-dark-muted);
}

/* 补能与城市生活 2×2 面板 */
.living-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.living-item {
  padding: 22px 24px;
  border-radius: 14px;
  background: #F1ECE0;
  border: 1px solid rgba(24, 34, 51, 0.12);
}

.living-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0E6D5B;
  margin-bottom: 8px;
}

.living-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
}

.living-item p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-dark-muted);
}

.living-item kbd,
.living-item code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(24, 34, 51, 0.09);
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: var(--ink-dark);
}

/* ==========================================================================
   SHOWROOM SECTION：极速骑士 4S 旗舰展厅
   ========================================================================== */
.showroom-stage {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.vehicle-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vehicle-card {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-slate);
  border: 1.5px solid rgba(245, 242, 234, 0.09);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.vehicle-card:hover {
  background: var(--bg-slate-hover);
  border-color: rgba(245, 242, 234, 0.24);
  transform: translateX(4px);
}

.vehicle-card.is-active {
  background: #202D44;
  border-color: var(--signal-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.vehicle-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vehicle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--veh-c);
  box-shadow: 0 0 10px var(--veh-c);
}

.vehicle-tag {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.vehicle-price {
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--signal-gold-bright);
}

.vehicle-card strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink-light);
}

.vehicle-brief {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* 展厅右侧详情面板 */
.vehicle-detail-board {
  background: var(--bg-slate);
  border: 1px solid rgba(245, 242, 234, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.vehicle-visual-frame {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #0D131F;
}

.vehicle-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.04);
}

.vehicle-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.3) 0%, transparent 45%, rgba(28, 38, 56, 0.95) 100%);
  pointer-events: none;
}

.vehicle-visual-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(16, 22, 34, 0.82);
  border: 1px solid rgba(245, 242, 234, 0.18);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-light);
}

.vehicle-afford-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(31, 163, 139, 0.92);
  color: #081C18;
  font-size: 0.8rem;
  font-weight: 800;
}

.vehicle-afford-pill.is-upgrade {
  background: rgba(244, 182, 42, 0.94);
  color: var(--ink-dark);
}

.vehicle-specs-body {
  padding: 26px 28px 28px;
}

.vehicle-specs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 12px;
}

.vehicle-energy-badge {
  display: inline-block;
  font-size: 0.76rem;
  color: #79ECD5;
  margin-bottom: 4px;
}

.vehicle-specs-head h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
}

.vehicle-price-big {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--signal-gold-bright);
}

.vehicle-desc {
  margin: 0 0 22px;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.spec-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-bottom: 22px;
}

.spec-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.spec-meta span {
  color: var(--ink-muted);
}

.spec-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(245, 242, 234, 0.1);
  overflow: hidden;
}

.spec-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--transit-teal), var(--signal-gold));
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.spec-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 242, 234, 0.1);
}

.spec-chip {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(16, 22, 34, 0.56);
  border: 1px solid rgba(245, 242, 234, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-chip span {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.spec-chip strong {
  font-size: 0.94rem;
  color: var(--ink-light);
}

/* ==========================================================================
   WORLD GALLERY：实景图集
   ========================================================================== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  grid-column: span 4;
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #141B29;
  border: 1px solid rgba(245, 242, 234, 0.1);
  aspect-ratio: 16 / 10;
  cursor: pointer;
}

.gallery-card-wide {
  grid-column: span 8;
  aspect-ratio: 16 / 8.2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(12, 17, 27, 0.92) 100%);
  pointer-events: none;
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-card figcaption span {
  font-size: 0.72rem;
  color: var(--signal-gold-bright);
  letter-spacing: 0.06em;
}

.gallery-card figcaption strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-light);
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card:hover {
  border-color: rgba(244, 182, 42, 0.48);
}

/* ==========================================================================
   VOICES SECTION：街头原声试听墙
   ========================================================================== */
.section-voices {
  background: linear-gradient(180deg, #141B29 0%, #192436 100%);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.voice-card {
  text-align: left;
  padding: 22px 22px 18px;
  border-radius: var(--radius-md);
  background: rgba(20, 27, 41, 0.72);
  border: 1px solid rgba(245, 242, 234, 0.11);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.voice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 182, 42, 0.45);
  background: rgba(28, 38, 56, 0.9);
}

.voice-card.is-playing {
  border-color: var(--transit-teal);
  background: rgba(31, 163, 139, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.voice-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.voice-role {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--signal-gold-bright);
}

.voice-trigger {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.voice-quote {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.55;
}

.voice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 242, 234, 0.08);
}

.voice-play-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.voice-card.is-playing .voice-play-label {
  color: #79ECD5;
}

.voice-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.voice-bars i {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: rgba(245, 242, 234, 0.32);
  transition: height 0.2s ease, background-color 0.2s ease;
}

.voice-bars i:nth-child(2) { height: 10px; }
.voice-bars i:nth-child(3) { height: 7px; }
.voice-bars i:nth-child(4) { height: 12px; }

.voice-card.is-playing .voice-bars i {
  background: var(--transit-teal);
  animation: eqPulse 0.75s ease-in-out infinite alternate;
}

.voice-card.is-playing .voice-bars i:nth-child(2) { animation-delay: 0.15s; }
.voice-card.is-playing .voice-bars i:nth-child(3) { animation-delay: 0.3s; }
.voice-card.is-playing .voice-bars i:nth-child(4) { animation-delay: 0.45s; }

@keyframes eqPulse {
  from { height: 4px; }
  to { height: 16px; }
}

/* ==========================================================================
   CONTROLS & RELEASE LOG
   ========================================================================== */
.split-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--bg-slate);
  border: 1px solid rgba(245, 242, 234, 0.1);
}

.info-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.38rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.28;
}

.card-intro {
  margin: 0 0 22px;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.key-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.key-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 242, 234, 0.07);
  font-size: 0.91rem;
  color: rgba(245, 242, 234, 0.88);
}

.key-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.key-list kbd {
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #101622;
  border: 1px solid rgba(244, 182, 42, 0.38);
  color: var(--signal-gold-bright);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.key-list span {
  margin-left: 6px;
}

.changelog-list {
  display: grid;
  gap: 18px;
}

.changelog-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(16, 22, 34, 0.56);
  border: 1px solid rgba(245, 242, 234, 0.08);
}

.badge-live,
.badge-next {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge-live {
  background: rgba(31, 163, 139, 0.18);
  color: #79ECD5;
  border: 1px solid rgba(31, 163, 139, 0.35);
}

.badge-next {
  background: rgba(244, 182, 42, 0.16);
  color: var(--signal-gold-bright);
  border: 1px solid rgba(244, 182, 42, 0.35);
}

.changelog-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.changelog-item p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--ink-muted);
}

.changelog-item code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--signal-gold-bright);
}

/* ==========================================================================
   CLOSING CTA & FOOTER
   ========================================================================== */
.section-closing {
  position: relative;
  padding-block: clamp(72px, 9vw, 116px);
  background:
    linear-gradient(180deg, rgba(16, 22, 34, 0.88), rgba(16, 22, 34, 0.94)),
    url("assets/main-menu/storefront-poster.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(244, 182, 42, 0.2);
  text-align: center;
}

.closing-inner {
  max-width: 720px;
}

.closing-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--signal-gold);
  font-weight: 700;
}

.closing-inner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.22;
}

.closing-inner p {
  margin: 0 0 28px;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  background: #0D131F;
  border-top: 1px solid rgba(245, 242, 234, 0.08);
  padding-block: 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand strong {
  font-size: 0.96rem;
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--signal-gold-bright);
}

/* ==========================================================================
   弹窗（开场短片 + 实景灯箱）
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 12, 20, 0.84);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-box {
  width: min(960px, 100%);
  background: #141B29;
  border: 1px solid rgba(245, 242, 234, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(245, 242, 234, 0.1);
}

.modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(245, 242, 234, 0.18);
  background: rgba(16, 22, 34, 0.82);
  color: var(--ink-light);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--signal-gold);
  color: var(--signal-gold-bright);
}

.trailer-stage {
  position: relative;
  background: #000;
}

.trailer-stage video {
  width: 100%;
  max-height: 75vh;
}

.trailer-subtitle {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 10px;
  background: rgba(14, 20, 31, 0.86);
  border: 1px solid rgba(244, 182, 42, 0.4);
  color: var(--ink-light);
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
  max-width: 88%;
  pointer-events: none;
}

.trailer-subtitle span {
  color: var(--signal-gold-bright);
  margin-right: 8px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
}

.lightbox-box img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #0B101A;
}

.lightbox-caption {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(245, 242, 234, 0.1);
}

.lightbox-caption span {
  font-size: 0.78rem;
  color: var(--signal-gold-bright);
}

.lightbox-caption h3 {
  margin: 4px 0 6px;
  font-size: 1.25rem;
}

.lightbox-caption p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   响应式适配
   ========================================================================== */
@media (max-width: 1024px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .ticker-cell:nth-child(2) {
    border-right: none;
  }

  .ticker-cell:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid rgba(245, 242, 234, 0.08);
  }

  .ticker-cell:nth-child(4) {
    border-top: 1px solid rgba(245, 242, 234, 0.08);
  }

  .sim-layout,
  .showroom-stage,
  .split-two {
    grid-template-columns: 1fr;
  }

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

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

  .nav-toggle {
    display: inline-flex;
  }

  .ledger-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-tab {
    border-bottom: 1px solid rgba(24, 34, 51, 0.1);
  }

  .living-grid,
  .dual-selects,
  .spec-bars,
  .spec-chips,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card-wide {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

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

  .ticker-cell {
    padding: 14px 0 !important;
    border-right: none;
    border-top: 1px solid rgba(245, 242, 234, 0.08);
  }

  .ticker-cell:first-child {
    border-top: none;
  }
}

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