/* ==========================================================================
   杏花云 (XingHua Cloud) - 生物感光纤拓扑与网络遥测样式表
   Style: Bioluminescent Floral Topology & Fiber-Optic Architecture
   Palette: Abyssal Plum Black (#0D0A14), Apricot Pink (#FF6584), Electric Orchid (#C084FC), Signal Cyan (#38BDF8)
   Zero External Frameworks · Pure Native CSS3 & Vanilla HTML5 · Instant Paint
   ========================================================================== */

/* 1. 设计系统与主题色彩定义 */
:root {
  /* 白天模式 (Clean Bioluminescent Day: 柔和雅致的白天拓扑质感) */
  --bg-body: #fbf9fd;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-hud: rgba(245, 240, 252, 0.92);
  --bg-badge: rgba(255, 101, 132, 0.1);

  --border-color: #e9e2f3;
  --border-light: rgba(233, 226, 243, 0.7);
  --border-glow: rgba(192, 132, 252, 0.35);

  --text-primary: #171124;
  --text-secondary: #4a3e62;
  --text-muted: #796c92;
  --text-inverse: #ffffff;

  /* 生物拓扑核心强调色 */
  --apricot-pink: #ff6584;       /* 杏花感粉光 */
  --apricot-hover: #ff476e;
  --electric-orchid: #a855f7;   /* 电气兰光 */
  --signal-cyan: #0284c7;       /* 信号青蓝 */
  --signal-green: #10b981;      /* 专线通畅绿 */

  --primary: #ff6584;
  --primary-gradient: linear-gradient(135deg, #ff6584 0%, #c084fc 50%, #38bdf8 100%);
  --hero-gradient: radial-gradient(circle at 50% 10%, rgba(255, 101, 132, 0.08) 0%, rgba(192, 132, 252, 0.05) 40%, transparent 75%);
  --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 255, 0.95) 100%);

  --shadow-sm: 0 2px 4px rgba(23, 17, 36, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(23, 17, 36, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(23, 17, 36, 0.12);
  --shadow-glow: 0 0 28px rgba(255, 101, 132, 0.22);
  --shadow-bloom: 0 0 35px rgba(192, 132, 252, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 夜间模式 (Bioluminescent Floral Fiber-Optic Dark Mode) */
[data-theme="dark"] {
  --bg-body: #0d0a14;           /* Abyssal Plum Black 深渊李黑 */
  --bg-surface: #130f1e;        /* 次级暗舱表面 */
  --bg-card: #171225;           /* 卡片深色背景 */
  --bg-glass: rgba(13, 10, 20, 0.88);
  --bg-hud: rgba(19, 15, 30, 0.92);
  --bg-badge: rgba(255, 101, 132, 0.15);

  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(255, 101, 132, 0.35);

  --text-primary: #f8f6fc;
  --text-secondary: #cbbfe0;
  --text-muted: #8d7ea6;
  --text-inverse: #0d0a14;

  --apricot-pink: #ff6584;       /* Bioluminescent Apricot Pink */
  --apricot-hover: #ff7e9a;
  --electric-orchid: #c084fc;   /* Electric Orchid */
  --signal-cyan: #38bdf8;       /* Clean Signal Cyan */
  --signal-green: #34d399;

  --primary: #ff6584;
  --primary-gradient: linear-gradient(135deg, #ff6584 0%, #c084fc 50%, #38bdf8 100%);
  --hero-gradient: radial-gradient(circle at 50% 15%, rgba(255, 101, 132, 0.18) 0%, rgba(192, 132, 252, 0.1) 45%, transparent 75%);
  --card-gradient: linear-gradient(180deg, rgba(23, 18, 37, 0.95) 0%, rgba(16, 12, 26, 0.95) 100%);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 36px -4px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px rgba(255, 101, 132, 0.32);
  --shadow-bloom: 0 0 45px rgba(192, 132, 252, 0.35);
}

/* 2. 基础重置与平滑滚动 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. 顶部导航栏 (Navbar) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: var(--bg-glass);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 101, 132, 0.45);
}

.logo-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.logo-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--signal-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 2px;
  letter-spacing: 0.05em;
}

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

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

.nav-link:hover {
  color: var(--apricot-pink);
}

.nav-link.highlight-tag {
  color: var(--electric-orchid);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link.highlight-tag::after {
  content: "NEW";
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--apricot-pink), var(--electric-orchid));
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
}

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

/* 昼夜模式切换按钮 (精致透明化玻璃质感) */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  color: var(--apricot-pink);
  border-color: var(--apricot-pink);
  box-shadow: 0 0 16px rgba(255, 101, 132, 0.25);
  transform: translateY(-1px);
}

.theme-icon {
  width: 20px;
  height: 20px;
}

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

/* 4. 通用按钮规范 (CTA Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(255, 101, 132, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 101, 132, 0.5);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--electric-orchid);
  color: var(--electric-orchid);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.2);
}

.btn-hud {
  background: rgba(56, 189, 248, 0.12);
  color: var(--signal-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-hud:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--signal-cyan);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

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

.btn-block {
  width: 100%;
}

/* 5. 主视觉区 (Hero Section & Telemetry Visualizer) */
.hero-section {
  position: relative;
  padding: 68px 0 50px;
  background-image: var(--hero-gradient);
  overflow: hidden;
}

.hero-head-wrap {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 36px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background-color: var(--bg-badge);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--apricot-pink);
  margin-bottom: 22px;
  box-shadow: 0 0 14px rgba(255, 101, 132, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--apricot-pink);
  box-shadow: 0 0 0 0 rgba(255, 101, 132, 0.7);
  animation: pulse-apricot 2s infinite;
}

@keyframes pulse-apricot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 101, 132, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 101, 132, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 101, 132, 0); }
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.headline-brand {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 32px;
}

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

/* 6. 3D WebGL / Canvas 网络拓扑中心模块 (Interactive Topology Map) */
.telemetry-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  margin-bottom: 36px;
}

.telemetry-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-hud);
}

.telemetry-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--signal-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.canvas-container {
  position: relative;
  width: 100%;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.06) 0%, rgba(13, 10, 20, 0.95) 85%);
  cursor: grab;
}

.canvas-container:active {
  cursor: grabbing;
}

#topologyCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 节点悬停交互浮层 (Hover Optical Bloom Telemetry Tooltip) */
.node-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(19, 15, 30, 0.94);
  border: 1px solid var(--electric-orchid);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #fff;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-width: 210px;
}

.node-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -110%);
}

.node-tooltip-title {
  font-weight: 800;
  color: var(--apricot-pink);
  font-size: 0.98rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.metric-cell {
  text-align: center;
}

.metric-num {
  font-weight: 700;
  color: var(--signal-cyan);
  font-size: 0.9rem;
  display: block;
}

.metric-txt {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* 7. 协议终端 HUD 与链路诊断模拟器 (Protocol Terminal HUD & Diagnostic Simulator) */
.hud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.hud-panel {
  background: var(--bg-hud);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.hud-panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.protocol-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.proto-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.proto-btn.active {
  border-color: var(--apricot-pink);
  background: rgba(255, 101, 132, 0.15);
  color: var(--apricot-pink);
  box-shadow: 0 0 12px rgba(255, 101, 132, 0.25);
}

.proto-details-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.proto-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.9rem;
}

.proto-stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  color: var(--text-secondary);
}

.stat-value {
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

/* 链路诊断测试模拟器 (Interactive Trace Route Simulator) */
.traceroute-sim {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sim-input-row {
  display: flex;
  gap: 10px;
}

.sim-target-select {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
}

.sim-results-log {
  background: #09060f;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  border-radius: var(--radius-md);
  padding: 14px;
  min-height: 130px;
  max-height: 170px;
  overflow-y: auto;
  border: 1px solid rgba(56, 189, 248, 0.2);
  line-height: 1.6;
}

.log-line {
  margin-bottom: 4px;
  display: flex;
  gap: 8px;
}

.log-ok {
  color: #34d399;
}

.log-accent {
  color: #ff6584;
}

/* 8. 通用区块样式 */
.section-pad {
  padding: 86px 0;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot-pink);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--electric-orchid);
  box-shadow: var(--shadow-lg), var(--shadow-bloom);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 101, 132, 0.12);
  color: var(--apricot-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1);
  background: var(--primary-gradient);
  color: #fff;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 18px;
}

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

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

/* 10. 场景解锁图卡 (流媒体图卡 & AI 支持图卡) */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.scenario-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.scenario-card.streaming {
  border-top: 4px solid var(--apricot-pink);
}
.scenario-card.streaming:hover {
  box-shadow: var(--shadow-lg), 0 0 35px rgba(255, 101, 132, 0.28);
}

.scenario-card.ai {
  border-top: 4px solid var(--signal-cyan);
}
.scenario-card.ai:hover {
  box-shadow: var(--shadow-lg), 0 0 35px rgba(56, 189, 248, 0.28);
}

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

.scenario-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-card.streaming .scenario-icon {
  background: rgba(255, 101, 132, 0.15);
  color: var(--apricot-pink);
}

.scenario-card.ai .scenario-icon {
  background: rgba(56, 189, 248, 0.15);
  color: var(--signal-cyan);
}

.scenario-title {
  font-size: 1.5rem;
  font-weight: 800;
}

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

.pill-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.brand-pill-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--signal-green);
}

.scenario-meta {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-metric {
  text-align: center;
}

.metric-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--apricot-pink);
  display: block;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 11. 真实参考价格对比表 (Pricing Table) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--apricot-pink);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(1.03);
}

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

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255, 101, 132, 0.45);
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 44px;
}

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

.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--apricot-pink);
}

.price-number {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

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

.pricing-specs {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.spec-item svg {
  color: var(--apricot-pink);
  flex-shrink: 0;
}

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

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

.review-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--electric-orchid);
}

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

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

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 101, 132, 0.15);
  color: var(--apricot-pink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

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

/* 13. 常见问题 (FAQ 手风琴) */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--electric-orchid);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--apricot-pink);
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding-bottom: 22px;
}

/* 14. 极简页脚规范 (严格仅保留四个标题，在新页面打开) */
.footer-minimal {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 36px;
  text-align: center;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.footer-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 8px 12px;
}

.footer-link:hover {
  color: var(--apricot-pink);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copyright a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* 15. 独立子页面排版 (About, Terms, Privacy, Sitemap, News) */
.subpage-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.subpage-card {
  background: var(--card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.subpage-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--apricot-pink);
  background: var(--bg-badge);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.subpage-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.subpage-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.subpage-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 32px 0 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.subpage-content h2 svg {
  color: var(--apricot-pink);
}

.subpage-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.subpage-content ul, .subpage-content ol {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 20px;
}

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

.highlight-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--apricot-pink);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text-secondary);
}

.highlight-box.warning {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.06);
}

.highlight-box.success {
  border-left-color: var(--signal-green);
  background: rgba(16, 185, 129, 0.06);
}

/* 推荐资讯卡片流 */
.news-feed-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.news-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-normal);
}

.news-article-card:hover {
  border-color: var(--apricot-pink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-meta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-tag {
  background: rgba(255, 101, 132, 0.12);
  color: var(--apricot-pink);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.news-article-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

/* 网站地图树状样式 */
.sitemap-group {
  margin-bottom: 32px;
  background: var(--bg-surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.sitemap-group h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 10px;
}

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

.sitemap-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 6px 0;
}

.sitemap-item a:hover {
  color: var(--apricot-pink);
  transform: translateX(4px);
}

/* 16. 移动端与多端响应式适配媒体查询 (@media) */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 2.6rem;
  }
  .hud-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* 移动端收起导航，突出模式切换与注册转化 */
  }

  .hero-headline {
    font-size: 2.15rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

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

  .hero-cta-group .btn {
    width: 100%;
  }

  .canvas-container {
    height: 360px;
  }

  .features-grid,
  .scenarios-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-pad {
    padding: 56px 0;
  }

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

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

  .subpage-card {
    padding: 28px 20px;
  }

  .subpage-title {
    font-size: 1.85rem;
  }

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

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    min-height: 48px; /* 触控手指优选高度 */
    font-size: 1rem;
  }
}

/* ==========================================================================
   17. SEO 长篇科普文章排版系统 (Article Layout, TOC, FAQ, Related Posts)
   ========================================================================== */
.article-container {
  max-width: 920px;
  margin: 36px auto 90px;
  padding: 0 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

.breadcrumb a:hover {
  color: var(--apricot-pink);
}

.breadcrumb-separator {
  color: var(--border-color);
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 28px;
}

.article-tag-list {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-tag {
  background: var(--bg-badge);
  color: var(--apricot-pink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.article-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 文章目录 (Table of Contents - TOC) */
.article-toc {
  background: var(--bg-hud);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--apricot-pink);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0 36px;
  box-shadow: var(--shadow-sm);
}

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

.toc-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list li a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.toc-list li a:hover {
  color: var(--apricot-pink);
  transform: translateX(4px);
}

.toc-sublist {
  list-style: none;
  padding-left: 20px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-sublist li a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 96px;
}

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

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

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

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

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

.article-body a {
  color: var(--apricot-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.article-body a:hover {
  color: var(--electric-orchid);
}

/* 结构化对比表格 */
.data-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: var(--bg-surface);
}

.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: var(--bg-hud);
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 101, 132, 0.04);
}

/* 文章内置高转化 CTA 卡片 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 101, 132, 0.12) 0%, rgba(192, 132, 252, 0.12) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-md);
}

.article-cta-box h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.article-cta-box p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 650px;
  margin: 0 auto 22px;
}

/* 文章 FAQ 模块 */
.article-faq-section {
  margin: 50px 0 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

.article-faq-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* 相关阅读 (Related Articles) 推荐模块 */
.related-posts-section {
  margin: 50px 0 30px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

.related-posts-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.related-post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-post-card:hover {
  border-color: var(--apricot-pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-post-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--apricot-pink);
  margin-bottom: 8px;
}

.related-post-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 10px;
}

.related-post-link {
  font-size: 0.85rem;
  color: var(--signal-cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.8rem;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .data-table th, .data-table td {
    padding: 10px 12px;
  }
}

