/* 快雷GO 视觉主题：光影揭幕 (Light Reveal) */
/* 炭黑背景、暖白光束、琥珀色提示。光束用于装饰与过渡，正文稳定可见。 */

:root {
  --bg-deep: #080a0e;
  --bg-surface: #0f131a;
  --bg-card: #151a24;
  --bg-card-hover: #1c2330;
  --border-subtle: #242c3d;
  --border-focus: #f59e0b;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-sub: #6b7280;

  --beam-warm: rgba(255, 248, 230, 0.08);
  --beam-glow: rgba(255, 248, 230, 0.15);
  --amber-primary: #f59e0b;
  --amber-hover: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --amber-bg: rgba(245, 158, 11, 0.1);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 245, 220, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 40%),
    linear-gradient(180deg, #0a0d12 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* 暖白光束装饰条（不遮挡文字，正文稳定可见） */
.beam-decor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 480px;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 40%, rgba(255, 250, 240, 0.07) 48%, rgba(255, 250, 240, 0.12) 50%, rgba(255, 250, 240, 0.07) 52%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--amber-primary);
  color: #000;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* 导航栏 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 0 12px var(--amber-glow);
}

.brand-text {
  background: linear-gradient(90deg, #fff 0%, #fef3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.75rem;
  background: var(--amber-bg);
  color: var(--amber-primary);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: 0.3rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--amber-primary);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #050608 !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* 主内容区域 */
main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* 按钮与徽标 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #050608;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--amber-bg);
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* 章节通用标题 */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* 首页 Hero：问题入口 */
.hero-section {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fef3c7;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 8px var(--amber-primary);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #fef3c7 0%, #f59e0b 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-status-bar {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-status-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* 症状选择器 (Symptom Selector) */
.symptom-section {
  padding: 3rem 1.5rem;
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.symptom-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.symptom-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  transition: background var(--transition-fast);
}
.symptom-card:hover {
  background: var(--bg-card);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.symptom-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--amber-primary), transparent);
}
.symptom-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--amber-primary);
  border: 1px solid var(--border-subtle);
}
.symptom-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.symptom-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}
.symptom-link-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* 分层排查架构图 (Layered Troubleshooting Diagram) */
.diag-section {
  padding: 3rem 1.5rem;
}
.diag-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.diag-layers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.diag-layer-item {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.diag-layer-item:hover {
  border-color: rgba(245, 158, 11, 0.5);
}
.layer-num {
  width: 80px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-weight: 700;
  color: var(--amber-primary);
}
.layer-num span {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-transform: uppercase;
}
.layer-content {
  flex: 1;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.layer-title-box h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}
.layer-title-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.layer-actions-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.layer-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* 交互式故障决策树 (Interactive Decision Tree) */
.decision-tree-section {
  padding: 3rem 1.5rem;
}
.decision-tree-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.dt-notice-bar {
  background: var(--amber-bg);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: #fde68a;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dt-step-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dt-step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dt-step-badge {
  background: var(--amber-primary);
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.dt-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.dt-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.dt-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}
.dt-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--amber-primary);
  box-shadow: 0 0 12px var(--amber-glow);
}
.dt-btn-title {
  font-weight: 600;
  color: #fff;
}
.dt-btn-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dt-result-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-deep);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  display: none;
}
.dt-result-box.visible {
  display: block;
}
.dt-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dt-result-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fde68a;
}
.dt-result-body p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.dt-result-action {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 六篇帮助文章卡片 (Articles Grid) */
.articles-section {
  padding: 3rem 1.5rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  background: var(--bg-card);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.article-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-primary);
  background: var(--amber-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.article-readtime {
  font-size: 0.75rem;
  color: var(--text-sub);
}
.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.2rem;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--amber-primary);
  font-weight: 600;
}

/* 套餐卡片 (Plans Cards) */
.plans-section {
  padding: 3rem 1.5rem;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}
.plan-card.popular {
  border-color: var(--amber-primary);
  box-shadow: 0 0 24px var(--amber-glow);
}
.plan-popular-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.plan-header {
  margin-bottom: 1.5rem;
}
.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}
.plan-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.2rem;
}
.plan-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber-primary);
}
.plan-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.plan-cycle {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.plan-features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.plan-features-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.plan-features-list li::before {
  content: "✓";
  color: var(--amber-primary);
  font-weight: bold;
}
.plan-note {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 0.8rem;
  line-height: 1.4;
}

/* 用户评价板块 (严格按照规范呈现真实无虚构状态) */
.reviews-section {
  padding: 3rem 1.5rem;
}
.empty-reviews-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.empty-reviews-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.empty-reviews-note {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* 常见问题 FAQ 板块 */
.faq-section {
  padding: 3rem 1.5rem;
}
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}
.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}
.faq-question:focus-visible {
  outline: 2px solid var(--amber-primary);
}
.faq-chevron {
  color: var(--amber-primary);
  transition: transform var(--transition-fast);
  font-size: 1.1rem;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}

/* 页脚 Footer */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand h4 {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.footer-col h5 {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--amber-primary);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* 文章详情页样式 */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.article-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--amber-primary);
}
.article-title-main {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-content {
  color: #d1d5db;
  font-size: 1.02rem;
  line-height: 1.8;
}
.article-content h2 {
  font-size: 1.4rem;
  color: var(--text-main);
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.article-content h3 {
  font-size: 1.15rem;
  color: #fde68a;
  margin: 1.2rem 0 0.6rem;
}
.article-content p {
  margin-bottom: 1.1rem;
}
.article-content ul, .article-content ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content a {
  color: var(--amber-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 步骤卡片 */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.2rem 0;
  display: flex;
  gap: 1.2rem;
}
.step-badge {
  background: var(--amber-primary);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  height: fit-content;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}
.step-content {
  flex: 1;
}
.step-content h3 {
  margin-top: 0;
}

/* 表格包装器与样式 */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 0.9rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* 代码块与复制 */
.code-block-wrapper {
  margin: 1.5rem 0;
  background: #050608;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-sub);
}
.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
}
.copy-btn:hover {
  background: var(--amber-primary);
  color: #000;
}
pre {
  padding: 1.2rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e5e7eb;
  line-height: 1.6;
}
code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: #fde68a;
}

/* 侧边导航与目录 */
.article-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}
.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.4;
  display: block;
}
.toc-list a:hover {
  color: var(--amber-primary);
}

/* 相关文章卡片 */
.related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

/* 响应式适配 */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
  .site-nav.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 1.5rem 1rem;
  }
  .article-main {
    padding: 1.5rem 1rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .dt-result-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 减少动态效果支持 */
@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;
  }
  .beam-decor {
    display: none;
  }
}
