/* ==========================================================================
   锦云 JinYun - 芯片锦核 + 织锦电路 + 工业科技
   配色：#0A0E27 (深蓝黑) | #10B981 (电路绿) | #F59E0B (焊点橙)
   ========================================================================== */

:root {
  --bg-main: #0A0E27;
  --bg-card: rgba(13, 19, 51, 0.85);
  --bg-card-hover: rgba(17, 26, 68, 0.95);
  --bg-header: rgba(10, 14, 39, 0.92);
  --primary-green: #10B981;
  --secondary-orange: #F59E0B;
  --text-white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-body: rgba(255, 255, 255, 0.78);
  --border-pcb: rgba(16, 185, 129, 0.25);
  --border-orange: rgba(245, 158, 11, 0.35);
  --glow-green: 0 0 15px rgba(16, 185, 129, 0.35);
  --glow-orange: 0 0 15px rgba(245, 158, 11, 0.35);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --container-width: 1200px;
}

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

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

/* 锚点防遮挡 */
section[id], article[id], div[id] {
  scroll-margin-top: 84px;
}

/* 无障碍跳过链接 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary-green);
  color: #0A0E27 !important;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: top 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* 键盘焦点可访问性 */
:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 3px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

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

/* ==========================================================================
   背景动效：全屏 PCB 走线 + 细网格 + 缓慢呼吸大型光晕
   ========================================================================== */

/* 细网格线背景 (带 radial mask 边缘渐隐) */
.pcb-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 80%);
}

/* 大型呼吸 Blur 光晕 (绿/橙双色) */
.pcb-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-green {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 68%);
  filter: blur(80px);
  border-radius: 50%;
  animation: orbBreatheGreen 8s ease-in-out infinite alternate;
}

.glow-orb-orange {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.13) 0%, transparent 68%);
  filter: blur(90px);
  border-radius: 50%;
  animation: orbBreatheOrange 9s ease-in-out infinite alternate;
}

@keyframes orbBreatheGreen {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(40px, -30px); opacity: 1; }
}

@keyframes orbBreatheOrange {
  0% { transform: scale(1.1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(0.85) translate(-40px, 40px); opacity: 0.6; }
}

/* 全屏 PCB 芯片走线 SVG */
.pcb-circuit-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.pcb-circuit-svg path {
  fill: none !important;
}

/* 信号流动动画 (stroke-dasharray + dashoffset 5-7秒周期) */
.pcb-trace-green {
  fill: none !important;
  stroke: var(--primary-green) !important;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 45 320;
  animation: flowSignal 6s linear infinite;
  filter: drop-shadow(0 0 5px var(--primary-green));
}

.pcb-trace-orange {
  fill: none !important;
  stroke: var(--secondary-orange) !important;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 55 360;
  animation: flowSignalReverse 7s linear infinite;
  filter: drop-shadow(0 0 5px var(--secondary-orange));
}

.pcb-trace-bg {
  fill: none !important;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pcb-pad-square {
  fill: var(--bg-main);
  stroke: var(--secondary-orange);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px var(--secondary-orange));
}

.pcb-via-circle {
  fill: var(--primary-green);
  stroke: var(--bg-main);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px var(--primary-green));
}

@keyframes flowSignal {
  0% { stroke-dashoffset: 480; }
  100% { stroke-dashoffset: 0; }
}

@keyframes flowSignalReverse {
  0% { stroke-dashoffset: -580; }
  100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   CTA 按钮规范：
   绿色描边按钮（无填充），hover 时填充绿色 + 文字变黑，圆角 4px，等宽字体。
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  background: var(--primary-green);
  color: var(--bg-main);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

/* 次级工业橙色按钮 (配套线框) */
.btn-secondary {
  background: transparent;
  border: 1px solid var(--secondary-orange);
  color: var(--secondary-orange);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.12);
}

.btn-secondary:hover {
  background: var(--secondary-orange);
  color: var(--bg-main);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   页眉导航栏
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-pcb);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  color: var(--primary-green);
  filter: drop-shadow(0 0 6px var(--primary-green));
}

.brand span {
  color: var(--primary-green);
}

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

.nav-links a {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

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

/* ==========================================================================
   主视觉区 (Hero Layout)：
   左侧：H1「锦云」使用 JetBrains Mono，文字带绿色发光阴影 + 简介 + CTA
   右侧动画：180×180px 芯片主体 + 12个橙色引脚 + 2层虚线圆轨道 + 锦鲤 SVG + 4角读数
   ========================================================================== */
.hero {
  padding: 70px 0 60px;
  position: relative;
}

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

.hero-left {
  text-align: left;
}

.pcb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  margin-bottom: 22px;
}

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

/* H1「锦云」使用 JetBrains Mono，文字带绿色发光阴影 */
.hero-title {
  font-family: var(--font-mono);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-title .brand-name-glow {
  color: var(--text-white);
  text-shadow: 
    0 0 10px rgba(16, 185, 129, 0.7),
    0 0 22px rgba(16, 185, 129, 0.45),
    0 0 35px rgba(16, 185, 129, 0.25);
}

.hero-title .title-accent {
  color: var(--primary-green);
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* 关键数据指示条 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-pcb);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  margin-bottom: 2px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   右侧动画：强科技感芯片锦核 + 织锦锦鲤
   180×180px 芯片 + 12引脚 + 2层虚线圆反向旋转 + 锦鲤 2.5s swim + 4角读数
   ========================================================================== */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-stage {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4个角落等宽读数 */
.chip-readout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  user-select: none;
}

.readout-tl { top: 6px; left: 8px; color: var(--primary-green); text-shadow: 0 0 6px var(--primary-green); }
.readout-tr { top: 6px; right: 8px; color: var(--secondary-orange); text-shadow: 0 0 6px var(--secondary-orange); }
.readout-bl { bottom: 6px; left: 8px; color: var(--secondary-orange); text-shadow: 0 0 6px var(--secondary-orange); }
.readout-br { bottom: 6px; right: 8px; color: var(--primary-green); text-shadow: 0 0 6px var(--primary-green); }

/* 2 层虚线圆轨道 (绿/橙反向旋转) */
.orbit-ring-outer {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.45);
  animation: rotateCW 14s linear infinite;
  pointer-events: none;
}

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

.orbit-ring-inner {
  position: absolute;
  width: 236px;
  height: 236px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.45);
  animation: rotateCCW 10s linear infinite;
  pointer-events: none;
}

.orbit-node-green {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-green), 0 0 18px var(--primary-green);
}

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

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

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

@keyframes chipPulse {
  0% {
    box-shadow: 
      inset 0 0 18px rgba(16, 185, 129, 0.22),
      0 0 20px rgba(16, 185, 129, 0.2);
    border-color: var(--primary-green);
  }
  100% {
    box-shadow: 
      inset 0 0 28px rgba(245, 158, 11, 0.35),
      0 0 32px rgba(16, 185, 129, 0.45);
    border-color: #2ee6a8;
  }
}

/* 芯片内嵌细线装配 */
.chip-inner-lines {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 4px;
  pointer-events: none;
}

.chip-inner-lines::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dotted rgba(245, 158, 11, 0.25);
}

/* 12 个橙色芯片引脚 (顶/底/左/右各 3 个) */
.chip-pins-top,
.chip-pins-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  pointer-events: none;
}

.chip-pins-top { top: -14px; }
.chip-pins-bottom { bottom: -14px; }

.chip-pins-left,
.chip-pins-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: none;
}

.chip-pins-left { left: -14px; }
.chip-pins-right { right: -14px; }

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

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

/* 芯片中心叠 120×90px 锦鲤 SVG (绿到橙渐变 + 白色描边 + 眼睛 + swim 动画 2.5s) */
.koi-svg-element {
  width: 120px;
  height: 90px;
  filter: 
    drop-shadow(0 0 10px rgba(16, 185, 129, 0.8)) 
    drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
  animation: koiSwim 2.5s ease-in-out infinite alternate;
  z-index: 10;
}

@keyframes koiSwim {
  0% {
    transform: rotate(-5deg) translateY(-3px) scale(0.97);
  }
  50% {
    transform: rotate(3deg) translateY(2px) scale(1.02);
  }
  100% {
    transform: rotate(6deg) translateY(-2px) scale(1.05);
  }
}

/* ==========================================================================
   板块通用工业科技风格
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: rgba(13, 19, 51, 0.45);
  border-top: 1px solid var(--border-pcb);
  border-bottom: 1px solid var(--border-pcb);
}

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

.section-tag {
  font-family: var(--font-mono);
  color: var(--primary-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

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

/* ==========================================================================
   核心优势卡片 (保持 3 列栅格)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-green);
  box-shadow: 0 0 8px var(--primary-green);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-green);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), var(--glow-green);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-pcb);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary-green);
}

.feature-icon {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.7;
}

.feature-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 2px;
  color: var(--primary-green);
}

/* ==========================================================================
   流媒体与 AI 支持图卡
   ========================================================================== */
.support-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.support-category {
  background: var(--bg-card);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  padding: 36px;
  transition: all 0.25s ease;
  position: relative;
}

.support-category:hover {
  border-color: var(--border-orange);
  box-shadow: var(--glow-orange);
}

.support-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.support-cat-icon {
  width: 42px;
  height: 42px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-orange);
}

.support-cat-icon svg {
  width: 22px;
  height: 22px;
}

.support-cat-title {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
}

.support-cat-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

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

.app-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(10, 14, 39, 0.65);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.app-pill:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.app-pill-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary-green);
}

.app-name {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
}

.app-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   套餐价格对比表
   ========================================================================== */
.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-pcb);
  border-radius: 4px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), var(--glow-green);
}

.pricing-card.featured {
  background: rgba(17, 26, 68, 0.9);
  border-color: var(--primary-green);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.22);
}

.card-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-green);
  color: var(--bg-main);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.pricing-header {
  margin-bottom: 22px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
}

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

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

.price-amount {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.feature-check {
  width: 16px;
  height: 16px;
  color: var(--primary-green);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  padding: 30px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: var(--border-orange);
  box-shadow: var(--glow-orange);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--secondary-orange);
}

.review-stars svg {
  width: 15px;
  height: 15px;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-white);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
  font-style: italic;
}

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

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

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
}

.author-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

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

.faq-item:hover {
  border-color: var(--primary-green);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

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

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-green);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.7;
  border-top: 1px solid rgba(16, 185, 129, 0.12);
  padding-top: 14px;
}

/* 底部引导横幅 */
.cta-banner {
  background: rgba(13, 19, 51, 0.9);
  border: 1px solid var(--primary-green);
  border-radius: 4px;
  padding: 50px 36px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
  position: relative;
}

.cta-banner-title {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.cta-banner-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   页脚 (严格保留四个指定标题并新页面打开)
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-pcb);
  background: rgba(7, 10, 28, 0.96);
  padding: 44px 0 32px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 24px;
}

.footer-nav-link {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 4px;
}

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

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

/* ==========================================================================
   子页面排版 (关于、条款、隐私、网站地图、科普)
   ========================================================================== */
.subpage-hero {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-pcb);
  background: rgba(13, 19, 51, 0.5);
}

.subpage-title {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.subpage-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  padding: 40px;
  margin: 46px auto 70px;
  max-width: 900px;
  position: relative;
}

.content-box h2 {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  color: var(--text-white);
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-pcb);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.content-box p, .content-box ul {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-box ul {
  padding-left: 22px;
}

.content-box li {
  margin-bottom: 8px;
}

.highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--primary-green);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 22px 0;
  color: var(--text-white);
  font-size: 0.95rem;
}

/* ==========================================================================
   SEO 文章库与知识科普专栏特定样式
   ========================================================================== */
.article-toc {
  background: rgba(10, 14, 39, 0.85);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 40px;
  position: relative;
}

.toc-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  list-style: none;
}

.toc-item a {
  font-size: 0.92rem;
  color: var(--text-body);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-item a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  transform: translateX(4px);
}

.seo-article {
  background: var(--bg-card);
  border: 1px solid var(--border-pcb);
  border-radius: 4px;
  padding: 38px 34px;
  margin-bottom: 36px;
  transition: all 0.25s ease;
  position: relative;
}

.seo-article:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.article-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-pcb);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-green);
  border-radius: 2px;
}

.article-tag-orange {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--secondary-orange);
  border-radius: 2px;
}

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

.article-title {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.article-body {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.8;
}

.article-body h3 {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-white);
  margin: 22px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--primary-green);
}

.article-body p {
  margin-bottom: 16px;
  text-align: justify;
}

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

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

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

.seo-internal-link:hover {
  color: #34d399;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.article-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed rgba(16, 185, 129, 0.18);
  flex-wrap: wrap;
  gap: 14px;
}

.article-word-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   响应式适配 (@media 媒体查询)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-left {
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .hero-actions {
    justify-content: center;
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-wrapper {
    grid-template-columns: 1fr;
  }
  .toc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    height: 64px;
  }
  .nav-links {
    display: none; /* 移动端突出核心转化注册 */
  }
  .hero {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-title .title-accent {
    font-size: 1.6rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .chip-stage {
    width: 290px;
    height: 290px;
    transform: scale(0.9);
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  .content-box {
    padding: 24px 18px;
  }
  .cta-banner {
    padding: 36px 20px;
  }
  .cta-banner-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .stat-value {
    font-size: 1.35rem;
  }
  .chip-stage {
    transform: scale(0.8);
  }
}

/* 动效降级支持 */
@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;
  }
}

