/* ==========================================================================
   Nexitally (nexitally-jc.sbs) - Pure Native CSS Design System
   Zero external frameworks, zero blocking JS, instant first-paint performance
   ========================================================================== */

:root {
  --bg-base: #2a2685;
  --bg-elevated: rgba(24, 20, 88, 0.76);
  --bg-card: rgba(20, 17, 74, 0.72);
  --bg-card-hover: rgba(30, 26, 102, 0.86);
  --border-subtle: rgba(199, 210, 254, 0.18);
  --border-glow: rgba(129, 140, 248, 0.55);

  --text-primary: #ffffff;
  --text-secondary: #e0e7ff;
  --text-muted: #c7d2fe;

  --accent-cyan: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-purple: #c084fc;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;

  --grad-brand: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --grad-cta: linear-gradient(135deg, #0ea5e9 0%, #6366f1 55%, #a855f7 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 45px rgba(2, 6, 23, 0.55);
  --shadow-glow: 0 10px 32px rgba(99, 102, 241, 0.35);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  font-size: 14.5px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: transparent;
  overflow-x: clip;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   Dynamic Pure-CSS Animated Background (Aurora + Cyber Grid + Starfield + Beam)
   ========================================================================== */
.dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #3731a8 0%, #2a2685 55%, #1d1a64 100%);
}

.dynamic-bg::before,
.dynamic-bg::after {
  content: "";
  position: absolute;
  inset: -100px;
  background-repeat: repeat;
  pointer-events: none;
}

.dynamic-bg::before {
  background-image:
    radial-gradient(1.5px 1.5px at 24px 36px, rgba(224, 242, 254, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 96px 140px, rgba(165, 180, 252, 0.65), transparent),
    radial-gradient(2px 2px at 170px 72px, rgba(56, 189, 248, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 230px 190px, rgba(244, 114, 182, 0.5), transparent);
  background-size: 260px 260px;
  animation: starDrift 36s linear infinite;
  opacity: 0.55;
}

.dynamic-bg::after {
  background-image:
    radial-gradient(2px 2px at 50px 80px, rgba(56, 189, 248, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 140px 20px, rgba(192, 132, 252, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, rgba(255, 255, 255, 0.55), transparent);
  background-size: 220px 220px;
  animation: starTwinkle 6s ease-in-out infinite alternate;
  opacity: 0.45;
}

.dynamic-bg__grid {
  position: absolute;
  inset: -56px;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(129, 140, 248, 0.085) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 40%, transparent 100%);
  animation: gridDrift 16s linear infinite;
}

.dynamic-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.62;
  will-change: transform, opacity;
}

.dynamic-bg__orb--1 {
  width: 600px;
  height: 600px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42), rgba(79, 70, 229, 0.18) 55%, transparent 72%);
  animation: orbFloatA 12s ease-in-out infinite alternate;
}

.dynamic-bg__orb--2 {
  width: 660px;
  height: 660px;
  top: 12%;
  right: -180px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.38), rgba(99, 102, 241, 0.16) 55%, transparent 72%);
  animation: orbFloatB 15s ease-in-out infinite alternate;
}

.dynamic-bg__orb--3 {
  width: 560px;
  height: 560px;
  bottom: -160px;
  left: 24%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.44), rgba(56, 189, 248, 0.14) 55%, transparent 72%);
  animation: orbFloatC 17s ease-in-out infinite alternate;
}

.dynamic-bg__beam {
  position: absolute;
  top: -12%;
  left: 50%;
  width: 150%;
  height: 460px;
  transform: translateX(-50%) rotate(-9deg);
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.16), rgba(192, 132, 252, 0.18), transparent);
  filter: blur(42px);
  animation: beamSweep 9s ease-in-out infinite alternate;
}

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

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

@keyframes starTwinkle {
  0% { opacity: 0.25; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.04); }
}

@keyframes orbFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.48; }
  100% { transform: translate3d(180px, 110px, 0) scale(1.22); opacity: 0.72; }
}

@keyframes orbFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1.08); opacity: 0.45; }
  100% { transform: translate3d(-190px, -95px, 0) scale(0.9); opacity: 0.68; }
}

@keyframes orbFloatC {
  0% { transform: translate3d(0, 0, 0) scale(0.95); opacity: 0.44; }
  100% { transform: translate3d(130px, -130px, 0) scale(1.18); opacity: 0.66; }
}

@keyframes beamSweep {
  0% { transform: translateX(-58%) rotate(-10deg); opacity: 0.45; }
  100% { transform: translateX(-42%) rotate(-4deg); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .dynamic-bg::before,
  .dynamic-bg::after,
  .dynamic-bg__grid,
  .dynamic-bg__orb,
  .dynamic-bg__beam {
    animation: none;
  }
}

/* ==========================================================================
   Layout Container & Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 3.1rem;
  position: relative;
}

.section--compact {
  padding-block: 1.8rem;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 1.9rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 0.9rem;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.5);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.26);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.56rem 1.05rem;
  font-size: 0.875rem;
  border-radius: 10px;
}

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

/* ==========================================================================
   Sticky Top Header & Left Logo + CSS-only Mobile Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(24, 20, 88, 0.94);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo__svg {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(99, 102, 241, 0.35));
}

.brand-logo__badge {
  position: absolute;
  top: 1px;
  left: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  height: 16px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(129, 140, 248, 0.34));
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.25);
  pointer-events: none;
}

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

.brand-logo__name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 15%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-logo__tag {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1.35rem;
    background: rgba(24, 20, 88, 0.97);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links a {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-actions .btn--ghost {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-block: 2.25rem 2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero__title {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.hero__subtitle {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  max-width: 600px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

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

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

.metric-chip__val {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.metric-chip__lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Hero Telemetry Visual Card */
.telemetry-card {
  background: linear-gradient(160deg, rgba(24, 21, 90, 0.88), rgba(16, 14, 64, 0.92));
  border: 1px solid rgba(165, 180, 252, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.telemetry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-brand);
}

.telemetry-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.95rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-card__title {
  font-size: 0.92rem;
  font-weight: 700;
}

.status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.node-meter {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.node-meter__row {
  display: grid;
  grid-template-columns: 110px 1fr 54px;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.84rem;
}

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

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

.node-meter__bar {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-brand);
}

.node-meter__ms {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

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

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

/* ==========================================================================
   GEO Executive Summary Strip
   ========================================================================== */
.geo-summary {
  background: rgba(20, 17, 74, 0.76);
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.geo-summary__badge {
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  white-space: nowrap;
}

.geo-summary__text {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.geo-summary__text strong {
  color: var(--text-primary);
}

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

/* ==========================================================================
   Pricing Section — STRICTLY ALL 4 PLANS IN ONE ROW ON DESKTOP
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

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

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(129, 140, 248, 0.5);
  background: var(--bg-card-hover);
}

.price-card--featured {
  background: linear-gradient(175deg, rgba(49, 44, 150, 0.92), rgba(24, 20, 88, 0.94));
  border: 1.5px solid #a5b4fc;
  box-shadow: 0 20px 50px rgba(15, 12, 58, 0.45);
}

.price-card__ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

.price-card__type {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
}

.price-card__name {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.price-card__subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 2.5em;
  margin-bottom: 0.8rem;
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

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

.price-card__num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-mono);
  color: #ffffff;
}

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

.price-card__cycles {
  font-size: 0.76rem;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 0.36rem 0.55rem;
  margin-bottom: 0.9rem;
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.price-card__check {
  color: var(--accent-emerald);
  font-weight: 800;
  flex-shrink: 0;
}

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

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

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

/* ==========================================================================
   Feature Grid, Nodes & Clients
   ========================================================================== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

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

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

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

.feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.feature-card__title {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Region Tags */
.region-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(20, 17, 74, 0.78);
  border: 1px solid var(--border-subtle);
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.region-pill strong {
  color: #fff;
}

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

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table thead th {
  background: rgba(99, 102, 241, 0.12);
  color: #fff;
  font-weight: 700;
}

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

.compare-table .highlight-col {
  color: var(--accent-cyan);
  font-weight: 600;
}

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

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

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

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

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

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.58rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.article-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

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

.article-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.article-card__more {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-indigo);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-card__more:hover {
  color: var(--accent-cyan);
}

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

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

/* ==========================================================================
   User Reviews Section
   ========================================================================== */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.review-card__stars {
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.review-card__quote {
  font-size: 0.91rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

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

.review-card__name {
  font-weight: 700;
  color: #fff;
}

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

/* ==========================================================================
   Pure HTML/CSS FAQ Accordion (<details> / <summary>)
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.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: rgba(129, 140, 248, 0.5);
}

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

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

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

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

.faq-item__body {
  padding: 0 1.3rem 1.15rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 0.9rem;
}

/* ==========================================================================
   Outbound Links & Footer
   ========================================================================== */
.ext-links-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.ext-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ext-link-item {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.ext-link-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
}

.ext-link-item__title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.ext-link-item__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

@media (max-width: 520px) {
  .ext-links-grid {
    grid-template-columns: 1fr;
  }
}

.cta-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.cta-banner__desc {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 1.45rem;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.5rem;
  background: rgba(22, 18, 78, 0.88);
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

.footer-col h4 {
  color: #fff;
  font-size: 0.94rem;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
}

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

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

/* ==========================================================================
   Standalone Article Page Layout
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

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

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.1rem;
  box-shadow: var(--shadow-card);
}

.article-header {
  padding-bottom: 1.4rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-header h1 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.3;
  font-weight: 800;
  margin: 0.75rem 0 0.9rem;
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.tldr-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.8rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.tldr-box strong {
  color: #fff;
}

.article-body h2 {
  font-size: 1.32rem;
  font-weight: 800;
  color: #fff;
  margin: 2rem 0 0.8rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent-indigo);
}

.article-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 1.35rem 0 0.55rem;
}

.article-body p {
  margin-bottom: 1.05rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.article-body ul,
.article-body ol {
  margin: 0.75rem 0 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a.btn {
  text-decoration: none;
  color: #fff;
}

.article-cta-box {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(129, 140, 248, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.article-nav {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.article-nav__link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.article-nav__link:hover {
  border-color: var(--accent-cyan);
}

.article-nav__dir {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.article-nav__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 92px;
}

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

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sidebar-links a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.sidebar-links a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .article-main {
    padding: 1.5rem 1.25rem;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
}
