/* 青云梯 (qingyuntivip.homes) - Pure Native CSS Design System
   Zero external frameworks, zero JS dependencies, GPU-accelerated dynamic background */

:root {
  --bg-deep: #070612;
  --bg-surface: rgba(17, 14, 38, 0.78);
  --bg-surface-strong: rgba(21, 17, 46, 0.92);
  --bg-card: rgba(19, 15, 42, 0.72);
  --border-subtle: rgba(168, 85, 247, 0.22);
  --border-strong: rgba(192, 132, 252, 0.48);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-cyan: #c084fc;
  --accent-sky: #a855f7;
  --accent-emerald: #34d399;
  --accent-gold: #fbbf24;
  --gradient-brand: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  --gradient-cta: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  --gradient-purple: linear-gradient(135deg, #d8b4fe 0%, #a855f7 50%, #7c3aed 100%);
  --shadow-glow: 0 12px 36px -8px rgba(168, 85, 247, 0.30);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container-max: 1260px;
}

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

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

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

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

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

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

/* =========================================================
   Dynamic Animated Background (100% Pure CSS)
   ========================================================= */
.dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(147, 51, 234, 0.24), transparent 70%),
    radial-gradient(ellipse 60% 45% at 85% 90%, rgba(124, 58, 237, 0.18), transparent 70%),
    linear-gradient(180deg, #05040d 0%, #0b0820 48%, #070514 100%);
}

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

.bg-aurora--one {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.36) 0%, rgba(147, 51, 234, 0.14) 55%, transparent 75%);
  animation: auroraDriftOne 18s ease-in-out infinite alternate;
}

.bg-aurora--two {
  width: 560px;
  height: 560px;
  top: 28%;
  right: -160px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.26) 0%, rgba(124, 58, 237, 0.14) 55%, transparent 75%);
  animation: auroraDriftTwo 22s ease-in-out infinite alternate;
}

.bg-aurora--three {
  width: 480px;
  height: 480px;
  bottom: -140px;
  left: 25%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.26) 0%, rgba(168, 85, 247, 0.10) 60%, transparent 75%);
  animation: auroraDriftThree 25s ease-in-out infinite alternate;
}

.bg-grid {
  position: absolute;
  inset: -240px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='M0 40H44L64 60H116L136 40H160M0 120H32L52 100H108L128 120H160M40 0V44L60 64V116L40 136V160M120 0V32L100 52V108L120 128V160' stroke='%23a855f7' stroke-opacity='0.22' stroke-width='1.1'/%3E%3Cpath d='M64 60L96 60L108 100M52 100L60 64M100 52L116 60M20 0V20L40 40M140 160V140L120 120' stroke='%23c084fc' stroke-opacity='0.14' stroke-width='0.9'/%3E%3Ccircle cx='44' cy='40' r='2.3' fill='%23c084fc' fill-opacity='0.45'/%3E%3Ccircle cx='64' cy='60' r='3' fill='%23070612' stroke='%23c084fc' stroke-opacity='0.55' stroke-width='1.2'/%3E%3Ccircle cx='116' cy='60' r='2.3' fill='%23a855f7' fill-opacity='0.5'/%3E%3Ccircle cx='52' cy='100' r='2.8' fill='%23070612' stroke='%23a855f7' stroke-opacity='0.55' stroke-width='1.2'/%3E%3Ccircle cx='108' cy='100' r='2.5' fill='%2334d399' fill-opacity='0.45'/%3E%3Ccircle cx='120' cy='128' r='2.2' fill='%23c084fc' fill-opacity='0.4'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size: 160px 160px, 80px 80px, 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 38%, transparent 94%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 38%, transparent 94%);
  animation: gridFloat 24s linear infinite;
}

.bg-grid::before,
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-grid::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none'%3E%3Cpath d='M18 36L88 94L168 48L222 118M88 94L62 186L154 206L222 118M168 48L154 206' stroke='%23c084fc' stroke-opacity='0.18' stroke-width='1' stroke-dasharray='4 6'/%3E%3Ccircle cx='18' cy='36' r='2.4' fill='%23c084fc' fill-opacity='0.5'/%3E%3Ccircle cx='88' cy='94' r='3.2' fill='%23a855f7' fill-opacity='0.6'/%3E%3Ccircle cx='168' cy='48' r='2.8' fill='%23c084fc' fill-opacity='0.55'/%3E%3Ccircle cx='222' cy='118' r='2.6' fill='%2334d399' fill-opacity='0.45'/%3E%3Ccircle cx='62' cy='186' r='2.4' fill='%23a855f7' fill-opacity='0.48'/%3E%3Ccircle cx='154' cy='206' r='3' fill='%23c084fc' fill-opacity='0.5'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: circuitDriftReverse 34s linear infinite;
}

.bg-grid::after {
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(192, 132, 252, 0.08) 46%,
    rgba(168, 85, 247, 0.14) 50%,
    rgba(52, 211, 153, 0.06) 54%,
    transparent 65%
  );
  background-size: 220% 220%;
  animation: techPulseSweep 9s ease-in-out infinite;
}

.bg-nodes {
  position: absolute;
  inset: 0;
}

.bg-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px 3px rgba(192, 132, 252, 0.72);
  animation: nodeAscend 14s linear infinite;
  opacity: 0;
}

.bg-node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1.5px;
  height: 44px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.65), transparent);
}

.bg-node:nth-child(1) { left: 10%; animation-duration: 13s; animation-delay: 0s; }
.bg-node:nth-child(2) { left: 22%; animation-duration: 17s; animation-delay: 2.5s; width: 4px; height: 4px; }
.bg-node:nth-child(3) { left: 37%; animation-duration: 15s; animation-delay: 5s; background: var(--accent-emerald); }
.bg-node:nth-child(4) { left: 54%; animation-duration: 19s; animation-delay: 1s; width: 5px; height: 5px; }
.bg-node:nth-child(5) { left: 68%; animation-duration: 14s; animation-delay: 4s; }
.bg-node:nth-child(6) { left: 82%; animation-duration: 16s; animation-delay: 7s; background: var(--accent-sky); }
.bg-node:nth-child(7) { left: 92%; animation-duration: 18s; animation-delay: 3s; width: 4px; height: 4px; }

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

@keyframes auroraDriftTwo {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(-100px, -55px, 0) scale(0.92); }
}

@keyframes auroraDriftThree {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, -70px, 0) scale(1.12); }
}

@keyframes gridFloat {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(160px, 160px, 0); }
}

@keyframes circuitDriftReverse {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-240px, -240px, 0); }
}

@keyframes techPulseSweep {
  0% { background-position: 160% 160%; opacity: 0.35; }
  50% { opacity: 0.9; }
  100% { background-position: -60% -60%; opacity: 0.35; }
}

@keyframes nodeAscend {
  0% { transform: translate3d(0, 102vh, 0) scale(0.7); opacity: 0; }
  12% { opacity: 0.75; }
  85% { opacity: 0.55; }
  100% { transform: translate3d(24px, -10vh, 0) scale(1.15); opacity: 0; }
}

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

@media (prefers-reduced-motion: reduce) {
  .bg-aurora,
  .bg-grid,
  .bg-grid::before,
  .bg-grid::after,
  .bg-node,
  .live-dot {
    animation: none !important;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 20, 0.76);
  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: 16px;
  min-height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--text-primary);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
}

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

.site-nav a.active {
  font-weight: 700;
  border-bottom: 2px solid var(--accent-cyan);
}

.page-hero {
  padding: 48px 0 18px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.25;
}

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

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

/* =========================================================
   Buttons & CTAs
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(147, 51, 234, 0.55);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(168, 85, 247, 0.68);
}

.btn-secondary {
  background: rgba(15, 27, 49, 0.78);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

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

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

.btn-block {
  width: 100%;
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
  padding: 64px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.36);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

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

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

.hero-desc {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
}

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

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

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

.metric-chip strong {
  display: block;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  line-height: 1.2;
}

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

/* Telemetry Panel */
.telemetry-card {
  background: linear-gradient(160deg, rgba(25, 19, 54, 0.88) 0%, rgba(12, 9, 28, 0.92) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
}

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

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

.telemetry-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--accent-emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.node-meter-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.node-meter {
  display: grid;
  grid-template-columns: 92px 1fr 56px;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}

.node-name {
  color: var(--text-secondary);
  font-weight: 600;
}

.meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
}

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

.node-ping {
  text-align: right;
  font-weight: 700;
  color: var(--accent-emerald);
  font-variant-numeric: tabular-nums;
}

.telemetry-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-tag {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.26);
  color: var(--text-secondary);
}

/* =========================================================
   Sections & Headings
   ========================================================= */
.section {
  padding: 56px 0;
}

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

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.28;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* =========================================================
   Pricing Row (Strictly Same Row on Desktop)
   ========================================================= */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

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

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}

.price-card--featured {
  background: linear-gradient(180deg, rgba(38, 20, 74, 0.95) 0%, rgba(16, 11, 36, 0.95) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.4), var(--shadow-glow);
}

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

.price-tier {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 4px 0 4px;
}

.price-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  min-height: 2.2em;
}

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

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

.price-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

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

.price-alt {
  font-size: 0.74rem;
  color: var(--accent-emerald);
  margin-bottom: 16px;
  min-height: 2.3em;
}

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

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

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

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

/* =========================================================
   Feature Cards, Region Matrix & GEO Table
   ========================================================= */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

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

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

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.34);
  color: var(--accent-cyan);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  color: var(--text-primary);
}

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

.region-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.region-pill strong {
  color: var(--text-primary);
}

.geo-box {
  background: linear-gradient(145deg, rgba(24, 16, 52, 0.9), rgba(12, 9, 30, 0.92));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(11, 9, 26, 0.8);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9rem;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-cyan);
  font-weight: 700;
}

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

/* =========================================================
   Articles Grid & Article Page Styles
   ========================================================= */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

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

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

.tag {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--accent-cyan);
  border: 1px solid rgba(192, 132, 252, 0.28);
}

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

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

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

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

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

/* Single Article Layout */
.article-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

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

.article-body {
  background: var(--bg-surface-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.article-body h1 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.32;
}

.article-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-summary-box {
  background: rgba(168, 85, 247, 0.1);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.article-body h2 {
  margin: 28px 0 12px;
  font-size: 1.32rem;
  color: var(--accent-cyan);
}

.article-body h3 {
  margin: 20px 0 10px;
  font-size: 1.08rem;
  color: var(--text-primary);
}

.article-body p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  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;
}

.article-cta-banner {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(19, 15, 42, 0.92));
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-nav-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.jump-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.jump-card:hover {
  border-color: var(--accent-cyan);
}

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

.jump-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* =========================================================
   Reviews & Pure CSS FAQ Accordion
   ========================================================= */
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

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

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

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

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  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-strong);
}

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

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

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

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

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-top: 1px solid rgba(168, 85, 247, 0.14);
  padding-top: 12px;
}

/* =========================================================
   Outbound Links & Footer
   ========================================================= */
.ext-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ext-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

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

.ext-link-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 8, 17, 0.88);
  padding: 36px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
}

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

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 1120px) {
  .pricing-row {
    grid-template-columns: repeat(5, minmax(195px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3,
  .ext-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 14px;
    padding-top: 6px;
    border-top: 1px solid rgba(168, 85, 247, 0.14);
  }
  .site-nav a {
    white-space: nowrap;
    font-size: 0.86rem;
  }
}

@media (max-width: 620px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .ext-links-grid,
  .article-nav-jump {
    grid-template-columns: 1fr;
  }
  .article-body {
    padding: 22px 18px;
  }
}
