/* ==========================================================================
   CyberGuard VPN (cyberguardvpn.mom) - Native Pure CSS Stylesheet
   Ultra-Fast, Zero-JS Dependency, Hardware-Accelerated Dynamic Experience
   ========================================================================== */

/* 1. CSS Variables & Design Tokens */
:root {
  --bg-dark: #070b14;
  --bg-card: rgba(13, 20, 36, 0.78);
  --bg-card-hover: rgba(19, 31, 56, 0.88);
  --bg-card-featured: rgba(16, 27, 51, 0.92);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);
  --border-featured: rgba(56, 189, 248, 0.65);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  --cyan-neon: #00f2fe;
  --blue-electric: #38bdf8;
  --indigo-vivid: #6366f1;
  --purple-glow: #8b5cf6;
  --emerald-green: #10b981;
  --gold-star: #fbbf24;

  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #6366f1 100%);
  --grad-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  --grad-button: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #4338ca 100%);
  --grad-button-hover: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #4f46e5 100%);
  --grad-accent-btn: linear-gradient(135deg, #fff1f8 0%, #fbcfe8 40%, #f472b6 100%);
  --grad-accent-btn-hover: linear-gradient(135deg, #ffffff 0%, #fce7f3 40%, #f472b6 100%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.22);
  --shadow-featured: 0 0 45px rgba(0, 242, 254, 0.25);

  --container-max: 1240px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* 2. Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding: 90px 0;
}

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

/* 3. 全屏原生动态多种几何形状 Canvas (零第三方依赖，60 FPS 硬件加速，零遮挡) */
#dynamic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

/* 页面主要内容包装层 (浮于 Canvas 动态形状之上) */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 4. Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

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

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-wrap img,
.header-logo-wrap svg {
  height: 44px;
  width: auto;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

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

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 5. Buttons & Badges (Strict CTA Compliance) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--grad-accent-btn);
  color: #2b081e;
  font-weight: 700;
  box-shadow: 0 4px 22px rgba(244, 114, 182, 0.42), 0 0 16px rgba(251, 207, 232, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  background: var(--grad-accent-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 114, 182, 0.6), 0 0 24px rgba(251, 207, 232, 0.45);
  color: #1a0310;
  border-color: rgba(255, 255, 255, 0.65);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-glow {
  background: var(--grad-button);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-glow:hover {
  background: var(--grad-button-hover);
  box-shadow: 0 6px 26px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-neon);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-glow {
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

/* 6. Typography Helpers & Section Headers */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-electric);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
  .section-desc {
    font-size: 0.95rem;
  }
}

/* 7. Hero Section */
.hero-section {
  padding: 90px 0 70px 0;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.hero-pill-announcement {
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.22rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 38px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.metric-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.metric-val span {
  color: var(--cyan-neon);
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* 8. Pricing Section - STRICT REQUIREMENT: ALL PRICES IN SAME ROW */
.pricing-section {
  position: relative;
}

/* The Grid: 4 columns side by side on desktop */
.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
  background: var(--bg-card-featured);
  border: 2px solid var(--blue-electric);
  box-shadow: var(--shadow-featured);
}

.pricing-card.featured:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.4);
}

.pricing-badge-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #04111d;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.4);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

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

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-height: 44px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan-neon);
}

.price-amount {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.price-cycle {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-sub-billing {
  font-size: 0.8rem;
  color: var(--text-accent);
  background: rgba(56, 189, 248, 0.08);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.plan-feature-item.highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.feature-check {
  color: var(--cyan-neon);
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1rem;
}

.pricing-action {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
}

/* 9. Feature Cards & Technology Architecture */
.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: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--grad-glow);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* 10. Streaming & AI Unlocking Grid */
.unlock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.unlock-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.unlock-card:hover {
  border-color: var(--cyan-neon);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.unlock-icon {
  font-size: 2rem;
}

.unlock-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.unlock-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--emerald-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 800px) {
  .unlock-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 11. Client Download & Protocol Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.25s ease;
}

.client-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.client-platform-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.client-support-tools {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* 12. Articles & SEO Knowledge Hub Section */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.article-card:hover {
  border-color: rgba(244, 114, 182, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(244, 114, 182, 0.18);
}

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

.article-tag {
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.28);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.article-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.article-card:hover .article-title {
  color: #fbcfe8;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-link-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f472b6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.article-card:hover .article-link-text {
  gap: 10px;
  color: #fbcfe8;
  text-shadow: 0 0 10px rgba(244, 114, 182, 0.4);
}

#articles .section-tag,
#faq .section-tag {
  color: #f472b6;
}

#articles .btn-secondary:hover {
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.2);
  color: #fff;
}

@media (max-width: 990px) {
  .articles-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* 13. Testimonials & User Reviews (Bottom Requirement) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

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

.review-stars {
  color: var(--gold-star);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: normal;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-button);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
}

.review-info-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.review-info-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* 14. FAQ Section (Pure CSS Accordion via <details>) */
.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(18, 25, 42, 0.92);
  box-shadow: 0 4px 20px rgba(244, 114, 182, 0.15);
}

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

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

.faq-icon-arrow {
  font-size: 1.1rem;
  color: #f472b6;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon-arrow {
  transform: rotate(180deg);
  color: #fbcfe8;
  text-shadow: 0 0 10px rgba(244, 114, 182, 0.5);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-answer a {
  color: #f472b6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: #fbcfe8;
}

/* 15. Single Article Reader Styling */
.article-header {
  padding: 60px 0 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.article-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

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

.article-body-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 50px 0;
}

@media (max-width: 960px) {
  .article-body-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
}

.article-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.toc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

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

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

.toc-item a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
  transition: color 0.2s ease;
}

.toc-item a:hover {
  color: var(--cyan-neon);
}

.article-content-main {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.article-content-main h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 40px 0 18px 0;
  color: #fff;
  border-left: 4px solid var(--blue-electric);
  padding-left: 14px;
  scroll-margin-top: 90px;
}

.article-content-main h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 14px 0;
  color: #f1f5f9;
  scroll-margin-top: 90px;
}

.article-content-main p {
  margin-bottom: 20px;
}

.article-content-main strong {
  color: #fff;
}

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

.article-content-main ul {
  list-style: disc;
}

.article-content-main ol {
  list-style: decimal;
}

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

.article-callout {
  background: rgba(14, 165, 233, 0.08);
  border-left: 4px solid var(--blue-electric);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
}

.article-callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #f59e0b;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.article-table th {
  background: rgba(15, 23, 42, 0.9);
  padding: 14px 18px;
  color: var(--text-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.article-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.article-cta-box {
  background: var(--bg-card-featured);
  border: 2px solid var(--blue-electric);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin: 50px 0;
  box-shadow: var(--shadow-featured);
}

.article-cta-box h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #fff;
}

.article-cta-box p {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 24px auto;
}

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

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

.breadcrumbs a:hover {
  color: var(--cyan-neon);
}

/* 16. Footer & External Links */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  margin-top: 60px;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-list a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--cyan-neon);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
