/* ═══════════════════════════════════════════
   Agentic Futurization — Stylesheet
   ═══════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --royal-blue: #4073F3;
  --cyan-accent: #00D4FF;
  --deep-navy: #0A0E27;
  --cloud-white: #F8FAFC;
  --slate-gray: #64748B;

  --navy: #0A0E27;
  --navy-dark: #0A0E27;
  --navy-light: #131836;
  --accent: #00D4FF;
  --blue: #4073F3;
  --blue-light: #EBF0FE;
  --green: #4CAF50;
  --green-light: #E8F5E9;
  --orange: #FF9800;
  --orange-light: #FFF3E0;
  --purple: #9C27B0;
  --purple-light: #F3E5F5;
  --teal: #009688;
  --teal-light: #E0F2F1;
  --red: #F44336;
  --red-light: #FFEBEE;
  --indigo: #3F51B5;
  --indigo-light: #E8EAF6;

  --text: #000000;
  --text-light: #64748B;
  --text-muted: #64748B;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --bg-code: #0A0E27;
  --border: #e0e0e0;
  --border-light: #f0f0f0;

  --sidebar-width: 280px;
  --content-max: 860px;
  --font: 'Inter', system-ui, -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─── */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ─── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--navy-dark);
  color: #ccc;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.sidebar-logo span {
  color: var(--accent);
}

.sidebar-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

.nav-item {
  display: flex;
  align-items: baseline;
  padding: 9px 24px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nav-item.active {
  color: #fff;
  background: rgba(64, 115, 243, 0.12);
  border-left-color: var(--royal-blue);
}

.nav-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan-accent);
  min-width: 28px;
  opacity: 0.7;
}

.nav-item.active .nav-number {
  opacity: 1;
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
  background: rgba(64, 115, 243, 0.15);
  color: var(--royal-blue);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.sidebar-cta:hover {
  background: rgba(64, 115, 243, 0.25);
}

.progress-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--royal-blue), var(--cyan-accent));
  border-radius: 2px;
  width: 0%;
  transition: width 0.25s ease;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: var(--navy-dark);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  align-items: center;
  justify-content: center;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}

/* ─── Main Content ─── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #0d1440 60%, #111b4a 100%);
  color: #fff;
  padding: 80px 40px 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--royal-blue), var(--cyan-accent));
}

.hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan-accent);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 640px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--royal-blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.hero-cta-primary:hover {
  background: #3060d4;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--royal-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ─── Sections ─── */
.content-body {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border-light);
}

.section:last-child {
  border-bottom: none;
}

.section-alt {
  background: var(--bg-alt);
  margin: 0 -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.section-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--royal-blue);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--cyan-accent));
  border-radius: 2px;
  margin: 12px 0 24px;
}

.section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}

.section p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.section .lead {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

.section ul,
.section ol {
  margin: 0 0 16px 24px;
  font-size: 15px;
  line-height: 1.75;
}

.section li {
  margin-bottom: 8px;
  color: var(--text);
}

.section li strong {
  color: var(--text);
}

/* ─── Callout Boxes ─── */
.callout {
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.callout-blue {
  background: var(--blue-light);
  border-left: 4px solid var(--royal-blue);
  color: var(--text);
}

.callout-label {
  font-weight: 700;
  display: inline;
}

/* ─── Info Card Row ─── */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  border-color: var(--royal-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
}

.icon-blue { background: var(--blue-light); color: var(--royal-blue); }
.icon-green { background: var(--green-light); color: var(--green); }
.icon-purple { background: var(--purple-light); color: var(--purple); }
.icon-orange { background: var(--orange-light); color: var(--orange); }
.icon-teal { background: var(--teal-light); color: var(--teal); }
.icon-red { background: var(--red-light); color: var(--red); }
.icon-indigo { background: var(--indigo-light); color: var(--indigo); }

.info-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.info-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.info-card .card-accent {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--royal-blue);
  background: var(--blue-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 10px;
}

/* Problem cards with colored left border */
.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 4px solid;
  transition: box-shadow 0.2s ease;
}

.problem-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.problem-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.problem-card .card-quote {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  font-style: italic;
}

/* ─── Phase Map (Arc) ─── */
.phase-map {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 20px 24px;
  margin: 28px 0;
}

.phase-map-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.phase-arc {
  position: relative;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
}

.phase-arc-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.phase-arc-items {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 4px;
  min-height: 140px;
}

.phase-arc-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  border-radius: 10px;
  padding: 10px 4px;
  width: 11%;
  min-height: 48px;
  background: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}

.phase-arc-item span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.phase-arc-plain {
  border-color: var(--slate-gray);
  color: var(--slate-gray);
}

.phase-arc-platform {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

.phase-arc-item:nth-child(1) { transform: translateY(-8px); }
.phase-arc-item:nth-child(2) { transform: translateY(-40px); }
.phase-arc-item:nth-child(3) { transform: translateY(-62px); }
.phase-arc-item:nth-child(4) { transform: translateY(-72px); }
.phase-arc-item:nth-child(5) { transform: translateY(-72px); }
.phase-arc-item:nth-child(6) { transform: translateY(-62px); }
.phase-arc-item:nth-child(7) { transform: translateY(-40px); }
.phase-arc-item:nth-child(8) { transform: translateY(-8px); }

.phase-platform-band {
  margin-top: -48px;
  border: 2px dashed var(--royal-blue);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--royal-blue);
  background: rgba(64, 115, 243, 0.04);
}

.phase-platform-band small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── 2-column card row for journey ─── */
.card-row-2col {
  grid-template-columns: repeat(2, 1fr);
}

/* ─── Stats proof grid: 3 top, 2 bottom ─── */
.stats-grid-proof {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid-proof .stat-card:nth-child(4),
.stats-grid-proof .stat-card:nth-child(5) {
  grid-column: span 1;
}

.stats-grid-proof .stat-card:nth-child(4) {
  grid-column: 1 / 2;
}

.stats-grid-proof .stat-card:nth-child(5) {
  grid-column: 2 / 3;
}

/* Entry point cards */
.entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.entry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover {
  border-color: var(--royal-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.entry-card-number {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.entry-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.entry-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* ─── Two-Phase Diagram ─── */
.two-phase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.phase-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid;
}

.phase-panel h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.phase-panel .phase-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.phase-panel ul {
  margin: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
}

.phase-panel li {
  margin-bottom: 6px;
  color: var(--text);
}

.phase-panel .phase-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ─── Capability Grid ─── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.capability-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover {
  border-color: var(--royal-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.capability-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.capability-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.tag-coderflow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--royal-blue);
  background: var(--blue-light);
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ─── Comparison Table ─── */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}

.table-wrapper thead th {
  background: var(--royal-blue);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
}

.table-wrapper thead th:first-child {
  border-radius: 9px 0 0 0;
}

.table-wrapper thead th:last-child {
  border-radius: 0 9px 0 0;
}

.table-wrapper tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.6;
}

.table-wrapper tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

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

.table-wrapper td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.table-wrapper td:nth-child(2) {
  color: var(--text-muted);
}

.table-wrapper td:nth-child(3) {
  color: var(--text);
}

/* ─── Stats Section ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.stat-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 20px;
  transition: box-shadow 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.stat-card .stat-big {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--royal-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-card .stat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
}

.stat-card .stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.stat-anchor {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #111b4a 100%);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin: 28px 0;
  color: #fff;
}

.stat-anchor .stat-big {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.stat-anchor .stat-big em {
  font-style: normal;
  color: var(--cyan-accent);
}

/* ─── Scenario Cards ─── */
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.scenario-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scenario-card:hover {
  border-color: var(--royal-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.scenario-card .scenario-number {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--royal-blue);
  margin-bottom: 10px;
}

.scenario-card .scenario-quote {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
  font-style: italic;
}

.scenario-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 12px;
}

.scenario-card .scenario-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--royal-blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-btn-primary {
  background: var(--royal-blue);
  color: #fff;
}

.cta-btn-primary:hover {
  background: #3060d4;
}

.cta-btn-secondary {
  background: transparent;
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
}

.cta-btn-secondary:hover {
  background: var(--blue-light);
}

/* ─── FAQ ─── */
.faq-list {
  margin: 24px 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--royal-blue);
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ─── Footer ─── */
.page-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
}

.page-footer a {
  color: var(--cyan-accent);
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-header {
    padding-top: 56px;
  }

  .sidebar-toggle {
    display: flex;
  }

  .sidebar-overlay.open {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .hero {
    padding: 60px 24px 40px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .content-body {
    padding: 0 24px;
  }

  .section-alt {
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .two-phase {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    padding: 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 16px;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .card-row, .capability-grid, .scenario-cards, .entry-cards {
    grid-template-columns: 1fr;
  }

  .card-row-2col {
    grid-template-columns: 1fr;
  }

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

  .phase-arc-item span {
    font-size: 9px;
  }

  .phase-arc-item {
    width: 11%;
    padding: 6px 2px;
    min-height: 40px;
  }

  .phase-arc-item:nth-child(1) { transform: translateY(-4px); }
  .phase-arc-item:nth-child(2) { transform: translateY(-22px); }
  .phase-arc-item:nth-child(3) { transform: translateY(-36px); }
  .phase-arc-item:nth-child(4) { transform: translateY(-42px); }
  .phase-arc-item:nth-child(5) { transform: translateY(-42px); }
  .phase-arc-item:nth-child(6) { transform: translateY(-36px); }
  .phase-arc-item:nth-child(7) { transform: translateY(-22px); }
  .phase-arc-item:nth-child(8) { transform: translateY(-4px); }

  .phase-arc-items {
    min-height: 90px;
  }

  .phase-platform-band {
    margin-top: -24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 18px 32px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .content-body {
    padding: 0 18px;
  }

  .section-alt {
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 36px 0 32px;
  }

  .section h2 {
    font-size: 22px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

  .table-wrapper {
    margin: 16px -8px;
    border-radius: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sidebar,
  .progress-fill,
  .faq-answer {
    transition: none;
  }
}
