/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --bg-main: #09090b;
    --bg-gray: #18181b;
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --border: #27272a;
    --success: #22c55e;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  ul {
    list-style: none;
  }
  
  /* Utilities */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .text-center { text-align: center; }
  .text-primary { color: var(--primary); }
  .bg-gray { background-color: var(--bg-gray); }
  .bg-blue { background-color: #eff6ff; color: #2563eb; }
  .bg-pink { background-color: #fdf2f8; color: #db2777; }
  .bg-purple { background-color: #faf5ff; color: #9333ea; }
  .bg-red { background-color: #ef4444; }
  .bg-yellow { background-color: #eab308; }
  .bg-green { background-color: #22c55e; }
  
  .section-header {
    margin-bottom: 3rem;
  }
  .section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
  }
  
  /* ==========================================================================
     Buttons
     ========================================================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: white;
  }
  .btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
  }
  .btn-outline:hover {
    background-color: var(--bg-gray);
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
  }
  
  .btn-block {
    width: 100%;
  }
  
  /* ==========================================================================
     Navbar
     ========================================================================== */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 50;
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
  }
  
  .nav-links {
    display: none;
  }
  
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }
    .nav-links a {
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.9375rem;
    }
    .nav-links a:hover {
      color: var(--text-main);
    }

  }
  
  .nav-actions {
    display: flex;
    gap: 1rem;
  }
  
  /* ==========================================================================
     Hero Section
     ========================================================================== */
  .hero {
    padding: 2rem 0 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .dark-hero {
    background-color: var(--bg-main);
    background-image: repeating-radial-gradient(
      circle at top center,
      transparent 0,
      transparent 80px,
      rgba(255, 255, 255, 0.03) 80px,
      rgba(255, 255, 255, 0.03) 81px
    );
  }
  
  .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
  }
  
  @media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
  }
  
  /* Upload Card */
  .upload-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  
  .upload-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
  }
  
  .upload-card-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 2rem;
  }
  
  .dropzone-dashed {
    border: 1.5px dashed #cbd5e1;
    border-radius: 1rem;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
  }
  
  .dropzone-dashed:hover, .dropzone-dashed.dragover {
    border-color: var(--primary);
    background-color: #eff6ff;
  }
  
  .upload-icon-circle {
    width: 56px;
    height: 56px;
    background-color: #e0e7ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
  }
  
  .dropzone-inner-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.25rem;
  }
  
  .dropzone-inner-desc {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
  }
  
  .choose-file-btn {
    padding: 0.625rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
  }
  
  /* ==========================================================================
     Steps Section
     ========================================================================== */
  .steps-section {
    padding: 5rem 0;
  }
  
  .steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
  }
  
  .step-card {
    background: var(--bg-main);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
  }
  
  .step-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
  }
  
  .step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .step-card p {
    color: var(--text-muted);
  }
  
  /* ==========================================================================
     Content / SEO Section
     ========================================================================== */
  .content-section {
    padding: 6rem 0;
  }
  
  .content-row {
    display: grid;
    gap: 4rem;
    align-items: center;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 992px) {
    .content-row { grid-template-columns: 1fr 1fr; }
  }
  
  .content-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .content-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-list {
    margin-top: 2rem;
  }
  
  .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  
  .mock-ui {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
  }
  
  .mock-header {
    background: var(--bg-gray);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  
  .mock-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
  }
  
  .mock-body {
    display: flex;
    height: 300px;
  }
  
  .mock-video-area {
    flex: 2;
    background: #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
  }
  
  .mock-sidebar {
    flex: 1;
    padding: 1.5rem;
    border-left: 1px solid var(--border);
  }
  
  .mock-line {
    height: 1rem;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
  }
  
  .mock-line.w-75 { width: 75%; }
  
  .mock-btn {
    height: 2.5rem;
    background: var(--primary);
    border-radius: var(--radius-sm);
    margin-top: 2rem;
  }
  
  /* ==========================================================================
     Pricing
     ========================================================================== */
  .pricing-section {
    padding: 6rem 0;
  }
  
  .pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
  }
  
  .pricing-card {
    background: var(--bg-main);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .pricing-grid .pricing-card:hover {
    transform: scale(1.03) translateY(-5px) !important;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
  }
  
  .pricing-card.popular {
    z-index: 10;
  }
  
  /* Preserve scale during fade-up animation */
  .pricing-card.popular.fade-up {
    transform: scale(1.05) translateY(30px);
  }
  .pricing-card.popular.fade-up.animate {
    transform: scale(1.05) translateY(0);
  }

  .pricing-grid .pricing-card.popular:hover {
    transform: scale(1.08) translateY(-5px) !important;
  }

  /* Make the button inside the popular card 15% larger */
  .pricing-card.popular .btn {
    height: 4.025rem;
    font-size: 1.29rem;
  }
  
  .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
  }
  
  .pricing-header {
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }
  
  .pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .pricing-header p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }
  
  .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  
  .currency { font-size: 1.5rem; font-weight: 700; }
  .amount { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; }
  .period { color: var(--text-muted); font-weight: 500; }
  
  .pricing-body {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .pricing-features {
    margin-bottom: 2rem;
    flex: 1;
  }
  
  .pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
  }
  
  .pricing-features i {
    color: var(--primary);
    font-size: 1.25rem;
  }
  
  /* ==========================================================================
     Testimonials Slider
     ========================================================================== */
  .testimonials-section {
    padding: 6rem 0;
    overflow: hidden;
  }
  
  .testimonials-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 64px; /* Space for arrows so they are further away from the cards */
  }
  
  .testimonials-grid {
    display: flex;
    gap: 2rem;
    overflow-x: hidden; /* Hide overflow so users rely on arrows or autoplay */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding: 1rem 0;
    width: 100%;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }
  
  .testimonial-card {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 calc((100% - 4rem) / 3); /* exactly 3 items per row on desktop */
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .stars {
    color: #eab308;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
  }
  
  .testimonial-card p {
    font-size: 1.0625rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1; /* Pushes author down */
  }
  
  .author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto; /* Aligns all authors to the bottom */
  }
  
  .slider-arrow {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    z-index: 10;
    box-shadow: var(--shadow);
  }
  
  .slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
  }
  
  .slider-prev {
    left: 0;
  }
  
  .slider-next {
    right: 0;
  }

  @media (max-width: 992px) {
    .testimonial-card {
      flex: 0 0 calc((100% - 2rem) / 2); /* 2 items per row */
    }
  }
  
  @media (max-width: 768px) {
    .testimonial-card {
      flex: 0 0 100%; /* 1 item per row */
    }
    .slider-arrow {
      display: none; /* Hide arrows on mobile, rely on swipe */
    }
  }
  
  .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    background: #3B82F6; /* default blue */
  }

  .avatar.bg-blue {
    background: #3B82F6;
    color: #ffffff;
  }

  .avatar.bg-gray {
    background: #6B7280;
    color: #ffffff;
  }
  
  .author-info strong {
    display: block;
    font-size: 0.9375rem;
  }
  
  .author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  
  /* ==========================================================================
     FAQ
     ========================================================================== */
  .faq-section {
    padding: 6rem 0;
  }
  
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
  }
  
  .faq-question i {
    transition: transform 0.2s ease;
  }
  
  .faq-item.active .faq-question i {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 500px;
  }
  
  .faq-answer p {
    color: var(--text-muted);
  }
  
  /* ==========================================================================
     Bottom CTA
     ========================================================================== */
  .cta-bottom {
    padding: 6rem 0;
    background: var(--bg-gray);
    color: var(--text-main);
  }
  
  .cta-bottom h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
  
  .cta-bottom p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  .footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
  }
  
  .footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  
  @media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  }
  
  .footer-brand p {
    color: var(--text-muted);
    margin: 1rem 0;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
  }
  
  .social-links a:hover {
    color: var(--primary);
  }
  
  .footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
  }
  
  .footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
  }
  
  .footer-links a:hover {
    color: var(--primary);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
  }

  /* ==========================================================================
     Demo Section (Before/After)
     ========================================================================== */
  .bg-theme-blue {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 100%);
    color: white;
  }
  
  .demo-section {
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .demo-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .demo-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-gray);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .demo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .demo-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .demo-card p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .btn-demo {
    background-color: #7c3aed;
    color: white;
    align-self: flex-start;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
  }
  .btn-demo:hover {
    background-color: #6d28d9;
    color: white;
  }

  .demo-media-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .demo-videos {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .demo-img {
    flex: 1;
    object-fit: cover;
    width: 50%;
    border-radius: var(--radius);
  }

  /* ==========================================================================
     Testimonials Dark
     ========================================================================== */
  .text-white {
    color: white;
  }
  
  .text-purple-accent {
    color: #a78bfa;
  }

  .uppercase-track {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .testimonials-header {
    margin-bottom: 3rem;
  }

  .testimonials-grid-dark {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  @media (min-width: 768px) {
    .testimonials-grid-dark { grid-template-columns: repeat(3, 1fr); }
  }

  .testimonial-card-dark {
    background: #1f2937;
    border: 1px solid #374151;
    padding: 2rem;
    border-radius: var(--radius-lg);
  }

  .testimonial-card-dark p {
    font-size: 1rem;
    color: #e5e7eb;
    line-height: 1.6;
  }

  .author-dark {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }

  .author-info-dark strong {
    display: block;
    font-size: 1rem;
    color: white;
  }

  .author-info-dark span {
    font-size: 0.875rem;
    color: #9ca3af;
  }

/* ==========================================================================
   Mode Select Screen
   ========================================================================== */
.mode-select-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 72px);
  padding: 2rem;
  background-color: var(--bg-gray);
  overflow-y: auto;
}

@media (min-width: 992px) {
  .mode-select-body {
    flex-direction: row;
    gap: 4rem;
  }
}

.mode-preview-wrapper {
  flex: 1;
  max-width: 600px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .mode-preview-wrapper { margin-bottom: 0; }
}

#mode-preview-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mode-cards-container {
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.mode-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.mode-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mode-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-card:hover, .mode-card.selected {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mode-card.selected {
  background-color: #eff6ff;
}

.mode-card-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mode-card-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.mode-card-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Language Panel */
.language-panel {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  animation: slideDown 0.3s ease-out;
}

.language-panel h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.language-panel p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.lang-select-wrapper {
  margin-bottom: 1.5rem;
}

.modern-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}

.modern-select:focus {
  border-color: var(--primary);
}

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

/* ==========================================================================
   Progress Overlay
   ========================================================================== */
.progress-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-modal {
  background: var(--bg-main);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.progress-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.progress-bar-global-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.progress-bar-global {
  flex: 1;
  height: 8px;
  background: var(--bg-gray);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.3s ease;
}

#progress-percent-global {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-main);
  min-width: 40px;
}

.progress-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.progress-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Animations (Scroll & Hover)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Social Proof
   ========================================================================== */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
  padding: 1.5rem 0;
  width: 100%;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  transition: color 0.3s ease, transform 0.2s ease;
  font-variant-numeric: tabular-nums;
  min-width: 8ch;
  display: inline-block;
}

.stat-number.highlight {
  color: var(--primary);
  transform: scale(1.05);
}

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

.stat-divider {
  height: 50px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .social-proof {
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }
  .stat-divider {
    height: 1px;
    width: 50px;
  }
  .stat-number {
    font-size: 2rem;
  }
}
