:root {
  --bg-primary: #090e1a;
  --bg-secondary: #0e1628;
  --bg-card: #131c31;
  --bg-card-hover: #18233d;
  --bg-elevated: #1c2845;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(79, 70, 229, 0.55);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #2563eb 100%);
  --grad-pill: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
  --shadow-card: 0 20px 45px -15px rgba(2, 6, 23, 0.7);
  --shadow-glow: 0 0 35px -5px rgba(79, 70, 229, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle animated engineering grid backdrop */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 15%, rgba(37, 99, 235, 0.14), transparent 38%),
    radial-gradient(circle at 82% 25%, rgba(139, 92, 246, 0.12), transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(6, 182, 212, 0.08), transparent 45%),
    linear-gradient(to right, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reading Progress Bar (Article pages) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(9, 14, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.7);
}

.btn-gradient {
  background: var(--grad-pill);
  color: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.55);
}

.btn-gradient:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(148, 163, 184, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Live Telemetry Ticker */
.telemetry-bar {
  background: rgba(14, 22, 40, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  overflow: hidden;
}

.telemetry-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.telemetry-inner::-webkit-scrollbar {
  display: none;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  display: inline-block;
  position: relative;
  margin-right: 6px;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-emerald);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.telemetry-val {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Hero Section */
.hero-section {
  padding: 76px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.text-gradient {
  background: linear-gradient(120deg, #ffffff 20%, #93c5fd 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.metric-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Dark UI Preview Card (Image 1 inspired) */
.dark-ui-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.dark-ui-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
}

.ui-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.ui-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ui-icon-square {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.35);
  display: grid;
  place-items: center;
  color: #3b82f6;
}

.node-matrix {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(9, 14, 26, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  font-size: 0.875rem;
}

.node-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.node-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.node-rtt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
}

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

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

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

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--shadow-card);
}

.adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.14);
  color: #60a5fa;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.adv-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.adv-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Pricing Section (Matching Image 2) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.pricing-card {
  background: #101726;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #151e34 0%, #0f1626 100%);
  border: 1.5px solid #4f46e5;
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.pricing-card.featured:hover {
  transform: translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1;
}

.plan-features li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-actions {
  display: grid;
  gap: 10px;
}

.btn-plan-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn-plan-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.billing-highlights {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.billing-pill-card {
  background: rgba(19, 28, 49, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.875rem;
}

.billing-pill-card strong {
  display: block;
  color: #93c5fd;
  margin-bottom: 4px;
}

.billing-pill-card span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Dynamic Article Showcase Section */
.article-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

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

.article-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUpReveal 0.55s ease both;
}

/* Dynamic mouse-follow spotlight & shimmer accent */
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), rgba(59, 130, 246, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.article-card:hover::before {
  opacity: 1;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 18px 36px -14px rgba(2, 6, 23, 0.85);
}

/* Special dynamic treatment for the 10th Module Card (Refactored Core Deep Dive) */
.article-card.module-featured {
  border-color: rgba(99, 102, 241, 0.55);
  background: linear-gradient(155deg, rgba(30, 41, 74, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  box-shadow: 0 0 32px -10px rgba(99, 102, 241, 0.45);
}

.article-card.module-featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
  animation: topBeamSweep 3.8s infinite linear;
}

@keyframes topBeamSweep {
  0% { left: -60%; }
  100% { left: 120%; }
}

@keyframes fadeUpReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.card-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.card-badge.deep-badge {
  background: rgba(139, 92, 246, 0.22);
  color: #ddd6fe;
  border-color: rgba(139, 92, 246, 0.45);
}

.card-slot-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text-primary);
}

.article-card p {
  margin: 0 0 18px;
  font-size: 0.89rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-read-link {
  color: #60a5fa;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-read-link:hover {
  color: #93c5fd;
}

/* SEO Keyword Matrix */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.kw-pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(19, 28, 49, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.kw-pill:hover {
  border-color: #3b82f6;
  color: #fff;
  background: rgba(37, 99, 235, 0.15);
}

/* 50-Question FAQ Section */
.faq-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.faq-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.faq-search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.faq-search-box input:focus {
  border-color: var(--accent-blue);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.faq-item[open] {
  border-color: rgba(99, 102, 241, 0.45);
}

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

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #60a5fa;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.89rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* Long-form Article Layout */
.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

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

.breadcrumb a:hover {
  color: #93c5fd;
}

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

.article-header h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.28;
  margin: 14px 0 18px;
  letter-spacing: -0.02em;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.geo-summary-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.geo-summary-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  margin-bottom: 8px;
}

.article-body {
  font-size: 1.03rem;
  line-height: 1.88;
  color: var(--text-secondary);
}

.article-body h2 {
  color: var(--text-primary);
  font-size: 1.48rem;
  margin: 42px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-blue);
}

.article-body h3 {
  color: var(--text-primary);
  font-size: 1.18rem;
  margin: 28px 0 12px;
}

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

.article-body a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: #93c5fd;
}

/* Tables inside Articles */
.table-wrap {
  overflow-x: auto;
  margin: 26px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

/* Code Blocks */
.code-block-wrap {
  position: relative;
  margin: 24px 0;
  border-radius: var(--radius-md);
  background: #070b14;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.copy-code-btn {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.copy-code-btn:hover {
  background: rgba(59, 130, 246, 0.3);
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  color: #e2e8f0;
}

/* Article Natural Unordered FAQ */
.article-faq-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.article-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.article-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  color: var(--text-primary);
}

.article-faq-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Article Footer Telemetry & Related Internal Links */
.article-stats-footer {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: 0.85rem;
}

.stat-cell span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.stat-cell strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.related-articles-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.related-link-card {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(9, 14, 26, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
}

.related-link-card:hover {
  border-color: #3b82f6;
  color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #070b14;
  padding: 48px 0 32px;
  margin-top: 64px;
}

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

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

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

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #93c5fd;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .advantages-grid,
  .pricing-grid,
  .articles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .billing-highlights,
  .article-stats-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-list,
  .related-links-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(9, 14, 26, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 16px 24px;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

