@import url('./tokens.css');

/* ==========================================================================
   ULTRA-LUXURY MONOCHROME APPLE LIQUID GLASS (BLACK & WHITE)
   ========================================================================== */
:root {
  --bg-obsidian: #000000;
  --bg-obsidian-deep: #000000;
  --bg-obsidian-subtle: #080808;
  --bg-surface: #101012;

  --accent-neon: #FFFFFF;
  --accent-neon-hover: #E4E4E7;
  --accent-neon-glow: rgba(255, 255, 255, 0.45);
  --accent-neon-muted: rgba(255, 255, 255, 0.12);

  --accent-emerald: #F4F4F5;
  --accent-emerald-dark: #18181B;
  --accent-amber: #FFFFFF;
  --accent-amber-glow: rgba(255, 255, 255, 0.35);
  --accent-cyan: #FFFFFF;
  --accent-cyan-glow: rgba(255, 255, 255, 0.35);

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.085);
  --glass-bg-active: rgba(255, 255, 255, 0.12);
  --glass-bg-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  --glass-bg-elevated: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  --glass-blur: 45px;
  --glass-saturate: 190%;
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-hover: rgba(255, 255, 255, 0.35);
  --glass-specular: inset 0 1.5px 2px rgba(255, 255, 255, 0.65), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
  --glass-specular-neon: 0 -2px 30px rgba(255, 255, 255, 0.3), inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  --glass-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 1px 1px rgba(255, 255, 255, 0.08);

  --text-primary: #FFFFFF;
  --text-secondary: #E4E4E7;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-obsidian);
  color: var(--text-secondary);
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  /* High-end Apple Pure Monochrome Background Gradient (Pure pitch black with soft white blooms) */
  background-image: 
    radial-gradient(ellipse 90% 65% at 75% 18%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 65%, rgba(255, 255, 255, 0.035) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 85%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
}

::selection {
  background-color: var(--accent-neon);
  color: #000000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-neon);
}

/* ==========================================================================
   APPLE AMBIENT LIGHTING DEPTH (Behind Frosted Glass)
   ========================================================================== */
.ambient-light-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.ambient-orb-1 {
  width: 900px;
  height: 900px;
  top: -160px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
  filter: blur(100px);
  animation: orbFloat1 24s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 800px;
  height: 800px;
  top: 42%;
  left: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
  filter: blur(110px);
  animation: orbFloat2 28s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: 850px;
  height: 850px;
  bottom: -150px;
  right: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
  filter: blur(100px);
  animation: orbFloat3 32s ease-in-out infinite alternate;
}

.ambient-mesh-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.6;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 90px) scale(1.1); }
  100% { transform: translate(50px, -60px) scale(0.95); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -70px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.92); }
}

@keyframes orbFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, -90px) scale(1.12); }
  100% { transform: translate(60px, 40px) scale(0.96); }
}

/* Stage-specific localized auroras that illuminate when active */
.stage-aurora-glow {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: blur(85px);
  mix-blend-mode: screen;
  opacity: 0.15;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-stage.is-active .stage-aurora-glow {
  opacity: 1;
  transform: scale(1);
}

.aurora-hero {
  width: 680px;
  height: 680px;
  top: 15%;
  right: 5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

.aurora-bento {
  width: 850px;
  height: 650px;
  top: 20%;
  left: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

.aurora-yespower {
  width: 750px;
  height: 650px;
  top: 20%;
  right: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

.aurora-masternodes {
  width: 800px;
  height: 650px;
  top: 22%;
  left: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

.aurora-security {
  width: 800px;
  height: 650px;
  top: 22%;
  right: 15%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

.aurora-calc {
  width: 900px;
  height: 700px;
  top: 22%;
  right: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

.aurora-stage1, .aurora-stage3, .aurora-stage5, .aurora-stage7, .aurora-stage9, .aurora-stage10, .aurora-stage12, .aurora-stage13 {
  width: 750px;
  height: 650px;
  top: 22%;
  left: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
}

/* Top Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  z-index: 1200;
  transition: width 0.15s ease-out;
}

/* ==========================================================================
   APPLE FLOATING CAPSULE HUD (DYNAMIC ISLAND HEADER - MATCHING MOCKUP 1)
   ========================================================================== */
.hud-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1400px;
  height: 62px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(16, 16, 18, 0.86) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-specular);
  border-radius: var(--border-radius-pill);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  transition: all var(--transition-smooth);
  position: fixed;
  overflow: hidden;
}

.hud-header:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(20, 20, 24, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.95), inset 0 1.5px 2px rgba(255, 255, 255, 0.7);
}

/* Stage Tracker in HUD (Hidden on desktop for ultra-clean look) */
.hud-stage-tracker {
  display: none;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hud-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: transform var(--transition-fast);
}

.hud-brand:hover .hud-logo {
  transform: scale(1.12);
}

.hud-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-badge-mini {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-neon);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

/* Dynamic Island Capsule Pill (Center) */
.hud-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 4px 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.ticker-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 8px var(--accent-neon);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.ticker-chip .label {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.62rem;
}

.ticker-chip .val {
  color: #FFFFFF;
  font-weight: 600;
}

.ticker-chip.amber .val {
  color: var(--accent-amber);
}

.ticker-chip.cyan .val {
  color: var(--accent-cyan);
}

/* Actions & Language Capsule */
.hud-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 2px;
}

/* Floating Persistent Language Toggle Capsule */
.floating-lang-capsule {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(16, 16, 18, 0.88) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-pill);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), var(--glass-specular);
  padding: 3px 4px;
  gap: 2px;
  transition: all var(--transition-smooth);
}

.floating-lang-capsule:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
}

.lang-btn,
.lang-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover,
.lang-pill-btn:hover {
  color: #FFFFFF;
}

.lang-btn.active,
.lang-pill-btn.active {
  background: #FFFFFF;
  color: #000000 !important;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.4), inset 0 1px 1px #FFFFFF;
}

.btn-github-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.btn-github-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   FLOATING STORY NAVIGATION RAIL (RIGHT)
   ========================================================================== */
.story-nav-rail {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.story-nav-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(18, 18, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 9999px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.story-nav-item:hover .story-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.story-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.story-nav-item:hover .story-nav-dot {
  background: #FFFFFF;
  border-color: #FFFFFF;
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.story-nav-item.active .story-nav-dot {
  background: #FFFFFF;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
  border-color: #FFFFFF;
  transform: scale(1.5);
}

/* ==========================================================================
   SCROLLYTELLING CONTAINER & INDEPENDENT HERO STAGES
   ========================================================================== */
.story-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Each stage is an independent Hero with cinematic reveal on scroll */
.story-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 4vw 32px;
  position: relative;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  opacity: 0.18;
  transform: translateY(35px) scale(0.975);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Stage Spotlight */
.story-stage.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  pointer-events: auto;
}

.stage-content {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* Layout Variations */
.stage-grid-two,
.stage-dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: stretch;
  width: 100%;
}

.stage-dual-cards > .glass-card,
.stage-grid-two > .glass-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.stage-dual-cards > .glass-card > .math-box,
.stage-dual-cards > .glass-card > .quote-block,
.stage-dual-cards > .glass-card > .specs-table-wrap,
.stage-dual-cards > .glass-card > .card-callout-bottom,
.stage-dual-cards > .glass-card > div[style*="border-left"]:last-child {
  margin-top: auto;
}

.stage-card-wide {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

.stage-centered {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   APPLE LIQUID GLASS CARDS & PANELS
   ========================================================================== */
.glass-card,
.glass-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-specular);
  border-radius: var(--border-radius-lg);
  padding: 1.85rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.story-stage.is-active .glass-card,
.story-stage.is-active .glass-panel {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.85), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
}

.glass-card:hover,
.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 36px 72px -14px rgba(0, 0, 0, 0.9), inset 0 1px 1.5px rgba(255, 255, 255, 0.6);
}

.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-neon);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.025em;
}

.card-subtitle {
  font-size: clamp(0.85rem, 1.1vw, 0.96rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-body-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-body-text p {
  margin-bottom: 0.75rem;
}

/* Frosted Quote Box */
.satoshi-quote {
  border-left: 3px solid #FFFFFF;
  padding: 0.8rem 1.15rem;
  margin: 0.85rem 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  font-style: italic;
  color: #FFFFFF;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Feature List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feature-list li i {
  color: var(--accent-neon);
  margin-top: 4px;
}

/* ==========================================================================
   STAGE 0: HERO (APPLE LIQUID GLASS MASTER CARD WITH 3D COIN SHOWCASE)
   ========================================================================== */
.hero-master-card {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.2rem 2.6rem 1.8rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.95), inset 0 1.5px 2px rgba(255, 255, 255, 0.55);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: visible;
  transition: all var(--transition-smooth);
}

.hero-master-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 45px 100px -20px rgba(0, 0, 0, 0.98), inset 0 1.5px 2px rgba(255, 255, 255, 0.7);
}

/* Header bar inside Hero Master Card */
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card-header .card-kicker {
  margin-bottom: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent-neon);
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.hero-badge-item.amber {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-badge-item.blue {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}

/* 2-Column Split inside Hero Master Card */
.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(480px, 1.22fr) minmax(360px, 0.88fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-narrative-col {
  text-align: left;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-ticker-symbol {
  font-family: var(--font-heading);
  font-size: 0.65em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #E4E4E7;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.hero-satoshi-box {
  margin: 0.85rem 0 1rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
}

.hero-lead-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.hero-micro-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.hero-metric-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.hero-metric-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.hero-metric-pill i {
  color: #FFFFFF;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Apple Liquid Glass CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #000000 !important;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25), inset 0 1px 1px #ffffff;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #E4E4E7;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.45), 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Hero Right Column: Authentic 3D Coin Showcase */
.hero-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.apple-glass-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient Radial Backlight Halo */
.hero-coin-halo {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
  animation: haloPulse 7s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* 3D Coin Floating Container */
.hero-coin-3d-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.08));
  animation: coinFloat3D 6s ease-in-out infinite alternate;
  transition: transform var(--transition-smooth);
}

.apple-glass-showcase:hover .hero-coin-3d-wrap {
  transform: scale(1.04) translateY(-6px);
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.18));
}

@keyframes coinFloat3D {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.8deg); }
  100% { transform: translateY(4px) rotate(-0.8deg); }
}

.hero-coin-3d-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

/* Floating Apple Spatial Micro-Badges */
.spatial-badge {
  position: absolute;
  background: rgba(18, 18, 20, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  padding: 8px 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatBadge 6s ease-in-out infinite alternate;
}

.spatial-badge:hover {
  background: rgba(28, 28, 32, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.badge-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.diamond-wrap {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cpu-wrap {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.bolt-wrap {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.spatial-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: #FFFFFF;
}

.spatial-badge span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.badge-top-right {
  top: 10px;
  right: -25px;
}

.badge-bottom-left {
  bottom: 25px;
  left: -35px;
  animation-delay: -2s;
}

.badge-bottom-right {
  bottom: 15px;
  right: -20px;
  animation-delay: -4s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Footer bar inside Hero Master Card */
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-hint i {
  color: #FFFFFF;
  animation: bounceDown 2s infinite ease-in-out;
}

.hero-spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   STAGE 1: COMPARISON BOXES
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.comparison-box {
  padding: 1.4rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-box.ideal {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.comparison-box.warn {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}

.comp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.comparison-box.ideal .comp-header i {
  color: var(--accent-neon);
}

.comparison-box.warn .comp-header i {
  color: var(--accent-amber);
}

.comparison-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.comparison-box ul li {
  position: relative;
  padding-left: 18px;
}

.comparison-box ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--text-dim);
}

.comparison-box.ideal ul li::before {
  color: var(--accent-neon);
}

/* ==========================================================================
   STAGE 2: BENTO BOX GRID (EXACT MATCH TO MOCKUP 2)
   ========================================================================== */
.bento-grid-wrap,
.bento-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
  text-align: left;
}

.bento-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-neon);
  margin-bottom: 6px;
}

.bento-graphic-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 80px;
  margin-top: 1rem;
}

.bento-vector {
  width: 75px;
  height: 75px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
  transition: transform var(--transition-smooth);
}

.bento-card:hover .bento-vector {
  transform: scale(1.1) rotate(2deg);
}

.bento-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem 2.2rem 1.8rem;
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.45),
    inset 0 0 20px rgba(255, 255, 255, 0.02),
    0 24px 48px -10px rgba(0, 0, 0, 0.7);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.65),
    0 30px 60px -10px rgba(0, 0, 0, 0.85);
}

.bento-card-top {
  margin-bottom: 1.25rem;
}

.bento-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.bento-label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.bento-card-visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  margin-bottom: 1rem;
}

.bento-micro-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.bento-micro-badge.fx-badge {
  font-family: serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.bento-vector-art {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bento-vector-art.full-width-art {
  width: 100%;
}

.bento-svg-large {
  width: 85px;
  height: 85px;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.25));
}

.speed-art-svg {
  width: 150px;
  height: 75px;
}

.bento-sub {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
}

/* Timeline Widget (Tile 3 - Mockup 2) */
.bento-timeline-row {
  justify-content: center;
  width: 100%;
}

.bento-ruler-widget {
  width: 100%;
  padding: 0 4px;
}

.ruler-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.ruler-labels .active-val {
  color: var(--accent-neon);
  font-weight: 700;
}

.ruler-axis-wrap {
  position: relative;
  height: 24px;
}

.ruler-indicator-arrow {
  position: absolute;
  top: -8px;
  transform: translateX(-50%);
  color: var(--accent-neon);
  font-size: 0.75rem;
  filter: drop-shadow(0 0 6px var(--accent-neon));
}

.ruler-axis-line {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.ruler-ticks {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 14px;
}

.ruler-ticks .tick {
  position: absolute;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.35);
}

.ruler-ticks .tick.minor {
  width: 1px;
  height: 8px;
  top: 3px;
}

.ruler-ticks .tick.major {
  width: 2px;
  height: 14px;
  top: 0;
}

.ruler-ticks .tick.active {
  background: var(--accent-neon);
  box-shadow: 0 0 6px var(--accent-neon);
}

/* ==========================================================================
   TABLES & BADGES
   ========================================================================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.88rem;
  text-align: left;
}

.specs-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.table-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
}

.table-badge.success {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-neon);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.table-badge.warn {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   STAGE 4: MASTERNODE KEYS GRID
   ========================================================================== */
.keys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.key-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 1.1rem;
  transition: all var(--transition-fast);
}

.key-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.key-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.key-box p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   STAGE 5: SPEED COMPARISON
   ========================================================================== */
.speed-comparison {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.speed-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.speed-coin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}

.speed-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
}

.bar-fill.neon {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #FFFFFF);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.speed-val {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.speed-row.highlight .speed-val {
  color: var(--accent-neon);
  font-weight: 700;
}

/* ==========================================================================
   STAGE 6: SUPPLY LOCK BOX
   ========================================================================== */
.supply-lock-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.lock-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 1rem;
}

.lock-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  letter-spacing: -0.02em;
}

.lock-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.lock-progress-wrap {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.lock-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), #FFFFFF);
  border-radius: 9999px;
}

.lock-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ==========================================================================
   STAGE 7: CALCULADORA WORKSTATION (MATCHING MOCKUP 3)
   ========================================================================== */
.calc-workstation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  text-align: left;
}

/* Illuminated Laser Top Rim on Panels (Mockup 3) */
.calc-inputs-panel,
.calc-results-panel {
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 -2px 25px rgba(255, 255, 255, 0.25),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.9),
    0 30px 60px rgba(0, 0, 0, 0.85);
}

.panel-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.calc-inputs-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
}

.calc-val-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-neon);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 9999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.calc-val-badge.amber {
  color: var(--accent-amber);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.slider-track-wrap {
  position: relative;
  width: 100%;
}

.glass-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7), inset 0 -0.5px 1px rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.glass-slider:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.glass-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFFFF 0%, #E4E4E7 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  cursor: grab;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.65), inset 0 1px 1px #FFFFFF;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 24px rgba(255, 255, 255, 1), 0 6px 16px rgba(0, 0, 0, 0.75), inset 0 1.5px 1.5px #FFFFFF;
}

.glass-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.08);
}

.slider-ticks-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.select-glass-wrap {
  position: relative;
  width: 100%;
}

.glass-select {
  width: 100%;
  background: rgba(18, 18, 20, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.25), 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}

/* Calculator Results Panel */
.calc-results-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.result-metric-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4), 0 20px 40px rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-md);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  min-height: 220px;
}

.result-metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

.res-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.res-big-num {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.res-unit {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.res-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.res-roi {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.sparkline-wrap {
  width: 100%;
  height: 50px;
  margin-top: auto;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
}

.mn-card-btn-wrap {
  margin-top: 10px;
}

.btn-mn-details-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-mn-details-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
}

/* Calculator Summary Footbar (Mockup 3) */
.calc-summary-footbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 12px 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.sum-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.sum-label {
  color: var(--text-muted);
}

.sum-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.sum-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   STAGE 8: ECOSISTEMA & FAQ
   ========================================================================== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
  flex: 1;
}

.eco-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  padding: 0.95rem 1.15rem;
  text-decoration: none;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.eco-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.035) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
}

.eco-icon {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.eco-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.eco-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.downloads-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
}

.faq-item.open {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
}

.faq-question i {
  color: var(--accent-neon);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Accessibility & Hidden Test Containers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.footer-copy {
  flex: 1;
  text-align: left;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   APPLE LIQUID GLASS SPECULAR RIDGE (TOP EDGE OPTICAL BEVEL)
   ========================================================================== */
.glass-card::before,
.glass-panel::before,
.bento-card::before,
.hero-master-card::before,
.calc-workstation::before,
.result-tile::before,
.crisis-card::before,
.persona-card::before,
.eco-card::before,
.hud-header::before,
.whitepaper-reader-wrap::before,
.specs-table-wrap::before,
.market-table-wrap::before,
.faq-item::before,
.stage-card-wide::before,
.hero-satoshi-box::before,
.math-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  pointer-events: none;
  z-index: 4;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.85;
}

.glass-card:hover::before,
.glass-panel:hover::before,
.bento-card:hover::before,
.hero-master-card:hover::before,
.calc-workstation:hover::before,
.result-tile:hover::before,
.crisis-card:hover::before,
.persona-card:hover::before,
.eco-card:hover::before,
.hud-header:hover::before,
.whitepaper-reader-wrap:hover::before,
.specs-table-wrap:hover::before,
.market-table-wrap:hover::before,
.faq-item:hover::before,
.stage-card-wide:hover::before,
.hero-satoshi-box:hover::before,
.math-box:hover::before {
  left: 2%;
  right: 2%;
  opacity: 1;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

/* Specular Mouse Spotlight on Glass Elements */
.glass-card::after,
.glass-panel::after,
.bento-card::after,
.hero-master-card::after,
.calc-workstation::after,
.result-tile::after,
.crisis-card::after,
.persona-card::after,
.eco-card::after,
.faq-item::after,
.whitepaper-reader-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.glass-card:hover::after,
.glass-panel:hover::after,
.bento-card:hover::after,
.hero-master-card:hover::after,
.calc-workstation:hover::after,
.result-tile:hover::after,
.crisis-card:hover::after,
.persona-card:hover::after,
.eco-card:hover::after,
.faq-item:hover::after,
.whitepaper-reader-wrap:hover::after {
  opacity: 1;
}

/* Apple Official Logo Emblem inside Titanium Showcase */
.hero-emblem-img.hero-official-emblem {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.15));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  animation: emblemFloat 6s ease-in-out infinite alternate;
}

@keyframes emblemFloat {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.03) rotate(1.5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.glass-lens-disc:hover .hero-emblem-img.hero-official-emblem {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 70px rgba(255, 255, 255, 0.25));
}

/* Apple Frosted Glass Toast Notification */
.apple-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px) scale(0.95);
  background: rgba(18, 18, 20, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 255, 255, 0.15), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  padding: 11px 24px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.toast-icon {
  color: var(--accent-neon);
  font-size: 1.05rem;
}

/* Stage 4: Masternode Tier Selector */
.mn-tier-toggle-row {
  display: flex;
  gap: 10px;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.mn-tier-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mn-tier-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.mn-tier-pill.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000 !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.mn-tier-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  margin-top: 0.5rem;
}

.mn-tier-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mn-tier-metric strong {
  color: #FFFFFF;
}

/* Stage 7: Quick Hardware Presets */
.calc-presets-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.preset-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 7px 15px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.preset-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000 !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

/* Mobile Navigation Trigger Button */
.hud-mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hud-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 86px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: rgba(16, 16, 18, 0.95);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 18px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.mobile-drawer-close:hover {
  color: #FFFFFF;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.mobile-drawer-link .badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-neon);
  font-weight: 700;
}

/* ==========================================================================
   APPLE LIQUID GLASS SPECIFICATIONS TABLES & DATA CONTAINERS
   ========================================================================== */
.specs-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 20px 45px rgba(0, 0, 0, 0.65);
  margin: 1.5rem 0 0;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.specs-table th {
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.specs-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  line-height: 1.5;
  transition: background var(--transition-fast);
}

/* Stage 3 Technical Specs Compact Height to Fit Desktop Viewports */
#stage-3 .specs-table th {
  padding: 8px 14px;
  font-size: 0.74rem;
}

#stage-3 .specs-table td {
  padding: 6px 14px;
  font-size: 0.81rem;
  line-height: 1.35;
}

#stage-3 .specs-table-wrap {
  margin: 0.85rem 0 0;
}

/* Dual Card tables (Stages 9 & 10): Fixed width, wrap text cleanly, zero horizontal scrollbar */
.stage-dual-cards .specs-table {
  width: 100%;
  table-layout: fixed;
  font-size: 0.74rem;
}

.stage-dual-cards .specs-table th {
  padding: 8px 6px;
  font-size: 0.67rem;
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.stage-dual-cards .specs-table td {
  padding: 7px 6px;
  font-size: 0.74rem;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.stage-dual-cards .specs-table-wrap {
  overflow-x: hidden;
  margin-top: 0.75rem;
  width: 100%;
}

.stage-dual-cards .table-badge {
  padding: 2px 4px;
  font-size: 0.60rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

#stage-9 .specs-table th,
#stage-9 .specs-table td {
  padding: 5px 3px !important;
  font-size: 0.68rem !important;
}

#stage-9 .specs-table th {
  font-size: 0.63rem !important;
}

#stage-9 .specs-table th:nth-child(1) { width: 10%; }
#stage-9 .specs-table th:nth-child(2) { width: 24%; }
#stage-9 .specs-table th:nth-child(3) { width: 13%; }
#stage-9 .specs-table th:nth-child(4) { width: 16%; }
#stage-9 .specs-table th:nth-child(5) { width: 13%; }
#stage-9 .specs-table th:nth-child(6) { width: 24%; }

#stage-10 .specs-table th:nth-child(1) { width: 18%; }
#stage-10 .specs-table th:nth-child(2) { width: 21%; }
#stage-10 .specs-table th:nth-child(3) { width: 20%; }
#stage-10 .specs-table th:nth-child(4) { width: 22%; }
#stage-10 .specs-table th:nth-child(5) { width: 19%; }

.specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--accent-neon);
}

.table-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.table-badge.success {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-neon);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Apple Frosted Math Formula Box */
.math-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 1.15rem 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  text-align: center;
  overflow-x: auto;
}

/* ==========================================================================
   STAGE 11: CALCULADORA WORKSTATION GRID & RESULTS HUD
   ========================================================================== */
.calc-workstation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
  align-items: stretch;
}

.calc-header-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
  gap: 1.5rem;
  width: 100%;
}

.calc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.calc-presets-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
}

.presets-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 6px 14px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.preset-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.calc-inputs-grid {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 0;
  height: 100%;
}

.calc-input-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.calc-cell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calc-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-marks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.tier-switch-wrap {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.tier-pill-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tier-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.tier-pill-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000 !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.calc-results-hud {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  height: 100%;
}

.result-tile {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4), 0 24px 48px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: auto;
  box-sizing: border-box;
  transition: all var(--transition-smooth);
}

.result-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.6), 0 30px 60px rgba(0, 0, 0, 0.85);
}

.result-tile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.result-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.result-icon-badge.pow {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

.result-icon-badge.mn {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

.result-type-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.result-sub-label {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.result-primary-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
}

.result-primary-number .unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 500;
}

.result-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
  margin-bottom: 0.8rem;
}

.sparkline-container {
  height: 50px;
  width: 100%;
  margin-top: auto;
}

/* ==========================================================================
   STAGE 13: FAQ DETAILS/SUMMARY & WHITEPAPER SPLIT READER
   ========================================================================== */
.faq-accordion-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

details.faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

details.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

details.faq-item summary {
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  list-style: none;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary i {
  color: #FFFFFF;
  font-size: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

details.faq-item[open] summary i {
  transform: rotate(180deg);
}

details.faq-item .faq-answer {
  padding: 0 1.15rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.6rem;
}

.whitepaper-reader-wrap {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.35), 0 30px 60px rgba(0, 0, 0, 0.7);
  margin-top: 1rem !important;
}

.reader-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-box-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.glass-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 10px 16px 10px 38px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.glass-search-input:focus {
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.reader-stats {
  display: flex;
  gap: 8px;
}

.badge-mini {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reader-split-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  min-height: 320px;
  max-height: 340px;
}

.reader-toc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
}

.toc-item {
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.1);
}

.toc-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.reader-content-viewport {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  max-height: 340px;
  overflow-y: auto;
  text-align: left;
  line-height: 1.6;
}

.chapter-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.chapter-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.lang-switch-footer {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 2px;
}

.footer-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 6px 16px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.footer-divider {
  color: var(--text-dim);
  opacity: 0.5;
}

/* ==========================================================================
   CONSOLIDATED RESPONSIVE MEDIA QUERIES (QWEN ARCHITECTURAL STANDARD)
   ========================================================================== */

/* 1. Medium Laptops to Tablets Landscape (1100px) */
@media (max-width: 1100px) {
  .hero-stage-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-left-col {
    text-align: center;
  }
  .hero-badges-row,
  .hero-micro-metrics,
  .hero-cta-row,
  .hero-scroll-prompt {
    justify-content: center;
  }
  .bento-grid-wrap,
  .bento-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2. Small Tablets & Phablets (900px) */
@media (max-width: 900px) {
  .keys-grid {
    grid-template-columns: 1fr;
  }
  .reader-split-layout {
    grid-template-columns: 1fr;
  }
}

/* 3. Mobile Devices (768px and down) */
@media (max-width: 768px) {
  html {
    scroll-snap-type: none !important;
  }
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .story-stage {
    min-height: auto !important;
    height: auto !important;
    padding: 64px 16px 28px !important;
  }
  .stage-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .glass-card {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .stage-card-wide {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .stage-grid-two,
  .stage-dual-cards {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }
  .bento-grid-wrap,
  .bento-grid-3x2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .bento-card {
    min-height: auto !important;
    padding: 1.25rem 1.15rem !important;
  }
  .bento-val {
    font-size: 1.75rem !important;
  }
  .calc-workstation {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 1.25rem !important;
  }
  .calc-inputs-grid,
  .calc-results-hud {
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calc-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .calc-presets-bar {
    gap: 6px !important;
  }
  .preset-btn {
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
  }
  .calc-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .roadmap-grid {
    grid-template-columns: 1fr !important;
  }
  .story-nav-rail {
    display: none !important;
  }
  .hero-card-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  .card-kicker {
    text-align: center !important;
    font-size: 0.72rem !important;
  }
  .hero-badge-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .hero-narrative-col {
    text-align: center !important;
  }
  .hero-main-title {
    font-size: clamp(2.1rem, 8vw, 2.75rem) !important;
    text-align: center !important;
  }
  .hero-tagline {
    font-size: 0.95rem !important;
    text-align: center !important;
  }
  .hero-satoshi-box {
    text-align: center !important;
    margin: 0.75rem auto 1rem !important;
    font-size: 0.82rem !important;
  }
  .hero-lead-text {
    text-align: center !important;
    font-size: 0.85rem !important;
  }
  .hero-micro-metrics {
    justify-content: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
  .hero-metric-pill {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .hero-visual-col {
    order: 1 !important;
    margin: 0.5rem auto 0 !important;
  }
  .apple-glass-showcase {
    max-width: 240px !important;
    width: 240px !important;
    height: 220px !important;
    margin: 1rem auto !important;
  }
  .hero-coin-3d-wrap {
    max-width: 180px !important;
    height: 180px !important;
  }
  .hero-coin-halo {
    width: 190px !important;
    height: 190px !important;
  }
  .hero-coin-3d-img {
    width: 160px !important;
    height: 160px !important;
  }
  .glass-lens-disc {
    width: 220px !important;
    height: 220px !important;
    border-width: 8px !important;
  }
  .inner-titanium-coin {
    width: 160px !important;
    height: 160px !important;
  }
  .spatial-badge {
    display: none !important;
  }
  .specs-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    margin: 1rem 0 !important;
  }
  .specs-table {
    min-width: 480px !important;
    font-size: 0.76rem !important;
  }
  .specs-table th,
  .specs-table td {
    padding: 8px 10px !important;
  }
  .stage-dual-cards .specs-table {
    min-width: 440px !important;
  }
  .personas-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .crisis-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .floating-lang-capsule {
    top: 12px !important;
    right: 12px !important;
    padding: 2px 3px !important;
  }
  .lang-pill-btn {
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
  }
  details.faq-item summary {
    font-size: 0.88rem !important;
    padding: 12px 14px !important;
  }
  .faq-answer {
    font-size: 0.84rem !important;
    padding: 0 14px 14px !important;
  }
  .search-box-wrap {
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .reader-split-layout {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    max-height: none !important;
  }
  .reader-toc-sidebar {
    max-height: 200px !important;
  }
  .reader-content-viewport {
    max-height: 380px !important;
  }
  .footer-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }
  .footer-copy {
    text-align: center !important;
  }
}

/* 4. Compact Mobile Devices (480px and down) */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2rem !important;
  }
  .hero-tagline {
    font-size: 0.88rem !important;
  }
  .stage-title, .card-title {
    font-size: 1.5rem !important;
  }
  .stage-subtitle, .card-subtitle {
    font-size: 0.82rem !important;
  }
  .glass-card {
    padding: 1.1rem 0.85rem !important;
  }
  .specs-table {
    min-width: 420px !important;
    font-size: 0.72rem !important;
  }
  .specs-table th,
  .specs-table td {
    padding: 6px 8px !important;
  }
  .bento-val {
    font-size: 1.5rem !important;
  }
  .calc-input-cell,
  .result-tile {
    padding: 1rem 0.85rem !important;
  }
}

/* ==========================================================================
   Apple Liquid Glass Whitepaper Reader Suite
   ========================================================================== */

.whitepaper-reader-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(16, 16, 18, 0.88) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow), var(--glass-specular);
  padding: 24px;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 8px 18px;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
  transition: all 0.25s ease;
}

.search-box-wrap:focus-within {
  border-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
}

.search-box-wrap i {
  color: var(--accent-neon);
  font-size: 0.9rem;
}

.glass-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  width: 100%;
}

.glass-search-input::placeholder {
  color: var(--text-dim);
}

.reader-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reader-split-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 20px;
  min-height: 320px;
  max-height: 340px;
}

.reader-toc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 8px;
}

.reader-toc-sidebar::-webkit-scrollbar {
  width: 5px;
}

.reader-toc-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 9999px;
}

.reader-toc-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

.reader-toc-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--accent-neon);
}

.toc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.toc-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  transform: translateX(3px);
}

.toc-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.toc-item.active i {
  color: var(--accent-neon);
  opacity: 1 !important;
  transform: translateX(2px);
}

.reader-content-viewport {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  max-height: 340px;
  overflow-y: auto;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.reader-content-viewport::-webkit-scrollbar {
  width: 6px;
}

.reader-content-viewport::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 9999px;
}

.reader-content-viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
}

.reader-content-viewport::-webkit-scrollbar-thumb:hover {
  background: #FFFFFF;
}

@media (max-width: 900px) {
  .reader-split-layout {
    grid-template-columns: 1fr;
  }
  .reader-toc-sidebar {
    max-height: 220px;
  }
  .reader-content-viewport {
    max-height: 340px;
  }
  .faq-accordion-wrap {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STAGE 1 INTERACTIVE NARRATIVE: TABS, CRISIS VS SOLUTION, MATRIX & PERSONAS
   ========================================================================== */
.stage-tabs-pill-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
  width: 100%;
}

.stage-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  border-radius: 9999px;
  padding: 7px 16px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stage-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.stage-tab-btn.active {
  background: #FFFFFF;
  color: #000000 !important;
  border-color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.3);
}

.stage-tab-btn i {
  font-size: 0.78rem;
}

.stage-tab-pane {
  display: none;
  width: 100%;
  animation: stageTabFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stage-tab-pane.active {
  display: block;
}

@keyframes stageTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Crisis vs Solution Grid */
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}

.crisis-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: all var(--transition-medium);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.crisis-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.8), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
}

.crisis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.crisis-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crisis-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.crisis-problem {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.crisis-problem strong {
  color: rgba(255, 255, 255, 0.92);
}

.crisis-solution {
  font-size: 0.83rem;
  color: var(--text-primary);
  line-height: 1.48;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  padding: 9px 12px;
}

.crisis-solution strong {
  color: var(--accent-neon);
}

/* Comparative Market Matrix */
.market-table-wrap {
  overflow-x: auto;
  width: 100%;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  position: relative;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.market-table th, .market-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.market-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.market-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.market-table td.highlight-korsh {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: #FFFFFF;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.market-table-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--border-radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.market-table-badge.success {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.market-table-badge.warning {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Personas / Use Cases Grid */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}

.persona-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-medium);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.persona-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.8), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
}

.persona-icon {
  font-size: 1.35rem;
  color: #FFFFFF;
}

.persona-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.persona-subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.persona-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.persona-perks {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.persona-perk-item {
  font-size: 0.76rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.persona-perk-item i {
  color: #FFFFFF;
  font-size: 0.7rem;
}

@media (max-width: 1080px) {
  .personas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .crisis-grid {
    grid-template-columns: 1fr;
  }
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual-col {
    order: 1;
    margin: 1rem auto 0;
  }
  .apple-glass-showcase {
    max-width: 320px;
    height: 300px;
    margin: 0 auto;
  }
  .hero-coin-3d-wrap {
    max-width: 250px;
    height: 250px;
  }
  .hero-coin-halo {
    width: 240px;
    height: 240px;
  }
}

/* ==========================================================================
   COMPACT & LAPTOP VIEWPORT OPTIMIZATIONS (Height-Aware Responsive Rules)
   Prevents vertical overflows, clipping, and excessive scrolling on 900p laptops
   ========================================================================== */
@media (max-height: 960px) {
  .story-stage {
    padding: 72px 3vw 24px;
    min-height: 100vh;
  }
  .stage-heading {
    margin-bottom: 1.1rem;
  }
  .stage-title {
    font-size: 1.85rem;
  }
  .stage-desc {
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
  }
  .stage-card-wide,
  .stage-grid-two,
  .stage-dual-cards {
    gap: 1.4rem;
  }
  .glass-card,
  .glass-panel {
    padding: 1.4rem 1.6rem;
  }
  .bento-grid-3x2 {
    gap: 1.1rem;
    margin-top: 1.2rem;
  }
  .bento-card {
    padding: 1.35rem 1.4rem 1.15rem;
    min-height: 200px;
  }
  .bento-val {
    font-size: 1.85rem;
  }
  .bento-card-visual-row {
    min-height: 60px;
    margin-bottom: 0.6rem;
  }
  .bento-svg-large {
    width: 65px;
    height: 65px;
  }
  .speed-art-svg {
    width: 120px;
    height: 60px;
  }
  .specs-table th,
  .specs-table td {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .calc-workstation {
    gap: 1.4rem;
  }
  .calc-inputs-panel,
  .calc-results-panel {
    padding: 1.4rem 1.6rem;
  }
  .calc-group {
    gap: 4px;
  }
  .calc-cards-grid {
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  .result-metric-card {
    min-height: 170px;
    padding: 1.1rem 1.1rem;
  }
  .res-big-num {
    font-size: 1.85rem;
  }
  .stage-tabs-pill-nav {
    margin-bottom: 0.9rem;
  }
  .crisis-grid {
    gap: 10px;
  }
  .crisis-card {
    padding: 12px 14px;
    gap: 6px;
  }
  .personas-grid {
    gap: 10px;
  }
  .persona-card {
    padding: 12px 12px;
    gap: 6px;
  }
  .hero-master-card {
    padding: 1.5rem 2rem 1.25rem;
  }
  .hero-card-header {
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
  }
  .hero-main-title {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    margin-bottom: 0.45rem;
  }
  .hero-tagline {
    font-size: 0.96rem;
    margin-bottom: 0.55rem;
  }
  .hero-satoshi-box {
    margin: 0.5rem 0 0.75rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.84rem;
  }
  .hero-lead-text {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.95rem;
  }
  .hero-micro-metrics {
    margin-bottom: 1.1rem;
    gap: 6px;
  }
  .hero-metric-pill {
    padding: 4px 10px;
    font-size: 0.68rem;
  }
  .apple-glass-showcase {
    max-width: 380px;
    height: 350px;
  }
  .hero-coin-3d-wrap {
    max-width: 310px;
    height: 310px;
  }
  .hero-coin-halo {
    width: 290px;
    height: 290px;
  }
  .hero-card-footer {
    padding-top: 0.8rem;
    margin-top: 1rem;
  }
}

@media (max-height: 800px) {
  .story-stage {
    padding: 62px 2.5vw 16px;
  }
  .stage-heading {
    margin-bottom: 0.8rem;
  }
  .stage-title {
    font-size: 1.65rem;
  }
  .glass-card,
  .glass-panel {
    padding: 1.15rem 1.35rem;
  }
  .hero-master-card {
    padding: 1.2rem 1.6rem 0.95rem;
  }
  .hero-card-header {
    padding-bottom: 0.6rem;
    margin-bottom: 0.8rem;
  }
  .hero-main-title {
    font-size: 2.1rem;
  }
  .apple-glass-showcase {
    max-width: 300px;
    height: 280px;
  }
  .hero-coin-3d-wrap {
    max-width: 250px;
    height: 250px;
  }
  .hero-coin-halo {
    width: 240px;
    height: 240px;
  }
  .bento-card {
    padding: 1.1rem 1.2rem 0.95rem;
    min-height: 180px;
  }
  .bento-val {
    font-size: 1.65rem;
  }
  .bento-sub {
    font-size: 0.78rem;
    padding-top: 0.5rem;
  }
  .specs-table th,
  .specs-table td {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}



