/* ==========================================================================
   article.css — Neodustria Premium Article Pages
   Namespace: art-* for new components; overrides article-* from style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT TOKENS
   -------------------------------------------------------------------------- */
:root {
  --art-bg:        #02050A;
  --accent-blue:   #005dba;  /* override legacy teal */
  --art-blue:      #005dba;
  --art-blue-glow: rgba(22, 139, 255, 0.80);  /* visible accent for icons/borders/dots */
  --art-muted:     rgba(169, 184, 200, 0.88);
  --art-border:    rgba(22, 139, 255, 0.18);
  --art-border2:   rgba(22, 139, 255, 0.36);
  --art-card-bg:   rgba(4, 10, 24, 0.95);
}

/* --------------------------------------------------------------------------
   2. ARTICLE HEADER — premium dark navy
   -------------------------------------------------------------------------- */
.article-header {
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 80% 30%, rgba(22, 139, 255, 0.12), transparent 42%),
    radial-gradient(circle at 20% 60%, rgba(22, 139, 255, 0.06), transparent 38%),
    #02050A;
  border-bottom: 1px solid rgba(22, 139, 255, 0.12);
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(22, 139, 255, 0.10);
  border: 1px solid rgba(22, 139, 255, 0.30);
  color: rgba(22, 139, 255, 0.80);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 20px;
  margin-bottom: 24px;
}

.article-title {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: #ffffff;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 13px;
  color: rgba(169, 184, 200, 0.65);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.article-meta-item i {
  color: rgba(22, 139, 255, 0.80);
  font-size: 12px;
}

.article-excerpt {
  font-size: 17px;
  line-height: 1.75;
  color: var(--art-muted);
  max-width: 760px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. HERO IMAGE FRAME — blue technical frame with HUD corners
   -------------------------------------------------------------------------- */
.article-featured-image {
  position: relative;
  border-radius: 14px;
  overflow: visible;
}

.article-featured-image::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.45), rgba(22, 139, 255, 0.20), rgba(22, 139, 255, 0.10));
  z-index: 0;
  pointer-events: none;
}

.article-featured-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(0deg, transparent 60%, rgba(22, 139, 255, 0.06) 100%);
  background-size: 100% 6px;
  pointer-events: none;
  z-index: 2;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 13px !important;
  border: 1px solid rgba(22, 139, 255, 0.35) !important;
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(0.92) saturate(0.95);
  box-shadow:
    0 0 0 1px rgba(22, 139, 255, 0.18),
    0 8px 48px rgba(22, 139, 255, 0.16),
    0 24px 80px rgba(0, 0, 0, 0.55);
}

/* HUD corner brackets */
.article-featured-image .ahf-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}

.article-featured-image .ahf-corner--tl {
  top: 8px; left: 8px;
  border-top: 2px solid rgba(22, 139, 255, 0.80);
  border-left: 2px solid rgba(22, 139, 255, 0.80);
  border-radius: 2px 0 0 0;
}

.article-featured-image .ahf-corner--tr {
  top: 8px; right: 8px;
  border-top: 2px solid rgba(22, 139, 255, 0.80);
  border-right: 2px solid rgba(22, 139, 255, 0.80);
  border-radius: 0 2px 0 0;
}

.article-featured-image .ahf-corner--bl {
  bottom: 8px; left: 8px;
  border-bottom: 2px solid rgba(22, 139, 255, 0.80);
  border-left: 2px solid rgba(22, 139, 255, 0.80);
  border-radius: 0 0 0 2px;
}

.article-featured-image .ahf-corner--br {
  bottom: 8px; right: 8px;
  border-bottom: 2px solid rgba(22, 139, 255, 0.80);
  border-right: 2px solid rgba(22, 139, 255, 0.80);
  border-radius: 0 0 2px 0;
}

/* --------------------------------------------------------------------------
   4. SECTION SEPARATOR
   -------------------------------------------------------------------------- */
.neo-section-separator {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.neo-section-separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(22, 139, 255, 0.25) 20%,
    rgba(22, 139, 255, 0.50) 50%,
    rgba(22, 139, 255, 0.25) 80%,
    transparent 100%
  );
  transform: translateY(-50%);
}

.neo-sep-node {
  position: relative;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(22, 139, 255, 0.80);
  box-shadow:
    0 0 0 3px rgba(22, 139, 255, 0.12),
    0 0 14px rgba(22, 139, 255, 0.55);
  animation: neo-sep-pulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

.neo-sep-tick {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 8px;
  background: rgba(22, 139, 255, 0.35);
  border-radius: 1px;
}

.neo-sep-tick:nth-child(2) { left: calc(50% - 40px); }
.neo-sep-tick:nth-child(3) { left: calc(50% - 24px); }
.neo-sep-tick:nth-child(4) { right: calc(50% - 24px); }
.neo-sep-tick:nth-child(5) { right: calc(50% - 40px); }

@keyframes neo-sep-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 139, 255, 0.12), 0 0 14px rgba(22, 139, 255, 0.55); }
  50%       { box-shadow: 0 0 0 5px rgba(22, 139, 255, 0.06), 0 0 28px rgba(22, 139, 255, 0.80); }
}

/* --------------------------------------------------------------------------
   5. ARTICLE CONTENT SECTION
   -------------------------------------------------------------------------- */
.article-content {
  padding: 72px 0 0;
  background: #02050A;
}

/* --------------------------------------------------------------------------
   6. ARTICLE BODY — premium typography
   -------------------------------------------------------------------------- */
.article-body {
  max-width: none;
  margin: 0;
}

.article-body h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  margin: 64px 0 22px;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-body h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  margin: 40px 0 16px;
  color: rgba(220, 230, 242, 0.92);
  letter-spacing: -0.01em;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: rgba(169, 184, 200, 0.88);
  letter-spacing: 0;
}

.article-body p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 22px;
  color: var(--art-muted);
}

.article-body ul,
.article-body ol {
  margin: 22px 0;
  padding-left: 0;
  list-style: none;
}

.article-body li {
  font-size: 16px;
  line-height: 1.80;
  margin-bottom: 12px;
  color: var(--art-muted);
  padding-left: 22px;
  position: relative;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(22, 139, 255, 0.80);
  box-shadow: 0 0 6px rgba(22, 139, 255, 0.55);
}

.article-body ol {
  counter-reset: art-counter;
}

.article-body ol li {
  counter-increment: art-counter;
}

.article-body ol li::before {
  content: counter(art-counter);
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(22, 139, 255, 0.80);
  text-align: left;
}

.article-body strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.article-body a {
  color: var(--art-blue);
  text-decoration: underline;
  text-decoration-color: rgba(22, 139, 255, 0.35);
  text-underline-offset: 3px;
  transition: color 0.3s, text-decoration-color 0.3s;
}

.article-body a:hover {
  color: rgba(22, 139, 255, 0.80);
  text-decoration-color: rgba(22, 139, 255, 0.55);
}

/* --------------------------------------------------------------------------
   7. HIGHLIGHT BOX — premium callout
   -------------------------------------------------------------------------- */
.highlight-box {
  background: rgba(4, 10, 24, 0.90);
  border-left: 3px solid rgba(22, 139, 255, 0.80);
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(22, 139, 255, 0.10),
    0 0 32px rgba(22, 139, 255, 0.06);
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(22, 139, 255, 0.80), transparent 60%);
  opacity: 0.45;
}

.highlight-box p {
  color: rgba(255, 255, 255, 0.90);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  line-height: 1.70;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   8. STATS GRID — premium KPI cards
   -------------------------------------------------------------------------- */
.stats-grid,
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card,
.kpi-card {
  background: rgba(4, 10, 24, 0.95);
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid rgba(22, 139, 255, 0.20);
  text-align: center;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  position: relative;
  overflow: hidden;
}

.stat-card::before,
.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--art-blue), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.stat-card:hover,
.kpi-card:hover {
  border-color: rgba(22, 139, 255, 0.45);
  box-shadow: 0 0 28px rgba(22, 139, 255, 0.14);
  transform: translateY(-3px);
}

.stat-card:hover::before,
.kpi-card:hover::before {
  opacity: 1;
}

.stat-number,
.kpi-number {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--art-blue);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label,
.kpi-label {
  font-size: 13px;
  color: rgba(169, 184, 200, 0.70);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   9. PHASE / STEP CARDS
   -------------------------------------------------------------------------- */
.phase-grid {
  display: grid;
  gap: 20px;
  margin: 40px 0;
}

.phase-card {
  background: rgba(4, 10, 24, 0.92);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(22, 139, 255, 0.16);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}

.phase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--art-blue), rgba(22, 139, 255, 0.80), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.phase-card:hover {
  border-color: rgba(22, 139, 255, 0.38);
  box-shadow: 0 0 24px rgba(22, 139, 255, 0.10);
}

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

.phase-card h3 {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.phase-card h4 {
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 8px;
  color: rgba(220, 230, 242, 0.85);
}

.phase-card ul {
  margin: 8px 0 0 0;
  padding-left: 0;
  list-style: none;
}

.phase-card li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  color: var(--art-muted);
}

.phase-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(22, 139, 255, 0.80);
  box-shadow: 0 0 5px rgba(22, 139, 255, 0.45);
}

/* --------------------------------------------------------------------------
   10. COMPARISON TABLE — premium dark
   -------------------------------------------------------------------------- */
.comparison-table {
  margin: 36px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(22, 139, 255, 0.18);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead tr {
  background: rgba(22, 139, 255, 0.10);
  border-bottom: 1px solid rgba(22, 139, 255, 0.22);
}

.comparison-table th {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  text-align: left;
}

.comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--art-muted);
  border-bottom: 1px solid rgba(22, 139, 255, 0.08);
  vertical-align: top;
}

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

.comparison-table tbody tr:nth-child(even) {
  background: rgba(22, 139, 255, 0.03);
}

.comparison-table tbody tr:hover {
  background: rgba(22, 139, 255, 0.06);
}

.comparison-table td div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comparison-table td div i {
  color: rgba(22, 139, 255, 0.80);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   11. ARTICLE IN-LINE CTA — replaces gray article-cta
   -------------------------------------------------------------------------- */
.article-cta {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(22, 139, 255, 0.12), transparent 55%),
    rgba(4, 10, 24, 0.95);
  padding: 48px 52px;
  border-radius: 16px;
  border: 1px solid rgba(22, 139, 255, 0.22);
  text-align: center;
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(22, 139, 255, 0.06), transparent);
  background-size: 200% 100%;
  animation: art-cta-sweep 3.5s linear infinite;
  pointer-events: none;
}

@keyframes art-cta-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.article-cta h3 {
  color: #ffffff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.article-cta p {
  color: var(--art-muted);
  font-size: 15px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #168BFF 0%, #0B5CFF 100%);
  border: 1px solid rgba(22, 139, 255, 0.40);
  color: #fff;
  padding: 13px 32px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 139, 255, 0.35);
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. ARTICLE NAVIGATION — back to Insights Library
   -------------------------------------------------------------------------- */
.article-navigation {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(22, 139, 255, 0.14);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(169, 184, 200, 0.75);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s, gap 0.3s;
}

.nav-link i {
  color: rgba(22, 139, 255, 0.80);
  transition: transform 0.3s;
}

.nav-link:hover {
  color: #ffffff;
  gap: 14px;
}

.nav-link:hover i {
  transform: translateX(-3px);
}

/* --------------------------------------------------------------------------
   13. NEO FINAL CTA — full-width premium CTA replacing ctas2 at article end
   -------------------------------------------------------------------------- */
.neo-final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 680px 480px at 65% 50%, rgba(22, 139, 255, 0.10), transparent 65%),
    radial-gradient(ellipse 400px 360px at 20% 50%, rgba(22, 139, 255, 0.05), transparent 70%),
    #02050A;
  padding: 84px 0 88px;
  border-top: 1px solid rgba(22, 139, 255, 0.12);
}

.neo-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(22, 139, 255, 0.04), transparent);
  background-size: 200% 100%;
  animation: neo-final-sweep 5s linear infinite;
  pointer-events: none;
}

@keyframes neo-final-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.neo-final-cta__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.neo-final-cta__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.neo-final-cta__eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(22, 139, 255, 0.80);
  margin-bottom: 18px;
}

.neo-final-cta__title {
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.neo-final-cta__desc {
  font-size: 15px;
  color: var(--art-muted);
  line-height: 1.72;
  margin: 0 0 32px;
  max-width: 440px;
}

.neo-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.neo-final-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #168BFF 0%, #0B5CFF 100%);
  border: 1px solid rgba(22, 139, 255, 0.40);
  border-radius: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.neo-final-cta__btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 139, 255, 0.35);
  color: #fff;
}

.neo-final-cta__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  color: var(--art-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.neo-final-cta__btn-ghost:hover {
  border-color: var(--art-blue);
  color: #ffffff;
}

.neo-final-cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.neo-final-cta__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(169, 184, 200, 0.60);
  letter-spacing: 0.04em;
}

.neo-final-cta__trust-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(22, 139, 255, 0.80);
  box-shadow: 0 0 6px rgba(22, 139, 255, 0.70);
  flex-shrink: 0;
}

/* Visual side — orb */
.neo-final-cta__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.neo-final-cta__orb-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.neo-final-cta__orb-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.22), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.neo-final-cta__orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(22, 139, 255, 0.22);
  animation: neo-orb-spin 12s linear infinite;
}

.neo-final-cta__orb-ring:nth-child(3) {
  inset: 14%;
  border-color: rgba(22, 139, 255, 0.18);
  animation-duration: 8s;
  animation-direction: reverse;
}

.neo-final-cta__orb-ring:nth-child(4) {
  inset: 28%;
  border-color: rgba(22, 139, 255, 0.28);
  animation-duration: 5s;
}

.neo-final-cta__orb-core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.35), rgba(22, 139, 255, 0.15));
  box-shadow:
    0 0 0 1px rgba(22, 139, 255, 0.35),
    0 0 24px rgba(22, 139, 255, 0.35);
  animation: neo-orb-pulse 3s ease-in-out infinite;
}

@keyframes neo-orb-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes neo-orb-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.06); }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .neo-final-cta__layout {
    grid-template-columns: 1fr;
  }

  .neo-final-cta__visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .article-header {
    padding: 100px 0 60px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-cta {
    padding: 36px 28px;
  }

  .article-body h2 {
    margin-top: 48px;
    font-size: 22px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .stats-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .neo-final-cta {
    padding: 60px 0 64px;
  }

  .neo-final-cta__actions {
    flex-direction: column;
  }

  .neo-final-cta__btn-primary,
  .neo-final-cta__btn-ghost {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table table {
    min-width: 480px;
  }
}

/* --------------------------------------------------------------------------
   15. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .neo-sep-node,
  .article-cta::before,
  .neo-final-cta::before,
  .neo-final-cta__orb-ring,
  .neo-final-cta__orb-core {
    animation: none !important;
  }

  .stat-card,
  .kpi-card,
  .phase-card,
  .article-featured-image img,
  .cta-button,
  .neo-final-cta__btn-primary,
  .neo-final-cta__btn-ghost,
  .nav-link {
    transition: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   16. AUTHOR IDENTITY BLOCK — premium circular team image
   -------------------------------------------------------------------------- */
.art-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 0;
  padding: 10px 18px 10px 10px;
  background: rgba(4, 10, 24, 0.85);
  border: 1px solid rgba(22, 139, 255, 0.22);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(22, 139, 255, 0.08), 0 4px 24px rgba(0, 0, 0, 0.40);
}

.art-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(22, 139, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(22, 139, 255, 0.10),
    0 0 18px rgba(22, 139, 255, 0.28);
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(4, 10, 24, 0.95);
}

.art-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.art-author-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.art-author-role {
  font-size: 10px;
  font-weight: 700;
  color: rgba(22, 139, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.2;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   17. HIDE ARTICLE-CATEGORY (top tag) on detail pages — remove via HTML
       keeping CSS stub to prevent residual layout shift if present
   -------------------------------------------------------------------------- */
.article-category {
  display: none !important;
}

/* --------------------------------------------------------------------------
   18. IMPROVED ARTICLE HEADER — tighter, stronger hierarchy
   -------------------------------------------------------------------------- */
.article-header {
  padding: 160px 0 72px;
  background:
    radial-gradient(circle at 75% 25%, rgba(22, 139, 255, 0.14), transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(0, 93, 186, 0.08), transparent 42%),
    #02050A;
  border-bottom: 1px solid rgba(22, 139, 255, 0.12);
  position: relative;
  overflow: hidden;
}

/* Subtle animated grid overlay */
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 139, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 139, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   19. IMPROVED CARDS — stronger dark glass
   -------------------------------------------------------------------------- */
.stat-card,
.kpi-card {
  background: rgba(3, 8, 22, 0.96);
  border: 1px solid rgba(22, 139, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(22, 139, 255, 0.08);
}

.stat-card:hover,
.kpi-card:hover {
  border-color: rgba(22, 139, 255, 0.50);
  box-shadow:
    0 0 32px rgba(22, 139, 255, 0.12),
    inset 0 1px 0 rgba(22, 139, 255, 0.12);
}

.stat-number,
.kpi-number {
  color: #ffffff;
  text-shadow: 0 0 24px rgba(22, 139, 255, 0.30);
}

.phase-card {
  background: rgba(3, 8, 22, 0.94);
  border: 1px solid rgba(22, 139, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(22, 139, 255, 0.06);
}

.phase-card:hover {
  border-color: rgba(22, 139, 255, 0.42);
  box-shadow:
    0 0 28px rgba(22, 139, 255, 0.10),
    inset 0 1px 0 rgba(22, 139, 255, 0.10);
}

.highlight-box {
  background: rgba(3, 8, 22, 0.95);
  border-left: 3px solid rgba(22, 139, 255, 0.70);
  box-shadow:
    inset 0 0 0 1px rgba(22, 139, 255, 0.10),
    0 0 40px rgba(22, 139, 255, 0.06),
    0 0 0 0 transparent;
}

/* --------------------------------------------------------------------------
   20. IMPROVED INLINE ICON COLORS in article body headings
   -------------------------------------------------------------------------- */
.article-body h2 i,
.article-body h3 i {
  color: rgba(22, 139, 255, 0.80) !important;
  filter: drop-shadow(0 0 6px rgba(22, 139, 255, 0.40));
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE additions
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .article-header {
    padding: 120px 0 56px;
  }

  .art-author {
    padding: 8px 14px 8px 8px;
  }

  .art-author-img {
    width: 40px;
    height: 40px;
  }

  .art-author-name {
    font-size: 12px;
  }

  .art-author-role {
    font-size: 9.5px;
  }
}

@media (max-width: 480px) {
  .article-header {
    padding: 100px 0 48px;
  }
}
