/* ==========================================================================
   八戒机场 (bajie.monster) - 九轨冷锻硬核工业机能样式系统
   Nine-Pronged Cold-Forged Tungsten UI Engine
   纯原生 CSS | 零重型依赖 | 昼夜模式 | 九轨并行底盘 | 毫秒级极速
   ========================================================================== */

:root {
  /* 白天模式色彩系统 (默认 - 外科精密仪器白金/合金色调) */
  --bg-primary: #f1f4f9;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-chassis: #e9eef5;
  --border-color: rgba(148, 163, 184, 0.35);
  --border-tungsten: #cbd5e1;
  --border-focus: #f59e0b;
  
  --text-primary: #0a0b0e;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  /* 工业核心色彩 */
  --forge-amber: #d97706;
  --forge-amber-glow: rgba(217, 119, 6, 0.3);
  --laser-cyan: #0284c7;
  --laser-cyan-glow: rgba(2, 132, 199, 0.35);
  --tungsten-slate: #1e222b;
  --cast-iron: #0a0b0e;
  
  --accent-gradient: linear-gradient(135deg, #d97706 0%, #b45309 50%, #0284c7 100%);
  --rail-metallic: linear-gradient(90deg, #cbd5e1 0%, #f8fafc 45%, #cbd5e1 55%, #94a3b8 100%);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 18px -2px rgba(10, 11, 14, 0.08);
  --shadow-lg: 0 14px 34px -4px rgba(10, 11, 14, 0.12);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.25);
  
  --navbar-bg: rgba(241, 244, 249, 0.9);
  --toggle-bg: rgba(226, 232, 240, 0.9);
  --toggle-border: rgba(148, 163, 184, 0.5);
  --toggle-icon: #1e222b;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 夜间模式色彩系统 (深渊铸造黑 / 生铁黑 / 钨钢岩 / 熔炉琥珀 / 激光天蓝) */
[data-theme="dark"] {
  --bg-primary: #0a0b0e;        /* 生铁黑 raw cast-iron black */
  --bg-secondary: #12151c;
  --bg-tertiary: #1a1e28;
  --bg-card: rgba(26, 30, 40, 0.85); /* 钨钢岩板 forged tungsten slate */
  --bg-card-hover: rgba(33, 39, 52, 0.95);
  --bg-chassis: #0e1117;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-tungsten: #2a3140;
  --border-focus: #f59e0b;
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-inverse: #0a0b0e;
  
  --forge-amber: #f59e0b;       /* 白炽熔炉琥珀 incandescent forge-amber */
  --forge-amber-glow: rgba(245, 158, 11, 0.45);
  --laser-cyan: #38bdf8;        /* 手术激光青蓝 surgical laser cyan */
  --laser-cyan-glow: rgba(56, 189, 248, 0.5);
  --tungsten-slate: #1e222b;
  --cast-iron: #0a0b0e;
  
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #38bdf8 100%);
  --rail-metallic: linear-gradient(90deg, #1e222b 0%, #374151 40%, #6b7280 50%, #374151 60%, #1e222b 100%);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 22px -2px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 16px 40px -4px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.35);
  
  --navbar-bg: rgba(10, 11, 14, 0.92);
  --toggle-bg: rgba(30, 34, 43, 0.85);
  --toggle-border: rgba(245, 158, 11, 0.3);
  --toggle-icon: #f59e0b;
}

/* 全局重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.05) 0%, transparent 65%),
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
}

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

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

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   精密工业仪器顶部导航栏
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.brand-logo:hover .site-logo {
  transform: scale(1.02);
}

.site-logo.logo-light {
  display: block;
}

.site-logo.logo-dark {
  display: none;
}

[data-theme="dark"] .site-logo.logo-light {
  display: none;
}

[data-theme="dark"] .site-logo.logo-dark {
  display: block;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35));
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 6px 4px;
  letter-spacing: -0.01em;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--forge-amber);
  transition: transform 0.22s ease;
  transform-origin: center;
}

.nav-link:hover {
  color: var(--forge-amber);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* 推荐资讯特殊标红高亮 */
.nav-link-news {
  color: var(--laser-cyan) !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-news::before {
  content: "●";
  color: var(--laser-cyan);
  font-size: 0.7rem;
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; text-shadow: 0 0 8px var(--laser-cyan); }
}

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

/* 质感专业昼夜模式切换按钮 */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  color: var(--toggle-icon);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.theme-toggle-btn:hover {
  border-color: var(--forge-amber);
  color: var(--forge-amber);
  box-shadow: 0 0 12px var(--forge-amber-glow);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn .sun-icon {
  display: block;
}

.theme-toggle-btn .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: block;
  transform: rotate(-12deg);
}

/* ==========================================================================
   工业硬核按钮系统 (Heavy-Duty Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0b0e !important;
  border: 1px solid #fbbf24;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: 1px solid #38bdf8;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

[data-theme="dark"] .btn-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #0a0b0e !important;
  box-shadow: 0 0 16px var(--laser-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--laser-cyan-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-tungsten);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--forge-amber);
  color: var(--forge-amber);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 13px 30px;
  font-size: 1.05rem;
}

/* ==========================================================================
   主视觉区 (Hero Section) & 九轨底盘工业机构
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, var(--forge-amber-glow) 0%, var(--laser-cyan-glow) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-chassis-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--forge-amber);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.hero-chassis-badge .badge-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-title .brand-accent {
  color: var(--forge-amber);
  text-shadow: 0 0 20px var(--forge-amber-glow);
}

.hero-title .cyan-accent {
  background: linear-gradient(135deg, var(--laser-cyan) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* ==========================================================================
   传奇九齿重构：九轨冷锻并行底盘 (Parallel Nine-Rail Chassis)
   ========================================================================== */
.nine-rails-chassis {
  position: relative;
  background: var(--bg-chassis);
  border: 2px solid var(--border-tungsten);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
  overflow: hidden;
}

.chassis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.chassis-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.chassis-title-bar svg {
  color: var(--forge-amber);
}

.chassis-telemetry {
  display: flex;
  gap: 18px;
  color: var(--text-muted);
}

.chassis-telemetry span strong {
  color: var(--laser-cyan);
}

/* 9根钨钢平行轨道容器 */
.rails-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* 轨道自身 */
.rail-track {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.rail-track:hover {
  border-left-color: var(--forge-amber);
  transform: translateX(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rail-id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
}

.rail-beam-bay {
  position: relative;
  height: 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .rail-beam-bay {
  background: rgba(0, 0, 0, 0.45);
}

.rail-tungsten-core {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--rail-metallic);
  border-radius: var(--radius-full);
  transition: transform 0.12s ease;
}

/* 光束粒子特效 */
.rail-laser-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 40%;
  background: linear-gradient(90deg, transparent 0%, var(--laser-cyan) 60%, #ffffff 100%);
  filter: drop-shadow(0 0 6px var(--laser-cyan));
  opacity: 0;
  pointer-events: none;
}

.rail-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.rail-name {
  color: var(--text-secondary);
}

.rail-latency {
  color: var(--forge-amber);
  min-width: 52px;
  text-align: right;
}

/* 液压回膛压测触发器控制面板 */
.benchmark-control-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 14px;
}

.benchmark-status-indicator {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.benchmark-status-indicator strong {
  color: #10b981;
}

.btn-trigger-benchmark {
  background: linear-gradient(135deg, #1e222b 0%, #0a0b0e 100%);
  color: var(--laser-cyan);
  border: 1px solid var(--laser-cyan);
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 12px var(--laser-cyan-glow);
  transition: var(--transition);
}

.btn-trigger-benchmark:hover {
  background: var(--laser-cyan);
  color: #0a0b0e;
  box-shadow: 0 0 24px var(--laser-cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   液压回膛后坐力与脉冲光束状态类
   ========================================================================== */
/* 状态1：液压后坐蓄能 (Pull back with heavy hydraulic tension) */
.rails-container.recoil-active {
  transform: translateX(-24px) scaleX(0.96);
  filter: drop-shadow(-4px 0 12px rgba(245, 158, 11, 0.5));
}

.rails-container.recoil-active .rail-track {
  border-left-color: var(--forge-amber);
}

/* 状态2：前冲击发 (Slam forward, firing synchronized lasers) */
.rails-container.slam-active {
  transform: translateX(12px) scaleX(1.02);
  filter: drop-shadow(0 0 20px var(--laser-cyan));
}

.rails-container.slam-active .rail-laser-beam {
  opacity: 1;
  animation: fireLaserBeam 0.5s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes fireLaserBeam {
  0% {
    left: -100%;
    opacity: 1;
  }
  100% {
    left: 200%;
    opacity: 0;
  }
}

/* 状态3：单毫秒极限指标爆裂 */
.rail-latency.latency-shattered {
  color: #10b981 !important;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  transform: scale(1.15);
}

/* ==========================================================================
   通用板块规范
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forge-amber);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

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

/* ==========================================================================
   核心优势卡片 (3卡) - CNC 削切仪器仓风格
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--forge-amber);
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--forge-amber);
  margin-bottom: 12px;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  color: var(--forge-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--forge-amber);
  color: #0a0b0e;
  transform: scale(1.05);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px dashed var(--border-color);
  padding-top: 18px;
}

.feature-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.feature-highlights li svg {
  width: 16px;
  height: 16px;
  color: var(--laser-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   流媒体 & AI 算力直连 (Showcase Cards)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-md);
  padding: 38px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--laser-cyan);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  width: fit-content;
  border: 1px solid transparent;
}

.showcase-badge.stream {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.showcase-badge.ai {
  background: rgba(56, 189, 248, 0.12);
  color: var(--laser-cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.showcase-title {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.showcase-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.service-pill:hover {
  border-color: var(--laser-cyan);
  transform: translateY(-2px);
}

.service-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.showcase-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.showcase-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.showcase-features-list li svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   套餐价格对比表 (参考网上真实机场套餐配置与定价)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-md);
  padding: 38px 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-tungsten);
}

.pricing-card.popular {
  border-color: var(--forge-amber);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0b0e;
  padding: 4px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.pricing-plan-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forge-amber);
}

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

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

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-features-list li svg {
  width: 17px;
  height: 17px;
  color: #10b981;
  flex-shrink: 0;
}

.pricing-features-list li.dimmed {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features-list li.dimmed svg {
  color: var(--text-muted);
}

/* ==========================================================================
   用户真实评价与口碑
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--forge-amber);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--forge-amber);
  margin-bottom: 14px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--forge-amber);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

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

.user-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   常见问题 FAQ
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--forge-amber);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  gap: 16px;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--forge-amber);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

/* ==========================================================================
   底部 CTA 横幅
   ========================================================================== */
.cta-banner {
  margin: 40px auto 0;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1e222b 0%, #0a0b0e 100%);
  border: 2px solid var(--forge-amber);
  border-radius: var(--radius-md);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px var(--forge-amber-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner-desc {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 32px;
  color: #9ca3af;
}

/* ==========================================================================
   页脚 Footer (只保留四个指定标题)
   ========================================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 36px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.footer-nav-link:hover {
  color: var(--forge-amber);
  background: rgba(245, 158, 11, 0.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom a {
  color: var(--forge-amber);
}

/* ==========================================================================
   子页面通用与资讯文章样式
   ========================================================================== */
.subpage-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.subpage-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.subpage-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.content-wrapper {
  max-width: 880px;
  margin: 50px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.article-section {
  margin-bottom: 40px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--forge-amber);
  padding-left: 12px;
}

.article-p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 20px;
}

.article-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-list li::before {
  content: "■";
  position: absolute;
  left: 8px;
  color: var(--forge-amber);
  font-size: 0.8rem;
  top: 1px;
}

.alert-box {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-info {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--forge-amber);
}

/* 深度 SEO 文章专属样式 */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.article-meta-item strong {
  color: var(--forge-amber);
}

/* 文章目录 (Table of Contents) 工业机能框 */
.toc-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-tungsten);
  border-left: 4px solid var(--laser-cyan);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 28px 0 38px;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.toc-title svg {
  color: var(--laser-cyan);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 6px;
}

.toc-list li a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toc-list li a:hover {
  color: var(--forge-amber);
  transform: translateX(4px);
}

.toc-num {
  font-family: var(--font-mono);
  color: var(--laser-cyan);
  font-size: 0.8rem;
  font-weight: 700;
}

.article-h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-h3::before {
  content: "//";
  color: var(--laser-cyan);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.article-inline-link {
  color: var(--forge-amber);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-inline-link:hover {
  color: var(--laser-cyan);
}

/* 技术对比与指标表格 */
.tech-table-wrapper {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
}

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

.tech-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 12px 16px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-tungsten);
  font-family: var(--font-mono);
}

.tech-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.tech-table tr:last-child td {
  border-bottom: none;
}

.tech-table tr:hover td {
  background: rgba(245, 158, 11, 0.04);
}

/* 相关阅读网格 */
.related-reading-box {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px dashed var(--border-color);
}

.related-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.related-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card:hover {
  border-color: var(--forge-amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.related-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
}

.related-card-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 资讯文章卡片网格 */

.news-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 30px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card:hover {
  border-color: var(--laser-cyan);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-tag {
  color: var(--forge-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 700;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.news-snippet {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 网站地图网格 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sitemap-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-tungsten);
  border-radius: var(--radius-sm);
  padding: 26px;
}

.sitemap-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

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

.sitemap-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sitemap-links a:hover {
  color: var(--forge-amber);
  transform: translateX(4px);
}

/* ==========================================================================
   移动端与响应式适配 (@media 媒体查询)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 50px 0 40px;
  }
  
  .rail-track {
    grid-template-columns: 60px 1fr 100px;
    gap: 10px;
    padding: 6px 10px;
  }
  
  .rail-name {
    display: none; /* 手机端隐藏过长的文字名称，保留延迟与光束轨道 */
  }
  
  .features-grid,
  .showcase-grid,
  .pricing-grid,
  .reviews-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  
  .service-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .content-wrapper {
    padding: 28px 20px;
    margin: 30px auto 50px;
  }
  
  .cta-banner {
    padding: 40px 20px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .btn {
    min-height: 48px;
    font-size: 1rem;
  }
}
