/* ==========================================================================
   CyberGuard VPN (cyberguardvpn.cyou) - Native High-Performance Stylesheet
   Pure CSS, Zero Framework, 60fps Dynamic Animated Background & Glassmorphism
   ========================================================================== */

:root {
  --bg-main: #030712;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-card: rgba(56, 189, 248, 0.16);
  --border-card-hover: rgba(56, 189, 248, 0.45);
  --primary-cyan: #00f5a0;
  --primary-blue: #00d9f5;
  --primary-neon: #38bdf8;
  --accent-purple: #818cf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gradient-brand: linear-gradient(135deg, #00f5a0 0%, #00d9f5 50%, #0072ff 100%);
  --gradient-badge: linear-gradient(135deg, rgba(0, 245, 160, 0.15) 0%, rgba(0, 217, 245, 0.15) 100%);
  --glow-cyan: 0 0 25px rgba(0, 245, 160, 0.35);
  --glow-blue: 0 0 30px rgba(0, 217, 245, 0.3);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1260px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ==========================================================================
   Dynamic Animated Background (Pure GPU-accelerated CSS)
   ========================================================================== */
.dynamic-cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, #0c1a30 0%, #030712 75%);
}

#cyber-network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

main, .site-footer, .article-detail-wrap {
  position: relative;
  z-index: 2;
}

.dynamic-cyber-bg::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 245, 160, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 217, 245, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(129, 140, 248, 0.1) 0%, transparent 50%);
  animation: dynamicMesh 22s ease-in-out infinite alternate;
  will-change: transform;
}

.dynamic-cyber-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.65;
}

@keyframes dynamicMesh {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-3%, 4%) scale(1.06) rotate(3deg);
  }
  100% {
    transform: translate(4%, -2%) scale(0.98) rotate(-2deg);
  }
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #38bdf8;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  transition: background var(--transition-normal);
}

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

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

.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-normal);
}

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

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

/* ==========================================================================
   Buttons (CTA Specifications)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #030712;
  box-shadow: 0 4px 18px rgba(0, 245, 160, 0.3);
}

.btn-primary:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 245, 160, 0.45);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--primary-cyan);
  background: rgba(30, 41, 59, 0.8);
  color: var(--primary-cyan);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 76px 0 60px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--gradient-badge);
  border: 1px solid rgba(0, 245, 160, 0.3);
  color: var(--primary-cyan);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-cyan);
  box-shadow: 0 0 8px var(--primary-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

/* Feature highlights ticker */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 20px 16px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-item:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 72px 0;
  position: relative;
}

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

.section-tag {
  color: var(--primary-cyan);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 14px;
}

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

/* ==========================================================================
   PRICING SECTION (CRITICAL: ALL PRICING IN ONE ROW)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, rgba(3, 7, 18, 0) 0%, rgba(11, 23, 44, 0.45) 50%, rgba(3, 7, 18, 0) 100%);
}

.pricing-row-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 16px;
}

/* Strict single-row horizontal alignment for all 4 plans */
.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  min-width: 1020px; /* guarantees single horizontal row on desktop and tablet */
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.15);
}

.pricing-card.featured {
  border-color: var(--primary-cyan);
  background: linear-gradient(180deg, rgba(15, 30, 55, 0.88) 0%, rgba(10, 20, 40, 0.78) 100%);
  box-shadow: 0 12px 32px rgba(0, 245, 160, 0.18);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #030712;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 245, 160, 0.35);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 20px;
  text-align: center;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

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

.plan-price-box {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}

.price-currency {
  font-size: 20px;
  color: var(--primary-cyan);
  font-weight: 700;
}

.price-amount {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
}

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

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

.plan-features-list li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.feature-icon-check {
  color: var(--primary-cyan);
  flex-shrink: 0;
  font-weight: bold;
}

/* ==========================================================================
   Advantages / Feature Matrix
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-cyan);
  font-size: 24px;
  border: 1px solid rgba(0, 245, 160, 0.3);
}

.feature-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Global Node Coverage Matrix
   ========================================================================== */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.node-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--transition-fast);
}

.node-item:hover {
  border-color: var(--primary-cyan);
}

.node-flag {
  font-size: 26px;
  line-height: 1;
}

.node-meta h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

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

/* ==========================================================================
   SEO Articles Hub Section (7 Articles with internal jump)
   ========================================================================== */
.articles-section {
  background: rgba(11, 23, 44, 0.3);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-cyan);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.article-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.article-tag {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-neon);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.article-date {
  font-size: 12px;
  color: var(--text-dim);
}

.article-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.article-card:hover .article-card-title {
  color: var(--primary-cyan);
}

.article-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  font-size: 13px;
  color: var(--primary-cyan);
  font-weight: 600;
}

/* ==========================================================================
   User Testimonials Section (用户评价)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

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

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

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #030712;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

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

/* ==========================================================================
   FAQ Section (常见问题)
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-q-mark {
  color: var(--primary-cyan);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 24px;
}

/* ==========================================================================
   External Links & Open Source Ecosystem (权威外链)
   ========================================================================== */
.ext-links-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(12px);
  margin-top: 40px;
}

.ext-links-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
  text-align: center;
}

.ext-links-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ext-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.ext-link-pill:hover {
  color: var(--primary-cyan);
  border-color: var(--primary-cyan);
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-2px);
}

/* ==========================================================================
   Article Detail Page Specific Styles
   ========================================================================== */
.article-detail-wrap {
  padding: 48px 0 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.article-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.article-h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}

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

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

.article-content {
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 24px;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  color: #ffffff;
}

.article-content h3 {
  font-size: 19px;
  margin: 28px 0 14px;
  color: #f1f5f9;
}

.article-content p {
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.article-content strong {
  color: var(--primary-cyan);
}

.article-callout {
  background: rgba(15, 23, 42, 0.85);
  border-left: 4px solid var(--primary-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px;
  margin: 28px 0;
  font-size: 15px;
}

.article-callout p {
  margin-bottom: 0;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin: 48px 0;
  box-shadow: 0 12px 30px rgba(0, 245, 160, 0.15);
}

.article-cta-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

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

.article-nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-nav-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.article-nav-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

.article-nav-card span {
  font-size: 12px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}

.article-nav-card h4 {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.4;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 32px;
  margin-top: 80px;
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-about p {
  margin-top: 14px;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-cyan);
}

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    white-space: normal;
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.35;
  }
  .nav-menu {
    display: none; /* simple lean mobile view without heavy JS */
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .article-nav-links {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
