/* ===================================
   V5 Strength Scanner - CSS
   Sophisticated Power Recognition
   =================================== */

:root {
  /* Strength Spectrum Colors */
  --deep-purple: #6B46C1;
  --electric-blue: #3B82F6;
  --warm-gold: #F59E0B;
  --pure-white: #FFFFFF;
  --midnight-navy: #1E293B;
  --soft-lavender: #E9D5FF;
  --sky-blue: #DBEAFE;
  --champagne: #FEF3C7;
  
  /* Frau Kiss Brand Colors */
  --primary: #E85A3C;
  --primary-dark: #D94825;
  --primary-light: #FF7A5C;
  
  /* Supporting Colors */
  --background: #0F0B19;
  --surface: #1A1625;
  --text: #F8FAFC;
  --text-light: #CBD5E1;
  --border: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--deep-purple), var(--electric-blue));
  --gradient-gold: linear-gradient(135deg, var(--warm-gold), #FBBF24);
  
  /* Shadows & Effects */
  --glow-purple: 0 0 20px rgba(107, 70, 193, 0.4);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.4);
  --glow-gold: 0 0 20px rgba(245, 158, 11, 0.4);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, 'Helvetica Neue', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(107, 70, 193, 0.1) 0%, var(--background) 70%);
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.scanner-interface {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.scanner-beam {
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  box-shadow: var(--glow-blue);
  animation: scan-sweep 3s infinite ease-in-out;
}

@keyframes scan-sweep {
  0% { transform: translateY(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(410px); opacity: 0; }
}

.scanner-grid {
  position: absolute;
  inset: 20px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.scan-line {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient-gold);
  animation: pulse 2s infinite;
}

.scan-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(107, 70, 193, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.3) 1px, transparent 1px);
  background-size: 50px 50px, 60px 60px, 40px 40px;
  animation: particle-float 4s infinite ease-in-out;
}

@keyframes particle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  padding: 40px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--text);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  text-align: left;
}

.cta-button {
  position: relative;
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: var(--pure-white);
  box-shadow: var(--glow-purple);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(107, 70, 193, 0.6);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--border);
}

.cta-button.large {
  padding: 24px 48px;
  font-size: 1.3rem;
}

.button-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover .button-glow {
  opacity: 1;
}

.cta-subtext {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===================================
   Section Styles
   =================================== */

section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text);
}

/* ===================================
   Reframe Section
   =================================== */

.reframe-section {
  background: var(--surface);
}

.reframe-grid {
  display: grid;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.reframe-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.reframe-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.reframe-before,
.reframe-after {
  text-align: center;
}

.reframe-before .label,
.reframe-after .label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reframe-before p {
  color: #EF4444;
  font-style: italic;
}

.reframe-after p {
  color: var(--warm-gold);
  font-weight: 600;
}

.reframe-arrow {
  font-size: 1.5rem;
  color: var(--electric-blue);
  font-weight: bold;
}

/* ===================================
   How It Works
   =================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.08);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--glow-purple);
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text);
}

.step p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================
   Strength Categories
   =================================== */

.strength-categories {
  background: var(--surface);
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.power-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.power-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.power-card:hover::before {
  opacity: 0.1;
}

.power-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--deep-purple);
}

.power-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.power-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.power-card p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.power-level {
  position: relative;
  z-index: 1;
}

.level-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.level-fill {
  height: 100%;
  background: var(--gradient-gold);
  transition: width 2s ease;
  box-shadow: var(--glow-gold);
}

.level-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.categories-cta {
  text-align: center;
}

/* ===================================
   Testimonials
   =================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.1rem;
}

.testimonial-author strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.testimonial-author span {
  color: var(--warm-gold);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===================================
   Final CTA
   =================================== */

.final-cta {
  background: var(--surface);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.benefit-icon {
  font-size: 1.2rem;
}

/* ===================================
   Quiz Interface
   =================================== */

.quiz-interface {
  position: fixed;
  inset: 0;
  background: var(--background);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
}

.quiz-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.quiz-header {
  text-align: center;
  margin-bottom: 60px;
}

.quiz-header h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.5s ease;
  box-shadow: var(--glow-purple);
}

.progress-text {
  color: var(--text-light);
  font-size: 0.9rem;
}

.scanning-animation {
  text-align: center;
  margin-bottom: 40px;
}

.scan-beam {
  width: 200px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 20px;
  border-radius: 2px;
  box-shadow: var(--glow-blue);
  animation: scan-pulse 1.5s infinite;
}

@keyframes scan-pulse {
  0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1.2); }
}

.scan-text {
  color: var(--text-light);
  font-size: 1rem;
}

.question-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.question-card h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text);
  line-height: 1.4;
}

.answer-options {
  display: grid;
  gap: 16px;
}

.answer-option {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.answer-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--electric-blue);
  transform: translateY(-2px);
}

.answer-option.selected {
  background: rgba(107, 70, 193, 0.2);
  border-color: var(--deep-purple);
  box-shadow: var(--glow-purple);
}

/* ===================================
   Results Interface
   =================================== */

.results-interface {
  position: fixed;
  inset: 0;
  background: var(--background);
  z-index: 1000;
  overflow-y: auto;
  animation: fadeIn 0.5s ease;
}

.results-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.results-header {
  text-align: center;
  margin-bottom: 60px;
}

.results-header h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--text);
}

.overall-power {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.power-circle {
  width: 150px;
  height: 150px;
  border: 4px solid var(--deep-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 70, 193, 0.1);
  box-shadow: var(--glow-purple);
  animation: pulse 2s infinite;
}

.power-percentage {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
}

.percentile-text {
  color: var(--warm-gold);
  font-weight: 600;
  font-size: 1.1rem;
}

.strengths-breakdown {
  margin-bottom: 60px;
}

.strengths-breakdown h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text);
}

.strength-results {
  display: grid;
  gap: 20px;
}

.strength-result {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.strength-result:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.strength-icon {
  font-size: 2.5rem;
  width: 60px;
  text-align: center;
}

.strength-info {
  flex: 1;
}

.strength-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.strength-description {
  color: var(--text-light);
  line-height: 1.5;
}

.strength-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--warm-gold);
  text-align: center;
  min-width: 80px;
}

.insights-section {
  margin-bottom: 60px;
}

.insight-card {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--warm-gold);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.insight-card h4 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--warm-gold);
}

.insight-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.1rem;
}

.email-capture {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.email-capture h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.email-capture p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.email-form {
  display: flex;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto 20px;
}

.email-form input {
  flex: 1;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
}

.email-form input::placeholder {
  color: var(--text-light);
}

.privacy-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===================================
   Background Effects
   =================================== */

.background-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 20%, rgba(107, 70, 193, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 120px 120px;
  animation: background-drift 20s infinite ease-in-out;
}

@keyframes background-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-10px, -10px); }
  66% { transform: translate(10px, -5px); }
}

/* ===================================
   Animations
   =================================== */

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .scanner-interface {
    height: 300px;
    order: -1;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .reframe-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  
  .reframe-arrow {
    transform: rotate(90deg);
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .power-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-benefits {
    flex-direction: column;
    gap: 20px;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .quiz-container {
    padding: 0 16px;
  }
  
  .question-card {
    padding: 30px 20px;
  }
  
  .quiz-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 16px 24px;
    font-size: 1rem;
  }
  
  .cta-button.large {
    padding: 20px 32px;
    font-size: 1.1rem;
  }
  
  .scanner-interface {
    height: 250px;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .power-icon {
    font-size: 2.5rem;
  }
  
  .power-circle {
    width: 120px;
    height: 120px;
  }
  
  .power-percentage {
    font-size: 2.5rem;
  }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: light) {
  /* Keep dark theme for brand consistency */
}

/* Focus states for accessibility */
.cta-button:focus-visible,
.answer-option:focus-visible,
input:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(255, 255, 255, 0.3);
    --text-light: #E2E8F0;
  }
}

/* ===================================
   V5 UX Improvements - Answer Selection
   =================================== */

/* Enhanced Answer Options */
.answer-option.locked {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.answer-option.selected::after {
  content: '✓';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--electric-blue);
  font-size: 24px;
  font-weight: bold;
  animation: checkmarkPop 0.3s ease-out;
}

/* Answer Lock-in Animation */
.answer-option.locking {
  animation: lockIn 0.5s ease forwards;
}

@keyframes lockIn {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 70, 193, 0);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(107, 70, 193, 0.4);
  }
  100% {
    box-shadow: 0 0 30px 5px rgba(107, 70, 193, 0.2);
  }
}

@keyframes checkmarkPop {
  0% {
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }
  60% {
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

/* Processing State */
.quiz-content.processing {
  pointer-events: none;
}

.processing-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: var(--electric-blue);
  background: rgba(20, 0, 50, 0.9);
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid var(--electric-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.processing-indicator.active {
  opacity: 1;
  animation: processingPulse 1s ease infinite;
}

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

/* Scanner Sweep Effect */
.scan-transition {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(107, 70, 193, 0.4) 50%, 
    transparent 100%);
  pointer-events: none;
  z-index: 15;
}

.scan-transition.active {
  animation: scanSweep 0.6s ease-out;
}

@keyframes scanSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Question Transitions */
.question-card {
  transition: all 0.3s ease;
  position: relative;
}

.question-card.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  filter: blur(5px);
}

.question-card.fade-in {
  animation: questionFadeIn 0.5s ease forwards;
}

@keyframes questionFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Enhanced Progress Counter */
.progress-info {
  position: relative;
  overflow: hidden;
}

.progress-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--electric-blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.progress-info.pulse::after {
  animation: progressPulse 0.5s ease-out;
}

@keyframes progressPulse {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

/* Scanner Pulse Effect */
.scanner-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(107, 70, 193, 0.6) 0%, 
    transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.scanner-pulse.active {
  animation: scannerPulse 1s ease-out;
}

@keyframes scannerPulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* Typewriter Effect for Questions */
.question-text-typewriter {
  overflow: hidden;
  white-space: nowrap;
  animation: typewriter 0.8s steps(40) forwards;
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Enhanced Current Question Display */
#current-question {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--electric-blue);
  text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}