/* ==========================================================================
   青云梯 (QingYunTi) Official Landing Page — Pure Native CSS
   Zero external frameworks, zero JS runtime, instant render.
   ========================================================================== */

:root {
  --bg-deep: #050a14;
  --bg-surface: #0b1324;
  --bg-card: rgba(13, 23, 44, 0.72);
  --bg-card-hover: rgba(18, 31, 58, 0.88);
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(56, 189, 248, 0.45);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #38bdf8;
  --accent-sky: #0ea5e9;
  --accent-mint: #34d399;
  --accent-indigo: #818cf8;
  --accent-amber: #fbbf24;
  --grad-brand: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 48%, #34d399 100%);
  --grad-cta: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #10b981 100%);
  --shadow-glow: 0 12px 40px -10px rgba(14, 165, 233, 0.35);
  --shadow-card: 0 16px 36px -14px rgba(2, 6, 23, 0.7);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a:hover {
  color: var(--accent-mint);
}

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

/* ==========================================================================
   Dynamic Animated Rain & Aurora Night-Sky Background (Pure CSS)
   ========================================================================== */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #0d1f40 0%, #060d1c 58%, #040812 100%);
}

/* Front & Back Seamless Gentle Drizzle Layers */
.bg-canvas::before,
.bg-canvas::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -540px;
  left: -15%;
  width: 130%;
  height: calc(100% + 600px);
  pointer-events: none;
  will-change: transform;
}

.bg-canvas::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='480' viewBox='0 0 360 480'%3E%3Crect x='48' y='36' width='1.3' height='26' rx='0.65' fill='%2338bdf8' fill-opacity='0.22'/%3E%3Crect x='48' y='54' width='1.3' height='8' rx='0.65' fill='%23bae6fd' fill-opacity='0.55'/%3E%3Crect x='196' y='184' width='1.4' height='28' rx='0.7' fill='%2338bdf8' fill-opacity='0.24'/%3E%3Crect x='196' y='204' width='1.4' height='8' rx='0.7' fill='%23e0f2fe' fill-opacity='0.58'/%3E%3Crect x='304' y='340' width='1.2' height='24' rx='0.6' fill='%2338bdf8' fill-opacity='0.20'/%3E%3Crect x='304' y='356' width='1.2' height='8' rx='0.6' fill='%23bae6fd' fill-opacity='0.52'/%3E%3C/svg%3E");
  background-size: 360px 480px;
  background-repeat: repeat;
  opacity: 0.45;
  animation: rainFallFront 2.4s linear infinite;
}

.bg-canvas::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='520' viewBox='0 0 420 520'%3E%3Crect x='110' y='92' width='1' height='20' rx='0.5' fill='%2334d399' fill-opacity='0.18'/%3E%3Crect x='110' y='105' width='1' height='7' rx='0.5' fill='%237dd3fc' fill-opacity='0.40'/%3E%3Crect x='310' y='310' width='1' height='22' rx='0.5' fill='%2338bdf8' fill-opacity='0.18'/%3E%3Crect x='310' y='324' width='1' height='8' rx='0.5' fill='%23bae6fd' fill-opacity='0.42'/%3E%3C/svg%3E");
  background-size: 420px 520px;
  background-repeat: repeat;
  opacity: 0.32;
  animation: rainFallBack 3.6s linear infinite;
}

@keyframes rainFallFront {
  0% { transform: rotate(8deg) translate3d(0, 0, 0); }
  100% { transform: rotate(8deg) translate3d(0, 480px, 0); }
}

@keyframes rainFallBack {
  0% { transform: rotate(8deg) translate3d(0, 0, 0); }
  100% { transform: rotate(8deg) translate3d(0, 520px, 0); }
}

.bg-grid {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 30%, transparent 100%);
  animation: gridDrift 26s linear infinite;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  will-change: transform, opacity;
}

.bg-orb--cyan {
  width: 580px;
  height: 580px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.55) 0%, rgba(14, 165, 233, 0) 70%);
  animation: orbFloatA 18s ease-in-out infinite alternate;
}

.bg-orb--mint {
  width: 520px;
  height: 520px;
  top: 12%;
  right: -140px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.42) 0%, rgba(52, 211, 153, 0) 70%);
  animation: orbFloatB 22s ease-in-out infinite alternate;
}

.bg-orb--indigo {
  width: 640px;
  height: 640px;
  bottom: -220px;
  left: 30%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.38) 0%, rgba(129, 140, 248, 0) 70%);
  animation: orbFloatC 25s ease-in-out infinite alternate;
}

.bg-stream {
  position: absolute;
  width: 140%;
  height: 2px;
  left: -20%;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.35) 50%, transparent 100%);
  opacity: 0.35;
}

.bg-stream--1 {
  top: 24%;
  transform: rotate(-4deg);
  animation: streamSlide 12s linear infinite;
}

.bg-stream--2 {
  top: 64%;
  transform: rotate(3deg);
  background: linear-gradient(90deg, transparent 0%, rgba(52, 211, 153, 0.28) 50%, transparent 100%);
  animation: streamSlide 16s linear infinite reverse;
}

@keyframes gridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(64px, 64px, 0); }
}

@keyframes orbFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.38; }
  50% { transform: translate3d(90px, 60px, 0) scale(1.12); opacity: 0.52; }
  100% { transform: translate3d(30px, 120px, 0) scale(0.95); opacity: 0.36; }
}

@keyframes orbFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.34; }
  50% { transform: translate3d(-100px, 80px, 0) scale(1.15); opacity: 0.48; }
  100% { transform: translate3d(-40px, -40px, 0) scale(1.02); opacity: 0.36; }
}

@keyframes orbFloatC {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-80px, -90px, 0) scale(1.1); }
}

@keyframes streamSlide {
  0% { transform: translateX(-18%) rotate(-3deg); opacity: 0.15; }
  50% { opacity: 0.48; }
  100% { transform: translateX(18%) rotate(-3deg); opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid, .bg-orb, .bg-stream { animation: none; }
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: 1380px;
}

.section {
  padding: 72px 0;
}

.section--compact {
  padding: 48px 0;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

@media (min-width: 1080px) {
  .section-title {
    white-space: nowrap;
  }
}

.section-desc {
  margin: 0 auto;
  max-width: 960px;
  color: var(--text-secondary);
  font-size: 16px;
  text-wrap: balance;
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Sticky Top Header & Top-Left Logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

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

.brand-logo-title {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 1.5px;
}

.brand-logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 1.8px;
  margin-top: 2px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

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

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

/* Pure CSS Mobile Nav Toggle */
.nav-toggle-check {
  display: none;
}

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

@media (max-width: 960px) {
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(8, 15, 30, 0.97);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 20px 18px;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }
  .nav-toggle-check:checked ~ .nav-links {
    display: flex;
  }
}

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

.btn--primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -8px rgba(14, 165, 233, 0.55);
}

.btn--outline {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.btn--outline:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.16);
  transform: translateY(-1px);
}

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

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 74px 0 54px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--accent-mint);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulseDot 2s ease-in-out infinite;
}

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

.hero-title {
  margin: 0 auto 20px;
  max-width: 880px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0 auto 32px;
  max-width: 740px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.metric-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  backdrop-filter: blur(10px);
}

.metric-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

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

@media (max-width: 760px) {
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   5-Tier Pricing Grid — STRICTLY ALL IN ONE HORIZONTAL ROW ON DESKTOP
   ========================================================================== */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 16px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.plan-card--featured {
  border-color: rgba(56, 189, 248, 0.72);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.16) 0%, rgba(13, 23, 44, 0.86) 55%);
  box-shadow: 0 20px 50px -12px rgba(14, 165, 233, 0.38);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #04101f;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.plan-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-tagline {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-secondary);
  min-height: 34px;
}

.plan-price-wrap {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.plan-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.plan-amount {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.plan-period {
  font-size: 13px;
  color: var(--text-secondary);
}

.plan-subprice {
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent-mint);
  font-weight: 600;
}

.plan-traffic {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: center;
}

.plan-cycles {
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(2, 6, 23, 0.45);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 14px;
  line-height: 1.55;
}

.plan-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  color: var(--accent-mint);
  font-weight: 800;
  flex-shrink: 0;
}

/* Keep all 5 pricing cards in one row down to 1024px, horizontal scroll on medium, stack on small */
@media (max-width: 1120px) and (min-width: 768px) {
  .pricing-row {
    overflow-x: auto;
    padding-bottom: 10px;
    grid-template-columns: repeat(5, minmax(215px, 1fr));
  }
}

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

.pricing-footnote {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Feature / Node / Client Cards
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent-cyan);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Node Regions & Unlock Matrix Table
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
}

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

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

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.24);
}

.tag--mint {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-mint);
  border-color: rgba(52, 211, 153, 0.26);
}

/* ==========================================================================
   Articles Cards & Long-Form Article Layout
   ========================================================================== */
.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

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

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

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

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  padding: 40px 0 72px;
  align-items: start;
}

@media (max-width: 960px) {
  .article-shell {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 640px) {
  .article-main {
    padding: 24px 18px;
  }
}

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

.article-main h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  font-weight: 800;
}

.article-lead {
  padding: 16px 18px;
  border-left: 3px solid var(--accent-cyan);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
  margin: 20px 0 26px;
  font-size: 15px;
}

.article-toc {
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.article-toc h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--accent-cyan);
}

.article-toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.article-body h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.article-body h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.article-body p {
  margin: 0 0 15px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.82;
}

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

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

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

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--text-primary);
}

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

.sidebar-links a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid transparent;
  color: var(--text-secondary);
}

.sidebar-links a:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.pager-link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
}

.pager-link:hover {
  border-color: var(--border-accent);
}

.pager-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pager-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   User Reviews Section
   ========================================================================== */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 14px;
  letter-spacing: 2px;
}

.review-quote {
  margin: 0;
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.7;
}

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

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

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

/* ==========================================================================
   FAQ Accordion (Pure CSS <details>/<summary>)
   ========================================================================== */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

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

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

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent-mint);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(52, 211, 153, 0.14) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 42px 28px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

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

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 7, 15, 0.9);
  padding: 48px 0 28px;
  margin-top: 40px;
}

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

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.footer-heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

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

.footer-links a:hover {
  color: var(--accent-cyan);
}

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