:root {
    /* Enhanced Light Theme */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-quaternary: #e2e8f0;
    --bg-accent: #fef7ff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(139, 92, 246, 0.15);
    --glass-shadow: rgba(139, 92, 246, 0.1);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(255, 255, 255, 0.8);
    --input-bg: rgba(255, 255, 255, 0.95);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --overlay-bg: rgba(255, 255, 255, 0.95);
    --backdrop-blur: blur(20px) saturate(180%) brightness(1.1);
    --particle-color: rgba(139, 92, 246, 0.08);
    --glow-primary: 0 0 30px rgba(139, 92, 246, 0.3);
    --glow-secondary: 0 0 30px rgba(236, 72, 153, 0.3);
    
    /* Enhanced Brand Colors with variations */
    --brand-primary: #8b5cf6;
    --brand-primary-light: #a78bfa;
    --brand-primary-dark: #7c3aed;
    --brand-secondary: #ec4899;
    --brand-secondary-light: #f472b6;
    --brand-secondary-dark: #db2777;
    --brand-accent: #06b6d4;
    --brand-accent-light: #22d3ee;
    --brand-accent-dark: #0891b2;
    --brand-success: #10b981;
    --brand-success-light: #34d399;
    --brand-success-dark: #059669;
    --brand-warning: #f59e0b;
    --brand-warning-light: #fbbf24;
    --brand-warning-dark: #d97706;
    --brand-error: #ef4444;
    --brand-error-light: #f87171;
    --brand-error-dark: #dc2626;
    --brand-info: #3b82f6;
    --brand-info-light: #60a5fa;
    --brand-info-dark: #2563eb;
    
    /* Advanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    --gradient-secondary: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
    --gradient-success: linear-gradient(135deg, var(--brand-success), var(--brand-accent));
    --gradient-rainbow: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary), var(--brand-accent));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    --gradient-mesh: radial-gradient(ellipse at top, var(--brand-primary), transparent),
                     radial-gradient(ellipse at bottom, var(--brand-secondary), transparent);
    
    /* Micro-interactions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }

  /* Enhanced Dark Theme */
  [data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-quaternary: #475569;
    --bg-accent: #1e1b4b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #1e293b;
    --border-color: #334155;
    --border-light: #475569;
    --border-dark: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(139, 92, 246, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.5);
    --navbar-bg: rgba(15, 23, 42, 0.9);
    --card-bg: rgba(255, 255, 255, 0.06);
    --input-bg: rgba(255, 255, 255, 0.08);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.6);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    --overlay-bg: rgba(0, 0, 0, 0.8);
    --backdrop-blur: blur(20px) saturate(180%) brightness(0.8);
    --particle-color: rgba(139, 92, 246, 0.15);
    --glow-primary: 0 0 40px rgba(139, 92, 246, 0.5);
    --glow-secondary: 0 0 40px rgba(236, 72, 153, 0.5);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    --gradient-mesh: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.3), transparent),
                     radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.3), transparent);
  }

  /* ===============================================
     ENHANCED BASE STYLES WITH BETTER TYPOGRAPHY
     =============================================== */
  body {
    background: var(--gradient-mesh), linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    transition: all var(--transition-normal);
    min-height: 100vh;
    position: relative;
  }

  /* Enhanced Typography Scale */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
  }

  h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
  h2 { font-size: clamp(2rem, 4vw, 3rem); }
  h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
  h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
  h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
  h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

  p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
  }

  /* ===============================================
     ADVANCED GLASS MORPHISM SYSTEM
     =============================================== */
  .glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--glass-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
  }

  .glass-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
  }

  .glass-effect:hover::before {
    opacity: 1;
  }

  .glass-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left var(--transition-slow);
    pointer-events: none;
  }

  .glass-effect:hover::after {
    left: 100%;
  }

  .glass-effect-strong {
    background: var(--card-bg);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-2xl), var(--glow-primary);
  }

  /* Enhanced Neumorphism for special elements */
  .neomorphism {
    background: var(--bg-secondary);
    box-shadow: 
      8px 8px 16px var(--shadow-md),
      -8px -8px 16px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
  }

  .neomorphism:hover {
    box-shadow: 
      12px 12px 24px var(--shadow-lg),
      -12px -12px 24px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
  }

  /* ===============================================
     ADVANCED NAVIGATION WITH MICRO-INTERACTIONS
     =============================================== */
  #navbar {
    background: var(--navbar-bg) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    -webkit-backdrop-filter: var(--backdrop-blur) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition-normal);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .navbar-scrolled {
    background: var(--glass-bg) !important;
    box-shadow: var(--shadow-lg) !important;
    border-bottom: 1px solid var(--glass-border) !important;
  }

  .nav-link {
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all var(--spring);
    transform: translateX(-50%);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-fast);
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    width: 60%;
  }

  .nav-link:hover::after {
    opacity: 1;
  }

  .nav-link:hover {
    color: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }

  .nav-link.active {
    color: var(--brand-primary);
    background: var(--glass-bg);
    box-shadow: var(--shadow-sm);
  }

  /* Mobile navigation enhancements */
  .mobile-menu {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    margin-top: 1rem;
    overflow: hidden;
  }

  .mobile-menu-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    position: relative;
  }

  .mobile-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width var(--spring);
  }

  .mobile-menu-item:hover {
    background: var(--glass-bg);
    padding-left: 2rem;
    color: var(--brand-primary);
  }

  .mobile-menu-item:hover::before {
    width: 4px;
  }

  /* ===============================================
     REVOLUTIONARY HERO SECTION
     =============================================== */
  .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-mesh), linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  }

  .hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }

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

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
    animation: fadeInUp 0.8s var(--ease-out-expo);
    box-shadow: var(--shadow-md);
  }

  .hero-badge::before {
    content: '✨';
    animation: pulse 2s infinite;
  }

  .hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-rainbow);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite, fadeInUp 1s var(--ease-out-expo) 0.2s both;
    position: relative;
  }

  .hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: var(--glow-primary);
  }

  .hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
  }

  .hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
    margin-bottom: 4rem;
  }

  .profile-image {
    width: clamp(200px, 25vw, 350px);
    height: clamp(200px, 25vw, 350px);
    border-radius: 50%;
    background: var(--gradient-primary) padding-box,
                var(--gradient-primary) border-box;
    border: 6px solid transparent;
    box-shadow: 
      var(--shadow-2xl),
      var(--glow-primary),
      inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    transition: all var(--transition-slow);
    animation: float 6s ease-in-out infinite, fadeInUp 1s var(--ease-out-expo) 1s both;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .profile-image::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: var(--gradient-rainbow);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .profile-image:hover::before {
    opacity: 1;
  }

  .profile-image:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 
      var(--shadow-2xl),
      var(--glow-primary),
      var(--glow-secondary),
      inset 0 0 0 3px rgba(255, 255, 255, 0.2);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s var(--ease-out-expo) 1.2s both;
  }

  .hero-stat {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all var(--transition-normal);
  }

  .hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
  }

  .hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* ===============================================
     NEXT-GEN BUTTON SYSTEM
     =============================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.875rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    transform-style: preserve-3d;
  }

  .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
  }

  .btn:hover::after {
    left: 100%;
  }

  .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg), var(--glow-primary);
  }

  .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--glow-primary);
  }

  .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
  }

  .btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
  }

  .btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--glow-primary);
  }

  .btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    position: relative;
  }

  .btn-outline::before {
    opacity: 1;
  }

  .btn-outline:hover {
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--glow-primary);
  }

  .btn-outline:hover::before {
    opacity: 0;
  }

  .btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid transparent;
  }

  .btn-ghost:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* Button sizes */
  .btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
  }

  .btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1rem;
  }

  .btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    border-radius: 1.25rem;
  }

  /* Button with icon animations */
  .btn-icon {
    position: relative;
  }

  .btn-icon .icon {
    transition: transform var(--transition-normal);
  }

  .btn-icon:hover .icon {
    transform: translateX(4px);
  }

  .btn-icon.btn-icon-left:hover .icon {
    transform: translateX(-4px);
  }

  /* Loading state */
  .btn-loading {
    pointer-events: none;
    position: relative;
  }

  .btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  .btn-loading .btn-text {
    opacity: 0;
  }
  
  /* ✅ ADDED: Enhanced responsive design */
  @media (max-width: 768px) {
    .hero-cta {
      flex-direction: column;
      align-items: center;
    }
    
    .btn {
      min-width: 200px;
    }
    
    .hero-stats {
      grid-template-columns: 1fr;
      max-width: 300px;
    }
    
    .mobile-menu-item {
      padding: 1.25rem 1.5rem;
    }
  }
  
  /* ✅ ADDED: Accessibility improvements */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* ✅ ADDED: Focus states for accessibility */
  .btn:focus-visible,
  .nav-link:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
  }
  
    }

  
    /* ===============================================

      justify-content: center;
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity var(--transition-normal);
    }
    
    .voice-visualizer.active {
      opacity: 1;
    }
    
    .visualizer-bar {
      width: 4px;
      background: var(--gradient-primary);
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
      animation: visualizer 0.8s ease-in-out infinite;
    }
    
    .visualizer-bar:nth-child(1) { animation-delay: 0s; }
    .visualizer-bar:nth-child(2) { animation-delay: 0.1s; }
    .visualizer-bar:nth-child(3) { animation-delay: 0.2s; }
    .visualizer-bar:nth-child(4) { animation-delay: 0.3s; }
    .visualizer-bar:nth-child(5) { animation-delay: 0.4s; }
    .visualizer-bar:nth-child(6) { animation-delay: 0.5s; }
    
    @keyframes visualizer {
      0%, 100% { 
        height: 6px; 
        opacity: 0.6; 
        transform: scaleY(1);
      }
      50% { 
        height: 24px; 
        opacity: 1; 
        transform: scaleY(1.5);
      }
    }

    /* Back to top with progress */
    .back-to-top {
      position: fixed;
      bottom: 8rem;
      right: 2rem;
      width: 56px;
      height: 56px;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 50%;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--spring);
      z-index: 1000;
      opacity: 0;
      transform: translateY(20px) scale(0.8);
      box-shadow: var(--shadow-lg);
    }

    .back-to-top.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

.back-to-top:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-2xl), var(--glow-primary);
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(var(--brand-primary), var(--brand-secondary), var(--brand-accent), var(--brand-primary));
  animation: rotate 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.back-to-top:hover::before {
  opacity: 1;
}

/* ===============================================
   ENHANCED SCROLL PROGRESS
   =============================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-rainbow);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: var(--glow-primary);
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
  border-radius: 0 2px 2px 0;
}

/* ===============================================
   REVOLUTIONARY SECTION SYSTEM
   =============================================== */
.section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: var(--glow-primary);
}

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===============================================
   NEXT-LEVEL CARD SYSTEM
   =============================================== */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--spring);
  border-radius: 1.5rem 1.5rem 0 0;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glass);
  opacity: 0;
  transition: opacity var(--transition-normal);
  border-radius: inherit;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--glow-primary);
  border-color: var(--brand-primary);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg), var(--glow-primary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-xl), var(--glow-primary);
}

.card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  border-radius: inherit;
}

.card:hover .card-icon::before {
  opacity: 1;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.card-features {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 2;
}

.card-features li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.card-features li::before {
  content: '✓';
  background: var(--brand-success);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* ✅ ADDED: Card grid system */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* ✅ ADDED: Special card variants */
.card-featured {
  background: var(--gradient-primary);
  color: white;
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-2xl), var(--glow-primary);
}

.card-featured .card-title,
.card-featured .card-description,
.card-featured .card-features li {
  color: white;
}

.card-featured::before {
  background: rgba(255, 255, 255, 0.2);
  transform: scaleX(1);
}

/* ✅ ADDED: Card action button */
.card-action {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* ✅ ADDED: Responsive design for floating actions */
@media (max-width: 768px) {
  .floating-action-buttons {
    right: 1rem;
    bottom: 1rem;
    gap: 0.75rem;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  
  .floating-btn .icon {
    font-size: 1rem;
  }
  
  .back-to-top {
    right: 1rem;
    bottom: 6rem;
    width: 48px;
    height: 48px;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .section-header {
    margin-bottom: 4rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 2rem;
  }
}

/* ✅ ADDED: Enhanced accessibility */
.floating-btn:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ✅ ADDED: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .floating-btn,
  .back-to-top,
  .card,
  .card-icon {
    animation: none;
  }
  
  .floating-btn:hover,
  .back-to-top:hover,
  .card:hover,
  .card:hover .card-icon {
    transform: none;
  }
}

/* ✅ ADDED: Print styles */
@media print {
  .floating-action-buttons,
  .back-to-top,
  .scroll-progress {
    display: none;
  }
}

/* ✅ ADDED: Dark mode specific enhancements */
[data-theme="dark"] .card-features li::before {
  background: var(--brand-success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .floating-btn:hover {
  box-shadow: var(--shadow-2xl), var(--glow-primary), 0 0 20px rgba(139, 92, 246, 0.4);
}

/* ✅ ADDED: Loading states */
.card.loading {
  pointer-events: none;
  opacity: 0.7;
}

.card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 3px solid var(--glass-border);
  border-top: 3px solid var(--brand-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* ✅ ADDED: Tooltip system for floating buttons */
.floating-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

.floating-btn:hover::after {
  opacity: 1;
}

/* ===============================================
   COMPLETE STAGGER ANIMATION SYSTEM
   =============================================== */

/* ✅ SCALABLE: Works for any number of cards */
.card-grid .card {
  animation: fadeInUp 0.6s var(--ease-out-expo) both;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* ✅ ALTERNATIVE: Using CSS counter for automatic numbering */
.card-grid {
  counter-reset: card-counter;
}

.card-grid .card {
  counter-increment: card-counter;
  animation: fadeInUp 0.6s var(--ease-out-expo) both;
  animation-delay: calc((counter(card-counter) - 1) * 0.1s);
}

/* ✅ FALLBACK: Extended nth-child for up to 20 cards */
.card-grid .card:nth-child(1) { animation-delay: 0.1s; }
.card-grid .card:nth-child(2) { animation-delay: 0.2s; }
.card-grid .card:nth-child(3) { animation-delay: 0.3s; }
.card-grid .card:nth-child(4) { animation-delay: 0.4s; }
.card-grid .card:nth-child(5) { animation-delay: 0.5s; }
.card-grid .card:nth-child(6) { animation-delay: 0.6s; }
.card-grid .card:nth-child(7) { animation-delay: 0.7s; }
.card-grid .card:nth-child(8) { animation-delay: 0.8s; }
.card-grid .card:nth-child(9) { animation-delay: 0.9s; }
.card-grid .card:nth-child(10) { animation-delay: 1.0s; }
.card-grid .card:nth-child(11) { animation-delay: 1.1s; }
.card-grid .card:nth-child(12) { animation-delay: 1.2s; }
.card-grid .card:nth-child(13) { animation-delay: 1.3s; }
.card-grid .card:nth-child(14) { animation-delay: 1.4s; }
.card-grid .card:nth-child(15) { animation-delay: 1.5s; }
.card-grid .card:nth-child(16) { animation-delay: 1.6s; }
.card-grid .card:nth-child(17) { animation-delay: 1.7s; }
.card-grid .card:nth-child(18) { animation-delay: 1.8s; }
.card-grid .card:nth-child(19) { animation-delay: 1.9s; }
.card-grid .card:nth-child(20) { animation-delay: 2.0s; }

/* ✅ PERFORMANCE: Cap maximum delay to prevent long waits */
.card-grid .card:nth-child(n+21) { 
  animation-delay: 2.0s; 
}

/* ✅ ENHANCED: Multiple animation variants */
.card-grid.stagger-fast .card {
  animation-delay: calc(var(--animation-order, 0) * 0.05s);
}

.card-grid.stagger-slow .card {
  animation-delay: calc(var(--animation-order, 0) * 0.15s);
}

.card-grid.stagger-wave .card {
  animation: fadeInUp 0.8s var(--ease-out-expo) both,
             wave 2s ease-in-out infinite;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* ✅ RESPONSIVE: Faster animations on mobile */
@media (max-width: 768px) {
  .card-grid .card {
    animation-duration: 0.4s;
    animation-delay: calc(var(--animation-order, 0) * 0.05s);
  }
  
  .card-grid .card:nth-child(1) { animation-delay: 0.05s; }
  .card-grid .card:nth-child(2) { animation-delay: 0.1s; }
  .card-grid .card:nth-child(3) { animation-delay: 0.15s; }
  .card-grid .card:nth-child(4) { animation-delay: 0.2s; }
  .card-grid .card:nth-child(5) { animation-delay: 0.25s; }
  .card-grid .card:nth-child(6) { animation-delay: 0.3s; }
  .card-grid .card:nth-child(n+7) { animation-delay: 0.3s; }
}

/* ✅ INTERSECTION OBSERVER: JS-triggered animations */
.card-grid .card.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  animation: none;
  transition: all 0.6s var(--ease-out-expo);
}

.card-grid .card.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* ✅ ADVANCED: Row-based staggering for complex grids */
.card-grid.stagger-by-row .card:nth-child(3n+1) { animation-delay: 0.1s; }
.card-grid.stagger-by-row .card:nth-child(3n+2) { animation-delay: 0.2s; }
.card-grid.stagger-by-row .card:nth-child(3n+3) { animation-delay: 0.3s; }
.card-grid.stagger-by-row .card:nth-child(n+4):nth-child(-n+6) { animation-delay: 0.4s; }
.card-grid.stagger-by-row .card:nth-child(n+7):nth-child(-n+9) { animation-delay: 0.5s; }
.card-grid.stagger-by-row .card:nth-child(n+10):nth-child(-n+12) { animation-delay: 0.6s; }

/* ✅ ADDITIONAL: Wave animation for special effects */
@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ✅ ACCESSIBILITY: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card-grid .card {
    animation: none;
    animation-delay: 0s;
    opacity: 1;
    transform: none;
  }
  
  .card-grid .card.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ✅ UTILITY CLASSES: For manual control */
.animation-delay-1 { animation-delay: 0.1s !important; }
.animation-delay-2 { animation-delay: 0.2s !important; }
.animation-delay-3 { animation-delay: 0.3s !important; }
.animation-delay-4 { animation-delay: 0.4s !important; }
.animation-delay-5 { animation-delay: 0.5s !important; }

/* ✅ LOADING STATE: Skeleton animation during load */
.card-grid.loading .card {
  background: linear-gradient(
    90deg,
    var(--glass-bg) 25%,
    var(--glass-border) 50%,
    var(--glass-bg) 75%
  );
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite ease-in-out;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


    /* ===============================================
       ENHANCED SCROLL PROGRESS
       =============================================== */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 4px;
      background: var(--gradient-rainbow);
      z-index: 9999;
      transition: width 0.1s ease-out;
      box-shadow: var(--glow-primary);
    }

    .scroll-progress::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 20px;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
      border-radius: 0 2px 2px 0;
    }

    /* ===============================================
       REVOLUTIONARY SECTION SYSTEM
       =============================================== */
    .section {
      padding: 8rem 0;
      position: relative;
      overflow: hidden;
    }

    .section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    }

    .section-header {
      text-align: center;
      margin-bottom: 5rem;
      position: relative;
    }

    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 2rem;
      padding: 0.5rem 1.5rem;
      margin-bottom: 1.5rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--brand-primary);
      box-shadow: var(--shadow-sm);
    }

    .section-title {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 900;
      margin-bottom: 1.5rem;
      background: var(--gradient-primary);
      background-size: 200% 200%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradientShift 6s ease infinite;
      position: relative;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--gradient-primary);
      border-radius: 2px;
      box-shadow: var(--glow-primary);
    }

    .section-subtitle {
      font-size: clamp(1.125rem, 2vw, 1.375rem);
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* ===============================================
       NEXT-LEVEL CARD SYSTEM
       =============================================== */
    .card {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      padding: 2.5rem;
      transition: all var(--transition-normal);
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transition: transform var(--spring);
      border-radius: 1.5rem 1.5rem 0 0;
    }

    .card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gradient-glass);
      opacity: 0;
      transition: opacity var(--transition-normal);
      border-radius: inherit;
    }

    .card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: var(--shadow-2xl), var(--glow-primary);
      border-color: var(--brand-primary);
    }

    .card:hover::before {
      transform: scaleX(1);
    }

    .card:hover::after {
      opacity: 1;
    }

    .card-header {
      position: relative;
      z-index: 2;
      margin-bottom: 2rem;
    }

    .card-icon {
      width: 80px;
      height: 80px;
      background: var(--gradient-primary);
      border-radius: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: white;
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow-lg), var(--glow-primary);
      transition: all var(--transition-normal);
      position: relative;
      overflow: hidden;
    }

    .card:hover .card-icon {
      transform: scale(1.1) rotate(5deg);
      box-shadow: var(--shadow-xl), var(--glow-primary);
    }

    .card-icon::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gradient-secondary);
      opacity: 0;
      transition: opacity var(--transition-normal);
      border-radius: inherit;
    }

    .card:hover .card-icon::before {
      opacity: 1;
    }

    .card-title {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 1rem;
      position: relative;
      z-index: 2;
    }

    .card-description {
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 2rem;
      position: relative;
      z-index: 2;
    }

    .card-features {
      list-style: none;
      padding: 0;
      position: relative;
      z-index: 2;
    }

    .card-features li {
      color: var(--text-muted);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 500;
    }

    .card-features li::before {
      content: '✓';
      color: var(--brand-success);
      font-weight: bold;
      width: 20px;
      height: 20px;
      background: var(--brand-success);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      flex-shrink: 0;
    }

    /* ===============================================
       ADVANCED SKILLS VISUALIZATION
       =============================================== */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 3rem;
      margin: 5rem 0;
    }

    .skill-category {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      padding: 2.5rem;
      transition: all var(--transition-normal);
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .skill-category::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transition: transform var(--spring);
    }

    .skill-category:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-2xl), var(--glow-primary);
    }

    .skill-category:hover::before {
      transform: scaleX(1);
    }

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

    .skill-category-icon {
      width: 60px;
      height: 60px;
      background: var(--gradient-primary);
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: white;
      box-shadow: var(--shadow-md), var(--glow-primary);
    }

    .skill-category-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .skill-item {
      margin-bottom: 2rem;
      position: relative;
    }

    .skill-header {
      display: flex;
      justify-content: between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .skill-name {
      font-weight: 600;
      color: var(--text-primary);
      font-size: 1.125rem;
    }

    .skill-level {
      font-weight: 600;
      color: var(--brand-primary);
      font-size: 0.875rem;
      background: var(--glass-bg);
      padding: 0.25rem 0.75rem;
      border-radius: 1rem;
      border: 1px solid var(--glass-border);
    }

    .skill-bar {
            height: 12px;
      background: var(--border-color);
      border-radius: 6px;
      overflow: hidden;
      position: relative;
      box-shadow: var(--shadow-inner);
    }

    .skill-progress {
      height: 100%;
      background: var(--gradient-primary);
      border-radius: 6px;
      width: 0%;
      transition: width 2s var(--ease-out-expo);
      position: relative;
      box-shadow: var(--glow-primary);
    }

    .skill-progress::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 30px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
      animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    /* Circular progress for special skills */
    .skill-circle {
      position: relative;
      width: 120px;
      height: 120px;
      margin: 0 auto 1rem;
    }

    .skill-circle svg {
      transform: rotate(-90deg);
      width: 100%;
      height: 100%;
    }

    .skill-circle circle {
      fill: transparent;
      stroke-width: 8;
      r: 52;
      cx: 60;
      cy: 60;
    }

    .skill-circle .circle-bg {
      stroke: var(--border-color);
    }

    .skill-circle .circle-progress {
      stroke: url(#skillGradient);
      stroke-dasharray: 326.73;
      stroke-dashoffset: 326.73;
      transition: stroke-dashoffset 2s var(--ease-out-expo);
      filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
    }

    .skill-circle-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }

    .skill-circle-percentage {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--brand-primary);
      display: block;
    }

    .skill-circle-label {
      font-size: 0.875rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    /* ===============================================
       REVOLUTIONARY PORTFOLIO GRID
       =============================================== */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 2.5rem;
      margin: 5rem 0;
    }

    .project-card {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      overflow: hidden;
      transition: all var(--transition-normal);
      position: relative;
      box-shadow: var(--shadow-md);
      cursor: pointer;
    }

    .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gradient-primary);
      opacity: 0;
      transition: opacity var(--transition-normal);
      z-index: 1;
    }

    .project-card:hover {
      transform: translateY(-15px) scale(1.03);
      box-shadow: var(--shadow-2xl), var(--glow-primary);
    }

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

    .project-image {
      position: relative;
      height: 250px;
      overflow: hidden;
      background: var(--gradient-mesh);
    }

    .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }

    .project-card:hover .project-image img {
      transform: scale(1.1);
    }

    .project-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8));
      opacity: 0;
      transition: opacity var(--transition-normal);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      z-index: 2;
    }

    .project-card:hover .project-overlay {
      opacity: 1;
    }

    .project-action {
      width: 50px;
      height: 50px;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--spring);
      text-decoration: none;
    }

    .project-action:hover {
      background: white;
      color: var(--brand-primary);
      transform: scale(1.2);
    }

    .project-content {
      padding: 2rem;
      position: relative;
      z-index: 2;
    }

    .project-category {
      display: inline-block;
      background: var(--gradient-primary);
      color: white;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 1rem;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .project-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 1rem;
    }

    .project-description {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }

    .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .tech-tag {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 1rem;
      transition: all var(--transition-fast);
    }

    .tech-tag:hover {
      background: var(--brand-primary);
      color: white;
      transform: scale(1.05);
    }

    .project-stats {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border-light);
    }

    .project-stat {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--text-muted);
      font-size: 0.875rem;
    }

    .project-stat-icon {
      color: var(--brand-primary);
    }

    /* ===============================================
       ENHANCED TIMELINE EXPERIENCE
       =============================================== */
    .timeline {
      position: relative;
      max-width: 1000px;
      margin: 5rem auto;
      padding: 2rem 0;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: 0;
      bottom: 0;
      width: 4px;
      background: var(--gradient-primary);
      border-radius: 2px;
      box-shadow: var(--glow-primary);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 4rem;
      display: flex;
      align-items: center;
    }

    .timeline-item:nth-child(odd) {
      flex-direction: row-reverse;
    }

    .timeline-content {
      flex: 1;
      max-width: 45%;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      padding: 2.5rem;
      box-shadow: var(--shadow-lg);
      transition: all var(--transition-normal);
      position: relative;
    }

    .timeline-content::before {
      content: '';
      position: absolute;
      top: 50%;
      width: 0;
      height: 0;
      border: 15px solid transparent;
      transform: translateY(-50%);
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
      left: -30px;
      border-right-color: var(--glass-border);
    }

    .timeline-item:nth-child(even) .timeline-content::before {
      right: -30px;
      border-left-color: var(--glass-border);
    }

    .timeline-content:hover {
      transform: scale(1.05);
      box-shadow: var(--shadow-2xl), var(--glow-primary);
    }

    .timeline-marker {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 20px;
      background: var(--gradient-primary);
      border: 4px solid var(--bg-primary);
      border-radius: 50%;
      box-shadow: var(--shadow-lg), var(--glow-primary);
      z-index: 10;
      transition: all var(--spring);
    }

    .timeline-marker:hover {
      transform: translateX(-50%) scale(1.5);
      box-shadow: var(--shadow-xl), var(--glow-primary);
    }

    .timeline-date {
      position: absolute;
      top: -40px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gradient-primary);
      color: white;
      font-size: 0.875rem;
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 1rem;
      white-space: nowrap;
      box-shadow: var(--shadow-md);
    }

    .timeline-company {
      color: var(--brand-primary);
      font-weight: 700;
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }

    .timeline-position {
      color: var(--text-primary);
      font-weight: 600;
      font-size: 1.125rem;
      margin-bottom: 1rem;
    }

    .timeline-description {
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    .timeline-achievements {
      list-style: none;
      padding: 0;
    }

    .timeline-achievements li {
      color: var(--text-muted);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .timeline-achievements li::before {
      content: '→';
      color: var(--brand-primary);
      font-weight: bold;
      flex-shrink: 0;
      margin-top: 0.125rem;
    }

    /* ===============================================
       NEXT-GEN TESTIMONIALS CAROUSEL
       =============================================== */
    .testimonials-container {
      position: relative;
      max-width: 1200px;
      margin: 5rem auto;
      padding: 2rem;
    }

    .testimonials-slider {
      overflow: hidden;
      border-radius: 1.5rem;
      position: relative;
    }

    .testimonials-track {
      display: flex;
      transition: transform var(--transition-slow);
    }

    .testimonial-card {
      flex: 0 0 100%;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      padding: 3rem;
      text-align: center;
      position: relative;
      box-shadow: var(--shadow-lg);
    }

    .testimonial-quote {
      font-size: 1.25rem;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 2rem;
      font-style: italic;
      position: relative;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
      content: '"';
      font-size: 4rem;
      color: var(--brand-primary);
      position: absolute;
      font-family: serif;
      opacity: 0.3;
    }

    .testimonial-quote::before {
      top: -1rem;
      left: -1rem;
    }

    .testimonial-quote::after {
      bottom: -3rem;
      right: -1rem;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .testimonial-avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: var(--gradient-primary);
      border: 4px solid var(--glass-border);
      box-shadow: var(--shadow-lg), var(--glow-primary);
      overflow: hidden;
    }

    .testimonial-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .testimonial-info h4 {
      color: var(--text-primary);
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .testimonial-info p {
      color: var(--text-muted);
      font-size: 0.875rem;
      margin: 0;
    }

    .testimonial-rating {
      display: flex;
      justify-content: center;
      gap: 0.25rem;
      margin-bottom: 1rem;
    }

    .star {
      color: #fbbf24;
      font-size: 1.25rem;
      transition: transform var(--transition-fast);
    }

    .star:hover {
      transform: scale(1.2);
    }

    .testimonials-nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      margin-top: 2rem;
    }

    .testimonials-dots {
      display: flex;
      gap: 0.5rem;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--border-color);
      cursor: pointer;
      transition: all var(--spring);
    }

    .dot.active {
      background: var(--gradient-primary);
      transform: scale(1.3);
      box-shadow: var(--glow-primary);
    }

    .testimonials-arrow {
      width: 50px;
      height: 50px;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 50%;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--spring);
      box-shadow: var(--shadow-md);
    }

    .testimonials-arrow:hover {
      background: var(--gradient-primary);
      color: white;
      transform: scale(1.1);
      box-shadow: var(--shadow-lg), var(--glow-primary);
    }

    /* ===============================================
       REVOLUTIONARY CONTACT FORM
       =============================================== */
    .contact-section {
      background: var(--gradient-mesh);
      position: relative;
      overflow: hidden;
    }

    .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .contact-info {
      position: relative;
      z-index: 2;
    }

    .contact-info h3 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
    }

    .contact-info p {
      font-size: 1.125rem;
      color: var(--text-secondary);
      margin-bottom: 3rem;
      line-height: 1.8;
    }

    .contact-methods {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .contact-method {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      padding: 1.5rem;
      transition: all var(--transition-normal);
      box-shadow: var(--shadow-sm);
    }

    .contact-method:hover {
      transform: translateX(10px);
      box-shadow: var(--shadow-lg), var(--glow-primary);
      border-color: var(--brand-primary);
    }

    .contact-method-icon {
      width: 60px;
      height: 60px;
      background: var(--gradient-primary);
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: white;
      box-shadow: var(--shadow-md), var(--glow-primary);
      flex-shrink: 0;
    }

    .contact-method-content h4 {
      color: var(--text-primary);
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .contact-method-content p {
      color: var(--text-muted);
      margin: 0;
      font-size: 1rem;
    }

    .contact-form {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 2rem;
      padding: 3rem;
      box-shadow: var(--shadow-2xl);
      position: relative;
      overflow: hidden;
    }

    .contact-form::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gradient-glass);
      opacity: 0.5;
      border-radius: inherit;
    }

    .contact-form-content {
      position: relative;
      z-index: 2;
    }

    .form-group {
      margin-bottom: 2rem;
      position: relative;
    }

    .form-label {
      display: block;
      color: var(--text-primary);
      font-weight: 600;
      margin-bottom: 0.75rem;
      font-size: 1rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
      width: 100%;
      padding: 1.25rem 1.5rem;
      background: var(--input-bg);
      border: 2px solid var(--border-light);
      border-radius: 1rem;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 1rem;
      transition: all var(--transition-normal);
      resize: vertical;
      position: relative;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
      color: var(--text-muted);
      opacity: 0.8;
    }

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
      outline: none;
      border-color: var(--brand-primary);
      box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
      background: var(--bg-secondary);
    }

    .form-input:hover,
    .form-textarea:hover,
    .form-select:hover {
      border-color: var(--brand-primary);
    }

    .form-floating {
      position: relative;
    }

    .form-floating .form-input,
    .form-floating .form-textarea {
      padding-top: 1.875rem;
      padding-bottom: 0.625rem;
    }

    .form-floating .floating-label {
      position: absolute;
      top: 1.25rem;
      left: 1.5rem;
      color: var(--text-muted);
      font-size: 1rem;
      transition: all var(--transition-normal);
      pointer-events: none;
      background: var(--input-bg);
      padding: 0 0.5rem;
      border-radius: 0.25rem;
    }

    .form-floating .form-input:focus ~ .floating-label,
    .form-floating .form-input:not(:placeholder-shown) ~ .floating-label,
    .form-floating .form-textarea:focus ~ .floating-label,
    .form-floating .form-textarea:not(:placeholder-shown) ~ .floating-label {
      top: -0.5rem;
      left: 1rem;
      font-size: 0.875rem;
      color: var(--brand-primary);
      font-weight: 600;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .form-submit {
      width: 100%;
      background: var(--gradient-primary);
      color: white;
      border: none;
      padding: 1.25rem 2rem;
      border-radius: 1rem;
      font-size: 1.125rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--spring);
      box-shadow: var(--shadow-lg), var(--glow-primary);
      position: relative;
      overflow: hidden;
    }

    .form-submit::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left var(--transition-slow);
    }

    .form-submit:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: var(--shadow-2xl), var(--glow-primary);
    }

    .form-submit:hover::before {
      left: 100%;
    }

    .form-submit:active {
      transform: translateY(-1px) scale(0.98);
    }

    /* Form validation states */
    .form-input.valid,
    .form-textarea.valid {
      border-color: var(--brand-success);
      box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }

    .form-input.invalid,
    .form-textarea.invalid {
      border-color: var(--brand-error);
      box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    }

    .form-message {
      margin-top: 0.75rem;
      font-size: 0.875rem;
      font-weight: 500;
    }

    .form-message.success {
      color: var(--brand-success);
    }

    .form-message.error {
      color: var(--brand-error);
    }

    /* ===============================================
       ENHANCED SOCIAL LINKS
       =============================================== */
    .social-links {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin: 3rem 0;
    }

    .social-link {
      width: 60px;
      height: 60px;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1.25rem;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 1.5rem;
      transition: all var(--spring);
      box-shadow: var(--shadow-sm);
      position: relative;
      overflow: hidden;
    }

    .social-link::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      opacity: 0;
      transition: opacity var(--transition-normal);
    }

    .social-link:hover {
      transform: translateY(-5px) scale(1.1);
      color: white;
      box-shadow: var(--shadow-lg);
    }

    .social-link:hover::before {
      opacity: 1;
    }

    /* Platform-specific colors */
    .social-link.github:hover::before { background: linear-gradient(135deg, #333, #24292e); }
    .social-link.linkedin:hover::before { background: linear-gradient(135deg, #0077b5, #00a0dc); }
    .social-link.twitter:hover::before { background: linear-gradient(135deg, #1da1f2, #14171a); }
    .social-link.instagram:hover::before { background: linear-gradient(135deg, #e4405f, #833ab4, #fcb045); }
    .social-link.dribbble:hover::before { background: linear-gradient(135deg, #ea4c89, #f082ac); }
    .social-link.behance:hover::before { background: linear-gradient(135deg, #1769ff, #0057ff); }
    .social-link.youtube:hover::before { background: linear-gradient(135deg, #ff0000, #cc0000); }
    .social-link.discord:hover::before { background: linear-gradient(135deg, #7289da, #5865f2); }

    /* ===============================================
       REVOLUTIONARY ANIMATIONS SYSTEM
       =============================================== */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    @keyframes fadeInLeft {
      from {
        opacity: 0;
        transform: translateX(-30px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes fadeInRight {
      from {
        opacity: 0;
        transform: translateX(30px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes float {
      0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
      }
      33% { 
        transform: translateY(-20px) rotate(1deg); 
      }
      66% { 
        transform: translateY(-5px) rotate(-1deg); 
      }
    }

    @keyframes gradientShift {
      0%, 100% { 
        background-position: 0% 50%; 
      }
      25% { 
        background-position: 100% 50%; 
      }
      50% { 
        background-position: 100% 100%; 
      }
      75% { 
        background-position: 0% 100%; 
      }
    }

    @keyframes pulseGlow {
      0%, 100% { 
        box-shadow: var(--shadow-lg), 0 0 20px rgba(139, 92, 246, 0.3);
        transform: scale(1);
      }
      50% { 
        box-shadow: var(--shadow-2xl), 0 0 40px rgba(139, 92, 246, 0.6);
        transform: scale(1.05);
      }
    }

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

    @keyframes pulse {
      0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
      }
      50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
      }
    }

    @keyframes bounce {
      0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
      }
      40%, 43% {
        transform: translate3d(0, -15px, 0);
      }
      70% {
        transform: translate3d(0, -7px, 0);
      }
      90% {
        transform: translate3d(0, -2px, 0);
      }
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
      20%, 40%, 60%, 80% { transform: translateX(5px); }
    }

    @keyframes flipIn {
      0% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
      }
      40% {
        transform: perspective(400px) rotateY(-10deg);
      }
      70% {
        transform: perspective(400px) rotateY(10deg);
      }
      100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
      }
    }

    @keyframes zoomIn {
      from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
      }
      50% {
        opacity: 1;
      }
      to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
      }
    }

    /* Animation utility classes */
    .animate-fade-in-up { animation: fadeInUp 0.8s var(--ease-out-expo) both; }
    .animate-fade-in-down { animation: fadeInDown 0.8s var(--ease-out-expo) both; }
    .animate-fade-in-left { animation: fadeInLeft 0.8s var(--ease-out-expo) both; }
    .animate-fade-in-right { animation: fadeInRight 0.8s var(--ease-out-expo) both; }
    .animate-float { animation: float 6s ease-in-out infinite; }
    .animate-pulse { animation: pulse 2s infinite; }
    .animate-bounce { animation: bounce 2s infinite; }
    .animate-shake { animation: shake 0.5s ease-in-out; }
    .animate-flip-in { animation: flipIn 0.8s var(--ease-out-expo) both; }
    .animate-zoom-in { animation: zoomIn 0.6s var(--ease-out-expo) both; }

    /* Stagger animations */
    .stagger-1 { animation-delay: 0.1s; }
    .stagger-2 { animation-delay: 0.2s; }
    .stagger-3 { animation-delay: 0.3s; }
    .stagger-4 { animation-delay: 0.4s; }
    .stagger-5 { animation-delay: 0.5s; }

    /* ===============================================
       PARTICLE SYSTEM ENHANCEMENTS
       =============================================== */
    .particles-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .floating-particles {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 1;
    }

    .particle {
      position: absolute;
      background: var(--particle-color);
      border-radius: 50%;
      pointer-events: none;
      animation: floatParticles 20s linear infinite;
    }

    .particle.glow {
      box-shadow: 0 0 20px currentColor;
    }

    .particle.triangle {
      width: 0 !important;
      height: 0 !important;
      background: transparent !important;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-bottom: 10px solid var(--particle-color);
      border-radius: 0;
    }

    .particle.square {
      border-radius: 2px;
    }

    @keyframes floatParticles {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      90% {
        opacity: 1;
      }
      100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
      }
    }

    /* ===============================================
       ENHANCED RESPONSIVE DESIGN
       =============================================== */

    /* Large Desktop */
    @media (min-width: 1441px) {
      .section {
        padding: 10rem 0;
      }
      
      .hero-title {
        font-size: 6rem;
      }
      
      .profile-image {
        width: 400px;
        height: 400px;
      }
    }

    /* Desktop */
    @media (max-width: 1440px) {
      .contact-container {
        gap: 3rem;
      }
      
      .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      }
    }

    /* Tablet */
    @media (max-width: 1024px) {
      .section {
        padding: 6rem 0;
      }
      
      .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
      }
      
      .timeline::before {
        left: 2rem;
      }
      
      .timeline-item {
        flex-direction: row !important;
      }
      
      .timeline-content {
        max-width: calc(100% - 4rem);
        margin-left: 4rem;
      }
      
      .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: var(--glass-border) !important;
        border-left-color: transparent !important;
      }
      
      .timeline-marker {
        left: 2rem;
        transform: translateX(-50%);
      }
      
      .hero-cta {
        flex-direction: column;
        align-items: center;
      }
      
      .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
      }
    }

    /* Mobile Large */
    @media (max-width: 768px) {
      .section {
        padding: 4rem 0;
      }
      
      .hero-section {
        min-height: 90vh;
        padding: 2rem 1rem;
      }
      
      .profile-image {
        width: 250px;
        height: 250px;
      }
      
      .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
      }
      
      .portfolio-grid,
      .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      
      .floating-action-buttons {
        right: 1rem;
        bottom: 1rem;
        gap: 0.75rem;
      }
      
      .floating-btn {
        width: 50px;
        height: 50px;
      }
      
      .back-to-top {
        width: 46px;
        height: 46px;
        bottom: 6rem;
      }
      
      .contact-form {
        padding: 2rem;
        border-radius: 1.5rem;
      }
      
      .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      
      .testimonial-card {
        padding: 2rem;
      }
      
      .testimonial-author {
        flex-direction: column;
        gap: 1rem;
      }
      
      .social-links {
        gap: 0.75rem;
      }
      
      .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
      }
      
      .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
      }
      
      .card,
      .skill-category,
      .testimonial-card {
        padding: 2rem;
      }
      
      .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
      }
    }

    /* Mobile */
    @media (max-width: 480px) {
      .section {
        padding: 3rem 0;
      }
      
      .hero-section {
        padding: 1.5rem 1rem;
      }
      
      .profile-image {
        width: 200px;
        height: 200px;
      }
      
      .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      
      .hero-stat {
        padding: 1rem;
      }
      
      .hero-stat-number {
        font-size: 2rem;
      }
      
      .floating-action-buttons {
        right: 0.75rem;
        bottom: 0.75rem;
      }
      
      .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
      }
      
      .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 5rem;
        right: 0.75rem;
        font-size: 0.875rem;
      }
      
      .contact-form {
        padding: 1.5rem;
      }
      
      .form-input,
      .form-textarea {
        padding: 1rem;
        font-size: 0.875rem;
      }
      
      .testimonial-card {
        padding: 1.5rem;
      }
      
      .testimonial-quote {
        font-size: 1rem;
      }
      
      .testimonial-avatar {
        width: 60px;
        height: 60px;
      }
      
      .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
      }
      
      .card,
      .skill-category {
        padding: 1.5rem;
      }
      
      .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
      }
      
      .timeline-content {
        padding: 1.5rem;
      }
      
      .project-card .project-content {
        padding: 1.5rem;
      }
      
      .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
      }
      
      .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
      }
    }

    /* Ultra Small Mobile */
    @media (max-width: 360px) {
      .hero-section {
        padding: 1rem 0.75rem;
      }
      
      .profile-image {
        width: 150px;
        height: 150px;
      }
      
      .section-title {
        font-size: 1.875rem;
      }
      
      .hero-title {
        font-size: 2rem;
      }
      
      .card,
      .skill-category,
      .contact-form {
        padding: 1.25rem;
      }
      
      .form-input,
      .form-textarea {
        padding: 0.875rem;
      }
      
      .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
      }
    } 

    /* ===============================================
       ACCESSIBILITY & PERFORMANCE ENHANCEMENTS
       =============================================== */

    /* High Contrast Mode */
    @media (prefers-contrast: high) {
      .glass-effect,
      .card,
      .skill-category,
      .contact-form {
        border: 2px solid var(--brand-primary) !important;
        background: var(--bg-secondary) !important;
        backdrop-filter: none !important;
      }
      
      .gradient-text,
      .hero-title {
        -webkit-text-fill-color: var(--brand-primary) !important;
        color: var(--brand-primary) !important;
        background: none !important;
      }
      
      .btn-primary {
        border: 2px solid #fff;
      }
      
      .social-link:hover {
        border: 2px solid white;
      }
    }

    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      
      .profile-image,
      .floating-btn,
      .particle,
      .visualizer-bar {
        animation: none !important;
      }
      
      .parallax-element {
        transform: none !important;
      }
    }

    /* Dark Mode System Preference */
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
      }
    }

    /* Print Styles */
    @media print {
      .floating-action-buttons,
      .back-to-top,
      .scroll-progress,
      .particles-canvas,
      .floating-particles,
      #navbar,
      .voice-visualizer {
        display: none !important;
      }
      
      body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
      }
      
      .gradient-text,
      .hero-title {
        color: #8b5cf6 !important;
        -webkit-text-fill-color: #8b5cf6 !important;
        background: none !important;
      }
      
      .glass-effect,
      .card,
      .skill-category,
      .contact-form {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        break-inside: avoid;
      }
      
      .section {
        break-inside: avoid;
        padding: 2rem 0;
      }
      
      h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
        page-break-after: avoid;
      }
    }

    /* Performance Optimizations */
    .will-change-transform {
      will-change: transform;
    }
    
    .will-change-opacity {
      will-change: opacity;
    }
    
    .gpu-accelerated {
      transform: translateZ(0);
      backface-visibility: hidden;
      perspective: 1000px;
    }

    /* Enhanced Selection */
    ::selection {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
      color: var(--text-primary);
    }

    ::-moz-selection {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
      color: var(--text-primary);
    }

    /* Enhanced Scrollbar */
    ::-webkit-scrollbar {
      width: 14px;
    }
    
    ::-webkit-scrollbar-track {
      background: var(--bg-secondary);
      border-radius: 7px;
      border: 1px solid var(--border-light);
    }
    
    ::-webkit-scrollbar-thumb {
      background: var(--gradient-primary);
      border-radius: 7px;
      border: 2px solid var(--bg-secondary);
      transition: all var(--transition-normal);
    }
    
    ::-webkit-scrollbar-thumb:hover {
      background: var(--gradient-secondary);
      box-shadow: var(--glow-primary);
      transform: scale(1.1);
    }

    ::-webkit-scrollbar-corner {
      background: var(--bg-secondary);
    }

    /* Firefox Scrollbar */
    html {
      scrollbar-width: thin;
      scrollbar-color: var(--brand-primary) var(--bg-secondary);
    }

    /* ===============================================
       ADVANCED NOTIFICATION SYSTEM
       =============================================== */
    .notification-container {
      position: fixed;
      top: 2rem;
      right: 2rem;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      pointer-events: none;
    }

    .notification {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      padding: 1.5rem;
      box-shadow: var(--shadow-2xl);
      transform: translateX(400px);
      opacity: 0;
      transition: all var(--spring);
      pointer-events: auto;
      min-width: 300px;
      max-width: 400px;
      position: relative;
      overflow: hidden;
    }

    .notification.show {
      transform: translateX(0);
      opacity: 1;
    }

    .notification::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      border-radius: 2px 0 0 2px;
    }

    .notification.success::before {
      background: var(--brand-success);
    }

    .notification.error::before {
      background: var(--brand-error);
    }

    .notification.warning::before {
      background: var(--brand-warning);
    }

    .notification.info::before {
      background: var(--brand-info);
    }

    .notification-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.75rem;
    }

    .notification-title {
      font-weight: 600;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .notification-close {
      width: 24px;
      height: 24px;
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast);
    }

    .notification-close:hover {
      background: var(--glass-bg);
      color: var(--text-primary);
    }

    .notification-body {
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .notification-progress {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px;
      background: var(--brand-primary);
      width: 100%;
      transform-origin: left;
      animation: notificationProgress 5s linear forwards;
    }

    @keyframes notificationProgress {
      from { transform: scaleX(1); }
      to { transform: scaleX(0); }
    }

    /* ===============================================
       ADVANCED MODAL SYSTEM
       =============================================== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: var(--overlay-bg);
      backdrop-filter: blur(10px);
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: all var(--transition-normal);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .modal {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 2rem;
      box-shadow: var(--shadow-2xl);
      max-width: 600px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      transform: scale(0.8) translateY(50px);
      transition: all var(--spring);
      position: relative;
    }

    .modal-overlay.active .modal {
      transform: scale(1) translateY(0);
    }

    .modal-header {
      padding: 2rem 2rem 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .modal-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .modal-close {
      width: 40px;
      height: 40px;
      background: transparent;
      border: 1px solid var(--border-light);
      color: var(--text-muted);
      cursor: pointer;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast);
    }

    .modal-close:hover {
      background: var(--brand-error);
      color: white;
      border-color: var(--brand-error);
    }

    .modal-body {
      padding: 2rem;
    }

    .modal-footer {
      padding: 0 2rem 2rem;
      display: flex;
      gap: 1rem;
      justify-content: flex-end;
    }

    /* ===============================================
       ENHANCED DROPDOWN SYSTEM
       =============================================== */
    .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-toggle {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 0.75rem;
      padding: 0.75rem 1.5rem;
      color: var(--text-primary);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: all var(--transition-fast);
      user-select: none;
    }

    .dropdown-toggle:hover {
      background: var(--brand-primary);
      color: white;
      box-shadow: var(--shadow-md);
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 0.5rem);
      left: 0;
      min-width: 200px;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      box-shadow: var(--shadow-2xl);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all var(--spring);
      z-index: 1000;
      overflow: hidden;
    }

    .dropdown.active .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown-item {
      padding: 1rem 1.5rem;
      color: var(--text-primary);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      transition: all var(--transition-fast);
      border-bottom: 1px solid var(--border-light);
    }

    .dropdown-item:last-child {
      border-bottom: none;
    }

    .dropdown-item:hover {
      background: var(--glass-bg);
      color: var(--brand-primary);
      padding-left: 2rem;
    }

    /* ===============================================
       ADVANCED TOOLTIP SYSTEM
       =============================================== */
    [data-tooltip] {
      position: relative;
      cursor: help;
    }

    [data-tooltip]::before {
      content: attr(data-tooltip);
      position: absolute;
      bottom: calc(100% + 0.5rem);
      left: 50%;
      transform: translateX(-50%);
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      padding: 0.75rem 1rem;
      border-radius: 0.5rem;
      font-size: 0.875rem;
      font-weight: 500;
      white-space: nowrap;
      box-shadow: var(--shadow-lg);
      opacity: 0;
      visibility: hidden;
      transition: all var(--transition-normal);
      z-index: 1000;
      pointer-events: none;
    }

    [data-tooltip]::after {
      content: '';
      position: absolute;
      bottom: calc(100% + 0.125rem);
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border: 6px solid transparent;
      border-top-color: var(--glass-border);
      opacity: 0;
      visibility: hidden;
      transition: all var(--transition-normal);
      z-index: 1001;
    }

    [data-tooltip]:hover::before,
    [data-tooltip]:hover::after {
      opacity: 1;
      visibility: visible;
    }

    /* Tooltip positions */
    [data-tooltip-position="top"]::before {
      bottom: calc(100% + 0.5rem);
      top: auto;
    }

    [data-tooltip-position="bottom"]::before {
      top: calc(100% + 0.5rem);
      bottom: auto;
    }

    [data-tooltip-position="left"]::before {
      right: calc(100% + 0.5rem);
      left: auto;
      top: 50%;
      bottom: auto;
      transform: translateY(-50%);
    }

    [data-tooltip-position="right"]::before {
      left: calc(100% + 0.5rem);
      right: auto;
      top: 50%;
      bottom: auto;
      transform: translateY(-50%);
    }

    /* ===============================================
       ADVANCED PROGRESS INDICATORS
       =============================================== */
    .progress-container {
      background: var(--border-color);
      border-radius: 1rem;
      overflow: hidden;
      position: relative;
      height: 12px;
      box-shadow: var(--shadow-inner);
    }

    .progress-bar {
      height: 100%;
      background: var(--gradient-primary);
      border-radius: 1rem;
      position: relative;
      transition: width 1s var(--ease-out-expo);
      box-shadow: var(--glow-primary);
    }

    .progress-bar::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      animation: progressShimmer 2s infinite;
    }

    @keyframes progressShimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .progress-circular {
      position: relative;
      width: 120px;
      height: 120px;
    }

    .progress-circular svg {
      transform: rotate(-90deg);
      width: 100%;
      height: 100%;
    }

    .progress-circular circle {
      fill: transparent;
      stroke-width: 8;
      r: 52;
      cx: 60;
      cy: 60;
      stroke-linecap: round;
    }

    .progress-circular .circle-bg {
      stroke: var(--border-color);
    }

    .progress-circular .circle-progress {
      stroke: url(#progressGradient);
      stroke-dasharray: 326.73;
      stroke-dashoffset: 326.73;
      transition: stroke-dashoffset 1s var(--ease-out-expo);
      filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
    }

    .progress-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--brand-primary);
    }

    /* ===============================================
       ENHANCED BREADCRUMB SYSTEM
       =============================================== */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      padding: 1rem 1.5rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow-sm);
    }

    .breadcrumb-item {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      transition: color var(--transition-fast);
      position: relative;
    }

    .breadcrumb-item:hover {
      color: var(--brand-primary);
    }

    .breadcrumb-item.active {
      color: var(--text-primary);
      font-weight: 600;
    }

    .breadcrumb-separator {
      color: var(--text-muted);
      font-size: 0.875rem;
    }

    /* ===============================================
       ENHANCED ACCORDION SYSTEM
       =============================================== */
    .accordion {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .accordion-item {
      border-bottom: 1px solid var(--border-light);
    }

    .accordion-item:last-child {
      border-bottom: none;
    }

    .accordion-header {
      padding: 1.5rem;
      cursor: pointer;
      background: transparent;
      border: none;
      width: 100%;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      color: var(--text-primary);
      transition: all var(--transition-fast);
    }

    .accordion-header:hover {
      background: var(--glass-bg);
      color: var(--brand-primary);
    }

    .accordion-icon {
      transition: transform var(--spring);
    }

    .accordion-item.active .accordion-icon {
      transform: rotate(180deg);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height var(--transition-normal);
    }

    .accordion-item.active .accordion-content {
      max-height: 500px;
    }

    .accordion-body {
      padding: 0 1.5rem 1.5rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ===============================================
       ENHANCED TAB SYSTEM
       =============================================== */
    .tabs {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .tab-nav {
      display: flex;
      background: var(--bg-tertiary);
      border-bottom: 1px solid var(--border-light);
    }

    .tab-button {
      flex: 1;
      padding: 1rem 1.5rem;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      position: relative;
    }

    .tab-button::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transition: transform var(--spring);
    }

    .tab-button:hover {
      color: var(--text-primary);
      background: var(--glass-bg);
    }

    .tab-button.active {
      color: var(--brand-primary);
      background: var(--glass-bg);
    }

    .tab-button.active::after {
      transform: scaleX(1);
    }

    .tab-content {
      padding: 2rem;
    }

    .tab-pane {
      display: none;
      animation: fadeInUp 0.5s var(--ease-out-expo);
    }

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

    /* ===============================================
       ENHANCED BADGE SYSTEM
       =============================================== */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      padding: 0.375rem 0.75rem;
      border-radius: 1rem;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border: 1px solid transparent;
      transition: all var(--transition-fast);
    }

    .badge-primary {
      background: var(--gradient-primary);
      color: white;
    }

    .badge-secondary {
      background: var(--glass-bg);
      color: var(--text-muted);
      border-color: var(--glass-border);
    }

    .badge-success {
      background: var(--brand-success);
      color: white;
    }

    .badge-warning {
      background: var(--brand-warning);
      color: white;
    }

    .badge-error {
      background: var(--brand-error);
      color: white;
    }

    .badge-info {
      background: var(--brand-info);
      color: white;
    }

    .badge-outline {
      background: transparent;
      border-color: currentColor;
    }

    .badge-pill {
      border-radius: 2rem;
    }

    .badge:hover {
      transform: scale(1.05);
      box-shadow: var(--shadow-sm);
    }

    /* ===============================================
       ENHANCED ALERT SYSTEM
       =============================================== */
    .alert {
      background: var(--glass-bg);
      backdrop-filter: var(--backdrop-blur);
      border: 1px solid var(--glass-border);
      border-radius: 1rem;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      position: relative;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid;
    }

    .alert-success {
      border-left-color: var(--brand-success);
      background: rgba(16, 185, 129, 0.05);
    }

    .alert-warning {
      border-left-color: var(--brand-warning);
      background: rgba(245, 158, 11, 0.05);
    }

    .alert-error {
      border-left-color: var(--brand-error);
      background: rgba(239, 68, 68, 0.05);
    }

    .alert-info {
      border-left-color: var(--brand-info);
      background: rgba(59, 130, 246, 0.05);
    }

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

    .alert-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.875rem;
      font-weight: bold;
      color: white;
    }

    .alert-success .alert-icon {
      background: var(--brand-success);
    }

    .alert-warning .alert-icon {
      background: var(--brand-warning);
    }

    .alert-error .alert-icon {
      background: var(--brand-error);
    }

    .alert-info .alert-icon {
      background: var(--brand-info);
    }

    .alert-title {
      font-weight: 600;
      color: var(--text-primary);
      margin: 0;
    }

    .alert-body {
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .alert-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      padding: 0.25rem;
      border-radius: 50%;
      transition: all var(--transition-fast);
    }

    .alert-close:hover {
      background: var(--glass-bg);
      color: var(--text-primary);
    }

    /* ===============================================
       ENHANCED UTILITY CLASSES
       =============================================== */

    /* Spacing Utilities */
    .m-0 { margin: 0; }
    .m-1 { margin: 0.25rem; }
    .m-2 { margin: 0.5rem; }
    .m-3 { margin: 0.75rem; }
    .m-4 { margin: 1rem; }
    .m-5 { margin: 1.25rem; }
    .m-6 { margin: 1.5rem; }
    .m-8 { margin: 2rem; }
    .m-10 { margin: 2.5rem; }
    .m-12 { margin: 3rem; }

    .p-0 { padding: 0; }
    .p-1 { padding: 0.25rem; }
    .p-2 { padding: 0.5rem; }
    .p-3 { padding: 0.75rem; }
    .p-4 { padding: 1rem; }
    .p-5 { padding: 1.25rem; }
    .p-6 { padding: 1.5rem; }
    .p-8 { padding: 2rem; }
    .p-10 { padding: 2.5rem; }
    .p-12 { padding: 3rem; }

    /* Text Utilities */
    .text-xs { font-size: 0.75rem; }
    .text-sm { font-size: 0.875rem; }
    .text-base { font-size: 1rem; }
    .text-lg { font-size: 1.125rem; }
    .text-xl { font-size: 1.25rem; }
    .text-2xl { font-size: 1.5rem; }
    .text-3xl { font-size: 1.875rem; }
    .text-4xl { font-size: 2.25rem; }

    .font-light { font-weight: 300; }
    .font-normal { font-weight: 400; }
    .font-medium { font-weight: 500; }
    .font-semibold { font-weight: 600; }
    .font-bold { font-weight: 700; }
    .font-extrabold { font-weight: 800; }
    .font-black { font-weight: 900; }

    .text-left { text-align: left; }
    .text-center { text-align: center; }
    .text-right { text-align: right; }
    .text-justify { text-align: justify; }

    .text-primary { color: var(--text-primary); }
    .text-secondary { color: var(--text-secondary); }
    .text-muted { color: var(--text-muted); }
    .text-brand { color: var(--brand-primary); }
    .text-success { color: var(--brand-success); }
    .text-warning { color: var(--brand-warning); }
    .text-error { color: var(--brand-error); }
    .text-info { color: var(--brand-info); }

    /* Display Utilities */
    .d-none { display: none; }
    .d-block { display: block; }
    .d-flex { display: flex; }
    .d-grid { display: grid; }
    .d-inline { display: inline; }
    .d-inline-block { display: inline-block; }
    .d-inline-flex { display: inline-flex; }

    /* Flex Utilities */
    .flex-row { flex-direction: row; }
    .flex-col { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    .flex-nowrap { flex-wrap: nowrap; }
    .justify-start { justify-content: flex-start; }
    .justify-center { justify-content: center; }
    .justify-end { justify-content: flex-end; }
    .justify-between { justify-content: space-between; }
    .justify-around { justify-content: space-around; }
    .items-start { align-items: flex-start; }
    .items-center { align-items: center; }
    .items-end { align-items: flex-end; }
    .items-stretch { align-items: stretch; }

    /* Position Utilities */
    .relative { position: relative; }
    .absolute { position: absolute; }
    .fixed { position: fixed; }
    .sticky { position: sticky; }

    /* Border Utilities */
    .rounded-none { border-radius: 0; }
    .rounded-sm { border-radius: 0.25rem; }
    .rounded { border-radius: 0.5rem; }
    .rounded-md { border-radius: 0.75rem; }
    .rounded-lg { border-radius: 1rem; }
    .rounded-xl { border-radius: 1.25rem; }
    .rounded-2xl { border-radius: 1.5rem; }
    .rounded-full { border-radius: 9999px; }

    /* Shadow Utilities */
    .shadow-none { box-shadow: none; }
    .shadow-xs { box-shadow: var(--shadow-xs); }
    .shadow-sm { box-shadow: var(--shadow-sm); }
    .shadow-md { box-shadow: var(--shadow-md); }
    .shadow-lg { box-shadow: var(--shadow-lg); }
    .shadow-xl { box-shadow: var(--shadow-xl); }
    .shadow-2xl { box-shadow: var(--shadow-2xl); }

    /* Cursor Utilities */
    .cursor-pointer { cursor: pointer; }
    .cursor-default { cursor: default; }
    .cursor-not-allowed { cursor: not-allowed; }
    .cursor-help { cursor: help; }

    /* Overflow Utilities */
    .overflow-hidden { overflow: hidden; }
    .overflow-auto { overflow: auto; }
    .overflow-scroll { overflow: scroll; }
    .overflow-x-hidden { overflow-x: hidden; }
    .overflow-y-hidden { overflow-y: hidden; }

    /* Z-index Utilities */
    .z-0 { z-index: 0; }
    .z-10 { z-index: 10; }
    .z-20 { z-index: 20; }
    .z-30 { z-index: 30; }
    .z-40 { z-index: 40; }
    .z-50 { z-index: 50; }

    /* Opacity Utilities */
    .opacity-0 { opacity: 0; }
    .opacity-25 { opacity: 0.25; }
    .opacity-50 { opacity: 0.5; }
    .opacity-75 { opacity: 0.75; }
    .opacity-100 { opacity: 1; }

    /* ===============================================
       ENHANCED FOCUS MANAGEMENT
       =============================================== */
    .focus-visible:focus-visible,
    *:focus-visible {
      outline: 3px solid var(--brand-primary) !important;
      outline-offset: 2px;
      border-radius: 0.25rem;
    }

    .focus-ring {
      transition: box-shadow var(--transition-fast);
    }

    .focus-ring:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
    }

    /* Skip to content link */
    .skip-to-content {
      position: absolute;
      top: -40px;
      left: 6px;
      background: var(--brand-primary);
      color: white;
      padding: 8px;
      text-decoration: none;
      border-radius: 4px;
      z-index: 10000;
      transition: top var(--transition-fast);
    }

    .skip-to-content:focus {
      top: 6px;
    }

    /* ===============================================
       ENHANCED THEME COMPATIBILITY
       =============================================== */

    /* Light theme specific overrides (YOUR EXISTING STRUCTURE) */
    .light-theme {
      background: var(--gradient-mesh), linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      color: #1e293b;
    }

    .light-theme .glass-effect {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
      border: 1px solid rgba(139, 92, 246, 0.15);
    }

    .light-theme .glass-effect-strong {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
      border: 2px solid rgba(139, 92, 246, 0.2);
    }

    .light-theme #navbar {
      background: rgba(255, 255, 255, 0.95) !important;
      border-bottom: 1px solid rgba(139, 92, 246, 0.15) !important;
    }

    .light-theme .text-white {
      color: #1e293b !important;
    }

    .light-theme .text-gray-300 {
      color: #64748b !important;
    }

    .light-theme .text-gray-400 {
      color: #94a3b8 !important;
    }

    .light-theme .bg-gray-800\/50 {
      background: rgba(255, 255, 255, 0.8) !important;
      border-color: #d1d5db !important;
    }

    .light-theme .bg-gray-700 {
      background: #e5e7eb !important;
    }

    .light-theme .border-gray-600 {
      border-color: #d1d5db !important;
    }

    .light-theme .border-gray-800 {
      border-color: #e5e7eb !important;
    }

    /* Dark theme specific overrides (YOUR EXISTING STRUCTURE) */
    .dark-theme {
      background: var(--gradient-mesh), linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
      color: #f1f5f9;
    }

    .dark-theme .glass-effect {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(20px) saturate(180%) brightness(0.8);
      border: 1px solid rgba(139, 92, 246, 0.2);
    }

    .dark-theme .glass-effect-strong {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(40px) saturate(200%) brightness(0.8);
      border: 2px solid rgba(139, 92, 246, 0.3);
    }


@keyframes floatUp {
  from {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  to {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

    /* 
===============================================
       THEME TRANSITION ENHANCEMENTS (YOUR EXISTING)
       =============================================== */
    * {
      transition: background-color var(--transition-normal), 
                  color var(--transition-normal), 
                  border-color var(--transition-normal),
                  box-shadow var(--transition-normal);
    }

    /* ===============================================
       GRADIENT TEXT ENHANCEMENTS (YOUR EXISTING)
       =============================================== */
    .gradient-text {
      background: linear-gradient(135deg, #8b5cf6, #ec4899, #06b6d4);
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradientShift 6s ease infinite;
      font-weight: 700;
      position: relative;
    }

    .gradient-text::after {
      content: '';
      position: absolute;
      inset: 0;
      background: inherit;
      background-clip: text;
      -webkit-background-clip: text;
      filter: blur(20px);
      opacity: 0.3;
      z-index: -1;
    }

    /* ===============================================
       SVG GRADIENTS FOR ADVANCED EFFECTS
       =============================================== */
    .svg-defs {
      position: absolute;
      width: 0;
      height: 0;
      overflow: hidden;
    }