/* ==========================================================================
   VV VISION SOLUTIONS - DYNAMIC & VIBRANT UI EXTENSIONS
   Added for:
   - Interactive Live Track Simulator Console
   - 3-Click Career Pathfinder Quiz
   - Interactive Scenario Architecture Explorer
   - Mouse Spotlight Gradient Glow
   - Animated Metrics & PDF Download Pills
   ========================================================================== */

/* 1. MOUSE SPOTLIGHT HOVER EFFECT */
.course-card,
.feature-box,
.project-card,
.interactive-simulator-card {
  position: relative;
  overflow: hidden;
}

.course-card::after,
.feature-box::after,
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 94, 20, 0.08), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.course-card:hover::after,
.feature-box:hover::after,
.project-card:hover::after {
  opacity: 1;
}

/* 2. HERO PARTICLE CANVAS & CORNER RIBBONS (From Official PDF) */
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

#heroParticleCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Wavy Ribbon Geometry Inspired by Official PDF Letterhead */
.brand-ribbon-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(255, 94, 20, 0.15) 0%, rgba(10, 25, 47, 0.08) 50%, transparent 70%);
  z-index: 0;
}

.brand-ribbon-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 280px;
  height: 180px;
  pointer-events: none;
  background: radial-gradient(circle at 0% 100%, rgba(10, 25, 47, 0.08) 0%, rgba(255, 94, 20, 0.06) 50%, transparent 70%);
  z-index: 0;
}

/* 3. HERO INTERACTIVE TRACK SIMULATOR CONSOLE */
.interactive-simulator-card {
  background: linear-gradient(160deg, #071326 0%, #0d213f 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(10, 25, 47, 0.4), 0 0 35px rgba(255, 94, 20, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.simulator-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: none;
}
.simulator-nav::-webkit-scrollbar { display: none; }

.simulator-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.simulator-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.simulator-tab.active {
  background: var(--brand-orange-500);
  border-color: var(--brand-orange-500);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 94, 20, 0.4);
}

.simulator-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.simulator-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.simulator-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.simulator-code-box {
  background: #030812;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  line-height: 1.5;
  color: #e2e8f0;
  max-height: 175px;
  overflow-y: auto;
  white-space: pre-wrap;
  position: relative;
}

.simulator-steps-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sim-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.simulator-tools-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sim-tool-tag {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.simulator-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 4. CAREER PATHFINDER QUIZ STYLES */
.quiz-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-xl);
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.quiz-option-btn {
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.quiz-option-btn:hover {
  border-color: var(--brand-orange-500);
  background: var(--brand-orange-50);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quiz-option-btn strong {
  font-size: 1rem;
  color: var(--brand-navy-950);
}

.quiz-option-btn span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quiz-result-card {
  background: linear-gradient(145deg, #0a192f 0%, #0d213f 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #ffffff;
  margin-top: 1.5rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 5. INTERACTIVE SCENARIO ARCHITECTURE EXPLORER */
.scenario-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.scenario-nav-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scenario-nav-btn:hover {
  border-color: var(--brand-orange-500);
  color: var(--brand-orange-500);
}

.scenario-nav-btn.active {
  background: var(--brand-navy-900);
  color: #ffffff;
  border-color: var(--brand-navy-900);
  box-shadow: var(--shadow-md);
}

.scen-explorer-board {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.scen-phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.scen-phase-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.scen-phase-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange-400);
}

.scen-phase-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-orange-500);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.scen-phase-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--brand-navy-950);
}

.scen-phase-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* 6. PDF DOWNLOAD BADGES & BUTTONS */
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.45rem 0.95rem;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pdf:hover {
  background-color: #fef2f2;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.btn-pdf-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-pdf-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* 7. ANIMATED METRICS STRIP */
.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-orange-500);
  line-height: 1;
  margin-bottom: 0.35rem;
}
