﻿/* ==========================================================================
   魔戒机场 · 暗夜银环版
   方案 B：星际矩阵控制台 独立样式系统
   Namespace: .console-root / matrix-console
   ========================================================================== */

:root {
  /* 配色系统规范 */
  --bg-primary: #06090F;
  --bg-secondary: #101722;
  --bg-panel: #151E2B;
  --bg-panel-hover: #1C2738;
  --text-silver: #EDF3FA;
  --text-muted: #AAB7C8;
  --text-dim: #718096;
  --accent-cyan: #8ADCF5;
  --glow-silver: #DDEEFF;
  --border-line: rgba(221, 238, 255, 0.15);
  --border-subtle: rgba(221, 238, 255, 0.08);
  --border-accent: rgba(138, 220, 245, 0.35);

  /* 阴影与光晕 */
  --glow-cyan-sm: 0 0 12px rgba(138, 220, 245, 0.25);
  --glow-cyan-lg: 0 0 30px rgba(138, 220, 245, 0.15);
  --glow-silver-rim: 0 0 25px rgba(221, 238, 255, 0.12);
  --panel-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);

  /* 布局尺寸 */
  --container-max: 1240px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* 字体家族 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;

  /* 动效过渡 */
  --trans-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-silver);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 无障碍：跳过链接 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--text-silver);
  color: var(--bg-primary);
  padding: 10px 18px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  transition: top var(--trans-fast);
}
.skip-link:focus {
  top: 16px;
}

/* 焦点可见性 */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* 容器与通用栅格 */
.console-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 基础排版 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-silver);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

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

/* 按钮规范 (满足 44px 触摸要求) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--trans-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #EDF3FA 0%, #C8D7E6 100%);
  color: #06090F;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(221, 238, 255, 0.2);
}
.btn-primary:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 22px rgba(221, 238, 255, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-panel);
  color: var(--text-silver);
  border: 1px solid var(--border-line);
}
.btn-secondary:hover {
  background: var(--bg-panel-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-cyan {
  background: rgba(138, 220, 245, 0.12);
  color: var(--accent-cyan);
  border: 1px solid var(--border-accent);
}
.btn-cyan:hover {
  background: rgba(138, 220, 245, 0.22);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan-sm);
}

/* 模块通用头部 */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(138, 220, 245, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-cyan);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   模块 01：悬浮式指挥中心导航 (Floating Command Nav)
   ========================================================================== */
.console-nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 900;
  pointer-events: none;
}

.console-nav {
  pointer-events: auto;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-cockpit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 24px;
  background: rgba(10, 15, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all var(--trans-normal);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-ring-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(221, 238, 255, 0.4));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-silver);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link:focus {
  color: var(--text-silver);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--trans-fast);
}
.nav-link:hover::after {
  width: 100%;
}

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

/* 移动端菜单控制钮 */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  color: var(--text-silver);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   模块 02：不对称银环控制台 Hero (Asymmetric Hero Console)
   ========================================================================== */
.hero-matrix-console {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(138, 220, 245, 0.06) 0%, transparent 60%);
}

.hero-console-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 36px;
  min-height: 580px;
}

/* 左侧指挥面板 (42%) */
.console-command-panel {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.command-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 23, 34, 0.9);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--text-silver);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  width: fit-content;
  margin-bottom: 20px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC84;
  box-shadow: 0 0 8px #3DDC84;
}

.hero-main-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.title-glow-silver {
  background: linear-gradient(135deg, #FFFFFF 0%, #DDEEFF 60%, #8ADCF5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.telemetry-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-silver);
  margin-top: 4px;
}

/* 右侧观测舷窗与银环主视网 (58%) */
.console-porthole-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-line);
  box-shadow: var(--panel-shadow), 0 0 40px rgba(138, 220, 245, 0.08);
  background: #080C14;
}

.porthole-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.porthole-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.porthole-hud-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(6, 9, 15, 0.6) 95%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.hud-top-bar, .hud-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(10, 15, 23, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* 浮动遥测副屏 (围绕舷窗) */
.hud-sub-panel {
  position: absolute;
  background: rgba(16, 23, 34, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  z-index: 3;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hud-panel-a {
  bottom: 24px;
  left: 20px;
}

.hud-panel-b {
  top: 24px;
  right: 20px;
}

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

.hud-metric-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-silver);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

/* ==========================================================================
   模块 03：平台兼容矩阵 (Platform Compatibility Matrix)
   ========================================================================== */
.platform-matrix-section {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.matrix-cat-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}
.matrix-cat-box:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan);
}

.cat-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.cat-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(138, 220, 245, 0.1);
  color: var(--accent-cyan);
}

.cat-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 12px;
  align-items: center;
}

.platform-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  background: rgba(10, 15, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}
.platform-logo-card:hover {
  background: rgba(16, 23, 34, 0.9);
  border-color: var(--border-line);
}

.platform-svg-icon {
  width: 38px;
  height: 38px;
}

.platform-card-name {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.matrix-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 24px;
}

/* ==========================================================================
   模块 04：核心优势六宫格 Bento Grid (Bento Advantage Console)
   ========================================================================== */
.bento-section {
  padding: 96px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}

.bento-cell {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--trans-normal);
}
.bento-cell:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-cyan-sm);
}

/* 1个大型主面板 (占 2列 2行) */
.bento-cell-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, #151E2B 0%, #0F1622 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.bento-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.bento-art-strip {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(6, 9, 15, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.art-strip-stat {
  display: flex;
  flex-direction: column;
}
.stat-k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.stat-v {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-silver);
}

/* 2个中型面板 (各占 1列 1行) */
.bento-cell-med {
  grid-column: span 1;
  grid-row: span 1;
}

/* 3个小型面板 (各占 1列 1行) */
.bento-cell-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(138, 220, 245, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}
.bento-icon-box svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   模块 05：设备与使用场景工作台 (Devices & Scenario Workstation)
   ========================================================================== */
.workstation-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.workstation-cockpit {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: center;
}

.workstation-visual-frame {
  background: #0A0E17;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--panel-shadow);
}

.workstation-tabs-frame {
  display: flex;
  flex-direction: column;
}

.tabs-nav-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-line);
  padding-bottom: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.scenario-tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: all var(--trans-fast);
}
.scenario-tab-btn:hover {
  color: var(--text-silver);
  background: rgba(221, 238, 255, 0.05);
}
.scenario-tab-btn.active {
  color: var(--accent-cyan);
  background: rgba(138, 220, 245, 0.1);
  border-color: var(--border-accent);
}

.scenario-tab-panel {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}
.scenario-tab-panel.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.scenario-panel-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scenario-panel-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.scenario-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-silver);
}
.scenario-check-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   模块 06：套餐参数比较中心 (Package Matrix Comparison Table)
   ========================================================================== */
.pricing-section {
  padding: 96px 0;
  background: var(--bg-primary);
}

.matrix-table-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.matrix-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 820px;
}

.matrix-compare-table th,
.matrix-compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.matrix-compare-table thead th {
  background: #0E1520;
  color: var(--text-silver);
  font-weight: 700;
  border-bottom: 1px solid var(--border-line);
}

.matrix-compare-table thead th.col-feature-name {
  width: 22%;
}

.matrix-compare-table thead th.col-plan-tier {
  width: 19.5%;
  text-align: center;
}

.matrix-compare-table thead th.col-highlight {
  background: rgba(138, 220, 245, 0.08);
  border-left: 1px solid var(--border-accent);
  border-right: 1px solid var(--border-accent);
}

.tier-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tier-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(221, 238, 255, 0.1);
  color: var(--text-muted);
}
.tier-tag-pill.hot {
  background: rgba(138, 220, 245, 0.2);
  color: var(--accent-cyan);
  border: 1px solid var(--border-accent);
}

.tier-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.tier-price-row {
  margin-top: 4px;
}

.tier-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.tier-price-unit {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.matrix-compare-table tbody td {
  color: var(--text-muted);
}

.matrix-compare-table tbody td.col-feature-name {
  font-weight: 600;
  color: var(--text-silver);
  background: rgba(10, 15, 23, 0.4);
}

.matrix-compare-table tbody td.col-plan-val {
  text-align: center;
}

.matrix-compare-table tbody td.col-highlight {
  background: rgba(138, 220, 245, 0.03);
  border-left: 1px solid var(--border-accent);
  border-right: 1px solid var(--border-accent);
  color: var(--text-silver);
}

.table-action-row td {
  padding: 22px 20px;
  text-align: center;
  background: #0E1520;
}

.matrix-pricing-notes {
  padding: 16px 20px;
  background: #090E17;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  line-height: 1.6;
}

/* ==========================================================================
   模块 07：三阶段快速开始控制台 (3-Phase Quickstart Console)
   ========================================================================== */
.quickstart-section {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.quickstart-cockpit {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 36px;
  align-items: stretch;
}

.quickstart-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-normal);
  text-align: left;
  width: 100%;
}
.step-nav-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}
.step-nav-card.active {
  background: #1C2738;
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan-sm);
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(138, 220, 245, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-meta-box {
  display: flex;
  flex-direction: column;
}

.step-meta-phase {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.step-meta-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-silver);
}

/* 右侧说明面板 */
.step-details-board {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-content-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.step-content-panel.active {
  display: block;
}

.step-detail-title {
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.step-detail-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.step-guidance-box {
  background: rgba(6, 9, 15, 0.6);
  border-left: 3px solid var(--accent-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
}
.step-guidance-box p {
  font-size: 0.92rem;
  color: var(--text-silver);
}

/* ==========================================================================
   模块 08：真实选型指南与需求诊断 (Advisory & Recommendations)
   ========================================================================== */
.advisory-section {
  padding: 96px 0;
}

.advisory-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.advisory-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}
.advisory-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.advisory-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.advisory-card-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.advisory-card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   模块 09：FAQ 诊断中心 (Diagnostic FAQ Center)
   ========================================================================== */
.faq-section {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-cockpit-split {
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 36px;
}

.faq-category-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.faq-cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--trans-fast);
}
.faq-cat-btn:hover {
  color: var(--text-silver);
  border-color: var(--border-accent);
}
.faq-cat-btn.active {
  color: var(--accent-cyan);
  background: #1C2738;
  border-color: var(--accent-cyan);
}

.faq-questions-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-details-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}
.faq-details-item[open] {
  border-color: var(--border-accent);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-silver);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-cyan);
  transition: transform var(--trans-fast);
}
.faq-details-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-answer-body {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  margin-top: -6px;
  padding-top: 16px;
}

/* ==========================================================================
   模块 10：地球观测舷窗高潮区 (Earth Observatory Viewport)
   ========================================================================== */
.earth-porthole-section {
  position: relative;
  min-height: 620px;
  padding: 120px 0 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #04060A;
  overflow: hidden;
  border-bottom: 1px solid var(--border-line);
}

/* 高清地球 WebP 弧面背景 (占底部约 1/3~1/2) */
.earth-bg-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0.85;
  filter: contrast(1.1);
  z-index: 1;
}

.earth-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #04060A 0%, rgba(4, 6, 10, 0.4) 40%, rgba(4, 6, 10, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

.earth-cta-box {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.earth-cta-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-silver);
  text-shadow: 0 0 30px rgba(221, 238, 255, 0.4);
}

.earth-cta-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ==========================================================================
   模块 11：极简指挥台页脚 (Minimal Console Footer)
   ========================================================================== */
.console-footer {
  background: #030508;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-cockpit-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-nav-four {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-legal-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 720px;
}

/* ==========================================================================
   响应式断点适配规范 (1440, 1024, 768, 390, 375, 360)
   ========================================================================== */

/* 1024px 以下：平板与中屏折叠 */
@media (max-width: 1024px) {
  .hero-console-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .console-command-panel {
    text-align: center;
    align-items: center;
  }
  .hero-sub-text {
    max-width: 620px;
  }
  .hero-cta-cluster {
    justify-content: center;
  }
  .hero-telemetry-strip {
    max-width: 500px;
    width: 100%;
  }

  .matrix-categories-wrap {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-cell-large {
    grid-column: span 2;
  }

  .workstation-cockpit {
    grid-template-columns: 1fr;
  }

  .quickstart-cockpit {
    grid-template-columns: 1fr;
  }

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

  .faq-cockpit-split {
    grid-template-columns: 1fr;
  }
  .faq-category-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .faq-cat-btn {
    white-space: nowrap;
  }
}

/* 768px 以下：小平板与移动端流式布局 */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .console-nav-wrapper {
    top: 8px;
  }
  .console-nav {
    padding: 0 12px;
  }
  .nav-cockpit {
    padding: 0 16px;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + 16px);
    left: 12px;
    right: 12px;
    background: rgba(10, 15, 23, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-links.open {
    display: flex;
  }

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

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-cell-large,
  .bento-cell-med,
  .bento-cell-small {
    grid-column: span 1;
  }

  .advisory-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-four {
    gap: 20px;
  }
}

/* 390px / 375px / 360px 极窄移动设备适配 */
@media (max-width: 420px) {
  .console-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }
  .hero-cta-cluster {
    flex-direction: column;
    width: 100%;
  }

  .hero-telemetry-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .hud-sub-panel {
    display: none; /* 移动端过窄时隐去浮动微屏，保持视界干净 */
  }

  .footer-nav-four {
    flex-direction: column;
    gap: 12px;
  }
}

/* 动效适配：prefers-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;
  }
}


/* ==========================================================================
   附属页面与文章阅读页单栏样式系统 (Subpages & Articles)
   ========================================================================== */
.subpage-main {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 96px;
  min-height: 80vh;
}

.subpage-header {
  padding: 40px 0 32px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

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

.subpage-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
}

.subpage-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* 专注单栏阅读容器 */
.reading-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-silver);
}

.article-content p {
  margin-bottom: 24px;
  color: #D1D9E6;
}

.article-content h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-silver);
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--glow-silver);
}

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

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

.article-content blockquote {
  background: var(--bg-panel);
  border-left: 4px solid var(--accent-cyan);
  padding: 18px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-silver);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-content th, .article-content td {
  padding: 14px 18px;
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.article-content th {
  background: #0E1520;
  color: var(--text-silver);
}

/* 知识科普专栏卡片网格 */
.knowledge-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.knowledge-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--trans-normal);
}
.knowledge-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan-sm);
  transform: translateY(-3px);
}

.knowledge-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(138, 220, 245, 0.1);
  color: var(--accent-cyan);
  margin-bottom: 14px;
  width: fit-content;
}

.knowledge-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.knowledge-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.knowledge-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

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

@media (max-width: 768px) {
  .knowledge-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   文章内部 FAQ 与导航条样式系统
   ========================================================================== */
.article-faq {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-line);
}

.article-faq .faq-title {
  font-size: 1.45rem;
  margin-bottom: 20px;
  color: var(--text-silver);
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--trans-fast);
}
.faq-item[open] {
  border-color: var(--border-accent);
}

.faq-question {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-silver);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-cyan);
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  margin-top: -4px;
  padding-top: 14px;
}

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

.article-nav-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}
.article-nav-strip a:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
