:root {
  color-scheme: dark;
  --bg-base: #090e1a;
  --bg-elevated: #101829;
  --bg-card: #141d31;
  --bg-card-hover: #19243d;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #1d63ff;
  --accent-blue-hover: #2563eb;
  --accent-blue-soft: rgba(29, 99, 255, 0.15);
  --accent-cyan: #38bdf8;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #fbbf24;
  --accent-gold-soft: rgba(245, 158, 11, 0.14);
  --accent-green: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-card: 0 18px 45px rgba(2, 6, 23, 0.45);
  --max-width: 1200px;
}

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

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

body {
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(29, 99, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(56, 189, 248, 0.06), transparent 60%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

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

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

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d63ff, #38bdf8);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(29, 99, 255, 0.35);
}

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

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--accent-blue);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(29, 99, 255, 0.32);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-blue-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(29, 99, 255, 0.42);
}

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

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

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29, 99, 255, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-green);
  animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

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

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 26px;
  max-width: 620px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.96rem;
  box-shadow: 0 10px 28px rgba(29, 99, 255, 0.36);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(29, 99, 255, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.96rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

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

.keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 29, 49, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.keyword-pill:hover {
  border-color: rgba(29, 99, 255, 0.45);
  color: #e2e8f0;
}

/* Dark Showcase Panel (Image 2 Inspired) */
.dark-telemetry-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-telemetry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), transparent);
}

.telemetry-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.ui-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-blue-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ui-badge-square {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-blue);
  box-shadow: 0 0 18px rgba(29, 99, 255, 0.65);
}

.telemetry-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.telemetry-head p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.node-metrics-list {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

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

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

.route-tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(29, 99, 255, 0.16);
  color: #93c5fd;
  font-weight: 600;
}

.latency-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  color: #34d399;
  font-weight: 600;
}

.telemetry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.telemetry-action {
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.telemetry-action:hover {
  background: var(--accent-blue-hover);
}

.telemetry-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Common */
.section-block {
  padding: 72px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.07);
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

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

/* 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, background 0.25s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--bg-card-hover);
}

.adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-blue-soft);
  color: #60a5fa;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.adv-icon svg {
  width: 22px;
  height: 22px;
}

.adv-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.pricing-card.featured {
  border: 1.5px solid var(--accent-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 38%);
  box-shadow: 0 0 38px rgba(245, 158, 11, 0.12);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #1e293b;
  color: #93c5fd;
  border: 1px solid rgba(56, 189, 248, 0.28);
  white-space: nowrap;
}

.pricing-card.featured .plan-badge {
  background: var(--accent-gold);
  color: #0b1120;
  border-color: var(--accent-gold);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

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

.plan-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-quota {
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(29, 99, 255, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-card.featured .plan-price {
  color: #fbbf24;
}

.plan-cycle {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features {
  display: grid;
  gap: 13px;
  margin-bottom: 26px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.check-mark {
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.plan-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}

.pricing-card.featured .plan-btn {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0b1120;
  font-weight: 700;
}

.pricing-card.featured .plan-btn:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

.pricing-extra-note {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(20, 29, 49, 0.72);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Dynamic Article Showcase Section */
.kb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.live-feed-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
}

.wave-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.wave-bars span {
  width: 3px;
  background: var(--accent-cyan);
  border-radius: 3px;
  animation: eqBar 1.2s ease-in-out infinite;
}

.wave-bars span:nth-child(2) { animation-delay: 0.2s; }
.wave-bars span:nth-child(3) { animation-delay: 0.4s; }
.wave-bars span:nth-child(4) { animation-delay: 0.6s; }

@keyframes eqBar {
  0%, 100% { height: 5px; opacity: 0.55; }
  50% { height: 15px; opacity: 1; }
}

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

.filter-tab {
  padding: 7px 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

.kb-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(16, 24, 41, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.16);
  overflow: hidden;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.ticker-label {
  padding: 2px 9px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(29, 99, 255, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.36);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.45);
}

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

/* Highlighted Slot #10 (模块第十位) */
.article-card.slot-tenth {
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  background: linear-gradient(155deg, rgba(29, 99, 255, 0.16) 0%, var(--bg-card) 58%);
  box-shadow: 0 0 32px rgba(29, 99, 255, 0.16);
}

.article-card.slot-tenth::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #f59e0b, transparent);
  animation: beamSweep 4.2s ease-in-out infinite;
}

@keyframes beamSweep {
  0% { left: -65%; }
  100% { left: 130%; }
}

.article-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(29, 99, 255, 0.16);
  color: #93c5fd;
}

.article-card.slot-tenth .article-tag {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.article-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-card-title {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.article-card-excerpt {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.article-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.read-more-arrow {
  color: #60a5fa;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.article-card:hover .read-more-arrow {
  transform: translateX(3px);
}

.archive-cta-wrap {
  margin-top: 32px;
  text-align: center;
}

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

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

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

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

.faq-grid {
  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(56, 189, 248, 0.32);
}

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

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

.faq-item summary::after {
  content: "+";
  font-size: 1.15rem;
  color: #60a5fa;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.68;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding-top: 12px;
}

/* Article Detail Page Styles */
.article-hero {
  padding: 46px 0 32px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.article-page-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

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

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

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

.article-prose h2 {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-blue);
}

.article-prose h2:first-child {
  margin-top: 0;
}

.article-prose h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 24px 0 10px;
}

.article-prose p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-prose a.inline-link {
  color: #60a5fa;
  border-bottom: 1px dashed rgba(96, 165, 250, 0.5);
  transition: color 0.2s ease;
}

.article-prose a.inline-link:hover {
  color: #93c5fd;
}

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

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: rgba(9, 14, 26, 0.65);
}

.article-prose th {
  background: rgba(29, 99, 255, 0.14);
  color: #f8fafc;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.article-prose td {
  padding: 11px 14px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

.code-block-wrap {
  position: relative;
  margin: 22px 0;
  border-radius: 12px;
  background: #070b14;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

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

.copy-code-btn {
  background: rgba(29, 99, 255, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #93c5fd;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.article-prose pre {
  padding: 16px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #e2e8f0;
}

.article-faq-section {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.article-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.article-stats-footer {
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(9, 14, 26, 0.65);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.article-nav-links {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nav-card-link {
  display: block;
  padding: 16px;
  border-radius: 12px;
  background: rgba(9, 14, 26, 0.55);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}

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

.nav-card-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.nav-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Sidebar */
.article-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 90px;
}

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

.sidebar-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.sidebar-links {
  display: grid;
  gap: 10px;
}

.sidebar-links a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.12);
  transition: color 0.2s ease;
}

.sidebar-links a:hover {
  color: #60a5fa;
}

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

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

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 400px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

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

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

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .advantages-grid,
  .pricing-grid,
  .articles-grid,
  .article-layout {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0d1425;
    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: grid;
  }
  .advantages-grid,
  .pricing-grid,
  .articles-grid,
  .faq-grid,
  .footer-grid,
  .article-nav-links {
    grid-template-columns: 1fr;
  }
  .article-prose {
    padding: 22px 18px;
  }
}

