:root {
  --blip-navy: #0a1128;
  --blip-navy-dark: #050914;
  --blip-blue: #005cff;
  --blip-blue-glow: rgba(0, 92, 255, 0.35);
  --blip-cyan: #00d2ff;
  --blip-cyan-glow: rgba(0, 210, 255, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --amber: #f59e0b;
  --rose: #f43f5e;
  --purple: #8b5cf6;
  
  --bg-primary: #070d1e;
  --bg-secondary: #0c152e;
  --bg-card: rgba(15, 27, 58, 0.75);
  --bg-card-hover: rgba(22, 38, 80, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 210, 255, 0.3);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 12px 36px -6px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 30px -5px var(--blip-blue-glow);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Gradients */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 92, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    #070d1e;
}

/* Top Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(7, 13, 30, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blip-blue), var(--blip-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 0 20px var(--blip-blue-glow);
}

.brand-info h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-info p {
  font-size: 0.75rem;
  color: var(--blip-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  color: #fff;
  background: rgba(0, 92, 255, 0.2);
  border-color: var(--border-active);
  box-shadow: 0 0 15px var(--blip-blue-glow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blip-blue), #0044cc);
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--blip-blue-glow);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--blip-blue-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Hero Section */
.hero {
  padding: 4rem 2.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blip-cyan);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--blip-cyan) 0%, var(--blip-blue) 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

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

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.stat-number span {
  font-size: 0.85rem;
  color: var(--emerald);
  font-weight: 600;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Main Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

/* Sections */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 800px;
}

/* Sprint Roadmap Grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.day-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.day-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blip-blue);
  opacity: 0.7;
}

.day-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.day-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: rgba(0, 92, 255, 0.2);
  color: var(--blip-cyan);
}

.day-time {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.day-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.day-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.day-takeaways {
  list-style: none;
  margin-bottom: 1.5rem;
}

.day-takeaways li {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.day-takeaways li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: bold;
}

/* Audio Player Section */
.podcast-hub {
  background: linear-gradient(180deg, rgba(12, 21, 46, 0.95), rgba(7, 13, 30, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}

.player-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .player-main {
    grid-template-columns: 1fr;
  }
}

.player-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e1b4b, #0c152e, #005cff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.cover-wave {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.wave-bar {
  width: 6px;
  background: var(--blip-cyan);
  border-radius: 9999px;
  animation: pulseWave 1.4s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 35px; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 55px; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; height: 25px; }
.wave-bar:nth-child(5) { animation-delay: 0.5s; height: 45px; }
.wave-bar:nth-child(6) { animation-delay: 0.3s; height: 30px; }

@keyframes pulseWave {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.player-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ep-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.ep-speaker {
  font-size: 0.95rem;
  color: var(--blip-cyan);
  font-weight: 600;
}

.timeline-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
}

.timeline-progress {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--blip-blue), var(--blip-cyan));
  border-radius: 9999px;
  position: relative;
}

.timeline-progress::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--blip-cyan);
}

.player-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blip-blue), var(--blip-cyan));
  color: #fff;
  border: none;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px var(--blip-blue-glow);
  transition: all 0.2s ease;
}

.btn-circle:hover {
  transform: scale(1.08);
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.speed-badge {
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

/* Playlist */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.track-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.track-item:hover, .track-item.active {
  background: rgba(0, 92, 255, 0.15);
  border-color: var(--border-active);
}

.track-num {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--blip-cyan);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
}

.track-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Simulator Canvas */
.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}

.sim-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.scenario-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.scenario-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scenario-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.scenario-btn.active {
  background: var(--blip-blue);
  color: #fff;
  border-color: var(--blip-cyan);
}

/* FSM Graph Visualization */
.fsm-graph {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 3rem 1rem;
  overflow-x: auto;
  gap: 1.5rem;
}

.fsm-node {
  background: rgba(12, 21, 46, 0.9);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-width: 150px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  z-index: 2;
}

.fsm-node.active {
  border-color: var(--blip-cyan);
  box-shadow: 0 0 25px var(--blip-cyan-glow);
  transform: scale(1.05);
}

.fsm-node.highlight-pass {
  border-color: var(--emerald);
  box-shadow: 0 0 25px var(--emerald-glow);
}

.fsm-node.highlight-fail {
  border-color: var(--rose);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.3);
}

.node-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.node-type {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}

.sim-console {
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #a7f3d0;
  margin-top: 1.5rem;
  max-height: 200px;
  overflow-y: auto;
}

/* Flashcards Grid */
.flashcards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.flip-card {
  background-color: transparent;
  height: 220px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.flip-card-front {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
}

.flip-card-front:hover {
  border-color: var(--border-active);
}

.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blip-cyan);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.card-front-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.flip-card-back {
  background: linear-gradient(135deg, #0e1e47, #132454);
  border: 1px solid var(--blip-blue);
  color: #f1f5f9;
  transform: rotateY(180deg);
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Quiz Section */
.quiz-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.quiz-question-box {
  margin-bottom: 2rem;
}

.quiz-q-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blip-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.quiz-q-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quiz-option:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.quiz-option.selected {
  background: rgba(0, 92, 255, 0.2);
  border-color: var(--blip-blue);
  color: #fff;
}

.quiz-option.correct {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: var(--emerald) !important;
  color: #fff !important;
}

.quiz-option.wrong {
  background: rgba(244, 63, 94, 0.2) !important;
  border-color: var(--rose) !important;
  color: #fff !important;
}

.quiz-feedback {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
}

/* VP Alignment Role Play */
.objection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.objection-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.objection-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.objection-badge {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
}

.objection-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.pitch-box {
  background: rgba(0, 92, 255, 0.1);
  border-left: 3px solid var(--blip-cyan);
  padding: 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Architecture Diagrams */
.diagram-container {
  background: #060b18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.diagram-svg-wrap {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

footer a {
  color: var(--blip-cyan);
  text-decoration: none;
}
