/* ===================================================================
   红杏云 (HongXing Cloud) - 硬核极光穿透赛博加速架构样式表
   Hardcore Laser-Penetration Cyber UI | Obsidian & Ruby Laser Palette
   =================================================================== */

/* ---------------- 基础色彩与技术变量 ---------------- */
:root {
  /* 赛博激光核心色系 */
  --laser-red: #ff003c;
  --laser-red-glow: rgba(255, 0, 60, 0.6);
  --laser-red-subtle: rgba(255, 0, 60, 0.12);
  --laser-plasma: #ff3366;
  --spark-blue: #00f0ff;
  --spark-glow: rgba(0, 240, 255, 0.4);
  --spark-ice: #e0f7ff;

  /* 白昼实验室模式色彩体系 (Cryogenic Laboratory Light) */
  --bg-primary: #f6f8fb;
  --bg-secondary: #eef2f8;
  --bg-tertiary: #e2e8f0;
  --bg-panel: #ffffff;
  --bg-panel-hover: #ffffff;
  --bg-glass: rgba(246, 248, 251, 0.88);

  --text-primary: #0a0c12;
  --text-secondary: #475569;
  --text-muted: #8492a6;
  --text-inverse: #ffffff;

  --border-tech: rgba(15, 23, 42, 0.12);
  --border-active: #ff003c;
  --border-glow: rgba(255, 0, 60, 0.25);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 18px rgba(10, 12, 18, 0.08);
  --shadow-laser: 0 0 25px rgba(255, 0, 60, 0.35);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Fira Code", monospace;

  --container-max-width: 1220px;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
}

/* 极致黑曜石暗夜潜行模式 (Pitch Obsidian Stealth Palette) */
[data-theme="dark"] {
  --bg-primary: #08080a;
  --bg-secondary: #0d0f14;
  --bg-tertiary: #141720;
  --bg-panel: #10121a;
  --bg-panel-hover: #151824;
  --bg-glass: rgba(8, 8, 10, 0.88);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #08080a;

  --border-tech: rgba(255, 255, 255, 0.08);
  --border-active: #ff003c;
  --border-glow: rgba(255, 0, 60, 0.45);

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.7);
  --shadow-laser: 0 0 35px rgba(255, 0, 60, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.3s ease;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* 赛博网格背景线微光 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, var(--border-tech) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-tech) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] body::before {
  opacity: 0.4;
}

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

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------------- 微倒角与赛博面板规范 (Micro-chamfer Panel) ---------------- */
.cyber-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-tech);
  position: relative;
  transition: all var(--transition-normal);
  /* 赛博微倒角切割工艺 */
  clip-path: polygon(
    0 12px,
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.cyber-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--transition-normal);
  clip-path: inherit;
}

/* 鼠标悬停激光加热泛红微动效 (Heat up to glowing red upon hover) */
.cyber-panel:hover {
  transform: translateY(-4px);
  border-color: var(--laser-red);
  box-shadow: 0 8px 30px var(--laser-red-glow), inset 0 0 20px rgba(255, 0, 60, 0.08);
}

/* ---------------- 顶部导航栏 (Glass Tech Header) ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-tech);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

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

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.45));
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255, 0, 60, 0.12);
  color: var(--laser-red);
  border: 1px solid rgba(255, 0, 60, 0.3);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 导航目录：包含首页加每个板块，以及新增的‘推荐资讯’入口 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--laser-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--laser-red);
  box-shadow: 0 0 8px var(--laser-red);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ‘推荐资讯’特殊脉冲高亮 */
.nav-link-highlight {
  color: var(--spark-blue) !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link-highlight::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark-blue);
  box-shadow: 0 0 6px var(--spark-blue);
  animation: spark-pulse 1.8s infinite;
}

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

/* 精致专业化昼夜模式切换按钮 */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--border-tech);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
}

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

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

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

/* 按钮通用规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
  min-height: 44px;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff003c 0%, #ff3366 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--laser-red-glow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 0, 60, 0.6);
  border-color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  border-color: var(--laser-red);
  color: var(--laser-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 0, 60, 0.15);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  min-height: 38px;
}

/* ---------------- 主视觉区 (Hero Section) ---------------- */
.hero {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  text-align: center;
}

/* 顶部激光射线动效 */
.hero-laser-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 90vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff003c, #00f0ff, #ff003c, transparent);
  box-shadow: 0 0 20px #ff003c;
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 4px;
  background: rgba(255, 0, 60, 0.08);
  border: 1px solid rgba(255, 0, 60, 0.3);
  color: var(--laser-red);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.15);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--laser-red);
  box-shadow: 0 0 10px var(--laser-red);
  animation: spark-pulse 1.5s infinite;
}

/* 大标题包含当前品牌名‘红杏云’ */
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.text-laser {
  color: var(--laser-red);
  text-shadow: 0 0 24px var(--laser-red-glow);
}

.text-spark {
  color: var(--spark-blue);
  text-shadow: 0 0 16px var(--spark-glow);
}

/* 主视觉区简介 */
.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

/* ---------------- 交互式破壁虚拟防火墙与激光切割测试 ----------------
   (Barrier-Breach Architectural Layout & Laser Cleavage Interaction) */
.breach-stage-wrap {
  margin: 40px auto 30px;
  max-width: 960px;
  position: relative;
}

.breach-stage {
  background: var(--bg-panel);
  border: 1px solid var(--border-tech);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* 顶部遥测遥控数据栏 (Monospace Cryptographic Telemetry Tickers) */
.telemetry-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-tech);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 12px;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

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

.ticker-value {
  font-weight: 700;
  color: var(--spark-blue);
}

.ticker-value.danger {
  color: var(--laser-red);
}

/* 防火墙核心屏障视口 */
.firewall-barrier-viewport {
  position: relative;
  height: 220px;
  background: #050608;
  border-radius: 8px;
  border: 1px solid rgba(255, 0, 60, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 虚拟防火墙左右破裂面板 */
.barrier-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: 
    linear-gradient(rgba(10, 12, 18, 0.92), rgba(10, 12, 18, 0.92)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 0, 60, 0.15) 2px, rgba(255, 0, 60, 0.15) 4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  z-index: 2;
}

.barrier-left {
  left: 0;
  border-right: 1px solid var(--laser-red);
  text-align: right;
}

.barrier-right {
  right: 0;
  border-left: 1px solid var(--laser-red);
  text-align: left;
}

.barrier-hex-stream {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255, 0, 60, 0.7);
  letter-spacing: 1px;
  line-height: 1.6;
  user-select: none;
}

/* 激光切割贯穿刀刃 (High-flux Laser Cleavage Blade) */
.laser-blade {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 0%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 
    0 0 10px #ffffff,
    0 0 20px var(--laser-red),
    0 0 40px var(--laser-red),
    0 0 60px var(--laser-red);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

/* 激光激发时的急速斩击动画 (50ms cleavage) */
.laser-blade.cleaving {
  animation: laser-slash 0.18s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes laser-slash {
  0% {
    height: 0%;
    opacity: 1;
    width: 2px;
  }
  50% {
    height: 100%;
    opacity: 1;
    width: 8px;
    box-shadow: 0 0 30px #ffffff, 0 0 60px var(--laser-red), 0 0 90px var(--laser-red);
  }
  100% {
    height: 100%;
    opacity: 0;
    width: 2px;
  }
}

/* 破裂后的通道高能数据洪流 (Traffic Conduit Lines in Fracture Zone) */
.fracture-stream-conduit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(255, 0, 60, 0.08) 50%, transparent 80%);
}

.conduit-line {
  position: absolute;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #00f0ff 50%, transparent 100%);
  box-shadow: 0 0 12px #00f0ff;
  animation: conduit-flow 1.5s infinite linear;
}

.conduit-line:nth-child(1) { top: 25%; animation-duration: 1.2s; }
.conduit-line:nth-child(2) { top: 50%; animation-duration: 0.8s; }
.conduit-line:nth-child(3) { top: 75%; animation-duration: 1.4s; }

@keyframes conduit-flow {
  0% { transform: scaleX(0.2) translateX(-100%); opacity: 0; }
  50% { transform: scaleX(1) translateX(0); opacity: 1; }
  100% { transform: scaleX(0.2) translateX(100%); opacity: 0; }
}

.breach-center-badge {
  position: relative;
  z-index: 3;
  padding: 10px 24px;
  background: rgba(8, 8, 10, 0.95);
  border: 1px solid var(--spark-blue);
  box-shadow: 0 0 20px var(--spark-glow);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--spark-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 屏障被撕裂状态 (Fractured / Cleaved state) */
.firewall-barrier-viewport.breached .barrier-left {
  transform: translateX(-85%);
  opacity: 0.25;
}

.firewall-barrier-viewport.breached .barrier-right {
  transform: translateX(85%);
  opacity: 0.25;
}

.firewall-barrier-viewport.breached .fracture-stream-conduit {
  opacity: 1;
}

/* 测速触发控制器 */
.breach-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.trigger-laser-btn {
  background: linear-gradient(135deg, #ff003c 0%, #b3002a 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px var(--laser-red-glow);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid #ff4d79;
}

.trigger-laser-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 35px var(--laser-red);
}

.trigger-laser-btn:active {
  transform: scale(0.98);
}

.telemetry-live-stats {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
}

.stat-glow-val {
  color: var(--spark-blue);
  font-weight: 800;
}

/* 粒子火花画板 */
#sparkCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

/* ---------------- 通用区块架构 ---------------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--laser-red);
  background: var(--laser-red-subtle);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 60, 0.25);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* ---------------- 产品核心优势 (3个图文卡片) ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: rgba(255, 0, 60, 0.08);
  border: 1px solid rgba(255, 0, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--laser-red);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.08);
  background: var(--laser-red);
  color: #ffffff;
  box-shadow: 0 0 20px var(--laser-red-glow);
}

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

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

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

.feature-points {
  border-top: 1px solid var(--border-tech);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.feature-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-point-item svg {
  width: 16px;
  height: 16px;
  color: var(--spark-blue);
  flex-shrink: 0;
}

/* ---------------- 流媒体与 AI 支持图卡 ---------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
}

.showcase-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.showcase-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--spark-blue);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.showcase-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 10px;
  color: var(--text-primary);
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 26px;
}

.icon-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.pill-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-tech);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.pill-card:hover {
  border-color: var(--laser-red);
  background: var(--bg-panel);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 0, 60, 0.15);
}

.pill-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  flex-shrink: 0;
}

.pill-icon svg {
  width: 17px;
  height: 17px;
}

.pill-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--spark-blue);
  margin-left: auto;
  font-weight: 700;
}

.showcase-footer-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 3px solid var(--laser-red);
  margin-top: auto;
}

/* ---------------- 真实主流参考套餐价格对比表 (Pricing) ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 热门推荐年度套餐高光 */
.pricing-card.featured {
  border-color: var(--laser-red);
  box-shadow: var(--shadow-laser);
  transform: scale(1.02);
  z-index: 2;
  background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(255, 0, 60, 0.04) 100%);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff003c 0%, #b3002a 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 16px var(--laser-red-glow);
  white-space: nowrap; /* 严格单行不折行 */
  z-index: 10;
  border: 1px solid #ff4d79;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-tech);
}

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

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

.pricing-price {
  margin: 18px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-mono);
}

.currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--laser-red);
}

.amount {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -1px;
}

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

.pricing-savings {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--spark-blue);
  font-weight: 700;
  min-height: 22px;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--spark-blue);
  flex-shrink: 0;
}

.pricing-feature-item.highlight {
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card .btn {
  width: 100%;
}

/* ---------------- 用户真实评价 (Testimonials) ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #ff9900;
  margin-bottom: 16px;
}

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

.testimonial-quote {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-tech);
  padding-top: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff003c 0%, #00f0ff 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.user-meta .user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ---------------- 常见问题解答 (FAQ) ---------------- */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-tech);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 0, 60, 0.4);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--laser-red);
}

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

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

.faq-icon-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--laser-red);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------------- 底部极光呼吁横幅 ---------------- */
.cta-banner-wrap {
  margin: 64px 0 20px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(255, 0, 60, 0.08) 0%, rgba(0, 240, 255, 0.05) 100%);
  border: 1px solid rgba(255, 0, 60, 0.3);
  border-radius: 12px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.6px;
}

.cta-banner-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 30px;
}

/* ---------------- 页脚 (Footer) ----------------
   严格要求：页脚只保留这四个标题，内容打开新的页面展示 */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-tech);
  padding: 48px 0 36px;
  transition: background-color 0.4s ease;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 6px;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--laser-red);
  transform: translateY(-1px);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ---------------- 资讯与文章列表卡片 (Insights / Articles) ---------------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--spark-blue);
}

.insight-tag {
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}

.insight-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insight-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--laser-red);
}

.insight-read-more:hover {
  text-shadow: 0 0 10px var(--laser-red-glow);
}

/* ---------------- 法律与条例文档页面 (Subpages) ---------------- */
.legal-page-header {
  padding: 64px 0 44px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-tech);
  text-align: center;
}

.legal-page-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.legal-page-updated {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.legal-content-wrap {
  padding: 60px 0 90px;
  max-width: 880px;
  margin: 0 auto;
}

.legal-box {
  padding: 44px 48px;
}

.legal-box h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 34px 0 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

.legal-box h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--laser-red);
  box-shadow: 0 0 8px var(--laser-red);
}

.legal-box p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.legal-box ul {
  margin: 12px 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-box li {
  list-style-type: square;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-highlight-box {
  background: rgba(255, 0, 60, 0.06);
  border-left: 4px solid var(--laser-red);
  padding: 18px 24px;
  border-radius: 0 6px 6px 0;
  margin: 24px 0;
}

/* 网站地图树形排版 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sitemap-group {
  padding: 26px;
}

.sitemap-group-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--laser-red);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.sitemap-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.94rem;
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-tech);
  transition: all var(--transition-fast);
}

.sitemap-link-item:hover {
  background: var(--laser-red);
  color: #ffffff;
  border-color: var(--laser-red);
  transform: translateX(4px);
}

/* ---------------- 响应式媒体查询 (@media) ---------------- */
@media screen and (max-width: 1080px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* 手机移动端完美单栏适配 (<= 768px) */
@media screen and (max-width: 768px) {
  .nav-wrap {
    height: 64px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .brand-badge {
    display: none; /* 移动端精简品牌次要标识 */
  }

  .nav-menu {
    display: none; /* 移动端隐藏稠密目录，保留 CTA 与模式按钮 */
  }

  .hero {
    padding: 44px 0 46px;
  }

  .hero-title {
    font-size: 2.1rem;
    letter-spacing: -0.6px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
  }

  /* 破壁屏障移动端高度微调 */
  .firewall-barrier-viewport {
    height: 180px;
  }

  .barrier-hex-stream {
    font-size: 0.65rem;
  }

  .breach-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .trigger-laser-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .telemetry-live-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* 核心优势完全单栏 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 流媒体与 AI 支持图卡完全单栏 */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  /* 套餐对比完全单栏显示 */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  /* 用户评价完全单栏 */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 底部横幅与页脚 */
  .cta-banner {
    padding: 36px 20px;
  }

  .cta-banner-title {
    font-size: 1.65rem;
  }

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

  .legal-box {
    padding: 26px 20px;
  }

  .legal-page-title {
    font-size: 1.85rem;
  }

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

/* 动效关键帧 */
@keyframes spark-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* ---------------- 深度 SEO 长篇科普文章排版规范 ---------------- */
.article-wrap {
  padding: 60px 0 90px;
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
}

.article-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border-tech);
  margin-bottom: 40px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-meta-bar .badge {
  color: var(--laser-red);
  background: var(--laser-red-subtle);
  border: 1px solid rgba(255, 0, 60, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.article-main-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.article-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-left: 3px solid var(--laser-red);
  padding-left: 18px;
  margin: 20px 0;
  background: rgba(255, 0, 60, 0.03);
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 0 6px 6px 0;
}

/* 文章目录 (Table of Contents) */
.article-toc {
  background: var(--bg-panel);
  border: 1px solid var(--border-tech);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0 44px;
}

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

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

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

.toc-link:hover {
  color: var(--laser-red);
  transform: translateX(4px);
}

.toc-link::before {
  content: "§";
  color: var(--spark-blue);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* 正文排版 */
.article-body {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-tech);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--laser-red);
  box-shadow: 0 0 10px var(--laser-red);
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 14px;
}

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

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-body li {
  list-style: square;
  font-size: 0.98rem;
}

.article-body strong {
  color: var(--text-primary);
}

/* 站内内链高亮 */
.internal-link {
  color: var(--laser-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all var(--transition-fast);
}

.internal-link:hover {
  color: var(--laser-plasma);
  text-shadow: 0 0 8px var(--laser-red-glow);
}

/* 技术数据对比表格 */
.tech-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
  border: 1px solid var(--border-tech);
}

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

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

.tech-table tr:hover {
  background: rgba(255, 0, 60, 0.03);
}

/* 科技高亮提示框 */
.callout-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-tech);
  border-left: 4px solid var(--spark-blue);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
}

.callout-box.danger {
  border-left-color: var(--laser-red);
}

.callout-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 代码与订阅配置块 */
.code-block {
  background: #06070a;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 0, 60, 0.2);
  margin: 22px 0;
  overflow-x: auto;
  line-height: 1.6;
}

/* 正文中嵌入的高转化 CTA 卡片 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 0, 60, 0.08) 0%, rgba(0, 240, 255, 0.05) 100%);
  border: 1px solid rgba(255, 0, 60, 0.35);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  margin: 44px 0;
}

.article-cta-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 20px;
}

/* 相关阅读网格 (Related Readings) */
.related-reading-wrap {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-tech);
}

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

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

@media screen and (max-width: 768px) {
  .article-main-title {
    font-size: 1.75rem;
  }
  .article-body h2 {
    font-size: 1.35rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
