/* ============================================
   QuizFlow AI Landing Page - Consolidated Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&family=Noto+Sans+KR:wght@400;600;700&family=Noto+Sans+SC:wght@400;600;700&display=swap');

/* === ROOT VARIABLES === */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: rgba(0, 0, 0, 0.1);
  --card-bg: rgba(255, 255, 255, 0.8);
  --screen-bg: #f1f5f9;
  --window-bg: #ffffff;
  --device-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
}

.dark {
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(15, 23, 42, 0.7);
  --screen-bg: #0b1120;
  --window-bg: #1e293b;
  --device-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion:no-preference) {
  :root {
    scroll-behavior: initial
  }

  body {
    scroll-behavior: smooth
  }
}

.typing-cursor {
  display: inline-block;
  animation: blink 0.7s infinite;
  font-weight: 400;
  margin-left: 2px;
  background: linear-gradient(to right, #f59e0b, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark .typing-cursor {
  background: linear-gradient(to right, #fbbf24, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Style for the scrollbar */
/* Horizontal and vertical scrollbar styles */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  box-shadow: none;
  border: none;
  border-radius: 100px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(13, 83, 86, 0.3);
  box-shadow: none;
  border: none;
  border-radius: 100px;
  transition: all 0.3s ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 83, 86, 0.5);
}

/* === BASE STYLES === */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* === PERFORMANCE OPTIMIZATIONS === */
/* GPU acceleration for animated elements */
.phone-wrapper,
.phone-container,
.phone-frame,
.window-wrapper,
.window-container,
.window-frame,
.device-wrapper,
.testimonial-card,
.pricing-card,
.floating-icon {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Reduce paint on animated elements */
.mesh-bg,
.feature-mesh-bg,
.feature-mesh-bg-analytics,
.feature-mesh-bg-universal,
.feature-mesh-bg-testimonials,
.feature-mesh-bg-pricing {
  will-change: background-position;
  contain: layout style paint;
}

/* === THEME TOGGLE (Global) === */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  /* background: var(--card-bg); */
  /* border: 1px solid var(--border-color); */
  /* backdrop-filter: blur(10px); */
  /* padding: 10px 15px; */
  /* border-radius: 50px; */
  /* cursor: pointer; */
  transition: all 0.3s;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.theme-toggle:hover,
 {
  transform: scale(1.05);
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

/* Navigation Glass Effect */
.nav-glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark .nav-glass {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation Pulse Glow */
.nav-pulse-glow {
  animation: navPulseGlow 2s ease-in-out infinite;
}

@keyframes navPulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
  }
}

/* Navigation Theme Toggle */
.nav-theme-toggle {
  /* position: relative; */
  /* width: 40px;
  height: 40px; */
  /* border-radius: 12px; */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  /* border: none; */
  /* background: transparent; */
}

.nav-theme-toggle:hover,
.nav-menu-toggle:hover,
#searchToggle:hover {
  transform: scale(1.1);
}

#searchToggle:hover {
  transition: all 0.3s ease;
}

.nav-theme-toggle .sun-icon,
.nav-theme-toggle .moon-icon {
  position: absolute;
  transition: all 0.3s ease;
}

.nav-theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.nav-theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.dark .nav-theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.dark .nav-theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* ============================================
   MOBILE MENU TOGGLE ANIMATION (Similar to Theme Toggle)
   ============================================ */
.nav-menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-menu-toggle .bars-icon,
.nav-menu-toggle .times-icon {
  position: absolute;
  transition: all 0.3s ease;
}

.nav-menu-toggle .bars-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.nav-menu-toggle .times-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.nav-menu-toggle.menu-open .bars-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.nav-menu-toggle.menu-open .times-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* ============================================
   MOBILE MENU (Full Height & Scrollable within navbar)
   ============================================ */
.mobile-menu-wrapper {
  /* position: absolute; */
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-top: 1px solid var(--border-color);
}

.mobile-menu-wrapper.mobile-menu-open {
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-height: calc(100vh - 100px);
  opacity: 1;
  overflow-y: auto;
}

.dark .mobile-menu-wrapper {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Content Animation */

.mobile-menu-wrapper .flex-col > * {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.mobile-menu-wrapper.mobile-menu-open .flex-col > * {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu-wrapper.mobile-menu-open .flex-col > *:nth-child(8) { transition-delay: 0.4s; }

/* Mobile Accordion Animation */
.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}

.mobile-accordion-content.accordion-open {
  max-height: 500px;
  opacity: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mobile-accordion-toggle i {
  transition: transform 0.3s ease;
}

.mobile-accordion-toggle.active i {
  transform: rotate(180deg);
}

/* ============================================
   SEARCH MODAL (Full Screen)
   ============================================ */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-modal.search-modal-open {
  opacity: 1;
  visibility: visible;
}

.search-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal-content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s ease;
}

.search-modal.search-modal-open .search-modal-content {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  margin-bottom: 1.5rem;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.dark .search-input-wrapper {
  background: var(--bg-secondary);
  border-color: rgba(255, 255, 255, 0.1);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-primary);
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.search-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.search-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.dark .search-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-modal-body {
  max-height: 100vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-modal-recommendation {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.dark .search-modal-body {
  border-color: rgba(255, 255, 255, 0.1);
}

.search-section {
  margin-bottom: 1.5rem;
}

.search-section:last-child {
  margin-bottom: 0;
}

.search-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-tag {
  padding: 0.5rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #06b6d4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
}

.dark .search-tag {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

.search-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.search-quick-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dark .search-quick-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.search-quick-link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.625rem;
  font-size: 1rem;
}

.dark .search-quick-link-icon {
  background: rgba(255, 255, 255, 0.05);
}

.search-quick-link-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.search-quick-link-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ============================================
   FAQ SECTION STYLES
   ============================================ */

/* FAQ Glass Card */
.faq-glass-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.dark .faq-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ Bounce Dot Animation */
.bounce-dot:nth-child(1) {
  animation: bounceDot 1.4s infinite 0s;
}

.bounce-dot:nth-child(2) {
  animation: bounceDot 1.4s infinite 0.2s;
}

.bounce-dot:nth-child(3) {
  animation: bounceDot 1.4s infinite 0.4s;
}

@keyframes bounceDot {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
}

.theme-toggle-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  border-color: #06b6d4;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.theme-toggle-btn i {
  font-size: 18px;
  transition: all 0.3s;
}

.theme-toggle-btn .sun-icon {
  color: #f59e0b;
}

.theme-toggle-btn .moon-icon {
  color: #06b6d4;
}

/* === UTILITY CLASSES === */
.hidden {
  display: none !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === GRADIENT TEXT (Section-Specific) === */
/* Hero Section - Cyan to Indigo */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Analytics Section - Cyan to Purple */
.gradient-text-analytics {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Universal Access Section - Cyan to Lime to Purple */
.gradient-text-universal {
  background: linear-gradient(135deg, #06b6d4 0%, #84cc16 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials Section - Amber to Pink to Purple */
.gradient-text-testimonials {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pricing Section - Amber to Pink to Purple */
.gradient-text-pricing {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */

/* Mesh Gradient Background - Optimized */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.1), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.12), transparent 50%);
  background-size: 150% 150%;
  animation: meshMove 20s ease infinite alternate;
  filter: blur(40px);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.dark .mesh-bg {
  opacity: 1;
  background: radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.4), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.25), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.3), transparent 50%);
}

@keyframes meshMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 3D Phone Stage */
.stage {
  perspective: 1500px;
  transform-style: preserve-3d;
}

/* Floating Icons Container */
.floating-icons-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon:hover {
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.dark .floating-icon {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Icon Positions and Colors */
.icon-questions {
  top: 5%;
  left: 10%;
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  animation-delay: 0s;
}

.icon-brain {
  top: 15%;
  right: 5%;
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
  animation-delay: -1s;
}

.icon-ai {
  top: 45%;
  left: -5%;
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  animation-delay: -2s;
}

.icon-notes {
  top: 70%;
  right: 0%;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  animation-delay: -3s;
}

.icon-code {
  bottom: 15%;
  left: 5%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  animation-delay: -4s;
}

.icon-cloud {
  top: 30%;
  right: -10%;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  animation-delay: -0.5s;
}

.icon-lightbulb {
  bottom: 30%;
  left: -10%;
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  animation-delay: -1.5s;
}

.icon-chart {
  bottom: 5%;
  right: 10%;
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  animation-delay: -2.5s;
}

/* Float Animation */
@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(3deg);
  }
  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
  75% {
    transform: translateY(-20px) rotate(2deg);
  }
}

/* Icon Glow Effect on Hover */
.floating-icon:hover {
  animation-play-state: paused;
}

.icon-questions:hover {
  background: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.icon-brain:hover {
  background: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.icon-ai:hover {
  background: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.icon-notes:hover {
  background: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.icon-code:hover {
  background: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.icon-cloud:hover {
  background: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.icon-lightbulb:hover {
  background: rgba(250, 204, 21, 0.3);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.4);
}

.icon-chart:hover {
  background: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.phone-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
  position: relative;
  z-index: 10;
}

.phone-container {
  transform: rotateX(12deg) rotateY(-25deg) rotateZ(5deg) scale(0.9);
  transform-style: preserve-3d;
  animation: floatPhone 6s ease-in-out infinite;
  position: relative;
}

@keyframes floatPhone {
  0%, 100% {
    transform: rotateX(12deg) rotateY(-25deg) rotateZ(5deg) scale(0.9) translateY(0);
  }
  50% {
    transform: rotateX(14deg) rotateY(-22deg) rotateZ(4deg) scale(0.9) translateY(-20px);
  }
}

/* The Phone Frame */
.phone-frame {
  width: 320px;
  height: 660px;
  background: linear-gradient(145deg, #e8e8e8 0%, #d4d4d4 20%, #c0c0c0 40%, #a8a8a8 60%, #d4d4d4 80%, #e8e8e8 100%);
  border-radius: 50px;
  border: none;
  /* box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.3),
    0 30px 60px -30px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.1); */
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.2),
    0 0 0 1px var(--border-color) inset,
    0 0 100px rgba(6, 182, 212, 0.15);
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.3s;
  z-index: 2;
  overflow: hidden;
}

.dark .phone-frame {
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 20%, #0d0d0d 40%, #1a1a1a 60%, #2a2a2a 80%, #3a3a3a 100%);
  /* box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 30px 60px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05); */
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 100px rgba(6, 182, 212, 0.2);
}

/* Phone Side/Edge - creates depth effect */
.phone-frame::before {
  display: none;
}

/* Phone Bottom Edge */
.phone-frame::after {
  display: none;
}

/* Phone Back Camera Module */
.phone-back-camera {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #c0c0c0 0%, #a8a8a8 50%, #909090 100%);
  border-radius: 18px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 5px;
  align-content: flex-start;
}

.phone-back-camera::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: linear-gradient(145deg, #d4d4d4, #a8a8a8);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.camera-lens {
  width: 24px;
  height: 24px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 50%;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    0 1px 1px rgba(255, 255, 255, 0.3);
  position: relative;
}

.camera-lens::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: linear-gradient(145deg, #0d0d0d, #1a1a1a);
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9);
}

.camera-lens::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(145deg, #06b6d4, #0891b2);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    0 0 4px rgba(6, 182, 212, 0.3);
}

/* Phone Back Logo */
.phone-back-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Phone Back Flashlight */
.phone-back-flash {
  position: absolute;
  top: 110px;
  left: 28px;
  width: 10px;
  height: 10px;
  background: linear-gradient(145deg, #fef3c7, #fcd34d);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Phone Back Container */
.phone-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 660px;
  background: linear-gradient(145deg, #e8e8e8 0%, #d4d4d4 30%, #c0c0c0 50%, #d4d4d4 70%, #e8e8e8 100%);
  border-radius: 50px;
  transform: translateZ(-15px);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  z-index: -1;
}

.dark .phone-back {
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 30%, #0d0d0d 50%, #1a1a1a 70%, #2a2a2a 100%);
}

/* Phone Side Buttons */
.phone-button {
  position: absolute;
  background: linear-gradient(180deg, #d4d4d4 0%, #a8a8a8 50%, #909090 100%);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.phone-button-volume-up {
  top: 120px;
  left: -3px;
  width: 3px;
  height: 40px;
}

.phone-button-volume-down {
  top: 170px;
  left: -3px;
  width: 3px;
  height: 40px;
}

.phone-button-power {
  top: 150px;
  right: -3px;
  width: 3px;
  height: 60px;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background: linear-gradient(0deg, #000000 0%, #1f1f1f 100%);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 100;
}

.phone-notch::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #1a1a2e 30%, #0a0a15 70%);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  margin: 7px;
  background: var(--screen-bg);
  border-radius: 43px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 35px;
  transition: background-color 0.3s;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Virtual Cursor */
.virtual-cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease-out, top 0.5s ease-in-out, left 0.5s ease-in-out;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.virtual-cursor::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--text-primary);
  border-radius: 50%;
}

.virtual-cursor.zoomed {
  transform: scale(1.5);
  border-color: #06b6d4;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

.virtual-cursor.clicking {
  transform: scale(0.8) !important;
  background: rgba(6, 182, 212, 0.2);
}

/* UI Elements */
.app-header {
  padding: 12px 24px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s;
}

.search-bar {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  min-height: 48px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: #06b6d4;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #94a3b8;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.05);
}

.dark .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

/* Skeleton Loading Effect */
.skeleton-container {
  position: relative;
  overflow: hidden;
}

.skeleton {
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.05) 25%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.dark .skeleton {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  animation: shimmer-wave 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes shimmer-wave {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.q-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: slideIn 0.4s forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.dark .q-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-text {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
  color: var(--text-primary);
}

.streaming-text {
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  white-space: nowrap;
}

/* Status Bar - Higher z-index */
.status-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  padding: 12px;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(10px);
  margin-top: auto;
  transition: all 0.3s;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-value {
  color: #06b6d4;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Quiz Play - IMMEDIATE FEEDBACK */
.option {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  cursor: pointer;
  color: var(--text-primary);
}

.option:hover:not(.selected):not(.correct):not(.wrong) {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.3);
}

.dark .option:hover:not(.selected):not(.correct):not(.wrong) {
  background: rgba(255, 255, 255, 0.05);
}

.option.correct {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #15803d;
}

.dark .option.correct {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.option.wrong {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #b91c1c;
}

.dark .option.wrong {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.option.disabled {
  pointer-events: none;
  opacity: 0.7;
}

/* Results Circle Animation */
.progress-ring__circle {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.progress-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(6,182,212,0.5));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(6,182,212,0.8));
  }
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: all 0.3s;
}

.stat-box.correct {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.08);
}

.stat-box.wrong {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
}

.content-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.dark .content-section {
  background: rgba(15, 23, 42, 0.6);
}

/* ============================================
   SECTION 2: ANALYTICS FEATURE
   ============================================ */

/* Feature Section */
.feature-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Animated Background for Features - Optimized */
.feature-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1), transparent 40%);
  filter: blur(50px);
  animation: featureMeshMove 15s ease infinite alternate;
}

.dark .feature-mesh-bg {
  background:
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.15), transparent 40%);
}

@keyframes featureMeshMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Analytics Section Background - Cyan/Purple/Pink - Optimized */
.feature-mesh-bg-analytics {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1), transparent 40%);
  filter: blur(50px);
  animation: featureMeshMove 15s ease infinite alternate;
}

.dark .feature-mesh-bg-analytics {
  background:
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.15), transparent 40%);
}

/* Universal Access Section Background - Lime/Emerald/Teal - Optimized */
.feature-mesh-bg-universal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(132, 204, 22, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(20, 184, 166, 0.1), transparent 40%);
  filter: blur(50px);
  animation: featureMeshMove 15s ease infinite alternate;
}

.dark .feature-mesh-bg-universal {
  background:
    radial-gradient(circle at 20% 80%, rgba(132, 204, 22, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.25), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(20, 184, 166, 0.15), transparent 40%);
}

/* Testimonials Section Background - Amber/Pink/Purple - Optimized */
.feature-mesh-bg-testimonials {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1), transparent 40%);
  filter: blur(50px);
  animation: featureMeshMove 15s ease infinite alternate;
}

.dark .feature-mesh-bg-testimonials {
  background:
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.25), transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.15), transparent 40%);
}

/* Pricing Section Background - Purple/Cyan/Amber - Optimized */
.feature-mesh-bg-pricing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.2), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.15), transparent 40%);
  filter: blur(50px);
  animation: featureMeshMove 15s ease infinite alternate;
}

.dark .feature-mesh-bg-pricing {
  background:
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.3), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.2), transparent 40%);
}

/* 3D Window Mockup Stage */
.window-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.window-container {
  transform: rotateX(10deg) rotateY(-15deg) rotateZ(2deg) scale(0.95);
  transform-style: preserve-3d;
  animation: floatWindow 8s ease-in-out infinite;
}

@keyframes floatWindow {
  0%, 100% {
    transform: rotateX(10deg) rotateY(-15deg) rotateZ(2deg) scale(0.95) translateY(0);
  }
  50% {
    transform: rotateX(12deg) rotateY(-12deg) rotateZ(1deg) scale(0.95) translateY(-15px);
  }
}

/* Window Frame - macOS Style */
.window-frame {
  width: 720px;
  height: 480px;
  background: var(--window-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1px var(--border-color) inset,
    0 0 100px rgba(6, 182, 212, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.dark .window-frame {
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 100px rgba(6, 182, 212, 0.3);
}

/* Window Title Bar */
.window-titlebar {
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.9) 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  flex-shrink: 0;
}

.dark .window-titlebar {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
}

/* Traffic Lights */
.traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.traffic-light::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.traffic-light.red {
  background: #ff5f57;
}

.traffic-light.yellow {
  background: #febc2e;
}

.traffic-light.green {
  background: #28c840;
}

/* Window Title */
.window-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Window Content Area */
.window-content {
  flex: 1;
  background: var(--screen-bg);
  overflow: hidden;
  display: flex;
  position: relative;
}

/* Sidebar */
.sidebar {
  width: 180px;
  background: var(--card-bg);
  border-right: 1px solid var(--border-color);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item:hover {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.sidebar-item.active {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  font-weight: 500;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Dashboard UI Elements */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dark .stat-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Chart Bars */
.chart-bar {
  transform-origin: bottom;
  transform: scaleY(0);
  transition: all 0.3s;
}

.chart-bar.animate {
  animation: chartGrow 0.8s ease-out forwards;
}

@keyframes chartGrow {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

/* Live Indicator */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Feature Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

.feature-card.active {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.05);
}

.feature-card.active::before {
  background: #06b6d4;
}

.feature-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

/* Content Slide Animation */
.content-slide {
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auto-play Controls */
.auto-play-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 30;
}

.auto-play-indicator:hover {
  border-color: #06b6d4;
  color: #06b6d4;
}

.auto-play-indicator.paused {
  border-color: #f59e0b;
  color: #f59e0b;
}

/* Progress bar for auto-play */
.auto-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  border-radius: 0 0 0 12px;
  transition: width 0.1s linear;
}

/* Responsive for Analytics Section */
@media (max-width: 1200px) {
  .window-frame {
    width: 600px;
    /* height: 400px; */
  }

  .sidebar {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .window-frame {
    width: 90vw;
    height: 60vh;
    max-width: 500px;
  }

  .sidebar {
    display: none;
  }

  .theme-toggle-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  /* Hide floating icons on mobile */
  /* .floating-icons-container {
    display: none;
  } */
}

/* ============================================
   SECTION 3: UNIVERSAL ACCESS
   ============================================ */

/* Device Stage */
.device-stage {
  perspective: 2000px;
  transform-style: preserve-3d;
}

.device-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

/* Desktop Monitor */
.monitor-frame {
  width: 600px;
  height: 380px;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 12px;
  padding: 12px 12px 24px 12px;
  box-shadow:
    var(--device-shadow),
    0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  position: relative;
  transform-style: preserve-3d;
  animation: device-float 6s ease-in-out infinite;
}

.dark .monitor-frame {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  box-shadow:
    var(--device-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@keyframes device-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.monitor-screen {
  width: 100%;
  height: 100%;
  background: var(--screen-bg);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.monitor-stand {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 40px;
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
  border-radius: 0 0 8px 8px;
}

.monitor-base {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 12px;
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
  border-radius: 6px;
}

/* Tablet Device */
.tablet-frame {
  width: 280px;
  height: 380px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 12px;
  box-shadow:
    var(--device-shadow),
    0 0 0 2px rgba(255, 255, 255, 0.1) inset;
  position: absolute;
  right: -60px;
  top: -20px;
  transform: rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
  animation: device-float 6s ease-in-out 1s infinite;
  z-index: 20;
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background: var(--screen-bg);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.tablet-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #334155;
  border-radius: 50%;
}

/* Mobile Device */
.mobile-frame {
  width: 160px;
  height: 320px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    var(--device-shadow),
    0 0 0 2px rgba(255, 255, 255, 0.1) inset;
  position: absolute;
  left: -40px;
  bottom: -60px;
  transform: rotateY(15deg) rotateX(5deg);
  transform-style: preserve-3d;
  animation: device-float 6s ease-in-out 2s infinite;
  z-index: 30;
}

.mobile-screen {
  width: 100%;
  height: 100%;
  background: var(--screen-bg);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: #000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

/* Screen Content */
.screen-content {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s;
}

/* Sync Indicator */
.sync-indicator {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 182, 212, 0.9);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
  z-index: 50;
  animation: pulse-slow 2s infinite;
}

.sync-pulse {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Language Section */
.lang-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Lang Section Header */
.lang-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}

.lang-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Icon-only Pause/Resume Button */
.lang-control-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lang-control-btn:hover {
  border-color: #06b6d4;
  color: #06b6d4;
  transform: scale(1.1);
}

.lang-control-btn.paused {
  border-color: #f59e0b;
  color: #f59e0b;
}

/* Language Tabs */
.lang-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  padding-right: 40px;
}

.lang-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-tab:hover {
  border-color: #06b6d4;
  color: #06b6d4;
}

.lang-tab.active {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  color: white;
  border-color: transparent;
}

/* Language Content */
.lang-content {
  min-height: 320px;
  position: relative;
}

.lang-panel {
  display: none;
}

.lang-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

/* Quiz Preview */
.quiz-preview {
  background: var(--screen-bg);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-color);
}

/* Question Box */
.question-box {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  border-left: 3px solid #06b6d4;
}

/* Option Buttons */
.option-btn {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-btn:hover:not(.correct):not(.wrong) {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.05);
}

/* Correct answer - GREEN */
.option-btn.correct {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #15803d;
}

.dark .option-btn.correct {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.option-btn.correct::after {
  content: '✓';
  color: #22c55e;
  font-weight: bold;
}

/* Wrong answer - RED */
.option-btn.wrong {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #b91c1c;
  opacity: 0.7;
}

.dark .option-btn.wrong {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.option-btn.wrong::after {
  content: '✗';
  color: #ef4444;
  font-weight: bold;
}

/* Progress Bar */
.lang-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-color);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.lang-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  width: 0%;
  transition: width 0.1s linear;
}

/* Device Labels */
.device-label {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 40;
}

.device-label.monitor-label {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.device-label.tablet-label {
  right: -100px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.device-label.mobile-label {
  left: -80px;
  bottom: 100px;
  transform: rotate(-90deg);
  transform-origin: center;
}

/* Responsive for Universal Access */
@media (max-width: 1024px) {
  .monitor-frame {
    width: 400px;
    height: 260px;
  }

  .tablet-frame {
    width: 200px;
    height: 280px;
    right: -40px;
    top: -10px;
  }

  .mobile-frame {
    width: 120px;
    height: 240px;
    left: -30px;
    bottom: -40px;
  }
}

@media (max-width: 768px) {
  .device-stage {
    transform: scale(0.7);
  }

  .lang-tabs {
    justify-content: center;
    padding-right: 0;
  }

  .lang-control-btn {
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
  }

  .lang-section-header {
    flex-wrap: wrap;
  }
}

/* -------------------------------------------- */
/* 5. TESTIMONIALS SECTION (Part 4)            */
/* -------------------------------------------- */
.testimonials-section {
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
}
.testimonials-section .feature-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonials-section .feature-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(245,158,11,0.15), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(236,72,153,0.15), transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(139,92,246,0.1), transparent 40%);
  filter: blur(50px);
  animation: testimonialMeshMove 20s ease infinite alternate;
}
.dark .testimonials-section .feature-mesh-bg {
  background: radial-gradient(circle at 20% 80%, rgba(245,158,11,0.25), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(236,72,153,0.25), transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(139,92,246,0.2), transparent 40%);
}
@keyframes testimonialMeshMove {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px,20px) scale(1.1); }
  100% { transform: translate(0,0) scale(1); }
}
.testimonials-section .carousel-viewport {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.testimonials-section .stage {
  perspective: 1500px;
  transform-style: preserve-3d;
  height: 500px;
  width: 100%;
  max-width: 600px;
  cursor: grab;
  user-select: none;
  position: relative;
  z-index: 10;
}
.testimonials-section .stage:active { cursor: grabbing; }
.testimonials-section .carousel-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  width: 100%;
  height: 100%;
}
.testimonials-section .carousel-container {
  transform: rotateX(10deg) rotateY(-5deg);
  transform-style: preserve-3d;
  animation: testimonialFloatContainer 8s ease-in-out infinite;
  width: 100%;
  height: 100%;
  position: relative;
}
@keyframes testimonialFloatContainer {
  0%,100% { transform: rotateX(10deg) rotateY(-5deg) translateY(0); }
  50% { transform: rotateX(12deg) rotateY(-3deg) translateY(-10px); }
}
.testimonials-section .testimonial-card {
  position: absolute;
  width: 400px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
  left: 50%;
  top: 50%;
  margin-left: -200px;
  margin-top: -150px;
  will-change: transform, opacity;
  overflow: hidden;
}
.testimonials-section .testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(236,72,153,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.testimonials-section .testimonial-card:hover::before { opacity: 1; }
.testimonials-section .testimonial-card.active {
  transform: translateZ(80px) scale(1.05);
  z-index: 10;
  opacity: 1;
}
.testimonials-section .testimonial-card.prev {
  transform: translateX(-350px) translateZ(-100px) rotateY(35deg) scale(0.85);
  opacity: 0.5;
  z-index: 5;
}
.testimonials-section .testimonial-card.next {
  transform: translateX(350px) translateZ(-100px) rotateY(-35deg) scale(0.85);
  opacity: 0.5;
  z-index: 5;
}
.testimonials-section .testimonial-card.hidden {
  transform: translateZ(-200px) scale(0.5);
  opacity: 0;
  pointer-events: none;
}
.testimonials-section .quote-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(245,158,11,0.3);
}
.testimonials-section .star-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonials-section .star { color: #f59e0b; font-size: 16px; }
.testimonials-section .star.empty { color: #cbd5e1; }
.dark .testimonials-section .star.empty { color: #334155; }
.testimonials-section .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(135deg, #f59e0b, #ec4899) border-box;
  -webkit-mask: linear-gradient(#ffffff00 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#ffffff00 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.testimonials-section .user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.testimonials-section .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
  margin-left: auto;
}
.testimonials-section .verified-badge i { animation: pulse 2s infinite; }
.testimonials-section .metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 16px;
}
.testimonials-section .external-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 20;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.testimonials-section .control-btn-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-primary);
  font-size: 16px;
  pointer-events: auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.testimonials-section .control-btn-nav:hover {
  transform: scale(1.1);
  border-color: #f59e0b;
  color: #f59e0b;
  box-shadow: 0 0 20px rgba(245,158,11,0.3);
}
.testimonials-section .control-btn-nav:active { transform: scale(0.95); }
.testimonials-section .carousel-dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  position: relative;
  z-index: 50;
}
.testimonials-section .carousel-dots { display: flex; gap: 8px; align-items: center; }
.testimonials-section .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s;
}
.testimonials-section .dot:hover { transform: scale(1.2); }
.testimonials-section .dot.active {
  width: 32px;
  border-radius: 4px;
  background: var(--accent-gradient);
}
.testimonials-section .drag-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  opacity: 0.7;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 20;
}
.testimonials-section .stage:hover .drag-hint { opacity: 1; }
.testimonials-section .drag-hint i { animation: testimonialSwipeHint 1.5s ease-in-out infinite; }
@keyframes testimonialSwipeHint { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.testimonials-section .stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 150px;
  flex-wrap: wrap;
}
.testimonials-section .stat-item { text-align: center; }
.testimonials-section .stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.testimonials-section .stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 8px;
}
.testimonials-section .trust-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.testimonials-section .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testimonials-section .card-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0,0,0,0.05);
  z-index: 10;
  overflow: hidden;
}
.dark .testimonials-section .card-progress-container { background: rgba(255,255,255,0.05); }
.testimonials-section .card-progress-bar {
  height: 100%;
  background: var(--accent-gradient);
  width: 0%;
  transition: width 0.1s linear;
}
.testimonials-section .card-pause-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #f59e0b;
  font-size: 12px;
  z-index: 20;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.dark .testimonials-section .card-pause-btn { background: rgba(15,23,42,0.9); color: #f59e0b; }
.testimonials-section .card-pause-btn:hover {
  transform: scale(1.1);
  background: #f59e0b;
  color: white;
  border-color: #f59e0b;
}

@media (max-width: 1024px) {
  .testimonials-section .stage { height: 450px; }
  .testimonials-section .testimonial-card { width: 340px; margin-left: -170px; padding: 24px; }
  .testimonials-section .testimonial-card.prev { transform: translateX(-280px) translateZ(-100px) rotateY(35deg) scale(0.85); }
  .testimonials-section .testimonial-card.next { transform: translateX(280px) translateZ(-100px) rotateY(-35deg) scale(0.85); }
}
@media (max-width: 768px) {
  .testimonials-section .feature-section { padding-top: 20px; }
  .testimonials-section .stage { height: 420px; margin-top: 40px; }
  .testimonials-section .carousel-container { transform: rotateX(5deg) rotateY(0deg); }
  .testimonials-section .testimonial-card { width: 300px; margin-left: -150px; padding: 20px; }
  .testimonials-section .testimonial-card.prev { transform: translateX(-200px) translateZ(-100px) rotateY(35deg) scale(0.8); opacity: 0.3; }
  .testimonials-section .testimonial-card.next { transform: translateX(200px) translateZ(-100px) rotateY(-35deg) scale(0.8); opacity: 0.3; }
  .testimonials-section .stats-row { gap: 24px; }
  .testimonials-section .stat-number { font-size: 2rem; }
  .testimonials-section .drag-hint { display: none; }
  .testimonials-section .external-controls { padding: 0 10px; }
  .testimonials-section .control-btn-nav { width: 40px; height: 40px; }
}

/* ============================================
   SECTION 5: PRICING
   ============================================ */

/* Gradient Text Background for MOST POPULAR */
.gradient-text-bg {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  color: white;
}

/* Glass Shine Effect */
.glass-shine {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.1) 25%,
      transparent 50%);
  background-size: 200% 200%;
}

.dark .glass-shine {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 25%,
      transparent 50%);
}

/* Toggle Switch Active State */
.toggle-active {
  background: linear-gradient(135deg, #f59e0b 0%, #8b5cf6 100%) !important;
}

.toggle-active #toggleCircle {
  background: white !important;
  transform: translateX(32px);
}

/* Smooth price transition */
.price-value {
  transition: all 0.3s ease;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 20px;
}

.pricing-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: visible;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

/* Responsive for Pricing */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONFETTI CELEBRATION ANIMATION
   ============================================ */
@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================
   SHINING BORDER EFFECT FOR BADGES
   ============================================ */
.shining-badge {
  position: relative;
  overflow: hidden;
}

.shining-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shine-border 3s infinite;
}

@keyframes shine-border {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

/* Badge Shining Border - Shine effect only on border */
.badge-shine {
  position: relative;
  z-index: 1;
}

.badge-shine::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.1) 20%,
    rgba(6, 182, 212, 0.8) 40%,
    rgba(139, 92, 246, 0.8) 60%,
    rgba(139, 92, 246, 0.1) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-shine-slide 12s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes border-shine-slide {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
