/* ==========================================================================
   LUCA77 — Midnight Cockpit & Radiant Amber Editorial System
   Exact Prototype Parity: #0C0E1F / #131730 / #1A2042 / #F49701 / #FFFFFF
   ========================================================================== */

:root {
  --bg-primary: #0C0E1F;
  --bg-footer: #090B1A;
  --surface-1: #131730;
  --surface-2: #1A2042;
  --surface-glass: rgba(12, 14, 31, 0.92);
  --accent: #F49701;
  --accent-hover: #FFB938;
  --accent-deep: #C97200;
  --accent-soft: rgba(244, 151, 1, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-amber: rgba(244, 151, 1, 0.36);
  --text-primary: #FFFFFF;
  --text-body: #E6ECF8;
  --text-muted: #9AA6C7;
  --cta-dark: #0C0E1F;
  --success: #22C55E;
  --radius-card: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --max-width: 1220px;
  --header-h: 72px;
  --font-heading: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color: var(--text-body);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.82;
  background: var(--bg-primary);
  color: var(--text-body);
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}
main, section, footer { max-width: 100%; overflow-x: clip; }
.hero-grid > *,
.editorial-layout > *,
.cat-2col > *,
.article-2col > *,
.cat-hero-banner > *,
.article-hero > *,
.h-article-card > * {
  min-width: 0;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1.15rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
li { margin-bottom: 0.5rem; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.accent-text { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* ================= HEADER & READING PROGRESS ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(244, 151, 1, 0.28));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 500;
  color: #E2E8F8;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.main-nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.05); }
.main-nav a.active { color: var(--accent); font-weight: 600; background: rgba(244, 151, 1, 0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1.5px); }
.btn-primary {
  background: linear-gradient(135deg, #FFB01F 0%, #F49701 60%, #DC8000 100%);
  color: var(--cta-dark);
  box-shadow: 0 6px 20px rgba(244, 151, 1, 0.34);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #FFC34D 0%, #FFA514 100%);
  color: var(--cta-dark);
  box-shadow: 0 8px 26px rgba(244, 151, 1, 0.48);
}
.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.38);
}
.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(244, 151, 1, 0.08);
}
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--border-amber);
  background: var(--surface-1);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.reading-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  box-shadow: 0 0 10px rgba(244, 151, 1, 0.65);
  transition: width 0.08s linear;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 6, 16, 0.78);
  backdrop-filter: blur(4px);
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--surface-1);
  border-left: 1px solid var(--border-amber);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  color: #FFFFFF;
  font-size: 20px;
  cursor: pointer;
}
.mobile-drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-drawer-nav a {
  font-family: var(--font-heading);
  color: #FFFFFF;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.mobile-drawer-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mobile-drawer-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-subtle); }

/* ================= HOMEPAGE SPLIT-STAGE HERO (PROTOTYPE 01) ================= */
.hero-section {
  position: relative;
  padding: 54px 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 38%, rgba(244, 151, 1, 0.14) 0%, rgba(12, 14, 31, 0) 54%),
    radial-gradient(circle at 14% 18%, rgba(36, 48, 108, 0.34) 0%, rgba(12, 14, 31, 0) 50%),
    var(--bg-primary);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 36px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-amber);
  background: rgba(244, 151, 1, 0.1);
  color: var(--accent-hover);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero-title {
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 18px;
  color: #FFFFFF;
}
.hero-lead {
  font-size: 1.08rem;
  color: #CFD8EE;
  max-width: 560px;
  margin-bottom: 26px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: #D2DCF2;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.4px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-visual-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.hero-visual-stage img {
  width: 100%;
  max-width: 600px;
  border-radius: 18px;
  -webkit-mask-image: radial-gradient(ellipse 92% 90% at 50% 48%, #000 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 90% at 50% 48%, #000 66%, transparent 100%);
  filter: contrast(1.03) saturate(1.05);
}

/* 4-Column Stat Strip anchored at bottom of Hero */
.hero-stat-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.stat-cell {
  padding: 20px 18px;
  text-align: center;
  position: relative;
}
.stat-cell + .stat-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.9rem;
  color: #D2DCF2;
  margin-top: 4px;
}

/* ================= PROVIDER LOGO & PAYMENT RAIL BAND ================= */
.provider-band {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 26px 0;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
}
.provider-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.provider-item:hover { opacity: 1; transform: translateY(-2px); }
.provider-item img { height: 34px; width: auto; object-fit: contain; }

.payment-rail {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.payment-rail img { height: 34px; width: auto; }

/* ================= COMPACT 4-CATEGORY SHOWCASE (ONLY CARD GRID) ================= */
.category-hub-section { padding: 54px 0 36px; }
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-heading {
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.cat-4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.cat-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: center;
  padding: 18px 16px 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.cat-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-amber);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38), 0 0 20px rgba(244, 151, 1, 0.12);
}
.cat-hub-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg-primary);
}
.cat-hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-hub-card:hover .cat-hub-thumb img { transform: scale(1.05); }
.cat-hub-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.cat-hub-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================= LONG-FORM EDITORIAL + STICKY TOC (PROTOTYPE 01) ================= */
.editorial-section { padding: 36px 0 60px; }
.editorial-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.toc-card {
  position: sticky;
  top: 94px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px 18px;
}
.toc-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-list a {
  display: block;
  padding: 8px 12px;
  border-left: 2.5px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.toc-list a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.04); }
.toc-list a.active {
  color: var(--accent);
  font-weight: 600;
  border-left-color: var(--accent);
  background: rgba(244, 151, 1, 0.1);
}

.editorial-prose { min-width: 0; }
.editorial-prose h2 {
  font-size: clamp(1.38rem, 2.3vw, 1.82rem);
  font-weight: 700;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  margin: 2.2rem 0 1rem;
  scroll-margin-top: 96px;
}
.editorial-prose h2:first-child { margin-top: 0; }
.editorial-prose h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--accent-hover);
  margin: 1.45rem 0 0.65rem;
}

/* Inline Editorial Figures (Breaks up long-form prose cleanly) */
.editorial-figure {
  margin: 1.55rem 0 1.85rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}
.editorial-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 20%;
}
.editorial-figure figcaption {
  padding: 11px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.editorial-figure figcaption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Data Comparison Table (Exact Prototype 01 & 03 Look) */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  margin: 1.4rem 0 1.8rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
}
.luca-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.96rem;
}
.luca-table thead th {
  background: var(--accent);
  color: var(--cta-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;
  white-space: nowrap;
}
.luca-table.table-dark-head thead th {
  background: var(--surface-2);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}
.luca-table tbody td {
  padding: 13px 16px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-body);
  vertical-align: top;
}
.luca-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.pill-metric {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-hover);
  background: rgba(244, 151, 1, 0.14);
  border: 1px solid var(--border-amber);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

/* Myth vs Fact Split Callout (Exact Prototype 01) */
.myth-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 1.5rem 0 1.8rem;
}
.myth-col, .fact-col { padding: 22px 24px; }
.fact-col {
  border-left: 1px solid var(--border-subtle);
  background: rgba(244, 151, 1, 0.04);
}
.mf-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.myth-col .mf-label { color: #FCA5A5; }
.fact-col .mf-label { color: var(--accent-hover); }

/* Key Takeaway Callout (Prototype 03) */
.takeaway-box {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  margin: 1.4rem 0 1.6rem;
}
.takeaway-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Inline 3-Step Flow Diagram (Prototype 03 Cascade Flow) */
.flow-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 22px;
  margin: 1.6rem 0;
  text-align: center;
}
.flow-box-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.flow-node {
  background: rgba(244, 151, 1, 0.1);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: 0 0 16px rgba(244, 151, 1, 0.14);
}
.flow-node-val {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--accent-hover);
}
.flow-node-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.flow-arrow { color: var(--accent); font-size: 1.3rem; font-weight: 700; }

/* Pros & Cons Block (Prototype 03) */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.6rem 0;
}
.pc-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px;
}
.pc-box h3 { margin-top: 0; font-size: 1.04rem; color: #FFFFFF; }
.pc-list { list-style: none; padding: 0; margin: 0; }
.pc-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.pc-list.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-list.cons li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(154, 166, 199, 0.18);
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Numbered Steps List */
.step-ol {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-ol li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--cta-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================= FAQ ACCORDION (PROTOTYPE 01) ================= */
.faq-section { padding: 12px 0 68px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--border-amber); }
.faq-btn {
  width: 100%;
  background: transparent;
  border: 0;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.faq-q-left { display: flex; align-items: center; gap: 12px; }
.faq-plus {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-chevron { color: var(--text-muted); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-panel {
  display: none;
  padding: 0 20px 18px 46px;
  color: #D2DCF2;
  font-size: 0.97rem;
}
.faq-item.open .faq-panel { display: block; }

/* ================= CATEGORY PAGE (EXACT PROTOTYPE 02) ================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 22px 0 18px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: #FFFFFF; font-weight: 500; }

.cat-hero-banner {
  background: linear-gradient(125deg, #161C3B 0%, #11152D 55%, #0D1024 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  margin-bottom: 24px;
}
.cat-hero-banner h1 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 12px; }
.cat-hero-banner p { color: #CFD8EE; margin-bottom: 0; max-width: 520px; }
.cat-hero-art {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244, 151, 1, 0.22);
}
.cat-hero-art img { width: 100%; height: 100%; object-fit: cover; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
  color: #E2E8F8;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-pill:hover { border-color: var(--border-amber); color: #FFFFFF; }
.filter-pill.active {
  background: var(--accent);
  color: var(--cta-dark);
  border-color: var(--accent);
}
.filter-stats-pill {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.filter-stats-pill strong { color: var(--accent); }

.cat-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}
.article-stack { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.h-article-card {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 16px;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.h-article-card:hover { transform: translateY(-2px); border-color: var(--border-amber); }
.h-article-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-primary);
}
.h-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.h-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.badge-amber {
  display: inline-block;
  background: var(--accent);
  color: var(--cta-dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
}
.read-time { font-size: 0.84rem; color: var(--text-muted); }
.h-article-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.h-article-excerpt { font-size: 0.94rem; color: #C7D2EC; margin: 0; }

.cat-guide-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 26px;
}
.cat-guide-box h2 { font-size: 1.38rem; margin-bottom: 12px; }

/* Sidebar Cards (Category & Article) */
.sidebar-stack { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.cta-side-card {
  background: linear-gradient(160deg, #192045 0%, #12162E 100%);
  border: 1.5px solid var(--border-amber);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.cta-side-card h3,
.cta-side-card .side-card-title { font-family: var(--font-heading); font-weight: 700; color: #FFFFFF; font-size: 1.22rem; line-height: 1.3; margin: 0 0 8px; }
.cta-side-card p:not(.side-card-title) { font-size: 0.92rem; color: #CFD8EE; margin-bottom: 18px; }
.side-list-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px;
}
.side-list-card h3,
.side-list-card .side-card-title { font-family: var(--font-heading); font-weight: 700; color: #FFFFFF; font-size: 1.05rem; line-height: 1.3; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  color: #E2E8F8;
  font-size: 0.94rem;
}
.side-links a:hover { color: var(--accent); }
.popular-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.popular-list a { display: flex; align-items: flex-start; gap: 12px; color: #E2E8F8; font-size: 0.92rem; line-height: 1.45; }
.popular-list a:hover { color: var(--accent); }
.pop-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--cta-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================= ARTICLE PAGE (EXACT PROTOTYPE 03) ================= */
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 10px 0 34px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 34px;
}
.article-hero h1 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); margin: 14px 0 16px; }
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.meta-pill {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: #E2E8F8;
}
.article-hero-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-amber);
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.article-2col {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 64px;
}
.article-left-rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.article-left-rail .toc-card { position: static; }

.related-section { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.related-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--border-amber); }
.related-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card-title { font-family: var(--font-heading); font-size: 0.96rem; font-weight: 700; color: #FFFFFF; margin-top: 8px; line-height: 1.4; }

/* ================= FOOTER (PROTOTYPE 01-03) ================= */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; max-width: 290px; }
.footer-col h4,
.footer-col .footer-heading { font-family: var(--font-heading); font-weight: 700; font-size: 0.96rem; color: var(--accent); margin: 0 0 12px; line-height: 1.3; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.92rem; color: #C9D3EC; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (min-width: 821px) {
  .footer-bottom { padding-right: 165px; }
}

/* ================= RESPONSIVE BREAKPOINTS (1024 / 768 / 390 / 375) ================= */
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .provider-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-2col { grid-template-columns: minmax(0, 1fr); }
  .sidebar-stack { position: static; }
  .editorial-layout, .article-2col { grid-template-columns: minmax(0, 1fr); }
  .toc-card, .article-left-rail { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .cat-hero-banner, .article-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-section { padding: 34px 0 32px; }
  .hero-visual-stage { min-height: 220px; }
  .hero-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell:nth-child(3)::before { display: none; }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-top: 1px solid var(--border-subtle); }
  .h-article-card { grid-template-columns: minmax(0, 1fr); }
  .myth-fact-grid, .pros-cons-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .fact-col { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .flow-steps { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 680px) {
  .table-wrap { overflow-x: hidden; }
  .luca-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 0.82rem;
    line-height: 1.48;
  }
  .luca-table thead th,
  .luca-table tbody td {
    padding: 9px 7px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .pill-metric { font-size: 0.75rem; padding: 2px 7px; }
}
@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary { padding: 8px 13px; font-size: 0.84rem; }
  .brand-logo img { height: 28px; }
  .hero-ctas .btn { width: 100%; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-4-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-hero-banner { padding: 20px 16px; }
  .cat-guide-box { padding: 18px 14px; }
  .myth-col, .fact-col { padding: 18px 16px; }
  .faq-btn { padding: 15px 14px; font-size: 0.95rem; }
  .faq-panel { padding: 0 14px 16px 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { padding-right: 0; padding-bottom: 62px; }
}
