/* ==========================================================================
   WEB TRADING LABS — TOUR GUIDATO INTERATTIVO (FUNNEL)
   Aesthetic: Tech-Lab / Quant / Neuro-design (Cortisolo -> Ossitocina)
   ========================================================================== */

:root {
  /* Colors - Core Dark Palette */
  --bg-dark: #070a12;
  --bg-card: rgba(16, 24, 40, 0.78);
  --bg-card-hover: rgba(22, 33, 54, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 240, 255, 0.35);

  /* Colors - Cortisolo (Stress, Warning, Problem) */
  --cortisol-red: #ef4444;
  --cortisol-glow: rgba(239, 68, 68, 0.18);
  --cortisol-border: rgba(239, 68, 68, 0.3);

  /* Colors - Ossitocina & Quantum (Relief, Science, Trust) */
  --oxytocin-teal: #00f0ff;
  --oxytocin-emerald: #10b981;
  --oxytocin-glow: rgba(0, 240, 255, 0.15);
  --emerald-glow: rgba(16, 185, 129, 0.15);

  /* Colors - Brand Web Trading Accent */
  --accent-orange: #ff6b00;
  --accent-amber: #f59e0b;
  --accent-purple: #c084fc;
  --accent-glow: rgba(255, 107, 0, 0.25);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #020617;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px var(--accent-glow);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 107, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    #070a12;
}

/* Background Grid Overlay */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   TOP STICKY NAVIGATION BAR
   ========================================================================== */
.tour-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

.tour-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ff6b00 0%, #00f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

/* Stepper Pill Indicators */
.stepper-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.step-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.step-pill.active {
  color: #ffffff;
  background: rgba(255, 107, 0, 0.2);
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.3);
}

.step-pill.completed {
  color: var(--oxytocin-teal);
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.05);
}

.step-pill-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.step-pill.active .step-pill-number {
  background: var(--accent-orange);
  color: #fff;
}

.step-pill.completed .step-pill-number {
  background: var(--oxytocin-teal);
  color: var(--text-inverse);
}

/* Return Home Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-home-return {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-home-return:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-home-return svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-orange);
}

/* Global Progress Bar under Header */
.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #ef4444 0%, #ff6b00 50%, #00f0ff 100%);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transition: width 0.4s ease;
}

/* ==========================================================================
   MAIN CONTENT & STEP CONTAINER
   ========================================================================== */
.tour-main-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 140px 24px;
  width: 100%;
}

.step-section {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.step-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Step Header */
.step-header {
  margin-bottom: 36px;
}

.step-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-cortisol {
  background: var(--cortisol-glow);
  color: var(--cortisol-red);
  border: 1px solid var(--cortisol-border);
}

.badge-oxytocin {
  background: var(--oxytocin-glow);
  color: var(--oxytocin-teal);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-arsenal {
  background: var(--accent-glow);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-intelligence {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-route {
  background: var(--emerald-glow);
  color: var(--oxytocin-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.step-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.6;
}

/* Layout Grid for Step: Media + Content */
.step-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 960px) {
  .step-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Video Player Box / Placeholder */
.video-preview-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.video-preview-card:hover {
  border-color: var(--border-focus);
}

.video-thumb-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.video-preview-card:hover .video-thumb-img {
  transform: scale(1.03);
  opacity: 0.9;
}

.video-thumb-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.2) 0%, rgba(7, 10, 18, 0.85) 100%);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  margin-left: 4px;
}

.video-preview-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff6b00;
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.9);
}

.video-duration-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-card-meta {
  padding: 20px 24px;
  background: rgba(16, 24, 40, 0.9);
  border-top: 1px solid var(--border-subtle);
}

.video-card-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.video-card-meta p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Content Column & Cards */
.content-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
}

.card-cortisol-stress {
  border-left: 4px solid var(--cortisol-red);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(16, 24, 40, 0.8) 100%);
}

.card-oxytocin-relief {
  border-left: 4px solid var(--oxytocin-teal);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(16, 24, 40, 0.8) 100%);
}

.card-highlight-orange {
  border-left: 4px solid var(--accent-orange);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(16, 24, 40, 0.8) 100%);
}

.card-highlight-purple {
  border-left: 4px solid var(--accent-purple);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.05) 0%, rgba(16, 24, 40, 0.8) 100%);
}

.info-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h4 svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
  padding-left: 20px;
}

.bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.bullet-list.cortisol-bullets li::before {
  color: var(--cortisol-red);
}

.bullet-list.oxytocin-bullets li::before {
  color: var(--oxytocin-teal);
}

/* Stat Box Grid */
.stat-box-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   STEP 1: PROGRESSIONE CAPITALE & MICROSOLUZIONE DEL TEMPO (TRIPLE MODEL V1)
   ========================================================================== */
.capital-progression-box {
  margin-top: 36px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.95) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
}

.progression-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.progression-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.progression-badge {
  background: rgba(0, 240, 255, 0.12);
  color: var(--oxytocin-teal);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.methodological-notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: #fde68a;
  line-height: 1.5;
}

.methodological-notice strong {
  color: #fff;
}

/* TMS Engine Setup Grid (900€ vs 100€) */
.tms-setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 800px) {
  .tms-setup-grid {
    grid-template-columns: 1fr;
  }
}

.tms-setup-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.tms-setup-card.capital-model-card {
  border-left: 4px solid var(--oxytocin-teal);
}

.tms-setup-card.risk-model-card {
  border-left: 4px solid var(--accent-orange);
}

.tms-setup-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tms-setup-amount {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

/* 70/30 Allocation Rule Box */
.rule-70-30-box {
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.rule-bar {
  height: 10px;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin: 12px 0 10px 0;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.rule-bar-70 {
  width: 70%;
  background: var(--oxytocin-teal);
}

.rule-bar-30 {
  width: 30%;
  background: var(--accent-orange);
}

/* Simulator Switcher Tabs */
.sim-switch-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.sim-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.sim-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sim-btn.active {
  background: rgba(0, 240, 255, 0.18);
  border-color: rgba(0, 240, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* Progression Table */
.progression-table-wrapper {
  overflow-x: auto;
  margin: 16px 0 24px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.progression-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.progression-table th {
  background: rgba(16, 24, 40, 0.9);
  padding: 12px 14px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.progression-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.progression-table tr:hover td {
  background: rgba(0, 240, 255, 0.02);
}

.progression-table tr.highlight-retire td {
  background: rgba(16, 185, 129, 0.06);
  font-weight: 700;
}

.progression-table tr.highlight-retire td:first-child {
  border-left: 3px solid var(--oxytocin-emerald);
}

/* Existential Risk Comparison Matrix (Cortisolo vs Ossitocina) */
.existential-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 850px) {
  .existential-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.risk-col-card {
  border-radius: var(--radius-md);
  padding: 22px;
}

.risk-col-stress {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06) 0%, rgba(16, 24, 40, 0.85) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.risk-col-freedom {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 24, 40, 0.85) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.risk-col-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .timeline-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .timeline-cards-grid {
    grid-template-columns: 1fr;
  }
}

.timeline-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  position: relative;
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.03);
}

.timeline-card.zero-risk {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.03);
}

.timeline-card-phase {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-card-amount {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.timeline-card-risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.risk-level-low {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.risk-level-minimal {
  background: rgba(0, 240, 255, 0.15);
  color: var(--oxytocin-teal);
}

.risk-level-zero {
  background: rgba(16, 185, 129, 0.15);
  color: var(--oxytocin-emerald);
}

.timeline-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   STEP 2: TRIPLE MODEL SYSTEM V1 (I 3 REATTORI & AZIENDA DI CAPITALE)
   ========================================================================== */
.philosophy-hero-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(16, 24, 40, 0.9) 60%, rgba(0, 240, 255, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.philosophy-hero-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cortisol-red) 0%, var(--oxytocin-teal) 100%);
}

.tools-badges-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.tool-badge {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--oxytocin-teal);
}

.risk-monitors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.risk-monitor-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.8rem;
}

.risk-monitor-item strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}

/* Macro Comparison: Attività Tradizionale vs Impresa di Capitale (100k) */
.business-vs-capital-section {
  margin-top: 36px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.95) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.comparison-dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .comparison-dual-cards {
    grid-template-columns: 1fr;
  }
}

.comp-card {
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comp-card-traditional {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(16, 24, 40, 0.85) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comp-card-capital {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.06) 0%, rgba(16, 24, 40, 0.85) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

.comp-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.comp-benchmark-amount {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 900;
  margin: 6px 0;
}

.comp-feature-row {
  margin-bottom: 18px;
}

.comp-feature-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.comp-feature-val {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.reactors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .reactors-grid {
    grid-template-columns: 1fr;
  }
}

.reactor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reactor-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
}

.reactor-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  opacity: 0.25;
  position: absolute;
  top: 16px;
  right: 20px;
}

.reactor-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.reactor-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
}

.reactor-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   STEP 3: STM TOUR & AMAZON BOOKS
   ========================================================================== */
.stm-tour-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.stm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 850px) {
  .stm-features-grid {
    grid-template-columns: 1fr;
  }
}

.stm-feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.stm-feature-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent-orange);
}

.stm-feature-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.stm-feature-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Amazon Books Shelf (5 Volumi) */
.amazon-shelf {
  margin-top: 32px;
  padding: 28px;
  background: rgba(255, 107, 0, 0.03);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: var(--radius-lg);
}

.amazon-shelf-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.amazon-books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1120px) {
  .amazon-books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .amazon-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .amazon-books-grid {
    grid-template-columns: 1fr;
  }
}

.amazon-book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.amazon-book-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 0, 0.4);
}

.amazon-book-cover {
  aspect-ratio: 2 / 3;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.amazon-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.35s ease;
}

.amazon-book-card:hover .amazon-book-cover img {
  transform: scale(1.04);
}

.amazon-book-vol {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 6px;
}

.amazon-book-name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.3;
}

/* ==========================================================================
   STM TOUR SECTIONS & PROMO ULTRA-ATTRATTIVA
   ========================================================================== */
.promo-banner-stm {
  background: radial-gradient(circle at 10% 50%, rgba(255, 107, 0, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 90% 50%, rgba(0, 240, 255, 0.2) 0%, transparent 60%),
              rgba(16, 24, 40, 0.95);
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 32px 0;
  box-shadow: 0 0 45px rgba(255, 107, 0, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-badge-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff6b00;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.btn-cta-mega {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  background: linear-gradient(90deg, #ff6b00 0%, #ff8c00 50%, #00f0ff 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 0 35px rgba(255, 107, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 14px;
}

.btn-cta-mega:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(255, 107, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.6);
  color: #fff;
}

/* STM Walkthrough Elements & Screenshot Cards */
.stm-walkthrough-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 36px 0;
}

.stm-walk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.stm-walk-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
}

.stm-walk-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .stm-walk-grid {
    grid-template-columns: 1fr;
  }
}

.stm-images-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stm-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #020617;
  cursor: pointer;
  position: relative;
}

.stm-img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.stm-img-box:hover img {
  transform: scale(1.04);
}

.stm-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 10, 18, 0.9) 100%);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: #f59e0b;
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-amazon:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/* ==========================================================================
   STEP 4: PIAGET-VYGOTSKY & ASSAGGIO LIVE WTQI / SCANNER
   ========================================================================== */
.piaget-box {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(16, 24, 40, 0.8) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.wtqi-scanner-preview {
  background: #020617;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.preview-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.preview-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .preview-data-grid {
    grid-template-columns: 1fr;
  }
}

.preview-data-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.preview-data-card .metric-name {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.preview-data-card .metric-val {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 3px;
}

/* Pricing cards step 4 */
.pricing-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .pricing-dual-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.pricing-card-clean:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-3px);
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 12px 0 6px 0;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   STEP 5: STS-MINI SPECIALIZZAZIONE & PRO / ULTRA / CMA-x ROADMAP
   ========================================================================== */
.alert-cancel-subs {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.alert-cancel-subs svg {
  width: 28px;
  height: 28px;
  color: var(--cortisol-red);
  flex-shrink: 0;
}

.alert-cancel-subs-text {
  font-size: 0.9rem;
  color: #fca5a5;
  line-height: 1.45;
}

.alert-cancel-subs-text strong {
  color: #fff;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-item-price {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--oxytocin-teal);
  margin-bottom: 8px;
}

/* Future Roadmap Banner */
.roadmap-future-banner {
  margin-top: 32px;
  padding: 30px;
  background: radial-gradient(circle at 10% 50%, rgba(0, 240, 255, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 90% 50%, rgba(192, 132, 252, 0.12) 0%, transparent 60%),
              rgba(16, 24, 40, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

.roadmap-steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.roadmap-node {
  flex: 1;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.roadmap-node.active-now {
  border-color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.06);
}

.roadmap-node.future {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.05);
}

.roadmap-node-name {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.roadmap-node-status {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}


.roadmap-node.qts-frontier {
  border-color: #ef4444 !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.3) !important;
}


/* ==========================================================================
   PERSISTENT BOTTOM NAVIGATION CONTROLLER
   ========================================================================== */
.tour-footer-controls {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 24px;
  z-index: 99;
}

.footer-controls-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-step-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-step-counter strong {
  color: #fff;
}

.footer-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-tour-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-tour-prev {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.btn-tour-prev:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.btn-tour-prev:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-tour-next {
  background: linear-gradient(90deg, #ff6b00, #ff8533);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.btn-tour-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.6);
}

/* ==========================================================================
   VIDEO MODAL POPUP
   ========================================================================== */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal-backdrop.open {
  display: flex;
}

.video-modal-window {
  width: 100%;
  max-width: 900px;
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.video-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.video-modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}

.video-modal-close-btn:hover {
  color: #fff;
}

.video-modal-player-area {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-placeholder-notice {
  text-align: center;
  padding: 20px;
  max-width: 500px;
}

.video-modal-placeholder-notice h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.video-modal-placeholder-notice p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}


/* ==========================================================================
   STEP 4: QUANT INTELLIGENCE, WTQI & DISCORD HEDGE FUND SHOWCASE
   ========================================================================== */
.step4-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 32px 0;
}

.step4-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.step4-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
}

.step4-grid-dual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 960px) {
  .step4-grid-dual {
    grid-template-columns: 1fr;
  }
}

.step4-images-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .step4-images-dual {
    grid-template-columns: 1fr;
  }
}

.step4-images-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

@media (max-width: 850px) {
  .step4-images-triple {
    grid-template-columns: 1fr;
  }
}

.step4-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020617;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.step4-img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.step4-img-box:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.step4-img-box .zoom-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}

.step4-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 16, 0.95) 100%);
  padding: 12px 10px 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
  pointer-events: none;
  z-index: 2;
}

/* Institutional Trading Floor Callout */
.hedgefund-callout {
  background: linear-gradient(135deg, rgba(20, 35, 65, 0.8) 0%, rgba(10, 15, 28, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin: 28px 0;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
}

.hedgefund-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 800px) {
  .hedgefund-pillars {
    grid-template-columns: 1fr;
  }
}

.hf-pillar-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px;
}

.hf-pillar-item h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--oxytocin-teal);
  margin-bottom: 6px;
}

.hf-pillar-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Piaget-Vygotsky Game (PV-Game) Box */
.pv-game-box {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
}

.pv-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 850px) {
  .pv-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pv-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pv-pillar-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #d8b4fe;
  margin-bottom: 6px;
}

.pv-pillar-card p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

/* Universal Image Lightbox Modal */
.img-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.img-lightbox-backdrop.open {
  display: flex;
  opacity: 1;
}

.img-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-lightbox-content img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

.img-lightbox-caption {
  margin-top: 12px;
  color: #f1f5f9;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.img-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.img-lightbox-close:hover {
  color: #fff;
}



/* ==========================================================================
   POWERFUL REPEATED CTA BUTTONS (STEP 3 & STEP 4)
   ========================================================================== */
.top-cta-bar {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 28px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.cta-buttons-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.btn-cta-whop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-cta-whop-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #030712 !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.45);
}

.btn-cta-whop-cyan:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.8);
  color: #000 !important;
}

.btn-cta-whop-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.45);
}

.btn-cta-whop-purple:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.8);
  color: #ffffff !important;
}

.btn-cta-stm-free {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
}

.btn-cta-stm-free:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.8);
  color: #ffffff !important;
}

.btn-cta-whop-orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.45);
}

.btn-cta-whop-orange:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(255, 107, 0, 0.8);
  color: #ffffff !important;
}

.btn-cta-whop-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #030712 !important;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.45);
}

.btn-cta-whop-amber:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.8);
  color: #000000 !important;
}

.btn-cta-whop-patreon {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-cta-whop-patreon:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.8);
  color: #ffffff !important;
}


/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .tour-nav-container {
    flex-wrap: wrap;
  }

  .stepper-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding: 6px;
  }

  .step-pill span.pill-label {
    display: none;
  }

  .tour-main-content {
    padding: 24px 16px 140px 16px;
  }

  .stat-box-row {
    grid-template-columns: 1fr;
  }

  .footer-step-counter {
    display: none;
  }

  .footer-controls-container {
    justify-content: stretch;
  }

  .footer-nav-buttons {
    width: 100%;
  }

  .btn-tour-nav {
    flex: 1;
    justify-content: center;
  }
}
