/* ========================================================================== */
/* PALET TITANIUM & DEEP NAVY                                                 */
/* ========================================================================== */
:root {
  --bg-base: #000000;
  --bg-panel: #050a14;
  --bg-card: #0a1120;
  --text-main: #f1f5f9;
  --text-muted: #8b9bb4;
  --accent-primary: #b3cce6;
  --accent-secondary: #1e3a5f;
  --accent-glow: rgba(179, 204, 230, 0.4);
  --accent-bull: #10b981;
  --accent-bear: #ef4444;
  --accent-warning: #f59e0b;
  --border-color: #1e293b;
  --border-light: rgba(179, 204, 230, 0.15);
  --font-heading: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

/* Kontainer Utama: Menjajarkan Logo dan Blok Teks secara horizontal */
.brand-container {
  display: flex;
  flex-direction: row;
  align-items: center; /* Memastikan logo dan teks rata tengah secara vertikal */
  gap: 12px; /* Jarak napas antara logo dan teks */
}

/* Logo */
.brand-logo {
  height: 36px; /* Sesuaikan dengan grid navbar Anda */
  width: auto;
  object-fit: contain;
}

/* Kontainer Teks: Menyusun Platform dan Produk secara vertikal */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1; /* Merapatkan jarak antar baris teks */
}

/* HIERARKI 1: Platform (Di Atas, Lebih Besar, Bold) */
.platform-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e4e4e7; /* Warna solid/terang agar mata fokus ke sini dulu */
  letter-spacing: 0.5px;
}

/* HIERARKI 2: Produk (Di Bawah, Lebih Kecil, Muted) */
.product-name {
  font-size: 0.75rem; /* Skala lebih kecil dari platform */
  font-weight: 500;
  color: #a1a1aa; /* Warna lebih redup (abu-abu) untuk menekan dominasi visual */
  letter-spacing: 1.5px; /* Spasi huruf dilebarkan agar teks kecil tetap terbaca (legibility) */
}
/* ========================================================== */
/* LANGUAGE NODE PROTOCOL (HYBRID & GLOBAL MODE)              */
/* ========================================================== */
.lang-en {
  display: none;
}
body.global-mode .lang-en {
  display: block;
}
body.global-mode .lang-id {
  display: none;
}

/* Inline span fallback */
span.lang-en {
  display: none;
}
body.global-mode span.lang-en {
  display: inline;
}
body.global-mode span.lang-id {
  display: none;
}

body.lang-id-active .hero h1 {
  max-width: 1180px;
  font-size: 3.85rem;
  line-height: 1.08;
  letter-spacing: 0;
}

body.lang-id-active .hero-category-line,
body.lang-id-active .hero p {
  max-width: 920px;
}

body.lang-id-active .nav-links {
  gap: 24px;
}

body.lang-id-active .cta-button,
body.lang-id-active .cta-secondary,
body.lang-id-active .btn-tier,
body.lang-id-active .btn-nav-init,
body.lang-id-active .friction-next,
body.lang-id-active .friction-back {
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

body.lang-id-active .ops-status-pill,
body.lang-id-active .access-price span,
body.lang-id-active .restricted-node-tag {
  white-space: normal;
}

body.lang-id-active .pricing-card {
  min-width: 0;
}

@media (max-width: 900px) {
  body.lang-id-active .hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  body.lang-id-active .hero h1 {
    font-size: 2.25rem;
  }
}

/* Tampilan Tombol Toggle di Navigasi */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.lang-toggle:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(179, 204, 230, 0.2);
}
.lang-toggle span {
  color: var(--text-muted);
  transition: color 0.3s;
}
.lang-toggle span.active {
  color: var(--accent-bull);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.lang-toggle .divider {
  color: var(--border-color);
  margin: 0 6px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-heading);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    rgba(179, 204, 230, 0.035) 0,
    rgba(179, 204, 230, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.34;
  mix-blend-mode: screen;
}

body.modal-open {
  overflow: hidden;
}

.quant-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.3) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    var(--accent-secondary) 0%,
    transparent 60%
  );
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.top-telemetry {
  background: #000;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--accent-primary);
}
/* INSTITUTIONAL DROPDOWN MENU */
.dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0; /* Area hover aman */
}
.dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown > a::after {
  content: "▾";
  font-size: 0.7rem;
  opacity: 0.5;
}
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(5, 10, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  min-width: 280px;
  padding: 20px;
  z-index: 1000;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dropdown-content a {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-heading);
  text-transform: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 4px;
  transition: all 0.2s;
  letter-spacing: 0;
  border-left: 2px solid transparent;
}
.dropdown-content a:hover {
  background: rgba(179, 204, 230, 0.05);
  color: var(--text-main);
  border-left: 2px solid var(--accent-primary);
  padding-left: 20px;
}
.dropdown-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  padding: 0 14px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 10px;
}
.btn-nav-init {
  color: #000 !important;
  background: var(--accent-primary);
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 800 !important;
  box-shadow: 0 0 15px var(--accent-glow);
  transition: all 0.3s ease !important;
}
.btn-nav-init:hover {
  background: #fff !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px 20px;
  position: relative;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  background: rgba(179, 204, 230, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 50px;
}
.hero h1 {
  font-size: 4.2rem;
  font-weight: 900;
  margin: 0 0 25px 0;
  line-height: 1.05;
  letter-spacing: 0;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--accent-primary) 50%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 1100px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 850px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.cta-button {
  background: var(--accent-primary);
  color: #000;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0 25px var(--accent-glow);
}
.cta-button:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-secondary {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.cta-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(179, 204, 230, 0.05);
}

/* SOCIAL PROOF LOGOS */
.social-proof {
  margin-top: 20px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
}
.social-proof-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.partner-logos {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* LIVE TICKER MARQUEE */
.ticker-wrap {
  width: 100%;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 60px;
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
}
.ticker-item {
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid var(--border-color);
}
.t-bull {
  color: #10b981;
}
.t-bear {
  color: #ef4444;
}
.t-neu {
  color: var(--accent-primary);
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* TERMINAL MOCKUP (INTERACTIVE) */
.terminal-mockup {
  width: 100%;
  max-width: 900px;
  height: 350px;
  background: rgba(5, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  text-align: left;
}
.terminal-header {
  height: 35px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 8px;
}
.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-primary);
  line-height: 1.6;
  text-align: left;
  overflow-y: auto;
}

/* HYBRID DNA SECTION */
.dna-section {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}
.dna-header {
  text-align: center;
  margin-bottom: 40px;
}
.dna-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0 0 15px 0;
  letter-spacing: 0;
}
.dna-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto;
}
.dna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dna-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  padding: 35px 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}
.dna-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  background: rgba(179, 204, 230, 0.02);
}
.dna-card.highlight {
  background: rgba(179, 204, 230, 0.05);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 25px rgba(179, 204, 230, 0.1);
}
.dna-card .dna-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-weight: bold;
}
.dna-card.highlight .dna-tag {
  color: var(--accent-primary);
}
.dna-card h3 {
  color: var(--text-main);
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  font-weight: 800;
}
.dna-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* 30-SECOND CLARITY TEST BANNER */
.clarity-test {
  max-width: 1000px;
  margin: 0 auto 60px auto;
  background: rgba(5, 10, 20, 0.8);
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    inset 0 0 20px rgba(179, 204, 230, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}
.clarity-text h3 {
  margin: 0 0 10px 0;
  color: var(--text-main);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0;
}
.clarity-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 500px;
}
.clarity-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.c-metric {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  padding: 10px 15px;
  border-radius: 4px;
}
.c-metric span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
}
.c-metric strong {
  color: var(--text-main);
  font-size: 1rem;
}

/* COMPARISON SECTION */
.comparison-section {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.comp-table th,
.comp-table td {
  padding: 25px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  line-height: 1.5;
}
.comp-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.comp-table th:first-child {
  width: 25%;
}
.comp-table td:nth-child(2) {
  color: var(--text-muted);
  border-right: 1px solid var(--border-color);
  width: 35%;
}
.comp-table td:nth-child(3) {
  color: var(--text-main);
  font-weight: 600;
  background: rgba(179, 204, 230, 0.03);
  width: 40%;
}
.comp-table tr:last-child td {
  border-bottom: none;
}
.check-icon {
  color: var(--accent-primary);
  font-weight: bold;
  margin-right: 8px;
}

/* ARCHITECTURE & FEATURES */
.architecture,
.features,
.faq-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0;
  margin-bottom: 15px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 750px;
  line-height: 1.6;
  margin-bottom: 50px;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.arch-step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s;
}
.arch-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}
.arch-step h4 {
  color: var(--text-main);
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.arch-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 35px;
  border-radius: 8px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 15px var(--accent-glow);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.tier-badge {
  font-family: var(--font-mono);
  display: inline-block;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  width: fit-content;
}
.bg-sys {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* PRICING */
.pricing {
  padding: 100px 40px;
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}
.pricing-card.vip {
  background: linear-gradient(180deg, var(--bg-card) 0%, #03060a 100%);
  border-color: var(--accent-primary);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-card.vip::before {
  content: "PRIMARY OPERATING ENVIRONMENT";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 6px 20px;
  letter-spacing: 2px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
}
.tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
  min-height: 50px;
}
.access-name {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
  font-weight: 900;
  min-height: 34px;
}
.access-price {
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 0.95;
  letter-spacing: 0;
}
.access-price span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.access-card.primary-offer {
  transform: translateY(-8px);
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(179, 204, 230, 0.22),
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 0 48px rgba(179, 204, 230, 0.18);
}
.access-card.primary-offer .access-price {
  color: var(--accent-primary);
}
.mandate-card {
  border-style: dashed;
}
.access-list li {
  margin-bottom: 14px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}
.feature-list li::before {
  content: "✓";
  color: var(--accent-primary);
  font-weight: 900;
}
.feature-list li.disabled {
  color: var(--border-color);
}
.feature-list li.disabled::before {
  content: "✕";
  color: var(--border-color);
}

.btn-tier {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
}
.btn-tier:hover {
  background: rgba(255, 255, 255, 0.05);
}
.btn-tier.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
  color: var(--text-main);
}
.btn-tier.vip-active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-tier.vip-active:hover {
  background: #fff;
  border-color: #fff;
}

/* GENESIS PASS */
.genesis-banner {
  margin-top: 60px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHoiIGZpbGw9IiMwYTExMjAiLz4KPHBhdGggZD0iTTAgMGg0MHYxSDB6bTAgMzloNDB2MUgweiIgZmlsbD0iIzFlMjkzYiIvPgo8L3N2Zz4=");
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.genesis-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(30, 58, 95, 0.4) 100%
  );
  z-index: 0;
}
.genesis-content {
  position: relative;
  z-index: 1;
}
.genesis-content h3 {
  margin: 0 0 10px 0;
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0;
}
.genesis-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
}
.genesis-supply {
  position: relative;
  z-index: 1;
  text-align: right;
}
/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
  transition: background 0.3s;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}
.faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
  border-top: 1px dashed var(--border-color);
  margin-top: 10px;
  padding-top: 20px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-light);
  padding: 50px 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-base);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .dna-grid {
    grid-template-columns: 1fr;
  }
  .clarity-test {
    flex-direction: column;
    gap: 30px;
    text-align: left;
    align-items: flex-start;
  }
  .clarity-metrics {
    width: 100%;
  }
  .arch-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .genesis-banner {
    flex-direction: column;
    text-align: left;
    gap: 30px;
    align-items: flex-start;
  }
  .genesis-supply {
    text-align: left;
  }
  .nav-links {
    display: none;
  }
  .comp-table th,
  .comp-table td {
    padding: 15px 10px;
    font-size: 0.8rem;
  }
}
/* THE X-RAY SPOTLIGHT EFFECT (PATCHED: MOVED TO ::after TO PREVENT COLLISION) */
.feature-card,
.pricing-card,
.dna-card,
.arch-step,
.node-card,
.genesis-supply-panel,
.mesh-panel,
.friction-modal {
  position: relative;
}
.feature-card::after,
.pricing-card::after,
.dna-card::after,
.arch-step::after,
.node-card::after,
.genesis-supply-panel::after,
.mesh-panel::after,
.friction-modal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(179, 204, 230, 0.1),
    rgba(16, 185, 129, 0.06),
    transparent 40%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover::after,
.pricing-card:hover::after,
.dna-card:hover::after,
.arch-step:hover::after,
.node-card:hover::after,
.genesis-supply-panel:hover::after,
.mesh-panel:hover::after,
.friction-modal:hover::after {
  opacity: 1;
}

/* Make sure content stays above the glow */
.feature-card > *,
.pricing-card > *,
.dna-card > *,
.arch-step > *,
.node-card > *,
.genesis-supply-panel > *,
.mesh-panel > *,
.friction-modal > * {
  position: relative;
  z-index: 1;
}

/* New institutional interaction layer merged into the prior build */
.data-stream-sidebar {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 70;
  pointer-events: none;
}
.stream-bar {
  width: 2px;
  border-radius: 2px;
  background: var(--accent-primary);
  opacity: 0;
  animation: stream-bar-anim 3s ease-in-out infinite;
}
.stream-bar:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}
.stream-bar:nth-child(2) {
  height: 14px;
  animation-delay: 0.15s;
}
.stream-bar:nth-child(3) {
  height: 10px;
  animation-delay: 0.3s;
}
.stream-bar:nth-child(4) {
  height: 18px;
  animation-delay: 0.45s;
}
.stream-bar:nth-child(5) {
  height: 8px;
  animation-delay: 0.6s;
}
.stream-bar:nth-child(6) {
  height: 22px;
  animation-delay: 0.75s;
}
.stream-bar:nth-child(7) {
  height: 12px;
  animation-delay: 0.9s;
}
.stream-bar:nth-child(8) {
  height: 16px;
  animation-delay: 1.05s;
}
.stream-bar:nth-child(9) {
  height: 7px;
  animation-delay: 1.2s;
}
.stream-bar:nth-child(10) {
  height: 20px;
  animation-delay: 1.35s;
}
.stream-bar:nth-child(11) {
  height: 11px;
  animation-delay: 1.5s;
}
.stream-bar:nth-child(12) {
  height: 15px;
  animation-delay: 1.65s;
}
@keyframes stream-bar-anim {
  0%,
  100% {
    opacity: 0;
    transform: scaleY(0.5);
  }
  30%,
  70% {
    opacity: 0.62;
    transform: scaleY(1);
  }
}

.directive-stage-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.directive-stage-row {
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.32);
  border-radius: 4px;
  padding: 9px 10px;
  color: var(--text-muted);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.directive-stage-row.locked {
  border-color: rgba(16, 185, 129, 0.34);
}
.directive-stage-index {
  color: var(--accent-primary);
  font-weight: 800;
}
.directive-stage-status {
  color: var(--accent-warning);
  font-size: 0.7rem;
}
.directive-stage-row.locked .directive-stage-status {
  color: var(--accent-bull);
}
.encrypted-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.encrypted-result-cell {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.encrypted-result-cell span {
  display: block;
  color: var(--text-muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.encrypted-result-cell strong {
  color: var(--text-main);
  font-size: 0.84rem;
  word-break: break-word;
}

.genesis-supply-panel {
  min-width: 300px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 24px;
  font-family: var(--font-mono);
}
.supply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bull);
  box-shadow: 0 0 12px var(--accent-bull);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
.supply-big-num {
  color: var(--accent-primary);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 20px var(--accent-glow);
}
.supply-denom {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0;
}
.supply-sub {
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 6px 0 16px;
}
.depth-chart {
  width: 100%;
  height: 48px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.depth-bar-bg {
  position: absolute;
  inset: 0;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.22);
}
.depth-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 12.8%;
  background: linear-gradient(
    90deg,
    rgba(16, 185, 129, 0.44),
    rgba(16, 185, 129, 0.14)
  );
  border-right: 2px solid var(--accent-bull);
  transition: width 700ms ease;
}
.depth-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 7px;
}
.label-acquired {
  color: var(--accent-bull);
}
.label-remaining {
  color: var(--accent-bear);
}
.supply-velocity,
.acquisition-ticker {
  color: var(--text-muted);
  font-size: 0.65rem;
  line-height: 1.6;
}
.supply-velocity {
  margin-top: 14px;
}
.vel-num {
  color: var(--accent-bear);
  font-weight: 800;
}
.acquisition-ticker {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  min-height: 34px;
}

.node-mesh-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}
.mesh-panel {
  margin-top: 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: rgba(5, 10, 20, 0.78);
  padding: 24px;
}
.mesh-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 420px;
}
.mesh-line {
  stroke: rgba(179, 204, 230, 0.38);
  stroke-width: 1.4;
  stroke-dasharray: 8 10;
  animation: mesh-dash 5s linear infinite;
}
.mesh-line.hot {
  stroke: rgba(16, 185, 129, 0.78);
}
.mesh-node {
  fill: var(--bg-card);
  stroke: rgba(179, 204, 230, 0.54);
  stroke-width: 1.5;
}
.mesh-core {
  fill: rgba(16, 185, 129, 0.16);
  stroke: rgba(16, 185, 129, 0.92);
  stroke-width: 2;
  filter: drop-shadow(0 0 14px rgba(16, 185, 129, 0.4));
}
.mesh-pulse {
  fill: rgba(16, 185, 129, 0.7);
  animation: mesh-pulse 2.6s ease-in-out infinite;
}
.mesh-label {
  fill: var(--text-main);
  font-family: var(--font-mono);
  font-size: 16px;
}
.mesh-sub {
  fill: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
@keyframes mesh-dash {
  to {
    stroke-dashoffset: -72;
  }
}
@keyframes mesh-pulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}

.friction-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
}
.friction-overlay.active {
  display: flex;
}
.friction-modal {
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.friction-header {
  min-height: 52px;
  padding: 0 18px;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.friction-close {
  background: none;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}
.friction-body {
  padding: 30px;
  font-family: var(--font-mono);
}
.friction-step {
  display: none;
}
.friction-step.active {
  display: block;
}
.friction-prompt {
  color: var(--accent-primary);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.friction-question {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}
.friction-sub {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-bottom: 20px;
}
.friction-options {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}
.friction-option {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 14px;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}
.friction-option:hover,
.friction-option.selected {
  border-color: var(--accent-primary);
  color: var(--text-main);
  background: rgba(179, 204, 230, 0.06);
}
.friction-input {
  width: 100%;
  min-height: 94px;
  resize: vertical;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-mono);
  padding: 12px;
  outline: none;
}
.friction-input:focus {
  border-color: var(--accent-primary);
}
.friction-error {
  color: var(--accent-bear);
  font-size: 0.72rem;
  min-height: 18px;
  margin-top: 10px;
}
.friction-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.friction-next,
.friction-back {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.friction-next {
  background: var(--accent-primary);
  color: #000;
  border-color: var(--accent-primary);
}
.friction-back {
  background: transparent;
  color: var(--text-muted);
}
.vetting-complete {
  display: none;
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.07);
  border-radius: 6px;
  padding: 22px;
}
.vetting-complete.active {
  display: block;
}

@media (max-width: 900px) {
  .encrypted-result-grid {
    grid-template-columns: 1fr;
  }
  .genesis-supply-panel {
    width: 100%;
    min-width: 0;
  }
  .mesh-svg {
    min-height: 300px;
  }
  .friction-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}
/* ========================================================== */
/* MOBILE RESPONSIVE PROTOCOL & OMNI-BAIT STYLES              */
/* ========================================================== */
.omni-bait-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  background: #03060a;
  display: grid;
  grid-template-columns: 22% 48% 30%;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.mobile-nav-trigger {
  display: none;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .dna-grid {
    grid-template-columns: 1fr;
  }
  .clarity-test {
    flex-direction: column;
    gap: 30px;
    text-align: left;
    align-items: flex-start;
  }
  .clarity-metrics {
    width: 100%;
  }
  .arch-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .genesis-banner {
    flex-direction: column;
    text-align: left;
    gap: 30px;
    align-items: flex-start;
  }
  .genesis-supply {
    text-align: left;
  }
  .comp-table th,
  .comp-table td {
    padding: 15px 10px;
    font-size: 0.8rem;
  }

  /* Navigasi Mobile Override */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(5, 10, 20, 0.95);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-links.mobile-active {
    display: flex;
  }
  .mobile-nav-trigger {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
  }
}
@media (max-width: 768px) {
  /* 1. Hero & Typography Overrides */
  .hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.15;
  }
  .hero p {
    font-size: 0.95rem !important;
    padding: 0 10px;
  }
  .section-title {
    font-size: 1.8rem !important;
    line-height: 1.2;
  }
  .dna-header h2 {
    font-size: 1.6rem !important;
    line-height: 1.2;
  }

  /* 2. Top Telemetry Bar (Sembunyikan status agar tidak numpuk 2 baris) */
  .top-telemetry {
    font-size: 0.55rem;
    padding: 6px 15px;
    flex-wrap: nowrap;
  }
  .top-telemetry span:nth-child(2) {
    display: none;
  }

  /* 4. Deployment Suitability Review Modal */
  .friction-modal {
    width: 95%;
    margin: 10px auto;
  }
  .friction-body {
    padding: 20px 15px !important;
  }
  .friction-question {
    font-size: 1.05rem !important;
  }
  .friction-input {
    font-size: 0.85rem;
  }

  /* 5. Genesis Banner & Product CTA */
  .genesis-banner {
    padding: 25px 15px !important;
  }
  .supply-big-num {
    font-size: 2.5rem !important;
  }
  .omni-bait-wrapper button {
    padding: 14px 20px !important;
    font-size: 0.85rem !important;
  }

  /* 6. Footer Badges */
  footer {
    padding: 40px 20px !important;
  }
  footer div[style*="display: flex; gap: 15px"] {
    flex-direction: column;
    gap: 10px !important;
  }
}

/* ========================================================== */
/* COMMAND PALETTE FOOTER STYLING                             */
/* ========================================================== */
.cmd-footer {
  padding: 15px 25px;
  background: rgba(5, 10, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.cmd-footer-group {
  display: flex;
  gap: 20px;
}

.cmd-hint,
.cmd-hint-static {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.cmd-hint {
  cursor: pointer;
}

.cmd-hint-static {
  cursor: default;
}

.cmd-hint:hover {
  color: #fff;
}

/* Base Keyboard Button Style */
.cmd-footer kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 7px;
  border-radius: 4px;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  font-weight: bold;
}

/* Hover for Nav Buttons (Up/Down) */
kbd.cmd-btn {
  cursor: pointer;
}
kbd.cmd-btn:hover {
  background: var(--accent-primary);
  color: #000;
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

/* Hover for ENTER */
.cmd-hint:hover kbd {
  background: var(--accent-primary);
  color: #000;
}

/* Highlight Voice (CTRL+M) */
.cmd-hint.highlight {
  color: var(--text-muted);
}
.cmd-hint.highlight kbd {
  background: rgba(179, 204, 230, 0.1);
  border: 1px solid rgba(179, 204, 230, 0.3);
  color: var(--accent-primary);
}
.cmd-hint.highlight:hover {
  color: var(--accent-primary);
}
.cmd-hint.highlight:hover kbd {
  background: var(--accent-primary);
  color: #000;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(179, 204, 230, 0.4);
}

/* Danger Close (ESC) */
.cmd-hint.danger {
  color: var(--text-muted);
}
.cmd-hint.danger kbd {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.cmd-hint.danger:hover {
  color: #ef4444;
}
.cmd-hint.danger:hover kbd {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* Custom Scrollbar for Command Palette List */
#lp-cmd-output {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) transparent;
}
#lp-cmd-output::-webkit-scrollbar {
  width: 6px;
}
#lp-cmd-output::-webkit-scrollbar-track {
  background: transparent;
}
#lp-cmd-output::-webkit-scrollbar-thumb {
  background-color: rgba(179, 204, 230, 0.3);
  border-radius: 10px;
}
#lp-cmd-output::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-primary);
}

/* ========================================================================== */
/* INSTITUTIONAL UPGRADE: OUTCOMES, PIPELINE & REGIME ARCHIVE                 */
/* ========================================================================== */

/* Container Inner */
.container-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* SECTION: OUTCOMES */
.outcomes-section {
  padding: 80px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.outcome-card {
  background: var(--panel-bg);
  border-radius: 6px;
  padding: 35px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.outcome-card.before-card {
  background: rgba(239, 68, 68, 0.02);
  border-color: rgba(239, 68, 68, 0.1);
}

.outcome-card.after-card {
  background: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.05);
}

.outcome-card:hover {
  transform: translateY(-5px);
}

.outcome-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}
.bear-badge {
  color: var(--accent-bear);
}
.bull-badge {
  color: var(--accent-bull);
}

.outcome-card h3 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 900;
}

.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.outcome-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.icon-bear {
  color: var(--accent-bear);
  margin-right: 10px;
  font-weight: bold;
}
.icon-bull {
  color: var(--accent-bull);
  margin-right: 10px;
  font-weight: bold;
}

/* SECTION: PIPELINE */
.pipeline-section {
  margin-top: 80px;
  text-align: center;
}

.pipeline-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.pipeline-step {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 25px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pipeline-step:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(179, 204, 230, 0.05);
}

.step-number {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0.3;
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: bold;
}
.tag-primary {
  color: var(--accent-primary);
}
.tag-warning {
  color: var(--accent-warning);
}
.tag-bull {
  color: var(--accent-bull);
}

.step-name {
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1rem;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.pipeline-arrow {
  text-align: center;
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 1.5rem;
}

/* SECTION: REGIME ARCHIVE */
.regime-archive {
  padding: 60px 20px 80px 20px;
}

.regime-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.regime-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.regime-table-wrapper {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.regime-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}

.regime-table th {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 20px;
  font-size: 0.8rem;
}

.regime-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.regime-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.epoch-cell {
  font-weight: bold;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.state-bear {
  color: var(--accent-bear);
  font-weight: bold;
}
.state-bull {
  color: var(--accent-bull);
  font-weight: bold;
}
.state-warning {
  color: var(--accent-warning);
  font-weight: bold;
}
.state-neutral {
  color: var(--text-muted);
  font-weight: bold;
}
.state-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
  margin-top: 4px;
}

.response-cell {
  font-family: var(--font-mono);
  font-weight: bold;
}
.color-warning {
  color: var(--accent-warning);
}
.color-main {
  color: var(--text-main);
}
.response-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
  font-family: var(--font-heading);
  display: block;
  margin-top: 4px;
}

/* Animasi Fade-Up Khas Terminal */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================== */
/* LANDING EVIDENCE LAYER                                                     */
/* ========================================================================== */
.ops-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border-light);
}

.ops-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.ops-kicker,
.ops-card-code,
.ops-panel-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  font-weight: 800;
}

.ops-section-head h2 {
  margin: 8px 0 0;
  color: var(--text-main);
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.ops-section-copy {
  color: var(--text-muted);
  max-width: 860px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.ops-status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-warning);
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  padding: 8px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.ops-audit-shell,
.ops-panel,
.ops-topology-panel,
.ops-cli {
  background: rgba(5, 10, 20, 0.86);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ops-audit-shell {
  padding: 18px;
}

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

.ops-evidence-card {
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 6px;
  padding: 18px;
  width: 100%; /* Memaksa ekspansi horizontal penuh */
  box-sizing: border-box; /* Memastikan padding tidak membuat elemen tumpah keluar kontainer */
}

/* Memastikan elemen ops-wide mengambil seluruh kolom grid yang tersedia */
.ops-evidence-card.ops-wide {
  grid-column: 1 / -1;
  width: 100%;
}

.ops-evidence-card h3,
.ops-cluster-card h3 {
  color: var(--text-main);
  margin: 10px 0 14px;
  font-size: 1rem;
  text-transform: uppercase;
}

.ops-evidence-card p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.86rem;
  margin: 14px 0 0;
}

.ops-metric-stack,
.ops-price-ladder,
.ops-limitation-grid,
.ops-cluster-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ops-price-ladder,
.ops-limitation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ops-metric-stack div,
.ops-price-ladder div,
.ops-limitation-grid div {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 4px;
  padding: 10px;
}

.ops-metric-stack span,
.ops-price-ladder span,
.ops-limitation-grid span {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ops-metric-stack strong,
.ops-price-ladder strong,
.ops-limitation-grid strong {
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.ops-log-table {
  display: grid;
  gap: 8px;
}

.ops-log-row {
  display: grid;
  grid-template-columns: 110px 1fr 150px 2fr;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--border-color);
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.ops-log-row span {
  color: var(--text-muted);
}

.ops-log-row strong {
  color: var(--accent-warning);
}

.ops-log-row em {
  color: var(--accent-bear);
  font-style: normal;
}

.ops-log-row code {
  color: var(--text-main);
  white-space: normal;
}

.ops-loading-row,
.ops-fault,
.ops-table-loading {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.ops-fault {
  border: 1px dashed rgba(239, 68, 68, 0.45);
  color: var(--accent-bear);
  padding: 16px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.06);
}

.ops-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-warning);
  margin-right: 8px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.ops-topology-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}

.ops-panel,
.ops-topology-panel {
  padding: 18px;
}

.ops-dendrogram {
  width: 100%;
  min-height: 360px;
  margin-top: 10px;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 6px;
}

.ops-dendro-line {
  stroke: rgba(179, 204, 230, 0.45);
  stroke-width: 1.5;
}

.ops-dendro-root,
.ops-dendro-text,
.ops-dendro-leaf {
  font-family: var(--font-mono);
  fill: var(--text-muted);
  font-size: 11px;
}

.ops-dendro-root {
  fill: var(--accent-primary);
  font-weight: 800;
}

.ops-dendro-leaf {
  fill: var(--text-main);
  font-weight: 800;
}

.ops-cluster-matrix {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ops-cluster-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.ops-cluster-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.ops-cluster-stats span {
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 7px;
}

.ops-cluster-stats strong {
  display: block;
  color: var(--text-main);
  margin-top: 4px;
}

.ops-cluster-card code {
  display: block;
  color: var(--accent-primary);
  margin-top: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ops-cli {
  overflow: hidden;
}

.ops-cli-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.5);
  padding: 14px;
  font-family: var(--font-mono);
}

.ops-cli-bar span {
  color: var(--accent-primary);
  font-weight: 800;
}

.ops-cli-bar input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.ops-cli-bar button {
  border: 1px solid var(--accent-primary);
  background: rgba(179, 204, 230, 0.1);
  color: var(--accent-primary);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 8px 12px;
  cursor: pointer;
}

.ops-cli-output {
  min-height: 170px;
  max-height: 340px;
  overflow: auto;
  padding: 14px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
}

.ops-cli-output .muted {
  color: var(--text-muted);
}

.ops-cli-green {
  color: var(--accent-bull);
}

.ops-flow-step,
.ops-diagnostic-row {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  margin-top: 10px;
}

.ops-flow-step span {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-weight: 800;
  margin-right: 8px;
}

.ops-flow-step strong,
.ops-diagnostic-row strong {
  color: var(--text-main);
}

.ops-flow-step em {
  display: block;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 6px;
  font-size: 0.82rem;
}

.ops-diagnostic-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.ops-diagnostic-row span {
  color: var(--text-muted);
}

.ops-diagnostic-row.ok strong {
  color: var(--accent-bull);
}

.ops-diagnostic-row.degraded strong {
  color: var(--accent-warning);
}

.ops-access-review {
  max-width: 1180px;
  margin: 34px auto 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border-color);
  background: var(--border-color);
}

.ops-access-review > div {
  background: rgba(5, 10, 20, 0.96);
  padding: 18px;
  min-height: 124px;
}

.ops-access-review span {
  display: block;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}

.ops-access-review strong {
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 600;
}

.hero-category-line {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
  margin: 0 0 20px;
  max-width: 860px;
  line-height: 1.7;
}

.market-failure-bridge {
  padding: 78px 20px 64px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(5, 10, 20, 0.72);
}

.market-failure-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.market-failure-kicker {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.market-failure-bridge h2 {
  max-width: 860px;
  margin: 0 0 34px;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.market-failure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-color);
  background: var(--border-color);
  gap: 1px;
}

.market-failure-grid > div {
  background: rgba(0, 0, 0, 0.42);
  padding: 22px;
  min-height: 190px;
}

.market-failure-grid span {
  display: block;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.market-failure-grid strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 12px;
}

.market-failure-grid p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .ops-section {
    padding: 60px 20px;
  }
  .ops-section-head,
  .ops-topology-grid {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }
  .ops-audit-grid,
  .ops-metric-stack,
  .ops-price-ladder,
  .ops-limitation-grid {
    grid-template-columns: 1fr;
  }
  .ops-log-row {
    grid-template-columns: 1fr;
  }
  .ops-cli-bar {
    grid-template-columns: 1fr;
  }
  .ops-status-pill {
    white-space: normal;
  }
  .ops-access-review {
    grid-template-columns: 1fr;
  }
  .market-failure-grid {
    grid-template-columns: 1fr;
  }
  .market-failure-bridge h2 {
    font-size: 2rem;
  }
}

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

/* Monospaced Restricted Labels - Institutional Style */
.restricted-node-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-warning);
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ops-card-restricted-overlay {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-color);
  margin-top: 12px;
  padding-top: 12px;
  letter-spacing: 0.5px;
}

/* ========================================================== */
/* GOVERNANCE SURVIVABILITY AUDIT (TIME MACHINE) MODULE       */
/* ========================================================== */
.quantum-ui-module {
  background: rgba(5, 10, 20, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.5),
    0 20px 40px rgba(0, 0, 0, 0.8);
}
.q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.q-slider-area {
  margin-bottom: 35px;
}
.q-slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 10px;
}
.q-slider-labels span {
  transition:
    color 0.2s,
    font-weight 0.2s;
}
.q-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}
.q-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-warning);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
  transition: transform 0.1s;
}
.q-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.q-data-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.q-data-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}
.q-data-row {
  display: flex;
  gap: 20px;
}
.q-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.q-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.q-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.q-paywall-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
@media (max-width: 768px) {
  .q-data-row {
    flex-direction: column;
    gap: 15px;
  }
  .q-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .q-val {
    font-size: 1rem;
  }
}


/* ========================================================================== */
/* PHASE-BASED LANDING SYSTEM                                                 */
/* ========================================================================== */

/* Phase Wrapper */
.phase-block {
  position: relative;
  width: 100%;
}

/* Phase Divider — cinematic separator between phases */
.phase-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-light) 20%, var(--accent-primary) 50%, var(--border-light) 80%, transparent 100%);
  opacity: 0.4;
  position: relative;
}
.phase-divider::before {
  content: attr(data-phase-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-base);
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
  white-space: nowrap;
}

/* ========================================================================== */
/* STICKY PHASE INDICATOR (LEFT RAIL)                                         */
/* ========================================================================== */
.phase-rail {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
  pointer-events: none;
}

.phase-rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  border: 1px solid var(--border-light);
  transition: all 0.4s ease;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
}

.phase-rail-dot::after {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.phase-rail-dot:hover::after,
.phase-rail-dot.active::after {
  opacity: 1;
}

.phase-rail-dot.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-glow);
  width: 8px;
  height: 8px;
}

.phase-rail-dot.visited {
  background: rgba(179, 204, 230, 0.3);
  border-color: rgba(179, 204, 230, 0.3);
}

/* ========================================================================== */
/* PHASE HEADER — sticky label at top of each phase                           */
/* ========================================================================== */
.phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 40px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 60px; /* below nav */
  z-index: 80;
}

.phase-header-index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
}

.phase-header-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.phase-header-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-primary);
  letter-spacing: 1px;
  opacity: 0.5;
}

/* ========================================================================== */
/* PHASE ATMOSPHERE — each phase has a unique background tint                 */
/* ========================================================================== */
.phase-1 { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(5,10,20,0.3) 100%); }
.phase-2 { background: linear-gradient(180deg, rgba(239,68,68,0.02) 0%, rgba(5,10,20,0.2) 100%); }
.phase-3 { background: linear-gradient(180deg, rgba(179,204,230,0.02) 0%, rgba(5,10,20,0.3) 100%); }
.phase-4 { background: linear-gradient(180deg, rgba(16,185,129,0.02) 0%, rgba(5,10,20,0.2) 100%); }
.phase-5 { background: linear-gradient(180deg, rgba(245,158,11,0.02) 0%, rgba(5,10,20,0.2) 100%); }
.phase-6 { background: linear-gradient(180deg, rgba(30,58,95,0.08) 0%, rgba(5,10,20,0.3) 100%); }
.phase-7 { background: linear-gradient(180deg, rgba(239,68,68,0.03) 0%, rgba(5,10,20,0.2) 100%); }
.phase-8 { background: linear-gradient(180deg, rgba(16,185,129,0.02) 0%, rgba(5,10,20,0.2) 100%); }
.phase-9 { background: linear-gradient(180deg, rgba(179,204,230,0.04) 0%, rgba(0,0,0,0.6) 100%); }

/* ========================================================================== */
/* NAVBAR PHASE INDICATOR                                                     */
/* ========================================================================== */
.nav-phase-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-left: 1px solid var(--border-color);
  padding-left: 16px;
  transition: all 0.4s ease;
}

.nav-phase-indicator .phase-num {
  color: var(--accent-primary);
  font-weight: 800;
}

.nav-phase-indicator .phase-name {
  opacity: 0.7;
}

/* ========================================================================== */
/* FEATURE TAB SYSTEM (PHASE 5 — ALLOCATION SYSTEMS)                         */
/* ========================================================================== */
.ops-tab-system {
  width: 100%;
}

.ops-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 40px;
  flex-wrap: nowrap;
}

.ops-tab-nav::-webkit-scrollbar { display: none; }

.ops-tab-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
}

.ops-tab-btn:hover {
  color: var(--text-main);
  background: rgba(179, 204, 230, 0.03);
}

.ops-tab-btn.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
  background: rgba(179, 204, 230, 0.04);
}

.ops-tab-btn .tab-count {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.55rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.ops-tab-btn.active .tab-count {
  color: var(--accent-primary);
  opacity: 0.8;
}

.ops-tab-panel {
  display: none;
  animation: tab-fade-in 0.35s ease;
}

.ops-tab-panel.active {
  display: block;
}

@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================================================== */
/* PHASE TRANSITION FADE — sections fade in as they enter viewport            */
/* ========================================================================== */
.phase-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.phase-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================== */
/* PHASE BREATHING ROOM — cinematic vertical spacing                          */
/* ========================================================================== */
.phase-block > .phase-header + * {
  padding-top: 60px;
}

.phase-spacer {
  height: 60px;
}

.phase-spacer-lg {
  height: 100px;
}

/* ========================================================================== */
/* MOBILE — hide rail on small screens                                        */
/* ========================================================================== */
@media (max-width: 900px) {
  .phase-rail { display: none; }
  .phase-header { padding: 10px 20px; top: 56px; }
  .nav-phase-indicator { display: none; }
  .ops-tab-btn { padding: 12px 14px; font-size: 0.6rem; }
}


/* ========================================================================== */
/* CINEMATIC OPERATIONAL PROGRESSION SYSTEM                                   */
/* ========================================================================== */

/* ── 1. PHASE ISOLATION ENGINE ─────────────────────────────────────────── */
/* Each phase block becomes a contained environment, not just a section      */

.phase-block {
  position: relative;
  isolation: isolate;
  transition: opacity 0.6s ease;
}

/* Phases that are "far" from active get dimmed — psychological distance */
.phase-block.phase-distant {
  opacity: 0.35;
}

.phase-block.phase-near {
  opacity: 0.75;
}

.phase-block.phase-active {
  opacity: 1;
}

/* ── 2. FULLSCREEN PHASE ANCHORS ────────────────────────────────────────── */
/* Key phases get viewport-dominant entry screens                            */

.phase-anchor {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
}

.phase-anchor-sm {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 80px 40px 60px;
}

/* ── 3. ATMOSPHERE LAYERS — unique per phase ────────────────────────────── */

/* Phase 1: Cold entry — deep black, minimal noise */
.phase-1 .phase-atmosphere {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 58, 95, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(5,10,20,0.2) 100%);
}

/* Phase 2: Red pressure — structural failure */
.phase-2 .phase-atmosphere {
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(239,68,68,0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.3) 0%, rgba(10,5,5,0.4) 100%);
}

/* Phase 3: Blue intelligence — DNA identity */
.phase-3 .phase-atmosphere {
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(179,204,230,0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.2) 0%, rgba(5,15,30,0.4) 100%);
}

/* Phase 4: Green operational — execution surface */
.phase-4 .phase-atmosphere {
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(16,185,129,0.04) 0%, transparent 70%),
    linear-gradient(180deg, rgba(5,10,20,0.2) 0%, rgba(0,10,8,0.3) 100%);
}

/* Phase 5: Amber — allocation systems */
.phase-5 .phase-atmosphere {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(245,158,11,0.03) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.2) 0%, rgba(10,8,0,0.3) 100%);
}

/* Phase 6: Deep navy — architecture depth */
.phase-6 .phase-atmosphere {
  background:
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(30,58,95,0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(5,10,20,0.4) 0%, rgba(0,5,20,0.5) 100%);
}

/* Phase 7: Red governance — risk restriction */
.phase-7 .phase-atmosphere {
  background:
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(239,68,68,0.05) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.3) 0%, rgba(10,0,0,0.3) 100%);
}

/* Phase 8: Green evidence — survivability */
.phase-8 .phase-atmosphere {
  background:
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(16,185,129,0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.2) 0%, rgba(0,8,5,0.3) 100%);
}

/* Phase 9: Bright gate — final access */
.phase-9 .phase-atmosphere {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(179,204,230,0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

/* ── 4. PHASE TRANSITION VEIL ───────────────────────────────────────────── */
/* The "interruption" between phases — a brief visual pause                  */

.phase-veil {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.phase-veil.flash {
  opacity: 0.18;
}

/* ── 5. PHASE ENTRY REVEAL ──────────────────────────────────────────────── */
/* Content within a phase reveals progressively, not all at once             */

.phase-entry-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phase-entry-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.phase-entry-item:nth-child(1) { transition-delay: 0s; }
.phase-entry-item:nth-child(2) { transition-delay: 0.1s; }
.phase-entry-item:nth-child(3) { transition-delay: 0.2s; }
.phase-entry-item:nth-child(4) { transition-delay: 0.3s; }
.phase-entry-item:nth-child(5) { transition-delay: 0.4s; }
.phase-entry-item:nth-child(6) { transition-delay: 0.5s; }

/* ── 6. PHASE HEADER EVOLUTION ──────────────────────────────────────────── */
/* Phase header becomes more prominent when phase is active                  */

.phase-header {
  transition: all 0.4s ease;
  border-bottom-color: transparent;
}

.phase-block.phase-active .phase-header {
  border-bottom-color: var(--border-color);
  background: rgba(0, 0, 0, 0.75);
}

/* Phase-specific header accent colors */
.phase-1.phase-active .phase-header { border-left: 2px solid rgba(179,204,230,0.4); }
.phase-2.phase-active .phase-header { border-left: 2px solid rgba(239,68,68,0.4); }
.phase-3.phase-active .phase-header { border-left: 2px solid rgba(179,204,230,0.6); }
.phase-4.phase-active .phase-header { border-left: 2px solid rgba(16,185,129,0.4); }
.phase-5.phase-active .phase-header { border-left: 2px solid rgba(245,158,11,0.4); }
.phase-6.phase-active .phase-header { border-left: 2px solid rgba(30,58,95,0.8); }
.phase-7.phase-active .phase-header { border-left: 2px solid rgba(239,68,68,0.5); }
.phase-8.phase-active .phase-header { border-left: 2px solid rgba(16,185,129,0.5); }
.phase-9.phase-active .phase-header { border-left: 2px solid rgba(179,204,230,0.8); }

/* ── 7. GRID INTENSITY VARIATION ───────────────────────────────────────── */
/* Background grid changes density per phase for atmosphere shift            */

.phase-1 { --grid-opacity: 0.25; }
.phase-2 { --grid-opacity: 0.15; }
.phase-3 { --grid-opacity: 0.20; }
.phase-4 { --grid-opacity: 0.18; }
.phase-5 { --grid-opacity: 0.22; }
.phase-6 { --grid-opacity: 0.30; }
.phase-7 { --grid-opacity: 0.12; }
.phase-8 { --grid-opacity: 0.18; }
.phase-9 { --grid-opacity: 0.28; }

/* ── 8. BREATHING SPACE — cinematic vertical rhythm ────────────────────── */

.phase-block > section,
.phase-block > div.dna-section,
.phase-block > div[id] {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* First section in a phase gets extra top breathing room */
.phase-block > .phase-header + section,
.phase-block > .phase-header + div {
  padding-top: 100px;
}

/* ── 9. PHASE DIVIDER UPGRADE ───────────────────────────────────────────── */
/* Dividers become more cinematic — a real visual pause                      */

.phase-divider {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0) 100%
  );
}

.phase-divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(179,204,230,0.15) 15%,
    rgba(179,204,230,0.4) 50%,
    rgba(179,204,230,0.15) 85%,
    transparent 100%
  );
}

.phase-divider::after {
  content: attr(data-phase-label);
  position: relative;
  z-index: 1;
  background: var(--bg-base);
  padding: 6px 24px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(179,204,230,0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(179,204,230,0.1);
  border-radius: 2px;
}

/* ── 10. SCROLL WEIGHT — makes scrolling feel deliberate ────────────────── */

html {
  scroll-behavior: smooth;
}

/* Snap points at phase boundaries for deliberate progression */
.phase-block {
  scroll-margin-top: 60px;
}

/* ── 11. PHASE PROGRESS BAR ─────────────────────────────────────────────── */
/* Thin progress line at top of viewport showing journey progress            */

.phase-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), rgba(16,185,129,0.8));
  z-index: 9999;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(179,204,230,0.4);
}

/* ── 12. PHASE COUNTER BADGE ────────────────────────────────────────────── */
/* Floating phase counter — bottom right, minimal                            */

.phase-counter {
  position: fixed;
  bottom: 30px;
  right: 30px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.phase-counter:hover { opacity: 1; }

.phase-counter-num {
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 0.75rem;
}

/* ── 13. MOBILE ADJUSTMENTS ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .phase-anchor { min-height: 80vh; padding: 100px 20px 60px; }
  .phase-anchor-sm { min-height: 60vh; padding: 60px 20px 40px; }
  .phase-divider { height: 60px; }
  .phase-counter { display: none; }
  .phase-block > section,
  .phase-block > div.dna-section { padding-top: 60px; padding-bottom: 60px; }
}


/* Phase atmosphere — fixed background layer per phase */
.phase-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.phase-1 .phase-atmosphere {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30,58,95,0.14) 0%, transparent 65%);
}
.phase-2 .phase-atmosphere {
  background:
    radial-gradient(ellipse 60% 40% at 15% 60%, rgba(239,68,68,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 30%, rgba(239,68,68,0.03) 0%, transparent 50%);
}
.phase-3 .phase-atmosphere {
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(179,204,230,0.07) 0%, transparent 60%);
}
.phase-4 .phase-atmosphere {
  background:
    radial-gradient(ellipse 50% 60% at 50% 60%, rgba(16,185,129,0.05) 0%, transparent 65%);
}
.phase-5 .phase-atmosphere {
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(245,158,11,0.04) 0%, transparent 55%);
}
.phase-6 .phase-atmosphere {
  background:
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(30,58,95,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(179,204,230,0.04) 0%, transparent 50%);
}
.phase-7 .phase-atmosphere {
  background:
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(239,68,68,0.06) 0%, transparent 55%);
}
.phase-8 .phase-atmosphere {
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(16,185,129,0.05) 0%, transparent 60%);
}
.phase-9 .phase-atmosphere {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(179,204,230,0.10) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
}

/* Ensure phase content sits above atmosphere */
.phase-block > *:not(.phase-atmosphere) {
  position: relative;
  z-index: 1;
}


/* ========================================================================== */
/* CINEMATIC ARCHITECTURE REFINEMENT — FINAL EXPERIENCE PASS                  */
/* ========================================================================== */

/* ── 1. PHASE RAIL — atmospheric floating pulses, not UI component ───────── */

.phase-rail {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 90;
  pointer-events: none;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.phase-rail-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(179, 204, 230, 0.18);
  border: none;
  box-shadow: none;
  transition: all 0.5s ease;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  animation: rail-idle-pulse 4s ease-in-out infinite;
}

/* Stagger idle pulse per dot */
.phase-rail-dot:nth-child(1)  { animation-delay: 0.0s; }
.phase-rail-dot:nth-child(2)  { animation-delay: 0.3s; }
.phase-rail-dot:nth-child(3)  { animation-delay: 0.6s; }
.phase-rail-dot:nth-child(4)  { animation-delay: 0.9s; }
.phase-rail-dot:nth-child(5)  { animation-delay: 1.2s; }
.phase-rail-dot:nth-child(6)  { animation-delay: 1.5s; }
.phase-rail-dot:nth-child(7)  { animation-delay: 1.8s; }
.phase-rail-dot:nth-child(8)  { animation-delay: 2.1s; }
.phase-rail-dot:nth-child(9)  { animation-delay: 2.4s; }

@keyframes rail-idle-pulse {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.32; }
}

.phase-rail-dot.active {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  box-shadow: 0 0 6px rgba(179, 204, 230, 0.5), 0 0 12px rgba(179, 204, 230, 0.2);
  animation: rail-active-pulse 2s ease-in-out infinite;
}

@keyframes rail-active-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(179,204,230,0.4), 0 0 8px rgba(179,204,230,0.15); }
  50%       { box-shadow: 0 0 8px rgba(179,204,230,0.7), 0 0 16px rgba(179,204,230,0.3); }
}

.phase-rail-dot.visited {
  background: rgba(179, 204, 230, 0.28);
  animation: none;
  opacity: 0.5;
}

/* Hide tooltip by default — only show on rail hover */
.phase-rail-dot::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: rgba(179, 204, 230, 0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Only show labels when hovering the rail area */
.phase-rail:hover .phase-rail-dot::after {
  opacity: 1;
}

/* ── 2. PHASE TITLE — cinematic flash, then fade out ─────────────────────── */

/* Remove permanent sticky phase header */
.phase-header {
  position: fixed !important;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 85;
  padding: 10px 40px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(179, 204, 230, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;

  /* Default: hidden */
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Active state — shown via JS class */
.phase-header.phase-title-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Phase-specific accent on the header */
.phase-1 .phase-header { border-left: 3px solid rgba(179,204,230,0.3); }
.phase-2 .phase-header { border-left: 3px solid rgba(239,68,68,0.3); }
.phase-3 .phase-header { border-left: 3px solid rgba(179,204,230,0.5); }
.phase-4 .phase-header { border-left: 3px solid rgba(16,185,129,0.3); }
.phase-5 .phase-header { border-left: 3px solid rgba(245,158,11,0.3); }
.phase-6 .phase-header { border-left: 3px solid rgba(30,58,95,0.8); }
.phase-7 .phase-header { border-left: 3px solid rgba(239,68,68,0.4); }
.phase-8 .phase-header { border-left: 3px solid rgba(16,185,129,0.4); }
.phase-9 .phase-header { border-left: 3px solid rgba(179,204,230,0.7); }

/* ── 3. VIEWPORT ISOLATION — scroll-driven depth suppression ─────────────── */

.phase-block {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter;
}

.phase-block.phase-active {
  opacity: 1;
  filter: none;
}

.phase-block.phase-near {
  opacity: 0.6;
  filter: blur(0.3px);
}

.phase-block.phase-distant {
  opacity: 0.25;
  filter: blur(0.8px);
}

/* ── 4. HERO LOCK — fullscreen dominant, isolated entry ──────────────────── */

#phase-1 {
  min-height: 100vh;
  position: relative;
}

#cold-open {
  min-height: 60vh !important;
}

#hero {
  min-height: 85vh;
  padding-top: 60px;
}

/* Hero exit fade — content fades as user scrolls away from phase 1 */
.phase-1.phase-near #hero,
.phase-1.phase-distant #hero {
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

/* ── 5. FEATURE SECTION — accordion module system ────────────────────────── */

/* Replace vertical feature wall with operational module accordion */
.ops-module-system {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 10, 20, 0.6);
}

.ops-module-row {
  border-bottom: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ops-module-row:last-child {
  border-bottom: none;
}

.ops-module-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.ops-module-trigger:hover {
  background: rgba(179, 204, 230, 0.03);
}

.ops-module-row.active .ops-module-trigger {
  background: rgba(179, 204, 230, 0.05);
  border-left: 2px solid var(--accent-primary);
}

.ops-module-index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-primary);
  opacity: 0.5;
  min-width: 28px;
  font-weight: 800;
}

.ops-module-row.active .ops-module-index {
  opacity: 1;
}

.ops-module-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  flex: 1;
  transition: color 0.2s;
}

.ops-module-row.active .ops-module-name {
  color: var(--text-main);
}

.ops-module-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.ops-module-row.active .ops-module-badge {
  background: rgba(179,204,230,0.08);
  color: var(--accent-primary);
  border-color: rgba(179,204,230,0.2);
}

.ops-module-chevron {
  font-size: 0.6rem;
  color: var(--text-muted);
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s;
}

.ops-module-row.active .ops-module-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
  color: var(--accent-primary);
}

.ops-module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
  opacity: 0;
}

.ops-module-row.active .ops-module-body {
  max-height: 600px;
  opacity: 1;
}

.ops-module-content {
  padding: 0 24px 24px 68px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* Inactive modules get dimmed */
.ops-module-row:not(.active) {
  opacity: 0.65;
}

.ops-module-row:not(.active):hover {
  opacity: 0.85;
}

/* ── 6. SCROLL INTERRUPTION — snap points at phase boundaries ────────────── */

/* Soft snap — not hard lock, just deliberate pause */
.phase-divider {
  scroll-snap-align: start;
}

/* ── 7. DENSITY CONTROL — breathing room enforcement ────────────────────── */

/* Reduce simultaneous information density */
.phase-block .ops-audit-grid {
  gap: 20px;
}

.phase-block .section-title {
  margin-bottom: 12px;
}

.phase-block .section-subtitle {
  margin-bottom: 40px;
}

/* Extra breathing between major content blocks */
.phase-block > section + section,
.phase-block > section + div,
.phase-block > div + section {
  margin-top: 40px;
}

/* ── 8. PHASE PROGRESS BAR REFINEMENT ───────────────────────────────────── */

.phase-progress-bar {
  height: 1px;
  background: linear-gradient(90deg,
    rgba(179,204,230,0.6) 0%,
    rgba(16,185,129,0.5) 60%,
    rgba(179,204,230,0.3) 100%
  );
  box-shadow: none;
  transition: width 0.15s linear;
}

/* ── 9. PHASE COUNTER — minimal, bottom right ────────────────────────────── */

.phase-counter {
  opacity: 0.3;
  transition: opacity 0.4s ease;
  bottom: 24px;
  right: 24px;
}

.phase-counter:hover {
  opacity: 0.7;
}

/* ── 10. MOBILE ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .phase-rail { left: 10px; gap: 10px; }
  .phase-rail-dot { width: 3px; height: 3px; }
  .phase-rail-dot.active { width: 5px; height: 5px; }
  .phase-rail:hover .phase-rail-dot::after { display: none; }
  .phase-header { padding: 8px 20px; top: 56px; }
  .ops-module-content { padding: 0 16px 20px 16px; grid-template-columns: 1fr; }
  .phase-block.phase-near { opacity: 0.75; filter: none; }
  .phase-block.phase-distant { opacity: 0.4; filter: none; }
}
