@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-glass: rgba(18, 18, 18, 0.7);
  --bg-glass-hover: rgba(26, 26, 26, 0.85);
  --border-glass: rgba(255, 255, 255, 0.06);
  
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #525252;
  
  --planet-light: #333333;
  --planet-dark: #161616;
  --planet-glow: rgba(255, 255, 255, 0.2);
  --planet-border: rgba(255, 255, 255, 0.1);
  
  --accent-white: #ffffff;
  --accent-gray: #cbd5e0;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.025) 0px, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.015) 0px, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.01) 0px, transparent 40%);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-white);
}

/* Header & Shared Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent-gray);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.menu-toggle {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  font-family: var(--font-heading);
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: 0.5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-white);
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--text-primary);
}

nav a.active::after {
  width: 100%;
}

/* Landing Page (Only 3D Triangle) */
.landing-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
}

.landing-title {
  text-align: center;
  margin-bottom: 2rem;
  z-index: 10;
}

.landing-title h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.landing-title p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 3D Segmented Triangle / Pyramid SVG CSS */
.pyramid-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.pyramid-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pyramid-layer {
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.face-left {
  transition: var(--transition-smooth);
}

.face-right {
  transition: var(--transition-smooth);
}

/* Basalt/Obsidian Planetary Shading (No Neon Gradients) */
#layer-top .face-left { fill: #282828; stroke: var(--planet-border); stroke-width: 1; }
#layer-top .face-right { fill: #141414; stroke: var(--planet-border); stroke-width: 1; }

#layer-middle .face-left { fill: #282828; stroke: var(--planet-border); stroke-width: 1; }
#layer-middle .face-right { fill: #141414; stroke: var(--planet-border); stroke-width: 1; }

#layer-bottom .face-left { fill: #282828; stroke: var(--planet-border); stroke-width: 1; }
#layer-bottom .face-right { fill: #141414; stroke: var(--planet-border); stroke-width: 1; }

/* Exploded Floating Hover & Corona Glow Effects */
#layer-top:hover {
  transform: translateY(-20px);
}
#layer-top:hover .face-left, #layer-top:hover .face-right {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  stroke: rgba(255, 255, 255, 0.6);
}

#layer-middle:hover {
  transform: translateY(0px) scale(1.03);
}
#layer-middle:hover .face-left, #layer-middle:hover .face-right {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  stroke: rgba(255, 255, 255, 0.6);
}

#layer-bottom:hover {
  transform: translateY(20px);
}
#layer-bottom:hover .face-left, #layer-bottom:hover .face-right {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  stroke: rgba(255, 255, 255, 0.6);
}

/* Connecting Label Lines & Dot Markers */
.pyramid-line {
  stroke-dasharray: 4;
  opacity: 0.15;
  transition: var(--transition-smooth);
}
.pyramid-layer:hover + .pyramid-line,
.pyramid-line.active {
  opacity: 0.8;
  stroke-dasharray: 0;
  stroke-width: 1.5;
  stroke: #ffffff;
}

.pyramid-dot {
  opacity: 0.3;
  transition: var(--transition-smooth);
}
.pyramid-layer:hover .pyramid-dot {
  opacity: 1;
  fill: #ffffff;
  r: 5px;
}

/* Label Texts in SVG */
.pyramid-label {
  fill: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  transition: var(--transition-smooth);
}

.pyramid-sublabel {
  fill: var(--text-muted);
  font-family: var(--font-body);
  font-size: 10px;
  transition: var(--transition-smooth);
}

.pyramid-layer:hover .pyramid-label {
  fill: var(--text-primary);
}
.pyramid-layer:hover .pyramid-sublabel {
  fill: var(--accent-gray);
}

/* Option Detail Pages Layout */
.strategy-page {
  padding: 8rem 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 90vh;
}

.page-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 2rem;
}

.page-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Card Grid Layout */
.grid-2-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
}

.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--text-primary);
  padding-left: 0.75rem;
  letter-spacing: 0.5px;
}

/* Roadmap Flow Elements (Static Timeline Roadmap) */
.roadmap-flow {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.roadmap-step {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: default;
  transition: var(--transition-smooth);
}

.roadmap-step:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Step Marker (Timeline Dot) */
.step-marker {
  display: block;
  position: absolute;
  left: calc(-2rem - 7px);
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.step-requirement {
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-top: 0.35rem;
  opacity: 0.9;
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-details {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--accent-gray);
  line-height: 1.6;
  display: block; /* Selalu tampilkan detail taktik */
}

/* Tables for Executive Risk Analysis */
.executive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.executive-table th, .executive-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.executive-table th {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.executive-table td {
  color: var(--text-secondary);
}

.risk-col {
  color: #e53e3e;
  font-weight: 600;
}

/* Resources & Meta Block */
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.meta-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.meta-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.meta-item p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Overview Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

/* Muara Loop Circular Engine */
.muara-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
}

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

.cycle-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: rotateCircle 25s linear infinite;
}

@keyframes rotateCircle {
  to { stroke-dashoffset: -200; }
}

.node-btn {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0.25rem;
  color: var(--text-secondary);
  z-index: 5;
}

.node-btn span {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.node-btn:hover,
.node-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-primary);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  color: white;
  transform: scale(1.08);
}

.pos-1 { top: 0%; left: 50%; transform: translateX(-50%); }
.pos-2 { top: 30%; left: 95%; transform: translate(-50%, -50%); }
.pos-3 { top: 80%; left: 78%; transform: translate(-50%, -50%); }
.pos-4 { top: 80%; left: 22%; transform: translate(-50%, -50%); }
.pos-5 { top: 30%; left: 5%; transform: translate(-50%, -50%); }

.active-detail-panel {
  min-height: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.active-detail-title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

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

.comparison-table th, .comparison-table td {
  padding: 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.comparison-table th {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.01);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* Status Badges for table */
.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}
.status-badge.red { background: rgba(229, 62, 62, 0.1); color: #feb2b2; border-color: rgba(229, 62, 62, 0.3); }
.status-badge.orange { background: rgba(237, 137, 54, 0.1); color: #fbd38d; border-color: rgba(237, 137, 54, 0.3); }
.status-badge.green { background: rgba(72, 187, 120, 0.1); color: #c6f6d5; border-color: rgba(72, 187, 120, 0.3); }

/* Bottom CTA / Print Buttons */
.footer-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-space {
  background: #ffffff;
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.95rem;
  border: 1px solid #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-space:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border-glass);
  margin-top: 4rem;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
  .pyramid-wrapper {
    height: 400px;
  }
  
  .grid-2-col,
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  nav ul {
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
  }

  .menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 105;
    line-height: 1;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 2rem 1.5rem;
    z-index: 100;
  }

  nav.active {
    display: block;
    animation: navSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .strategy-page {
    padding: 2.5rem 1.25rem 3rem 1.25rem;
  }

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

@media (max-width: 576px) {
  .landing-title h1 {
    font-size: 1.6rem;
    letter-spacing: 4px;
  }
  
  .pyramid-wrapper {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .muara-wrapper {
    max-width: 280px;
  }
  
  .node-btn {
    width: 65px;
    height: 65px;
    font-size: 0.6rem;
  }
  
  .node-btn span {
    font-size: 1rem;
  }
  
  .landing-title h1 {
    font-size: 1.4rem;
  }
  
  .panel-title {
    font-size: 1.2rem;
  }
  
  .glass-panel {
    padding: 1.25rem;
  }
}

/* Variant Toggle Buttons styling in Opsi 2 */
.variant-toggle-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  flex: 1;
  text-align: center;
}

.variant-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.variant-toggle-btn.active {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent-white) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

/* Brief Summary Roadmap (Horizontal Timeline at the Top) */
.summary-roadmap-wrapper {
  background: rgba(18, 18, 18, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-roadmap-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.summary-roadmap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
}

@media (max-width: 768px) {
  .summary-roadmap {
    justify-content: flex-start;
    padding: 0.5rem 1rem;
  }
}

.summary-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 100px;
  text-align: center;
}

.summary-node .node-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--text-muted);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.summary-node:hover .node-num {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.summary-node .node-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.summary-line {
  flex: 1;
  height: 2px;
  background: var(--border-glass);
  min-width: 30px;
  margin-bottom: 1.5rem; /* Aligns with node-num height */
}

/* Interactive Logic Simulator Styles */
.simulator-panel {
  margin-top: 3rem;
  background: rgba(18, 18, 18, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 2rem;
}

.simulator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.simulator-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  border-left: 3px solid var(--text-primary);
  padding-left: 0.75rem;
}

.simulator-controls {
  display: flex;
  gap: 0.75rem;
}

.sim-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-heading);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
}

.sim-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.sim-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.simulator-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .simulator-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Simulator Left Side: Visual Nodes */
.sim-visualizer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.sim-visual-line {
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.sim-node-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 2;
  cursor: pointer;
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.sim-node-item.active {
  opacity: 1;
}

.sim-node-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--text-muted);
  color: var(--text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.sim-node-item.active .sim-node-dot {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.sim-node-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sim-node-item.active .sim-node-label {
  color: var(--text-primary);
  font-weight: 600;
}

/* Simulator Right Side: Detail Box */
.sim-detail-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 0.4s ease;
  transition: var(--transition-smooth);
}

.sim-detail-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-detail-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.sim-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
}

.sim-meta-block strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.sim-meta-block p {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Mobile Layout for the 3D Pyramid & Labels */
@media (max-width: 768px) {
  .pyramid-wrapper {
    height: 380px !important;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .pyramid-svg {
    transform: scale(1.08);
    transform-origin: center;
  }

  .pyramid-label {
    font-size: 9.5px !important;
  }

  .pyramid-sublabel {
    font-size: 8px !important;
  }

  /* Hide visualizer nodes list on mobile to focus on the presentation slide deck */
  .sim-visualizer {
    display: none !important;
  }

  .simulator-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .simulator-panel {
    padding: 1.25rem;
    margin-top: 2rem;
  }

  .sim-detail-box {
    padding: 1.25rem;
    min-height: auto;
  }

  .sim-detail-meta {
    grid-template-columns: 1fr; /* Stack meta items vertically on mobile */
    gap: 1rem;
  }
}
