/* ===================================================================
   极速云 (jisucloud.best) - 先锋水墨风 (Avant-garde Oriental Ink-Wash)
   深沉漆墨黑 | 素雅宣纸白 | 惊艳朱砂红 | 飞白动效 | 零外部依赖
=================================================================== */

:root {
  /* 白天模式：素雅宣纸微润风 (Rice Paper & Sumi Ink) */
  --bg-page: #f6f5f0;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-subtle: #eae7dd;
  --bg-card: #fdfdfc;
  --bg-card-hover: #ffffff;
  --text-main: #14161a;
  --text-muted: #525866;
  --text-light: #7e8494;
  --border-subtle: rgba(20, 22, 26, 0.1);
  --border-focus: #de3831;
  --cinnabar: #de3831;         /* 纯正朱砂红 */
  --cinnabar-dark: #b82620;    /* 浓朱砂 */
  --cinnabar-glow: rgba(222, 56, 49, 0.18);
  --ink-black: #14161a;        /* 焦墨 */
  --ink-lacquer: #2a2e39;      /* 浓墨 */
  --ink-mist: rgba(20, 22, 26, 0.04);
  --jade-accent: #2e7d5b;      /* 青玉色暗调 */
  --card-shadow: 0 4px 20px -2px rgba(20, 22, 26, 0.05), 0 2px 6px -1px rgba(20, 22, 26, 0.03);
  --card-shadow-hover: 0 16px 36px -4px rgba(20, 22, 26, 0.1), 0 0 0 1px rgba(222, 56, 49, 0.25);
  --badge-bg: rgba(222, 56, 49, 0.08);
  --badge-text: #b82620;
  --nav-backdrop: rgba(246, 245, 240, 0.85);
  --footer-bg: #eceae1;
  --footer-border: rgba(20, 22, 26, 0.08);
  --code-bg: #eae7dd;
  --seal-bg: #de3831;
  --seal-text: #ffffff;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-serif: "Songti SC", "SimSun", "STSong", "Source Han Serif CN", Georgia, serif;
}

[data-theme="dark"] {
  /* 夜晚模式：深邃漆墨金石风 (Lacquer-Ink Black & Misty Ivory) */
  --bg-page: #07080b;
  --bg-surface: #0e1017;
  --bg-surface-glass: rgba(14, 16, 23, 0.86);
  --bg-subtle: #151822;
  --bg-card: #0f121a;
  --bg-card-hover: #161a25;
  --text-main: #ededea;
  --text-muted: #9ba1b0;
  --text-light: #646a78;
  --border-subtle: rgba(237, 237, 234, 0.08);
  --border-focus: #de3831;
  --cinnabar: #de3831;
  --cinnabar-dark: #f04841;
  --cinnabar-glow: rgba(222, 56, 49, 0.35);
  --ink-black: #07080b;
  --ink-lacquer: #11141c;
  --ink-mist: rgba(237, 237, 234, 0.03);
  --jade-accent: #34d399;
  --card-shadow: 0 6px 24px -2px rgba(0, 0, 0, 0.65);
  --card-shadow-hover: 0 16px 40px -4px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(222, 56, 49, 0.45);
  --badge-bg: rgba(222, 56, 49, 0.16);
  --badge-text: #ff7670;
  --nav-backdrop: rgba(7, 8, 11, 0.88);
  --footer-bg: #040507;
  --footer-border: rgba(255, 255, 255, 0.06);
  --code-bg: #151822;
  --seal-bg: #de3831;
  --seal-text: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color-scheme: light dark;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* 宣纸机理微质感背景纹理 (纯CSS生成微噪点) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

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

img, svg {
  display: block;
}

/* 版心容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

/* 传统金石朱砂印章 (Seal Stamp) 元素 */
.seal-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  background-color: var(--seal-bg);
  color: var(--seal-text);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px var(--seal-bg), 0 2px 6px rgba(222, 56, 49, 0.35);
  font-size: 12px;
  line-height: 1.2;
  user-select: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.seal-stamp-large {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 4px;
  font-size: 13px;
  writing-mode: vertical-rl;
}

.seal-stamp-hollow {
  background: transparent;
  color: var(--cinnabar);
  border: 1.5px solid var(--cinnabar);
  box-shadow: none;
}

/* 头部导航条 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-backdrop);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--ink-black);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .brand-mark {
  background: #14161a;
  color: #ffffff;
}

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--cinnabar);
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.nav-highlight {
  color: var(--cinnabar);
  font-weight: 600;
}

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

/* 精致半透明昼夜模式切换按钮 */
.theme-toggle-btn {
  background: rgba(125, 132, 148, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  background: rgba(222, 56, 49, 0.12);
  border-color: var(--cinnabar);
  transform: translateY(-1px);
}

.theme-icon-sun, .theme-icon-moon {
  width: 19px;
  height: 19px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  position: absolute;
}

[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #b82620;
}

[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #ededea;
}

/* 按钮通用规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

/* 朱砂红主按钮（带墨韵微光晕） */
.btn-primary {
  background-color: var(--cinnabar);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--cinnabar-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: var(--cinnabar-dark);
  box-shadow: 0 8px 26px var(--cinnabar-glow);
  transform: translateY(-2px);
  color: #ffffff;
}

/* 水墨雅石辅按钮 */
.btn-secondary {
  background: var(--bg-surface-glass);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--cinnabar);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 16px;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

/* 呼吸红晕微动效 */
@keyframes breathing-red {
  0% { box-shadow: 0 0 0 0 rgba(222, 56, 49, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(222, 56, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 56, 49, 0); }
}

.btn-breathe {
  animation: breathing-red 2.4s infinite;
}

/* 主视觉区 (Hero Section) - 水墨宽幕 */
.hero-section {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

/* 交互式 HTML5 水墨流体背景 Canvas */
#inkCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
  opacity: 0.85;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  pointer-events: none; /* 让鼠标穿透至交互 Canvas，内部按钮单独开启交互 */
}

.hero-left, .hero-right {
  pointer-events: auto;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-headline {
  font-size: 46px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-headline .brand-highlight {
  position: relative;
  display: inline-block;
  color: var(--cinnabar);
}

.hero-headline .brand-highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--cinnabar-glow);
  z-index: -1;
  border-radius: 3px;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

/* 东方阅读韵律竖排微标条 + 现代延迟指标 */
.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-subtle);
}

.stat-item-east {
  display: flex;
  flex-direction: column;
}

.stat-num-modern {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.stat-desc-east {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 右侧悬浮砚石磨砂卡片群 (Ink-Stone Server Node Cards) */
.inkstone-dashboard {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  position: relative;
}

.inkstone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.inkstone-title {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 飞白动效折线图 (Flying-white Canvas) */
.feibai-chart-wrap {
  margin-bottom: 20px;
  background: var(--ink-mist);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.chart-label {
  font-size: 12px;
  color: var(--text-light);
}

.chart-ping {
  font-size: 13px;
  font-weight: 800;
  color: var(--cinnabar);
}

#feibaiCanvas {
  width: 100%;
  height: 52px;
  display: block;
}

/* 服务器节点微卡列表 */
.server-node-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--bg-subtle);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.server-node-item:hover {
  background: var(--bg-surface);
  border-color: var(--cinnabar);
  transform: translateX(4px);
  box-shadow: 0 4px 14px var(--cinnabar-glow);
}

.node-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node-name-text {
  font-size: 13.5px;
  font-weight: 600;
}

.node-tag {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(222, 56, 49, 0.1);
  color: var(--cinnabar);
  font-weight: 600;
}

.node-ping-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--jade-accent);
}

/* 砚台笔架带宽交互滑块 (Ink-stone Brush Rest Slider) */
.brush-rest-slider-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
}

.brush-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.brush-slider-range {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-subtle);
  outline: none;
  cursor: pointer;
}

.brush-slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cinnabar);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px var(--cinnabar-glow);
  cursor: grab;
  transition: transform 0.15s ease;
}

.brush-slider-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* 通用章节头部标题 */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-main);
}

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

/* 核心优势卡片 (3列水墨极简卡片) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(222, 56, 49, 0.4);
}

.feature-card:hover::before {
  background: var(--cinnabar);
}

.feature-stamp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ink-mist);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
}

.feature-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-checklist li {
  font-size: 13.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-mark {
  color: var(--cinnabar);
  font-weight: 700;
}

/* 专区图卡 (流媒体 & 前沿 AI 并列图卡) */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 38px 34px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.scenario-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.scenario-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.scenario-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.platform-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  white-space: nowrap;
}

.platform-pill:hover {
  border-color: var(--cinnabar);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.scenario-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-cell-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-cell-lbl {
  font-size: 12px;
  color: var(--text-light);
}

/* 套餐方案 (参考真实网上专线机场套餐价格) */
.pricing-period-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.recommend {
  border: 2px solid var(--cinnabar);
  box-shadow: 0 14px 36px var(--cinnabar-glow);
  transform: scale(1.03);
}

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

.recommend-seal-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--cinnabar);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px var(--cinnabar-glow);
  white-space: nowrap;
  max-width: 90%;
  z-index: 10;
}

.recommend-seal-ribbon span {
  white-space: nowrap;
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 21px;
  font-weight: 800;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 22px 0 26px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-subtle);
}

.price-unit {
  font-size: 20px;
  font-weight: 700;
  color: var(--cinnabar);
}

.price-number {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.price-sub {
  font-size: 13.5px;
  color: var(--text-light);
}

.plan-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.plan-specs li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.plan-specs li.highlight {
  color: var(--text-main);
  font-weight: 700;
}

/* 用户口碑 (雅致水墨卡片) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 56, 49, 0.35);
}

.review-seal-stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-stars {
  color: #de3831;
  letter-spacing: 2px;
  font-size: 13px;
}

.review-quote {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: normal;
}

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

.user-avatar-seal {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink-lacquer);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-serif);
  border: 1px solid var(--border-subtle);
}

.user-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
}

.user-role {
  font-size: 12px;
  color: var(--text-light);
}

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

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--cinnabar);
}

.faq-q {
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  color: var(--text-light);
}

details[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--cinnabar);
}

.faq-a {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 16px;
}

/* 底部水墨漆盒呼吁横幅 */
.ink-cta-banner {
  background: linear-gradient(135deg, #141720, #08090d);
  border: 1px solid rgba(222, 56, 49, 0.3);
  border-radius: 22px;
  padding: 60px 44px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.ink-cta-title {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.ink-cta-desc {
  font-size: 16.5px;
  color: #a7acb9;
  max-width: 640px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

/* 网站页脚 (严格只保留四个标题链接，新窗口打开) */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 52px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

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

.footer-link-item {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.footer-link-item:hover {
  color: var(--cinnabar);
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* 资讯及独立文档页面样式 */
.article-container {
  max-width: 880px;
  margin: 50px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 48px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 2;
}

.news-card-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.news-card-item:last-child {
  border-bottom: none;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.news-summary {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* SEO 文章特化样式 (目录、面包屑、相关阅读、FAQ) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-main-title {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
}

.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 文章目录 (Table of Contents) */
.toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--cinnabar);
  border-radius: 10px;
  padding: 22px 26px;
  margin: 32px 0 40px;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

.toc-list li {
  font-size: 14px;
}

.toc-list li a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.toc-list li.toc-sub {
  padding-left: 20px;
  font-size: 13.5px;
}

/* 正文排版与内链高亮 */
.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 44px;
  margin-bottom: 18px;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 8px;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 14px;
  color: var(--text-main);
}

.article-body p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 22px 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

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

.article-body a.seo-inline-link {
  color: var(--cinnabar);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body a.seo-inline-link:hover {
  color: var(--cinnabar-dark);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.article-table th {
  background: var(--bg-subtle);
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  font-weight: 700;
  color: var(--text-main);
}

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

.article-table tr:hover td {
  background: var(--bg-subtle);
}

/* 正文内转化呼吁卡片 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(222, 56, 49, 0.08), rgba(20, 22, 26, 0.04));
  border: 1px dashed var(--cinnabar);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta-info h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.article-cta-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 相关阅读网格 (Related Articles) */
.related-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.related-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.related-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  background: var(--bg-surface);
  border-color: var(--cinnabar);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.related-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.45;
}

.related-card-date {
  font-size: 12px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 24px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* 页脚兼容样式 */
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 26px;
}

.footer-link {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

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

/* 独立内容页通用水墨排版 (关于我们、服务条款、隐私政策、网站地图) */
.page-hero {
  padding: 68px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.article-content {
  max-width: 880px;
  margin: 48px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 44px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 2;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 8px;
}

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

.article-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  margin: 16px 0 20px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

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

.article-content strong {
  color: var(--text-main);
}

.callout-box {
  background: var(--badge-bg);
  border-left: 4px solid var(--cinnabar);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--text-main);
}

.callout-box.danger {
  background: rgba(222, 56, 49, 0.08);
  border-left-color: var(--cinnabar);
}

.callout-box.success {
  background: rgba(46, 125, 91, 0.08);
  border-left-color: var(--jade-accent);
}

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

.sitemap-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 26px;
}

.sitemap-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

.sitemap-links a {
  color: var(--cinnabar);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-links a:hover {
  text-decoration: underline;
}

/* 响应式媒体查询 (@media) */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none; /* 移动端集中于 CTA 与昼夜切换 */
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-intro {
    font-size: 15px;
  }

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

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

  .hero-stats-strip {
    flex-wrap: wrap;
    gap: 18px;
  }

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

  .article-container {
    padding: 26px 20px;
  }

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