/* ===================================================================
   FSCloud - 全面 UI 视觉与性能样式表 (Layer 2 规范完全合规)
   设计语言：苍穹以太 / 动漫星轨与魔导科技终端 (Celestial Aether)
   约束：系统字体、首屏轻量、无外部依赖、高对比度、无障碍支持
=================================================================== */

:root {
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  
  /* 深邃以太宇宙色板 */
  --bg-deep: #070a13;
  --bg-subtle: #0c1222;
  --bg-surface: rgba(15, 23, 42, 0.76);
  --bg-surface-elevated: rgba(22, 33, 62, 0.88);
  
  /* 文本对比色 (满足 WCAG 4.5:1 对比度) */
  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  /* 动漫以太魔法与科技主色 */
  --aether-cyan: #38bdf8;
  --aether-cyan-glow: rgba(56, 189, 248, 0.4);
  --aether-blue: #2563eb;
  --astral-purple: #818cf8;
  --astral-purple-glow: rgba(129, 140, 248, 0.35);
  --celestial-gold: #fbbf24;
  --emerald-node: #34d399;
  
  /* 玻璃边框与投影 */
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-bright: rgba(255, 255, 255, 0.18);
  --border-glow-cyan: rgba(56, 189, 248, 0.35);
  --shadow-base: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.2);
  
  /* 结构参数 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1180px;
  --header-height: 72px;
  --sticky-cta-height: 64px;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 189, 248, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(129, 140, 248, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(37, 99, 235, 0.09), transparent);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* 动效背景层：流星雨与以太幽萤 */
.celestial-fx-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.meteor-trail {
  position: absolute;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, rgba(56, 189, 248, 0.6), transparent);
  border-radius: 99px;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
  transform: rotate(-35deg) translate3d(0, 0, 0);
  opacity: 0;
  animation: meteorShoot 9s linear infinite;
}

.meteor-1 { top: 8%; left: 75%; animation-delay: 1.5s; }
.meteor-2 { top: 25%; left: 88%; animation-delay: 5s; width: 160px; }

@keyframes meteorShoot {
  0% { opacity: 0; transform: rotate(-35deg) translate3d(0, 0, 0); }
  10% { opacity: 1; }
  25% { opacity: 0; transform: rotate(-35deg) translate3d(-550px, 385px, 0); }
  100% { opacity: 0; transform: rotate(-35deg) translate3d(-550px, 385px, 0); }
}

.firefly-orb {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--aether-cyan);
  box-shadow: 0 0 10px 2px var(--aether-cyan-glow);
  animation: fireflyFloat 15s ease-in-out infinite alternate;
  opacity: 0.7;
}

.firefly-1 { top: 18%; left: 12%; animation-duration: 13s; }
.firefly-2 { top: 40%; left: 32%; animation-duration: 17s; animation-delay: 2s; background: var(--astral-purple); }
.firefly-3 { top: 65%; left: 82%; animation-duration: 14s; animation-delay: 4s; background: var(--celestial-gold); }

@keyframes fireflyFloat {
  0% { transform: translate(0, 0); opacity: 0.3; }
  50% { transform: translate(35px, -50px); opacity: 0.85; }
  100% { transform: translate(-25px, -90px); opacity: 0.35; }
}

/* 基础排版与链接 */
a {
  color: var(--aether-cyan);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: #7dd3fc;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--aether-cyan);
  outline-offset: 3px;
}

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

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

/* 布局容器 */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* 顶部导航 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand-emblem-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
  border: 1px solid var(--border-glow-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.brand-logo-img {
  width: 24px;
  height: 24px;
  display: block;
}

.brand-text-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.brand-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--aether-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-item-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--aether-cyan), var(--astral-purple));
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-link:hover {
  color: var(--text-pure);
  text-shadow: none;
}

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

.nav-item-link.active {
  color: var(--text-pure);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--aether-blue), #1d4ed8 60%, var(--astral-purple));
  color: #ffffff;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

.nav-toggle-btn {
  display: none;
  padding: 8px;
  color: var(--text-pure);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  min-width: 44px;
  min-height: 44px;
}

/* 主内容区 */
.site-main {
  flex: 1 0 auto;
  position: relative;
  z-index: 2;
}

.section-block {
  padding: 84px 0;
  position: relative;
  border-bottom: 1px solid var(--border-glass);
}

.section-block.bg-alt {
  background: rgba(12, 18, 34, 0.5);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--aether-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

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

/* Hero 主视觉区 */
.hero-block {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.hero-celestial-rings {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 760px;
  height: 760px;
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}

.celestial-svg-ring {
  width: 100%;
  height: 100%;
  animation: celestialRotate 50s linear infinite;
}

.celestial-svg-ring-inner {
  transform-origin: center center;
  animation: celestialRotateReverse 35s linear infinite;
}

@keyframes celestialRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes celestialRotateReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--aether-cyan);
  background: rgba(14, 25, 45, 0.7);
  border: 1px solid var(--border-glow-cyan);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-spark {
  display: inline-block;
  color: var(--celestial-gold);
}

.hero-main-title {
  font-size: 3.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-pure);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title-focus {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-sub-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

/* CTA 按钮规范 */
.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  min-height: 48px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6 50%, #818cf8);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.5), 0 0 20px rgba(56, 189, 248, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-action::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  animation: shimmerSweep 4.5s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% { left: -75%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.65), 0 0 30px rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  min-height: 48px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-specs-list {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--border-glass);
  padding-top: 28px;
}

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

.spec-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-pure);
  background: linear-gradient(135deg, #ffffff, var(--aether-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Hero 右侧终端面板 */
.hero-card-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow-cyan);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-base);
  position: relative;
  overflow: hidden;
}

.hero-card-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aether-cyan), var(--astral-purple), transparent);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aether-cyan);
  box-shadow: 0 0 8px var(--aether-cyan);
}

.panel-status {
  font-size: 0.8rem;
  color: var(--emerald-node);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 211, 153, 0.1);
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.panel-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--emerald-node);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-node);
}

.terminal-waveform-box {
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.waveform-caption {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
}

.waveform-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--aether-cyan);
  font-family: ui-monospace, monospace;
}

.waveform-svg {
  width: 130px;
  height: 28px;
}

.waveform-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: waveformFlow 3s linear infinite;
}

@keyframes waveformFlow {
  to { stroke-dashoffset: 0; }
}

.node-status-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.node-row:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: var(--border-glow-cyan);
  transform: translateX(4px);
}

.node-region {
  font-weight: 700;
  color: var(--text-pure);
}

.node-type {
  font-size: 0.75rem;
  color: var(--aether-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}

.node-latency {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: var(--emerald-node);
  background: rgba(52, 211, 153, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 核心特性卡 (4张卡片) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-base);
}

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.15));
  border: 1px solid var(--border-glow-cyan);
  color: var(--aether-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.feature-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 12px;
}

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

/* 流媒体与 AI 支持模块 (纯文字与统一线性展示) */
.support-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.support-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-base);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.support-panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aether-cyan), var(--astral-purple));
  opacity: 0.6;
}

.support-panel-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.support-panel-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.support-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-pure);
  transition: all 0.2s ease;
}

.support-tag::before {
  content: "✦";
  color: var(--aether-cyan);
  font-size: 0.75rem;
}

.support-tag:hover {
  border-color: var(--aether-cyan);
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

/* 使用场景卡 (3张卡片) */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.scenario-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-base);
  transition: all 0.3s ease;
}

.scenario-card:hover {
  border-color: var(--border-glow-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.scenario-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 14px;
}

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

.scenario-device {
  font-size: 0.8rem;
  color: var(--aether-cyan);
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

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

/* 方案定价区 (3档方案 - 中档推荐) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-base);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--border-glow-cyan);
  transform: translateY(-4px);
}

.pricing-card.is-popular {
  border: 2px solid var(--aether-cyan);
  background: linear-gradient(180deg, rgba(22, 33, 62, 0.9), rgba(15, 23, 42, 0.85));
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.3);
  transform: scale(1.03);
  z-index: 5;
}

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

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--celestial-gold), #f59e0b);
  color: #0b0f19;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.plan-target {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: 22px;
}

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

.plan-currency {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--aether-cyan);
}

.plan-amount {
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1;
}

.plan-cycle {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 34px;
  flex: 1 0 auto;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.plan-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--emerald-node);
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 22px;
  min-height: 48px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass-bright);
  color: var(--text-pure);
}

.plan-cta-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateY(-2px);
}

.pricing-card.is-popular .plan-cta-btn {
  background: linear-gradient(135deg, var(--aether-blue), var(--aether-cyan));
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.pricing-card.is-popular .plan-cta-btn:hover {
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

/* FAQ 常见问题 (折叠手风琴) */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-glass-bright);
}

.faq-item.is-open {
  border-color: var(--border-glow-cyan);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5), 0 0 18px rgba(56, 189, 248, 0.15);
}

.faq-question-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: var(--aether-cyan);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--aether-cyan);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  display: none;
  padding: 0 26px 24px;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-glass);
  margin-top: -4px;
  padding-top: 18px;
}

.faq-item.is-open .faq-answer-panel {
  display: block;
}

/* Final CTA 底部转化区 */
.final-cta-block {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.18), transparent 70%);
  text-align: center;
}

.final-cta-box {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.final-cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  line-height: 1.7;
}

/* 技术指南、文章页与通用说明模板 */
.article-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border-glass);
  position: relative;
}

.article-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-bottom: 18px;
}

.article-breadcrumb a {
  color: var(--text-muted);
}

.article-breadcrumb a:hover {
  color: var(--aether-cyan);
}

.article-title {
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.article-content-body {
  max-width: 820px;
  margin: 48px auto 72px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-lead-box {
  background: rgba(14, 25, 45, 0.7);
  border-left: 4px solid var(--aether-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
  margin-bottom: 40px;
  font-size: 1.075rem;
  color: var(--text-pure);
}

.article-content-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-pure);
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.article-content-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  margin: 32px 0 14px;
}

.article-content-body p {
  margin-bottom: 22px;
  color: #cbd5e1;
}

.article-content-body ul, 
.article-content-body ol {
  margin-bottom: 26px;
  padding-left: 12px;
}

.article-content-body li {
  margin-bottom: 10px;
  color: #cbd5e1;
}

.article-callout {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow-cyan);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 44px 0;
  text-align: center;
}

.article-callout-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.article-callout-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.article-related-links {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 44px 0;
}

.article-related-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-pure);
}

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

.article-related-list a {
  font-weight: 600;
  color: var(--aether-cyan);
}

/* 指南页卡片 */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0 72px;
}

.guide-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.guide-item-card:hover {
  border-color: var(--border-glow-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.guide-item-thumb {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.15));
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--aether-cyan);
}

.guide-item-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aether-cyan);
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

.guide-item-meta {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
}

.guide-item-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1 0 auto;
}

.guide-item-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--aether-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 法律合规页面 */
.legal-wrapper {
  max-width: 860px;
  margin: 48px auto 72px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-base);
}

.legal-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 22px;
  margin-bottom: 32px;
}

.legal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

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

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 0.975rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 12px;
}

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

.legal-section li {
  font-size: 0.975rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 8px;
}

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

.sitemap-group-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

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

.sitemap-links-list a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sitemap-links-list a:hover {
  color: var(--aether-cyan);
}

/* ===================================================================
   Footer 规范体系 (Layer 2：仅放导航、合规与版权，禁止塞文章列表)
=================================================================== */
.site-footer {
  background: rgba(7, 10, 19, 0.96);
  border-top: 1px solid var(--border-glass);
  padding: 52px 0 32px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 28px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav-list a {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: var(--text-pure);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-affiliate-notice {
  color: var(--aether-cyan);
  font-weight: 500;
}

/* ===================================================================
   移动端吸底 CTA 栏 (仅移动端、滚动超过首屏后出现、不遮挡 Footer)
=================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-cta-height);
  background: rgba(7, 10, 19, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow-cyan);
  padding: 10px 18px;
  z-index: 99;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.is-visible {
  transform: translateY(0);
}

.mobile-sticky-bar.is-hidden {
  transform: translateY(100%);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-pure);
}

.mobile-sticky-sub {
  font-size: 0.75rem;
  color: var(--aether-cyan);
}

.mobile-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  min-height: 44px;
  font-size: 0.925rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--aether-blue), var(--aether-cyan));
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.is-popular { transform: none; }
  .pricing-card.is-popular:hover { transform: translateY(-4px); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  body { padding-bottom: var(--sticky-cta-height); }
  .mobile-sticky-bar { display: flex; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-main-title { font-size: 2.35rem; }
  .section-title { font-size: 1.85rem; }
  .features-grid { grid-template-columns: 1fr; }
  .support-dual-grid { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .sitemap-columns { grid-template-columns: 1fr; }
  .legal-wrapper { padding: 28px 20px; }

  .nav-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
  .main-navigation {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 10, 19, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass-bright);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
  }
  .main-navigation.is-active { display: flex; }
  .nav-cta-btn { width: 100%; padding: 13px; }
}

@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;
  }
  .meteor-trail, .firefly-orb, .celestial-svg-ring, .celestial-svg-ring-inner {
    display: none !important;
  }
}
