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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: #0a0b0f;
  overflow: hidden;
  height: 100vh;
}

.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #0a0b0f 0%, #1a1b2e 50%, #16213e 100%);
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene.active {
  opacity: 1;
}

.background-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 50%,
    transparent 70%
  );
  animation: pulseGradient 4s ease-in-out infinite alternate;
}

@keyframes pulseGradient {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 2rem;
}

/* Scene 1 - Stressed Professional */
.character {
  margin-bottom: 3rem;
}

.person-icon {
  position: relative;
  width: 120px;
  height: 160px;
  margin: 0 auto;
}

.head {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #f3f4f6, #d1d5db);
  border-radius: 50%;
  margin: 0 auto 10px;
  position: relative;
}

.head::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #374151;
  border-radius: 50%;
  top: 20px;
  left: 18px;
}

.head::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #374151;
  border-radius: 50%;
  top: 20px;
  right: 18px;
}

.body {
  width: 80px;
  height: 90px;
  background: linear-gradient(145deg, #6b7280, #4b5563);
  border-radius: 20px 20px 40px 40px;
  margin: 0 auto;
}

.stress-lines {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.line {
  width: 3px;
  height: 15px;
  background: #ef4444;
  margin: 2px;
  border-radius: 2px;
  animation: stressAnimation 1s ease-in-out infinite alternate;
}

.line:nth-child(2) {
  animation-delay: 0.2s;
}
.line:nth-child(3) {
  animation-delay: 0.4s;
}

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

/* Scene 2 - Laptop */
.laptop {
  perspective: 1000px;
  margin-bottom: 2rem;
}

.laptop-base {
  width: 300px;
  height: 20px;
  background: linear-gradient(145deg, #374151, #1f2937);
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
}

.laptop-screen {
  width: 280px;
  height: 180px;
  background: #111827;
  border: 3px solid #374151;
  border-radius: 8px;
  margin: -10px auto 0;
  position: relative;
  transform: rotateX(-10deg);
  animation: laptopOpen 2s ease-out;
}

@keyframes laptopOpen {
  0% {
    transform: rotateX(-90deg);
  }
  100% {
    transform: rotateX(-10deg);
  }
}

.screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #60a5fa;
  border-radius: 50%;
  animation: loadingDots 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDots {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Scene 3 - Dashboard */
.dashboard {
  width: 600px;
  height: 400px;
  background: rgba(17, 24, 39, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: dashboardSlideIn 1s ease-out;
}

@keyframes dashboardSlideIn {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  border-radius: 8px;
  position: relative;
}

.logo-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.user-profile {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #10b981, #059669);
  border-radius: 50%;
}

.dashboard-content {
  padding: 2rem 1.5rem;
  text-align: left;
}

.welcome-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.welcome-section p {
  color: #9ca3af;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  animation: statCardGlow 3s ease-in-out infinite alternate;
}

@keyframes statCardGlow {
  0% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
  }
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Scene 4 - AI Interview */
.feature-showcase {
  width: 700px;
  background: rgba(17, 24, 39, 0.95);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  animation: featureSlideUp 1s ease-out;
}

@keyframes featureSlideUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.ai-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-pulse {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  animation: aiIconPulse 2s ease-in-out infinite;
}

@keyframes aiIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.feature-header h3 {
  font-size: 2rem;
  color: #f9fafb;
}

.interview-simulation {
  background: rgba(31, 41, 55, 0.8);
  border-radius: 16px;
  padding: 1.5rem;
}

.question-box {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ai-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  flex-shrink: 0;
  animation: avatarGlow 2s ease-in-out infinite alternate;
}

@keyframes avatarGlow {
  0% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  }
  100% {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
  }
}

.question-text {
  flex: 1;
  text-align: left;
}

.question-text p {
  color: #e5e7eb;
  font-size: 1.1rem;
  line-height: 1.6;
  animation: typewriter 3s steps(60) 1s both;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #3b82f6;
}

@keyframes typewriter {
  0% {
    width: 0;
  }
  99% {
    border-right: 2px solid #3b82f6;
  }
  100% {
    width: 100%;
    border-right: none;
  }
}

.user-response-area {
  text-align: center;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.microphone-indicator {
  margin-bottom: 1rem;
}

.mic-waves {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.wave {
  width: 4px;
  height: 20px;
  background: #10b981;
  border-radius: 2px;
  animation: micWave 1s ease-in-out infinite;
}

.wave:nth-child(2) {
  animation-delay: 0.1s;
}
.wave:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes micWave {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

/* Scene 5 - Feedback */
.feedback-panel {
  width: 700px;
  background: rgba(17, 24, 39, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  animation: feedbackFadeIn 1s ease-out;
}

@keyframes feedbackFadeIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.feedback-panel h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #f9fafb;
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.metric {
  text-align: center;
}

.metric-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #10b981 0deg,
    #10b981 var(--percentage, 0deg),
    rgba(55, 65, 81, 0.3) var(--percentage, 0deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  animation: circleGrow 2s ease-out 0.5s both;
}

@keyframes circleGrow {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.metric-circle[data-percentage="85"] {
  --percentage: 306deg;
}
.metric-circle[data-percentage="92"] {
  --percentage: 331deg;
}
.metric-circle[data-percentage="78"] {
  --percentage: 281deg;
}

.metric-circle::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: #1f2937;
  border-radius: 50%;
}

.percentage {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
}

.metric p {
  color: #d1d5db;
  font-weight: 500;
}

.suggestions {
  text-align: left;
}

.suggestions h4 {
  font-size: 1.25rem;
  color: #f9fafb;
  margin-bottom: 1rem;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(55, 65, 81, 0.3);
  border-radius: 12px;
  border-left: 4px solid #10b981;
  animation: suggestionSlide 0.8s ease-out;
}

@keyframes suggestionSlide {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.suggestion-icon {
  font-size: 1.5rem;
}

.suggestion-item p {
  color: #d1d5db;
  margin: 0;
}

/* Scene 6 - Confidence Building */
.confidence-visual {
  width: 600px;
  text-align: center;
}

.confidence-meter {
  position: relative;
  width: 300px;
  height: 20px;
  margin: 0 auto 3rem;
}

.meter-bg {
  width: 100%;
  height: 100%;
  background: rgba(55, 65, 81, 0.5);
  border-radius: 10px;
}

.meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 10px;
  width: 0;
  animation: confidenceFill 3s ease-out 0.5s both;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

@keyframes confidenceFill {
  0% {
    width: 0;
  }
  100% {
    width: 95%;
  }
}

.meter-label {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #d1d5db;
  font-weight: 600;
}

.achievement-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  animation: badgeFloat 2s ease-in-out infinite alternate;
}

.badge:nth-child(2) {
  animation-delay: 0.3s;
}
.badge:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes badgeFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  font-size: 2rem;
}

.badge span {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Scene 7 - Final Tagline */
.logo-large {
  margin-bottom: 3rem;
  animation: logoZoomIn 1.5s ease-out;
}

@keyframes logoZoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.logo-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  border-radius: 25px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.ai-brain {
  width: 60px;
  height: 60px;
  position: relative;
}

.brain-part {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  animation: brainThink 2s ease-in-out infinite;
}

.brain-part:nth-child(1) {
  top: 10px;
  left: 20px;
}
.brain-part:nth-child(2) {
  top: 25px;
  left: 10px;
  animation-delay: 0.3s;
}
.brain-part:nth-child(3) {
  top: 25px;
  right: 10px;
  animation-delay: 0.6s;
}

@keyframes brainThink {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.logo-large h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  margin-bottom: 3rem;
}

.main-tagline {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 1rem;
  animation: taglineSlideIn 1s ease-out 0.5s both;
}

@keyframes taglineSlideIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.sub-tagline {
  font-size: 1.25rem;
  color: #9ca3af;
  animation: subtitleFadeIn 1s ease-out 1s both;
}

@keyframes subtitleFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.cta-button {
  animation: ctaButtonScale 1s ease-out 1.5s both;
}

@keyframes ctaButtonScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.get-started-btn {
  background: linear-gradient(135deg, #3b82f6, #10b981);
  border: none;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.get-started-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

/* Text Animations */
.fade-in-up {
  animation: fadeInUp 1s ease-out both;
}

.fade-in-up.delay-1 {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(55, 65, 81, 0.5);
  z-index: 1000;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  width: 0;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

/* Controls */
.controls {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.control-btn {
  display: none;
  width: 50px;
  height: 50px;
  background: rgba(17, 24, 39, 0.9);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  color: #60a5fa;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.control-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.1);
}

/* Typography */
h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

p {
  font-size: 1.25rem;
  color: #d1d5db;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard,
  .feature-showcase,
  .feedback-panel {
    width: 90vw;
    max-width: 500px;
  }

  .content {
    padding: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .logo-large h1 {
    font-size: 2.5rem;
  }

  .main-tagline {
    font-size: 1.8rem;
  }

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

  .achievement-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* Scene-specific overrides */
.scene-1 .content,
.scene-6 .content,
.scene-7 .content {
  text-align: center;
}

.scene-4 .question-text,
.scene-5 .feedback-panel {
  text-align: left;
}
