/* ==========================================================================
   鲤云 LiYun - 工业科技 / 芯片鲤核 + 鳞片电路 专属原生样式表
   配色：#0A0E27 深蓝黑 | #10B981 电路绿 | #F59E0B 焊点橙 | #FFFFFF / rgba(255,255,255,0.5)
   ========================================================================== */

:root {
  --bg-dark: #0A0E27;
  --bg-card: rgba(14, 21, 53, 0.75);
  --bg-card-hover: rgba(19, 29, 74, 0.88);
  --bg-elevated: #111a42;
  --primary: #10B981;              /* 电路绿 */
  --primary-glow: rgba(16, 185, 129, 0.6);
  --secondary: #F59E0B;            /* 焊点橙 */
  --secondary-glow: rgba(245, 158, 11, 0.55);
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.5);
  --border-color: rgba(16, 185, 129, 0.18);
  --border-highlight: rgba(16, 185, 129, 0.5);
  --border-orange: rgba(245, 158, 11, 0.35);
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", Consolas, "Courier New", monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 4px;
  --radius-cta: 4px;
  --radius-card: 10px;
  --shadow-chip: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-orange: 0 0 20px rgba(245, 158, 11, 0.3);
  --container-max: 1200px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

/* ==========================================================================
   无障碍：跳转到主要内容 (Skip link)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
}

/* ==========================================================================
   固定页眉锚点防遮挡 (scroll-margin-top)
   ========================================================================== */
[id],
section[id],
article[id],
.section[id],
.wiki-article-item[id] {
  scroll-margin-top: 88px;
}

/* ==========================================================================
   键盘焦点样式 (:focus-visible)
   ========================================================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

/* ==========================================================================
   全屏背景动效 (PCB芯片走线 + 网格渐隐 + 双色大型呼吸光晕)
   ========================================================================== */
.bg-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* 细网格层 + Radial Mask 边缘渐隐 */
.pcb-grid-layer {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(16, 185, 129, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}

/* 2 个绿/橙大型呼吸缩放光晕 */
.ambient-glow-green {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
  filter: blur(100px);
  border-radius: 50%;
  animation: breatheGreen 7s ease-in-out infinite alternate;
}

.ambient-glow-orange {
  position: absolute;
  top: 45%;
  right: 12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  filter: blur(100px);
  border-radius: 50%;
  animation: breatheOrange 6s ease-in-out infinite alternate;
}

@keyframes breatheGreen {
  0% { transform: scale(0.85) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
}

@keyframes breatheOrange {
  0% { transform: scale(1.1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(0.88) translate(-25px, 25px); opacity: 0.45; }
}

/* 全屏 PCB 芯片走线 SVG */
.pcb-circuit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

/* 走线流动动画 5-7秒 */
.pcb-trace-green {
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 24 16;
  animation: pcbFlowGreen 6s linear infinite;
  filter: drop-shadow(0 0 4px var(--primary));
}

.pcb-trace-orange {
  stroke: var(--secondary);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 28 18;
  animation: pcbFlowOrange 5.5s linear infinite reverse;
  filter: drop-shadow(0 0 5px var(--secondary));
}

.pcb-trace-alt {
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 20 14;
  animation: pcbFlowGreen 7s linear infinite;
}

@keyframes pcbFlowGreen {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -400; }
}

@keyframes pcbFlowOrange {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 400; }
}

/* 发光焊盘与过孔 */
.solder-pad {
  fill: var(--secondary);
  filter: drop-shadow(0 0 6px var(--secondary));
}

.via-hole {
  fill: var(--bg-dark);
  stroke: var(--primary);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 5px var(--primary));
}

/* ==========================================================================
   导航栏 Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 39, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.logo-text span {
  color: var(--secondary);
  font-family: var(--font-mono);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

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

/* ==========================================================================
   CTA 按钮规范：绿色描边（无填充），hover 填充绿色 + 文字变黑，圆角 4px，等宽字体
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-cta);
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 核心 CTA 绿色描边 */
.btn-primary {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.7);
  transform: translateY(-2px);
}

/* 次级按钮 焊点橙描边 / 弱化框 */
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-orange);
  color: var(--secondary);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.15);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--secondary);
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   主视觉英雄区 (Hero Section) - 大标题布局 + 右侧芯片鲤核动画
   ========================================================================== */
.hero {
  padding: 70px 0 50px;
  position: relative;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  margin-bottom: 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 7px;
  height: 7px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
}

/* 大标题：H1「鲤云」使用 JetBrains Mono 等宽字体，文字带绿色发光阴影 */
.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.hero-brand-name {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary), 0 0 28px rgba(16, 185, 129, 0.65);
  display: inline-block;
}

.hero-title-sub {
  color: var(--secondary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: var(--font-mono);
  display: block;
  margin-top: 6px;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.hero-subtitle {
  font-size: clamp(0.96rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 品牌简介框 */
.hero-intro-box {
  background: rgba(14, 21, 53, 0.8);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.hero-intro-title {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-intro-text {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   右侧动画：强科技感芯片主体 (180×180px) + 12个引脚 + 双轨道 + 锦鲤 SVG
   ========================================================================== */
.chip-koi-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 320px;
}

.chip-koi-wrap {
  position: relative;
  width: 290px;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4个角落等宽字体读数 */
.readout-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  opacity: 0.85;
  letter-spacing: 0.5px;
  padding: 2px 4px;
  background: rgba(10, 14, 39, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 2px;
  z-index: 5;
}
.readout-tl { top: 0; left: 0; }
.readout-tr { top: 0; right: 0; }
.readout-bl { bottom: 0; left: 0; }
.readout-br { bottom: 0; right: 0; }

/* 2 层虚线圆轨道 (绿/橙反向旋转) */
.orbit-track {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-green {
  width: 236px;
  height: 236px;
  border: 1px dashed rgba(16, 185, 129, 0.45);
  animation: orbitRotateCW 12s linear infinite;
}

.orbit-orange {
  width: 270px;
  height: 270px;
  border: 1px dashed rgba(245, 158, 11, 0.4);
  animation: orbitRotateCCW 15s linear infinite;
}

/* 沿轨道运行的发光节点 */
.orbit-node-green {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary), 0 0 20px var(--primary);
}

.orbit-node-orange {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--secondary), 0 0 20px var(--secondary);
}

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

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

/* 芯片主体方块 180×180px */
.chip-main-box {
  width: 180px;
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, #0d1435 50%, rgba(245, 158, 11, 0.15) 100%);
  border: 2px solid var(--primary);
  border-radius: 6px;
  box-shadow: inset 0 0 24px rgba(16, 185, 129, 0.35), 0 0 26px rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: chipPulse 3.5s ease-in-out infinite alternate;
  z-index: 3;
}

@keyframes chipPulse {
  0% {
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.25), 0 0 18px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.7);
  }
  100% {
    box-shadow: inset 0 0 32px rgba(16, 185, 129, 0.5), 0 0 36px rgba(16, 185, 129, 0.45);
    border-color: var(--primary);
  }
}

/* 芯片内嵌细线图案 */
.chip-inner-lines {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  pointer-events: none;
}
.chip-inner-lines::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(245, 158, 11, 0.2);
}

/* 12 个橙色芯片引脚 (顶/底/左/右各 3 个) */
.chip-pins-top, .chip-pins-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  width: 120px;
  justify-content: center;
}
.chip-pins-top { top: -11px; }
.chip-pins-bottom { bottom: -11px; }

.pin-v {
  width: 5px;
  height: 11px;
  background: var(--secondary);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--secondary);
}

.chip-pins-left, .chip-pins-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 120px;
  justify-content: center;
}
.chip-pins-left { left: -11px; }
.chip-pins-right { right: -11px; }

.pin-h {
  width: 11px;
  height: 5px;
  background: var(--secondary);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--secondary);
}

/* 芯片中心叠 120×90px 锦鲤 SVG (绿到橙渐变 + 白色描边 + swim 摆动动画 2.5s + 双层辉光) */
.koi-svg-element {
  width: 120px;
  height: 90px;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.85)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.7));
  animation: koiSwim 2.5s ease-in-out infinite;
  transform-origin: center center;
  z-index: 4;
}

@keyframes koiSwim {
  0% {
    transform: rotate(-3deg) scale(0.96) translateY(0);
  }
  50% {
    transform: rotate(4deg) scale(1.05) translateY(-3px);
  }
  100% {
    transform: rotate(-3deg) scale(0.96) translateY(0);
  }
}

/* 数据指标展台 */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.metric-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.metric-item:last-child {
  border-right: none;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  display: block;
}

.metric-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   区块通用样式
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: rgba(10, 14, 39, 0.6);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   核心优势卡片 (3 Cards) - 芯片电路风
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 34px 26px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-chip);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

.feature-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

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

.ecosystem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 34px;
  transition: all 0.25s ease;
}

.ecosystem-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-chip);
  transform: translateY(-4px);
}

.ecosystem-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.ecosystem-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-icon-bg {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.media-icon-bg {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.ecosystem-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.ecosystem-tagline {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.ecosystem-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
  transition: all 0.2s ease;
}

.tag-badge:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--primary);
  transform: scale(1.02);
}

.tag-badge .dot-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}

/* ==========================================================================
   套餐价格对比表 (Pricing Table)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 21, 53, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.86rem;
  color: var(--text-dim);
  min-height: 38px;
}

.pricing-cost {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

.amount {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.period {
  font-size: 0.86rem;
  color: var(--text-dim);
}

.pricing-features {
  margin: 18px 0 28px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li.strong {
  color: #fff;
  font-weight: 600;
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.stars {
  color: var(--secondary);
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.review-quote {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 18px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.reviewer-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.reviewer-info p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   常见问题解答 (FAQ) - 原生 details/summary
   ========================================================================== */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

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

.faq-item[open] {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-icon-arrow {
  transition: transform 0.22s ease;
  color: var(--text-dim);
}

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

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

/* ==========================================================================
   底部呼吁横幅 (Bottom Banner)
   ========================================================================== */
.cta-banner {
  margin: 40px auto 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-card);
  padding: 46px 28px;
  text-align: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 26px;
  font-size: 0.96rem;
}

/* ==========================================================================
   页脚 Footer (规范：只保留四个独立页面链接)
   ========================================================================== */
.footer {
  background: #06091a;
  border-top: 1px solid var(--border-color);
  padding: 44px 0 32px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

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

.footer-link-item {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  padding: 4px 0;
}

.footer-link-item:hover {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
  width: 100%;
}

/* ==========================================================================
   子页面排版 (About, Terms, Privacy, Sitemap, Wiki)
   ========================================================================== */
.page-header {
  padding: 60px 0 36px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.page-header p {
  color: var(--text-dim);
  font-size: 1rem;
}

.page-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 40px;
  margin: 24px auto 70px;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.legal-section {
  margin-bottom: 34px;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-section li {
  list-style-type: disc;
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.sitemap-group {
  margin-bottom: 28px;
}

.sitemap-group h3 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.sitemap-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: block;
  transition: all 0.2s ease;
}

.sitemap-item-card:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--primary);
  transform: translateX(4px);
}

.sitemap-item-card strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.sitemap-item-card span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   响应式媒体查询 (@media) - 确保手机端完美单栏与按钮适配
   ========================================================================== */
@media (max-width: 992px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .hero-intro-box {
    text-align: left;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metric-item {
    border-right: none;
    padding: 10px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .nav-wrap {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-menu {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 18px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 0 30px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
  }
  .metric-num {
    font-size: 1.45rem;
  }
  .section {
    padding: 50px 0;
  }
  .feature-card, .ecosystem-card, .pricing-card {
    padding: 22px 18px;
  }
  .page-content-box {
    padding: 22px 16px;
  }
  .footer-links {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==========================================================================
   知识科普专栏 9 篇 SEO 深度技术文章排版样式
   ========================================================================== */
.wiki-directory-box {
  background: rgba(14, 21, 53, 0.85);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  margin-bottom: 40px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.wiki-dir-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.wiki-dir-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.wiki-dir-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.wiki-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wiki-dir-link {
  display: block;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.wiki-dir-link:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.wiki-dir-link strong {
  display: block;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.wiki-article-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.wiki-article-item:hover {
  border-color: var(--border-highlight);
}

.wiki-article-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.wiki-article-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
}

.wiki-article-title {
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.wiki-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.wiki-badge {
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
}

.wiki-badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.wiki-badge-orange {
  background: rgba(245, 158, 11, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.wiki-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.wiki-body h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wiki-body h3::before {
  content: "▶";
  font-size: 0.75rem;
  color: var(--primary);
}

.wiki-body p {
  margin-bottom: 14px;
}

.wiki-body ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.wiki-body li {
  list-style-type: square;
  margin-bottom: 8px;
  line-height: 1.7;
}

.wiki-body li strong {
  color: #fff;
}

.wiki-internal-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.wiki-internal-link:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--primary);
}

.wiki-article-cta {
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wiki-article-cta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .wiki-dir-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   文章内置 FAQ 样式 (默认展开)
   ========================================================================== */
.wiki-article-faq-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed rgba(16, 185, 129, 0.25);
}

.wiki-article-faq-box h4 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wiki-article-faq-box .faq-item {
  margin-bottom: 10px;
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.wiki-article-faq-box .faq-item summary {
  padding: 12px 16px;
  font-size: 0.9rem;
}

.wiki-article-faq-box .faq-answer {
  padding: 0 16px 14px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   无障碍：减弱动效偏好 (prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient-glow-green,
  .ambient-glow-orange,
  .pcb-trace-green,
  .pcb-trace-orange,
  .pcb-trace-alt,
  .orbit-track,
  .orbit-node-green,
  .orbit-node-orange,
  .chip-main-box,
  .koi-svg-element,
  .solder-pad,
  .via-hole {
    animation: none !important;
  }
}

