/* =========================================================
   魔戒VPN机场 (mojie-vpn.lat) — 纯净原生 CSS 设计系统
   零 JS 框架 · 秒开渲染 · 纯 CSS 动态背景 · 响应式布局
   ========================================================= */

:root {
  --bg-void: #1b263b;
  --bg-surface: #23314c;
  --bg-card: rgba(31, 44, 68, 0.72);
  --bg-card-hover: rgba(40, 56, 86, 0.88);
  --border-subtle: rgba(203, 213, 225, 0.18);
  --border-gold: rgba(245, 194, 12, 0.5);
  --gold-bright: #ffe58f;
  --gold: #f0be42;
  --gold-deep: #c98a18;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.16);
  --sky: #38bdf8;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 42px rgba(8, 15, 29, 0.32);
  --shadow-gold: 0 10px 30px rgba(240, 190, 66, 0.25);
  --container: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.72;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--gold-bright);
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* =========================================================
   纯 CSS 魔戒 Logo 动态背景 (Zero-JS GPU 轻量级流畅动效)
   ========================================================= */
.dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: layout style paint;
  background:
    radial-gradient(circle at 18% 15%, rgba(240, 190, 66, 0.16), transparent 46%),
    radial-gradient(circle at 82% 22%, rgba(56, 189, 248, 0.15), transparent 46%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.12), transparent 50%),
    linear-gradient(145deg, #1b263b 0%, #263654 48%, #1d2a42 100%);
}

.dynamic-bg::before,
.dynamic-bg::after {
  content: "";
  position: absolute;
  background: url("logo.svg") center / contain no-repeat;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

.dynamic-bg::before {
  width: 220px;
  height: 220px;
  top: 12%;
  left: 6%;
  opacity: 0.15;
  animation: logoDriftLeft 26s ease-in-out infinite alternate;
}

.dynamic-bg::after {
  width: 180px;
  height: 180px;
  bottom: 10%;
  right: 7%;
  opacity: 0.14;
  animation: logoDriftRight 30s ease-in-out infinite alternate;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  backface-visibility: hidden;
}

.bg-orb-1 {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(240, 190, 66, 0.16) 0%, rgba(240, 190, 66, 0.05) 42%, transparent 72%);
  animation: orbDriftOne 22s ease-in-out infinite alternate;
}

.bg-orb-2 {
  width: 640px;
  height: 640px;
  top: 16%;
  right: -200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.04) 44%, transparent 72%);
  animation: orbDriftTwo 26s ease-in-out infinite alternate;
}

.bg-orb-3 {
  width: 520px;
  height: 520px;
  bottom: -160px;
  left: 28%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0.03) 44%, transparent 72%);
  animation: orbDriftThree 28s ease-in-out infinite alternate;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(203, 213, 225, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.bg-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  margin-top: -250px;
  margin-left: -250px;
  background: url("logo.svg") center / contain no-repeat;
  opacity: 0.11;
  will-change: transform;
  backface-visibility: hidden;
  animation: ringSpin 60s linear infinite;
}

.bg-ring::before,
.bg-ring::after {
  content: "";
  position: absolute;
  background: url("logo.svg") center / contain no-repeat;
  will-change: transform;
}

.bg-ring::before {
  width: 96px;
  height: 96px;
  top: -32px;
  left: 50%;
  margin-left: -48px;
  opacity: 0.85;
  animation: ringSpinReverse 28s linear infinite;
}

.bg-ring::after {
  width: 72px;
  height: 72px;
  bottom: 16px;
  right: -16px;
  opacity: 0.72;
  animation: ringSpinReverse 22s linear infinite;
}

@keyframes logoDriftLeft {
  0% { transform: translate3d(0, 0, 0) rotate(-10deg); }
  100% { transform: translate3d(48px, 52px, 0) rotate(22deg); }
}

@keyframes logoDriftRight {
  0% { transform: translate3d(0, 0, 0) rotate(12deg); }
  100% { transform: translate3d(-52px, -56px, 0) rotate(-24deg); }
}

@keyframes orbDriftOne {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(70px, 45px, 0); }
}

@keyframes orbDriftTwo {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-80px, 60px, 0); }
}

@keyframes orbDriftThree {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(55px, -55px, 0); }
}

@keyframes ringSpin {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

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

@media (prefers-reduced-motion: reduce) {
  .dynamic-bg::before,
  .dynamic-bg::after,
  .bg-orb,
  .bg-ring,
  .bg-ring::before,
  .bg-ring::after {
    animation: none !important;
  }
}

/* =========================================================
   布局与容器
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 74px 0;
  position: relative;
}

main > .section:first-child {
  padding-top: 36px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(228, 184, 91, 0.1);
  border: 1px solid rgba(228, 184, 91, 0.28);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* =========================================================
   顶部导航栏 (左上方 Logo + 纯 CSS 响应式折叠菜单)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 33, 52, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--text-primary);
}

.brand-logo img,
.brand-logo svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #ffffff 15%, var(--gold-bright) 65%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-domain {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-2px);
  color: var(--gold-bright);
  border-color: var(--border-gold);
  background: rgba(228, 184, 91, 0.1);
}

.nav-links a.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  border-color: transparent;
  color: #111419;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(240, 190, 66, 0.22);
}

.nav-links a.active:hover {
  color: #0b0e13;
  box-shadow: 0 6px 18px rgba(240, 190, 66, 0.32);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* =========================================================
   按钮系统
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #111419;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  color: #0b0e13;
  box-shadow: 0 14px 36px rgba(228, 184, 91, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  background: rgba(228, 184, 91, 0.08);
}

.btn-outline-gold {
  background: rgba(228, 184, 91, 0.08);
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.btn-outline-gold:hover {
  background: rgba(228, 184, 91, 0.18);
  color: #fff;
}

/* =========================================================
   Hero 首屏区域
   ========================================================= */
.hero {
  padding: 72px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 1.07rem;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-badges strong {
  color: var(--emerald);
  font-weight: 700;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(38, 53, 80, 0.9), rgba(26, 37, 58, 0.92));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 184, 91, 0.16), transparent 70%);
  pointer-events: none;
}

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

.panel-title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--gold-bright);
}

.panel-pill {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: #34d399;
  font-weight: 600;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-item {
  background: rgba(24, 34, 54, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.metric-val {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-val em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: 3px;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.geo-callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.geo-callout strong {
  color: #6ee7b7;
}

/* =========================================================
   核心优势网格
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(228, 184, 91, 0.12);
  border: 1px solid rgba(228, 184, 91, 0.26);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* =========================================================
   价格套餐区域 — 严格单行同排展示 (4列同排)
   ========================================================= */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(46, 62, 92, 0.92), rgba(30, 42, 66, 0.95));
  border: 1.5px solid var(--gold);
  box-shadow: 0 20px 44px rgba(240, 190, 66, 0.18);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #111419;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.price-tier {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.price-traffic {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1.2;
}

.price-amount {
  margin: 12px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}

.price-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.price-per-gb {
  font-size: 0.82rem;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 16px;
}

.price-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--text-secondary);
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-list li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-footnote {
  margin-top: 22px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: rgba(31, 44, 68, 0.78);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-footnote strong {
  color: var(--gold-bright);
}

/* =========================================================
   节点分布与客户端生态表格 (GEO 友好结构化数据)
   ========================================================= */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.info-box h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--gold-bright);
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 18px;
}

.region-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  color: var(--text-primary);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  color: var(--gold-bright);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
}

.spec-table td {
  color: var(--text-secondary);
}

/* =========================================================
   专题文章推荐网格
   ========================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.article-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  background: var(--emerald-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.42;
}

.article-card h3 a {
  color: var(--text-primary);
}

.article-card h3 a:hover {
  color: var(--gold-bright);
}

.article-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.article-meta a {
  font-weight: 700;
}

/* =========================================================
   用户评价 (#reviews)
   ========================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-quote {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}

.review-author strong {
  color: var(--text-primary);
}

.review-author span {
  color: var(--text-muted);
}

/* =========================================================
   常见问题 FAQ (纯 HTML details/summary 手风琴)
   ========================================================= */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding-top: 14px;
}

/* =========================================================
   外链生态 & 页脚
   ========================================================= */
.site-footer {
  margin-top: 40px;
  padding: 56px 0 34px;
  background: rgba(20, 29, 46, 0.9);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: var(--gold-bright);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.89rem;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================================
   文章内页排版系统
   ========================================================= */
.article-shell {
  padding: 48px 0 72px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24, 34, 54, 0.85);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.breadcrumb span {
  color: var(--text-primary);
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
}

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

.article-header h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.3;
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-body h2 {
  margin: 30px 0 12px;
  font-size: 1.32rem;
  color: var(--gold-bright);
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.article-body h3 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
  color: var(--text-primary);
}

.article-body p {
  margin: 0 0 15px;
  color: #cbd5e1;
  font-size: 0.99rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #cbd5e1;
}

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

.geo-summary {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.geo-summary strong {
  color: #6ee7b7;
  display: block;
  margin-bottom: 6px;
}

.cta-banner {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(228, 184, 91, 0.14), rgba(16, 185, 129, 0.09));
  border: 1px solid var(--border-gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-banner h3 {
  margin: 0 0 4px;
  color: var(--gold-bright);
}

.cta-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  color: var(--gold-bright);
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
  display: block;
}

.sidebar-links a:hover {
  color: var(--gold-bright);
}

.article-nav-cards {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nav-card-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-card-link:hover {
  border-color: var(--border-gold);
}

.nav-card-link span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-card-link strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* =========================================================
   响应式适配
   ========================================================= */
@media (max-width: 1040px) {
  .pricing-row {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-toggle-label {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px;
    background: rgba(9, 13, 20, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    gap: 10px;
  }
  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
}

@media (max-width: 620px) {
  .features-grid,
  .articles-grid,
  .reviews-grid,
  .footer-grid,
  .article-nav-cards {
    grid-template-columns: 1fr;
  }
  .article-main {
    padding: 24px 18px;
  }
  .nav-actions .btn-secondary {
    display: none;
  }
}
