/* ==========================================================================
   BoostNet (boost-net.lat) — Pure Native CSS Stylesheet
   Zero external frameworks, GPU-accelerated dynamic background, instant load.
   ========================================================================== */

:root {
  --bg-deep: #050814;
  --bg-surface: #0b1122;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(21, 32, 58, 0.88);
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(184, 216, 206, 0.45);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --cyan: #b8d8ce;
  --blue: #9bb59c;
  --indigo: #8a9272;
  --emerald: #a9c3ab;
  --amber: #f59e0b;
  --gradient-brand: linear-gradient(135deg, #cde5de 0%, #9bb59c 52%, #8a9272 100%);
  --gradient-glow: linear-gradient(90deg, #dff2ec, #a9c3ab, #909976);
  --shadow-card: 0 20px 50px -15px rgba(2, 6, 23, 0.75);
  --shadow-glow: 0 0 36px -6px rgba(169, 195, 171, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container-max: 1320px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "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;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

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

main,
footer {
  position: relative;
  z-index: 1;
}

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

a:hover {
  color: #dff2ec;
}

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

/* ---------- Pure CSS Dynamic Animated Background ---------- */
.dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(184, 216, 206, 0.14), transparent 65%),
    radial-gradient(ellipse 65% 50% at 88% 20%, rgba(138, 146, 114, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 12% 85%, rgba(155, 181, 156, 0.12), transparent 60%),
    #050814;
}

.bg-grid {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(rgba(184, 216, 206, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 216, 206, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.9) 18%, transparent 82%);
  mask-image: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.9) 18%, transparent 82%);
  animation: gridDrift 26s linear infinite;
}

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

.bg-orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(184, 216, 206, 0.42), transparent 70%);
  animation: floatOrbA 18s ease-in-out infinite alternate;
}

.bg-orb-2 {
  width: 540px;
  height: 540px;
  top: 22%;
  right: -140px;
  background: radial-gradient(circle, rgba(138, 146, 114, 0.38), transparent 70%);
  animation: floatOrbB 22s ease-in-out infinite alternate;
}

.bg-orb-3 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  left: 28%;
  background: radial-gradient(circle, rgba(155, 181, 156, 0.36), transparent 70%);
  animation: floatOrbC 20s ease-in-out infinite alternate;
}

.bg-beam {
  position: absolute;
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 216, 206, 0.55), transparent);
  opacity: 0.45;
  transform: rotate(-18deg);
  animation: beamSweep 11s linear infinite;
}

.bg-beam-2 {
  top: 48%;
  width: 320px;
  background: linear-gradient(90deg, transparent, rgba(138, 146, 114, 0.52), transparent);
  animation-duration: 15s;
  animation-delay: -6s;
}

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

@keyframes floatOrbA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(90px, 70px, 0) scale(1.14); }
}

@keyframes floatOrbB {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(-110px, 85px, 0) scale(0.92); }
}

@keyframes floatOrbC {
  0% { transform: translate3d(0, 0, 0) scale(0.96); }
  100% { transform: translate3d(70px, -90px, 0) scale(1.1); }
}

@keyframes beamSweep {
  0% { top: 14%; left: -260px; opacity: 0; }
  15% { opacity: 0.55; }
  85% { opacity: 0.55; }
  100% { top: 68%; left: 110%; opacity: 0; }
}

/* ---------- Pure CSS Animated Flying Rockets ---------- */
.bg-rocket {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 92px;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 14px rgba(184, 216, 206, 0.42));
}

.bg-rocket svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bg-rocket::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 76%;
  width: 4px;
  height: 150px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.72) 0%, rgba(168, 85, 247, 0.48) 38%, rgba(34, 211, 238, 0.16) 72%, transparent 100%);
  filter: blur(2px);
}

.bg-rocket .rocket-flame {
  transform-origin: 32px 62px;
  animation: flamePulse 0.36s ease-in-out infinite alternate;
}

.bg-rocket-1 {
  width: 60px;
  height: 98px;
  animation: rocketLaunchDiag 13s linear infinite;
  animation-delay: -3s;
}

.bg-rocket-2 {
  width: 42px;
  height: 70px;
  animation: rocketLaunchHigh 18s linear infinite;
  animation-delay: -9s;
}

.bg-rocket-3 {
  width: 50px;
  height: 82px;
  animation: rocketLaunchSteep 15s linear infinite;
  animation-delay: -5s;
}

.bg-rocket-4 {
  width: 34px;
  height: 56px;
  animation: rocketLaunchLow 21s linear infinite;
  animation-delay: -14s;
}

@keyframes flamePulse {
  0% { transform: scaleY(0.88) scaleX(0.95); opacity: 0.85; }
  100% { transform: scaleY(1.18) scaleX(1.06); opacity: 1; }
}

@keyframes rocketLaunchDiag {
  0% { transform: translate3d(-12vw, 108vh, 0) rotate(52deg); opacity: 0; }
  8% { opacity: 0.68; }
  88% { opacity: 0.68; }
  100% { transform: translate3d(112vw, -18vh, 0) rotate(52deg); opacity: 0; }
}

@keyframes rocketLaunchHigh {
  0% { transform: translate3d(-10vw, 68vh, 0) rotate(62deg); opacity: 0; }
  10% { opacity: 0.5; }
  88% { opacity: 0.5; }
  100% { transform: translate3d(112vw, -12vh, 0) rotate(62deg); opacity: 0; }
}

@keyframes rocketLaunchSteep {
  0% { transform: translate3d(24vw, 112vh, 0) rotate(32deg); opacity: 0; }
  10% { opacity: 0.58; }
  88% { opacity: 0.58; }
  100% { transform: translate3d(96vw, -22vh, 0) rotate(32deg); opacity: 0; }
}

@keyframes rocketLaunchLow {
  0% { transform: translate3d(52vw, 110vh, 0) rotate(28deg); opacity: 0; }
  10% { opacity: 0.44; }
  88% { opacity: 0.44; }
  100% { transform: translate3d(114vw, 8vh, 0) rotate(28deg); opacity: 0; }
}

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

.section {
  padding: 76px 0;
  position: relative;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(184, 216, 206, 0.1);
  border: 1px solid rgba(184, 216, 206, 0.28);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ---------- Sticky Header with Top-Left Logo ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 20, 0.78);
  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;
  gap: 20px;
  min-height: 72px;
}

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

.brand-logo svg {
  height: 42px;
  width: auto;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(184, 216, 206, 0.55);
  box-shadow: 0 0 18px -4px rgba(138, 146, 114, 0.55);
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.brand-name span {
  color: var(--cyan);
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan);
}

.main-nav a.active {
  font-weight: 700;
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-glow);
}

.page-banner {
  padding: 54px 0 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), transparent);
}

.page-banner h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.22;
}

.page-banner p {
  margin: 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  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;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #08120e;
  box-shadow: 0 10px 28px -8px rgba(155, 181, 156, 0.45);
}

.btn-primary:hover {
  color: #08120e;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -8px rgba(190, 222, 212, 0.6);
}

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

.btn-outline:hover {
  color: var(--cyan);
  border-color: var(--border-accent);
  background: rgba(184, 216, 206, 0.08);
}

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

.btn-block {
  width: 100%;
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 82px 0 64px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #6ee7b7;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(90deg, #dff2ec 0%, #a9c3ab 52%, #909976 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 650px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-size: 0.9rem;
}

.coupon-code {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  padding: 2px 8px;
  border-radius: 6px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric-chip {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.metric-chip strong {
  display: block;
  font-size: 1.25rem;
  color: var(--cyan);
}

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

/* Hero Telemetry Panel (GEO Summary Card) */
.hero-panel {
  background: linear-gradient(160deg, rgba(15, 23, 30, 0.92), rgba(10, 17, 22, 0.85));
  border: 1px solid rgba(184, 216, 206, 0.28);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.panel-status {
  font-size: 0.78rem;
  color: #34d399;
  font-weight: 600;
}

.geo-kv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.geo-kv-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.geo-kv-list .k {
  color: var(--text-muted);
}

.geo-kv-list .v {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.node-bars {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 10px;
}

.node-row {
  display: grid;
  grid-template-columns: 76px 1fr 56px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-glow);
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

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

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 216, 206, 0.12);
  border: 1px solid rgba(184, 216, 206, 0.28);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.glass-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
}

.glass-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* ---------- Single-Row Pricing Section (所有价格同排) ---------- */
.pricing-row-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 12px 2px 16px;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
  min-width: 1140px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

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

.price-card.featured {
  background: linear-gradient(170deg, rgba(22, 34, 31, 0.96), rgba(15, 23, 28, 0.9));
  border: 1.5px solid var(--cyan);
  box-shadow: 0 24px 50px -15px rgba(169, 195, 171, 0.28);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #08120e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.plan-name {
  margin: 4px 0 4px;
  font-size: 1.06rem;
  font-weight: 800;
}

.plan-sub {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 2.6em;
}

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

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

.plan-price .amount {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price .period {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.plan-alt-price {
  font-size: 0.78rem;
  color: #6ee7b7;
  margin: 0 0 16px;
  min-height: 1.4em;
}

.plan-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

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

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

.pricing-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ---------- GEO Structured Comparison Table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

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

.data-table th {
  background: rgba(184, 216, 206, 0.08);
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
}

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

/* ---------- Articles Hub ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

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

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(155, 181, 156, 0.14);
  border: 1px solid rgba(155, 181, 156, 0.34);
  color: #cde5de;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--text-primary);
}

.article-card h3 a:hover {
  color: var(--cyan);
}

.article-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ---------- External Resources / Outbound Links ---------- */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ext-card {
  display: block;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

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

.ext-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
}

.ext-card span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ---------- User Reviews Auto-Sliding Marquee (Pure CSS) ---------- */
.reviews-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.reviews-track {
  display: flex;
  width: max-content;
  animation: reviewsMarquee 42s linear infinite;
  will-change: transform;
}

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

.reviews-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}

@keyframes reviewsMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.review-card {
  width: 370px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

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

.review-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.review-author strong {
  color: var(--text-primary);
}

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

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

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cyan);
  font-weight: 600;
  transition: transform 0.2s ease;
}

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

.faq-body {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding-top: 14px;
}

/* ---------- Article Detail Page Styles ---------- */
.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 24px 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.article-paper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
}

.article-paper h1 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.tldr-box {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(184, 216, 206, 0.08);
  border-left: 4px solid var(--cyan);
  margin-bottom: 26px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.tldr-box strong {
  color: var(--cyan);
}

.article-body h2 {
  margin: 30px 0 12px;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.article-body h3 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
  color: #cde5de;
}

.article-body p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.82;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-secondary);
}

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

.inline-cta {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(184, 216, 206, 0.12), rgba(138, 146, 114, 0.16));
  border: 1px solid rgba(184, 216, 206, 0.32);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.inline-cta p {
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}

.related-articles {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.related-articles h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

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

.related-link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.related-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.related-link small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 6, 16, 0.88);
  padding: 52px 0 32px;
}

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

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

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

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

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ext-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }
  .features-grid,
  .articles-grid,
  .ext-grid,
  .related-grid,
  .footer-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .review-card {
    width: 300px;
  }
  .article-paper {
    padding: 24px 18px;
  }
}
