/* ==========================================================================
   云图导航页 (yuntujc.my) - 黑金汉唐宫廷与重彩金箔风格规范
   ========================================================================== */

:root {
  /* 基础色板 */
  --bg-main: #090a0f;
  --bg-secondary: #0f1118;
  --bg-card: #151824;
  --bg-card-hover: #1b1f2e;
  --bg-card-light: #1e2233;
  --bg-glass: rgba(21, 24, 36, 0.85);

  /* 金箔与泥金系列 */
  --gold-primary: #d4af37;
  --gold-light: #fae18b;
  --gold-bright: #fff3cd;
  --gold-dark: #8c6d1d;
  --gold-deep: #5e470e;
  --gold-gradient: linear-gradient(135deg, #fff3cd 0%, #e6bd41 30%, #b88d22 65%, #ffd978 100%);
  --gold-gradient-subtle: linear-gradient(180deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.03) 100%);
  --gold-foil-border: linear-gradient(135deg, rgba(250, 225, 139, 0.65) 0%, rgba(140, 109, 29, 0.2) 50%, rgba(212, 175, 55, 0.7) 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.25);
  --gold-glow-strong: 0 0 35px rgba(212, 175, 55, 0.5);

  /* 朱砂赤红指示灯系列 */
  --red-cinnabar: #e53935;
  --red-light: #ff5252;
  --red-glow: 0 0 15px rgba(229, 57, 53, 0.7);

  /* 盛唐青碧与矿物玉色 */
  --green-jade: #10b981;
  --green-glow: 0 0 15px rgba(16, 185, 129, 0.6);

  /* 文字排版 */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
  --text-gold: #f4d068;

  /* 阴影与圆角 */
  --shadow-card: 0 12px 35px -5px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(212, 175, 55, 0.2);
  --shadow-card-hover: 0 20px 45px -8px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* 居中布局容器宽度 */
  --container-max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(229, 57, 53, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, #090a0f, #0d0f17 50%, #08090d);
  background-attachment: fixed;
}

/* 居中布局容器（两侧留白） */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 汉唐传统金箔文字修饰 */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

/* 汉唐重彩金箔边框卡片基座 */
.tang-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.tang-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-foil-border);
  opacity: 0.8;
  transition: opacity 0.35s ease;
}

.tang-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 225, 139, 0.5);
  box-shadow: var(--shadow-card-hover);
}

.tang-card:hover::before {
  opacity: 1;
  height: 3px;
}

/* 汉唐宫廷祥云纹背景遮罩 */
.cloud-ornament {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='60' viewBox='0 0 120 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 40 Q 20 40, 20 30 Q 20 18, 32 18 Q 36 10, 48 10 Q 62 10, 66 22 Q 74 18, 84 22 Q 92 26, 90 35 Q 96 35, 96 42 Q 96 50, 84 50 L 30 50 Q 22 50, 22 44 Z' fill='none' stroke='%23d4af37' stroke-width='0.7' stroke-opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ==========================================================================
   顶部固定导航栏
   ========================================================================== */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-seal {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #a61c1c 0%, #750f0f 100%);
  border: 1px solid #e5a93b;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(166, 28, 28, 0.6), inset 0 0 4px rgba(255, 230, 140, 0.4);
  color: #fff2c6;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
}

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

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: monospace;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold-gradient);
  color: #1a1303;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.55);
  filter: brightness(1.08);
}

.btn-cta-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(21, 24, 36, 0.7);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

.btn-cta-subtle:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  color: #ffffff;
}

/* 移动端汉堡菜单 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold-light);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   赤红/青碧呼吸指示灯
   ========================================================================== */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: monospace;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.pulse-dot.red {
  background-color: var(--red-light);
  box-shadow: var(--red-glow);
}

.pulse-dot.red::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--red-light);
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-dot.green {
  background-color: var(--green-jade);
  box-shadow: var(--green-glow);
}

.pulse-dot.green::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--green-jade);
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ==========================================================================
   首屏视觉区 (Hero Section)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 85px 0 70px 0;
  text-align: center;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 28px;
  box-shadow: inset 0 0 12px rgba(212, 175, 55, 0.1);
}

.hero-title {
  font-size: 52px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 36px auto;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 55px;
}

.btn-hero {
  padding: 15px 36px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* 核心运营参数金箔统计条 */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
  background: rgba(16, 18, 27, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  font-family: monospace;
  line-height: 1.2;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   通用板块标题
   ========================================================================== */
.section-wrapper {
  padding: 70px 0;
  position: relative;
}

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

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-tag::before, .section-tag::after {
  content: "❖";
  color: var(--gold-dark);
  font-size: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   核心优势板块
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: linear-gradient(180deg, #161926 0%, #11131e 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 24px;
  margin-bottom: 22px;
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.15);
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

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

/* ==========================================================================
   节点延迟和状态监控板块
   ========================================================================== */
.nodes-board {
  background: rgba(18, 21, 31, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.nodes-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.nodes-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nodes-matrix-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid rgba(229, 57, 53, 0.4);
  font-size: 12px;
  color: #ff8a80;
  font-weight: 600;
}

.node-refresh-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.node-refresh-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.nodes-table th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  letter-spacing: 0.5px;
}

.nodes-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.nodes-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

.node-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #ffffff;
}

.node-flag {
  font-size: 20px;
}

.node-protocol-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: #d1d5db;
  font-family: monospace;
}

.latency-val {
  font-family: monospace;
  font-weight: 700;
  font-size: 15px;
}

.latency-val.fast {
  color: #34d399;
}

.latency-val.medium {
  color: #fbbf24;
}

.progress-bar-bg {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gold-gradient);
}

/* ==========================================================================
   套餐价格板块
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 34px 26px;
  position: relative;
}

.pricing-card.featured {
  border: 1.5px solid rgba(250, 225, 139, 0.7);
  box-shadow: 0 16px 45px -5px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, #1b1f30 0%, #141724 100%);
  transform: scale(1.03);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a61c1c 0%, #e53935 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #ffd54f;
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.6);
  letter-spacing: 1px;
}

.plan-tier-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-tier-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.plan-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
}

.plan-price {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  font-family: monospace;
}

.plan-period {
  font-size: 14px;
  color: var(--text-muted);
}

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

.plan-features li {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li .check-mark {
  color: var(--gold-light);
  font-weight: bold;
}

.btn-plan {
  width: 100%;
}

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

.review-card {
  padding: 28px;
  background: linear-gradient(180deg, #171a28 0%, #121420 100%);
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: #252a3d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold-light);
}

.user-meta-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.user-meta-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   常见问题板块 (FAQ)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: var(--bg-card);
  transition: border-color 0.25s ease;
}

.faq-item.active {
  border-color: rgba(250, 225, 139, 0.5);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  font-size: 18px;
  color: var(--gold-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px 24px;
}

/* ==========================================================================
   知识库与教程板块 (8 篇精品文章导读)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  height: 100%;
}

.article-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.article-title-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.article-title-link:hover {
  color: var(--gold-light);
}

.article-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.article-read-btn {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.article-read-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   文章弹窗全屏阅读器 (Modal)
   ========================================================================== */
.article-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  padding: 30px 20px;
  align-items: center;
  justify-content: center;
}

.article-modal-backdrop.open {
  display: flex;
}

.article-modal-box {
  background: #111420;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.25);
  position: relative;
  padding: 40px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(229, 57, 53, 0.7);
  border-color: #ff5252;
}

/* ==========================================================================
   独立文章页排版体系 (Typography for Articles)
   ========================================================================== */
.article-body {
  font-size: 16px;
  color: #d1d5db;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: "◆";
  color: var(--gold-light);
  font-size: 16px;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 26px 0 12px 0;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

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

.article-body code {
  background: rgba(212, 175, 55, 0.12);
  color: #fce79f;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.article-body pre {
  background: #0b0d14;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 18px;
  overflow-x: auto;
  margin-bottom: 22px;
  font-family: monospace;
  font-size: 13.5px;
  color: #e5e7eb;
}

.article-body blockquote {
  background: rgba(212, 175, 55, 0.06);
  border-left: 4px solid var(--gold-light);
  padding: 16px 20px;
  margin: 22px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #f3f4f6;
  font-style: italic;
}

.article-nav-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-internal-link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-internal-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* ==========================================================================
   页脚区域 (Footer)
   ========================================================================== */
.footer-wrap {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: #08090d;
  padding: 60px 0 35px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 360px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-seo-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ==========================================================================
   响应式断点 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn-cta, .hero-actions .btn-cta-subtle {
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0d0f17;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    gap: 16px;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .nav-actions .btn-cta {
    display: none;
  }
  .article-modal-box {
    padding: 24px;
  }
}
