/* ==========================================================================
   奶昔机场首页 - 绝密档案 / 解密报告风 (Declassified Dossier System) CSS
   ========================================================================== */

:root {
  /* 做旧档案纸张色系 (Default Parchment) */
  --bg-parchment: #f4edd9;
  --bg-folder: #eae0c8;
  --bg-card: #fdfaf2;
  --bg-card-hover: #ffffff;
  --text-main: #2b251f;
  --text-muted: #6b6155;
  --border-color: #d1c4a5;
  --border-dark: #8c7d67;
  
  /* 绝密公文标识色系 */
  --stamp-red: #c92a2a;
  --stamp-red-glow: rgba(201, 42, 42, 0.2);
  --stamp-border: #b02a2a;
  --accent-gold: #b38600;
  --tactical-green: #2b8a3e;
  --tactical-green-glow: rgba(43, 138, 62, 0.25);
  
  /* 阴影与质感 */
  --shadow-paper: 0 10px 30px rgba(71, 55, 33, 0.12), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-float: 0 20px 40px rgba(71, 55, 33, 0.18);
  --shadow-stamp: inset 0 0 10px rgba(201, 42, 42, 0.3);
  
  --font-mono: "Courier Prime", "Special Elite", "SF Mono", "Fira Code", "Courier New", monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* 战术夜视模式 (Tactical Night-vision Dark Theme) */
body.tactical-dark {
  --bg-parchment: #0d130e;
  --bg-folder: #121c14;
  --bg-card: #152217;
  --bg-card-hover: #1c2d20;
  --text-main: #d3f9d8;
  --text-muted: #82a887;
  --border-color: #2b452f;
  --border-dark: #3b5f42;
  
  --stamp-red: #ff6b6b;
  --stamp-red-glow: rgba(255, 107, 107, 0.3);
  --stamp-border: #fa5252;
  --accent-gold: #ffd43b;
  --tactical-green: #51cf66;
  --tactical-green-glow: rgba(81, 207, 102, 0.4);
  
  --shadow-paper: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(81, 207, 102, 0.08);
  --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(81, 207, 102, 0.15);
}

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

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

body {
  background-color: var(--bg-parchment);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

/* 战术雷达网格背景与做旧纸纹噪点 */
.radar-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(201, 42, 42, 0.03) 0%, transparent 70%),
    linear-gradient(rgba(140, 125, 103, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 125, 103, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

body.tactical-dark .radar-bg-layer {
  opacity: 0.75;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(81, 207, 102, 0.06) 0%, transparent 65%),
    linear-gradient(rgba(43, 138, 62, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 138, 62, 0.15) 1px, transparent 1px);
}

/* 雷达缓慢扫描光柱 */
.radar-sweep {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 120vmax;
  height: 120vmax;
  margin-left: -60vmax;
  margin-top: -60vmax;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 330deg, rgba(201, 42, 42, 0.04) 360deg);
  pointer-events: none;
  z-index: 0;
  animation: radarSpin 18s linear infinite;
}

body.tactical-dark .radar-sweep {
  background: conic-gradient(from 0deg, transparent 0deg, transparent 330deg, rgba(81, 207, 102, 0.07) 360deg);
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ==========================================================================
   顶部紧急保密警报公函栏 (Top Classified Banner)
   ========================================================================== */
.emergency-top-banner {
  background: #1e1914;
  color: #ffc9c9;
  border-bottom: 2px solid var(--stamp-red);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.pulse-badge {
  background: var(--stamp-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 0.75rem;
  animation: pulseWarn 1.8s infinite;
  text-transform: uppercase;
}

@keyframes pulseWarn {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.97); }
}

.banner-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-switch-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f3f5;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.theme-switch-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* ==========================================================================
   主导航栏 (Main Dossier Navigation)
   ========================================================================== */
.dossier-nav-container {
  margin: 15px 0 25px;
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  box-shadow: var(--shadow-paper);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.dossier-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-stamp-icon {
  width: 44px;
  height: 44px;
  border: 2px dashed var(--stamp-red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--stamp-red);
  font-size: 1.25rem;
  transform: rotate(-6deg);
  background: rgba(201, 42, 42, 0.04);
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-code-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 16px);
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px clamp(6px, 0.8vw, 10px);
  border-radius: 2px;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
  word-break: keep-all;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.nav-links a:hover {
  background: rgba(201, 42, 42, 0.08);
  color: var(--stamp-red);
}

.nav-cta-btn {
  background: var(--stamp-red) !important;
  color: #fff !important;
  border: 1px solid var(--stamp-border);
  box-shadow: 0 2px 6px rgba(201, 42, 42, 0.3);
  font-weight: bold !important;
  cursor: pointer;
  transform: translateY(-1px);
}

.nav-cta-btn:hover {
  background: #a61e1e !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-dark);
  font-size: 1.4rem;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   涂黑机密特效交互 (Redacted Classified Highlight)
   ========================================================================== */
.redacted-text {
  display: inline-block;
  background: #1a1612;
  color: transparent;
  padding: 0 6px;
  margin: 0 2px;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-mono);
  font-weight: bold;
  border-bottom: 1px dotted var(--stamp-red);
}

body.tactical-dark .redacted-text {
  background: #000;
  border-bottom-color: var(--tactical-green);
}

.redacted-text::before {
  content: "████";
  letter-spacing: 2px;
  color: #3b332b;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.tactical-dark .redacted-text::before {
  color: #213524;
}

/* 划开/解密状态 */
.redacted-text:hover,
.redacted-text.revealed {
  background: rgba(201, 42, 42, 0.12);
  color: var(--stamp-red);
  border-bottom: 2px solid var(--stamp-red);
  padding: 0 8px;
  box-shadow: 0 0 10px rgba(201, 42, 42, 0.2);
}

body.tactical-dark .redacted-text:hover,
body.tactical-dark .redacted-text.revealed {
  background: rgba(81, 207, 102, 0.15);
  color: #51cf66;
  border-bottom: 2px solid #51cf66;
  box-shadow: 0 0 12px rgba(81, 207, 102, 0.3);
}

.redacted-text:hover::before,
.redacted-text.revealed::before {
  opacity: 0;
}

/* ==========================================================================
   绝密印章样式 (Secret Stamps)
   ========================================================================== */
.stamp {
  display: inline-block;
  padding: 6px 16px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 900;
  letter-spacing: 2px;
  border: 3px double var(--stamp-red);
  color: var(--stamp-red);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0.8) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0.8) 100%);
  border-radius: 4px;
  position: relative;
  background: rgba(201, 42, 42, 0.03);
}

.stamp-top-secret {
  transform: rotate(-8deg);
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 2px var(--stamp-red);
}

.stamp-confidential {
  transform: rotate(5deg);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: inset 0 0 0 2px var(--accent-gold);
}

.stamp-declassified {
  transform: rotate(-4deg);
  border-color: var(--tactical-green);
  color: var(--tactical-green);
}

/* ==========================================================================
   板块 1：首屏核心绝密报告 Dossier Hero
   ========================================================================== */
.dossier-hero-container {
  background: var(--bg-card);
  border: 3px solid var(--border-dark);
  box-shadow: var(--shadow-float);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* 档案文件夹顶部回形针与保密标签装潢 */
.dossier-folder-tab {
  position: absolute;
  top: 0;
  left: 40px;
  background: var(--border-dark);
  color: #fff;
  padding: 4px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dossier-watermark {
  position: absolute;
  right: -20px;
  top: 40px;
  font-family: var(--font-mono);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(201, 42, 42, 0.05);
  transform: rotate(-25deg);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

body.tactical-dark .dossier-watermark {
  color: rgba(81, 207, 102, 0.04);
}

.hero-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px dashed var(--border-color);
  padding-bottom: 20px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.dossier-id-box {
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.dossier-id-box p {
  margin-bottom: 4px;
}

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

.hero-main-title .highlight-red {
  color: var(--stamp-red);
  text-decoration: underline wavy var(--stamp-red);
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 860px;
  margin-bottom: 25px;
  line-height: 1.7;
}

.redacted-briefing-box {
  background: var(--bg-folder);
  border-left: 4px solid var(--stamp-red);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
}

.briefing-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--stamp-red);
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.briefing-actions-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.action-text-btn {
  background: transparent;
  border: 1px dashed var(--border-dark);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.action-text-btn:hover {
  border-color: var(--stamp-red);
  color: var(--stamp-red);
}

/* CTA 按钮组 */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.btn-primary-dispatch {
  background: var(--stamp-red);
  color: #fff;
  border: 2px solid #8f1d1d;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(201, 42, 42, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary-dispatch:hover {
  background: #a61e1e;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 42, 42, 0.45);
}

.btn-secondary-guide {
  background: var(--bg-card);
  color: var(--text-main);
  border: 2px solid var(--border-dark);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary-guide:hover {
  background: var(--bg-folder);
  border-color: var(--stamp-red);
  color: var(--stamp-red);
}

.hero-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-security-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   板块通用的 Section 样式
   ========================================================================== */
.section-wrapper {
  margin-bottom: 50px;
}

.section-dossier-header {
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 12px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-code-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--stamp-red);
  font-weight: bold;
  letter-spacing: 1px;
}

.section-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

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

/* ==========================================================================
   板块 3：全球特工节点延迟与状态板块 (Node Status)
   ========================================================================== */
.node-dashboard-wrap {
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-paper);
}

.node-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-folder);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.node-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.node-card {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all 0.25s ease;
  position: relative;
}

.node-card:hover {
  border-color: var(--stamp-red);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

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

.node-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.95rem;
}

.status-indicator.live {
  width: 9px;
  height: 9px;
  background: #2b8a3e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #2b8a3e;
  animation: radarBlink 2s infinite;
}

@keyframes radarBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.badge {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.badge-tech {
  background: rgba(201, 42, 42, 0.08);
  color: var(--stamp-red);
  border: 1px solid rgba(201, 42, 42, 0.2);
}

.badge-ramos {
  background: rgba(43, 138, 62, 0.1);
  color: var(--tactical-green);
  border: 1px solid rgba(43, 138, 62, 0.2);
}

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

.node-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-folder);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  text-align: center;
}

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

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 0.85rem;
  font-weight: bold;
}

.ping-val {
  color: #2b8a3e;
}

.refresh-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.refresh-btn:hover {
  background: var(--border-color);
}

.refresh-btn.spinning .icon-spin {
  animation: spinIcon 0.6s linear infinite;
}

@keyframes spinIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   板块 4：核心优势板块 (Core Advantages - Zero-Log & RAMOS)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-paper);
  position: relative;
  transition: all 0.25s ease;
}

.feature-box:hover {
  border-color: var(--stamp-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(201, 42, 42, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-footer-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--bg-folder);
  border-radius: 2px;
  display: inline-block;
  color: var(--text-main);
  border-left: 2px solid var(--stamp-red);
}

/* ==========================================================================
   板块 5：套餐价格板块 (Pricing Dossier)
   ========================================================================== */
.pricing-cycle-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.cycle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.cycle-btn.active {
  background: var(--stamp-red);
  color: #fff;
  border-color: var(--stamp-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-paper);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.plan-card.featured {
  border-color: var(--stamp-red);
  box-shadow: 0 15px 35px rgba(201, 42, 42, 0.15);
  transform: scale(1.02);
}

.plan-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--stamp-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-level-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 4px 0 16px;
}

.plan-price-wrap {
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 16px;
}

.currency-symbol {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--stamp-red);
}

.plan-price-num {
  font-size: 2.6rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--stamp-red);
  line-height: 1;
}

.plan-period-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 25px;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.92rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.plan-features-list li .check-icon {
  color: var(--tactical-green);
  font-weight: bold;
}

.btn-plan-select {
  width: 100%;
  padding: 13px;
  background: var(--bg-folder);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
  text-align: center;
  text-decoration: none;
  display: block;
}

.plan-card.featured .btn-plan-select,
.btn-plan-select:hover {
  background: var(--stamp-red);
  color: #fff;
  border-color: var(--stamp-border);
}

/* ==========================================================================
   板块 6：常见问题 FAQ 板块 (Classified FAQ)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--stamp-red);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon-arrow {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  color: var(--stamp-red);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-folder);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 18px 22px;
  border-top: 1px dashed var(--border-color);
}

/* ==========================================================================
   板块 7：用户评价与密级证实 (Declassified Testimonials)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-paper);
}

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

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar-stamp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-folder);
  border: 2px dashed var(--stamp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  color: var(--stamp-red);
}

.reviewer-name {
  font-weight: 800;
  font-size: 1rem;
}

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

.review-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 14px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  border-top: 1px dotted var(--border-color);
  padding-top: 10px;
}

/* ==========================================================================
   板块 8：知识库与教程板块 (Knowledge Base & Articles)
   ========================================================================== */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.article-card:hover {
  border-color: var(--stamp-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.article-tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.article-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  background: var(--bg-folder);
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  color: var(--text-main);
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 10px;
}

.article-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease;
}

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

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

.article-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.read-article-link {
  color: var(--stamp-red);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-article-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   文章详情页专有排版样式 (Article Single Page Layout)
   ========================================================================== */
.article-page-content {
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-float);
  margin-bottom: 40px;
}

.article-page-header {
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.article-page-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

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

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 35px 0 16px;
  border-left: 4px solid var(--stamp-red);
  padding-left: 12px;
  color: var(--text-main);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 25px 0 12px;
  color: var(--text-main);
}

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

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

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

.article-body blockquote {
  background: var(--bg-folder);
  border-left: 4px solid var(--accent-gold);
  padding: 16px 20px;
  margin: 25px 0;
  border-radius: 4px;
  font-style: italic;
  color: var(--text-muted);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
}

.article-body th, .article-body td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}

.article-body th {
  background: var(--bg-folder);
  font-weight: bold;
}

.article-body pre code {
  background: #1e1914;
  color: #51cf66;
  padding: 16px;
  border-radius: var(--radius-sm);
  display: block;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin: 20px 0;
}

/* ==========================================================================
   解密弹窗 Modal (Quantum Handshake Declassify Modal)
   ========================================================================== */
.declassify-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.declassify-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.declassify-modal-box {
  background: #0f1610;
  border: 2px solid #51cf66;
  color: #51cf66;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 35px rgba(81, 207, 102, 0.3);
  font-family: var(--font-mono);
}

.modal-header-terminal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2b5032;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.terminal-title {
  font-weight: bold;
  letter-spacing: 1px;
}

.radar-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #2b5032;
  border-top-color: #51cf66;
  border-radius: 50%;
  animation: spinIcon 0.8s linear infinite;
}

.modal-status-line {
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.terminal-progress-bar {
  width: 100%;
  height: 6px;
  background: #1b2f20;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.terminal-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: #51cf66;
  animation: scanProgress 0.8s ease-in-out infinite alternate;
}

@keyframes scanProgress {
  0% { left: 0%; width: 20%; }
  100% { left: 80%; width: 40%; }
}

/* ==========================================================================
   页脚 (Dossier Footer)
   ========================================================================== */
.dossier-footer {
  margin-top: 60px;
  border-top: 2px solid var(--border-dark);
  padding-top: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 35px 30px 25px;
  box-shadow: var(--shadow-paper);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
}

.footer-brand-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
  border-left: 3px solid var(--stamp-red);
  padding-left: 8px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.footer-bottom-bar {
  border-top: 1px dashed var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 浮动行动召唤徽章 (Float Sticky Dispatch Stamp) */
.float-dossier-stamp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.float-dispatch-btn {
  background: var(--stamp-red);
  color: #fff;
  border: 2px solid #8f1d1d;
  box-shadow: 0 8px 25px rgba(201, 42, 42, 0.45);
  padding: 12px 20px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  animation: subtleFloat 3s ease-in-out infinite alternate;
}

.float-dispatch-btn:hover {
  transform: scale(1.05);
  background: #a61e1e;
}

@keyframes subtleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ==========================================================================
   响应式断点适配 (Responsive Layout)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-main-title {
    font-size: 2.1rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    flex-direction: column;
    padding: 18px;
    gap: 12px;
    box-shadow: var(--shadow-float);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 1rem;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .emergency-top-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .banner-right-actions {
    width: 100%;
    justify-content: space-between;
  }
  .hero-main-title {
    font-size: 1.75rem;
  }
  .dossier-hero-container {
    padding: 24px 16px;
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid,
  .articles-preview-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
