
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
      line-height: 1.6;
    }
    
    .font-mono { 
      font-family: 'JetBrains Mono', monospace; 
    }
    
    /* Modern gradient system */
    .gradient-primary {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .gradient-secondary {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
    
    .gradient-accent {
      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }
    
    .gradient-warm {
      background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    }
    
    .gradient-text {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .gradient-text-accent {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    /* Improved Glassmorphism */
    .glass {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 20px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .glass-dark {
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
    }
    
    /* Enhanced Neumorphism */
    .neomorphic {
      background: #f8fafc;
      border-radius: 20px;
      box-shadow: 
        12px 12px 24px rgba(174, 188, 202, 0.4),
        -12px -12px 24px rgba(255, 255, 255, 0.8);
    }
    
    .neomorphic-dark {
      background: #1e293b;
      border-radius: 20px;
      box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.3),
        -12px -12px 24px rgba(45, 55, 72, 0.5);
    }
    
    /* Improved animations with better performance */
    @keyframes float {
      0%, 100% { transform: translate3d(0, 0, 0); }
      50% { transform: translate3d(0, -20px, 0); }
    }
    
    @keyframes pulse-glow {
      0%, 100% { 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
        transform: scale(1);
      }
      50% { 
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
        transform: scale(1.02);
      }
    }
    
    @keyframes gradient-shift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    
    @keyframes slideInUp {
      from {
        transform: translate3d(0, 60px, 0);
        opacity: 0;
      }
      to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
      }
    }
    
    @keyframes morphing {
      0%, 100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; }
      50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; }
    }
    
    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }
    
    .floating { animation: float 6s ease-in-out infinite; }
    .pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
    .morphing { animation: morphing 8s ease-in-out infinite; }
    
    .animated-bg {
      background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
      background-size: 400% 400%;
      animation: gradient-shift 15s ease infinite;
    }
    
    /* Custom cursor with better performance */
    .custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 20px;
      height: 20px;
      background: rgba(102, 126, 234, 0.6);
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
      mix-blend-mode: difference;
      z-index: 9999;
      will-change: transform;
    }
    
    .custom-cursor.hover {
      width: 40px;
      height: 40px;
      background: rgba(102, 126, 234, 0.3);
    }
    
    .custom-cursor.text-hover {
      width: 60px;
      height: 60px;
      background: rgba(102, 126, 234, 0.15);
    }
    
    /* Scroll progress */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 4px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      z-index: 9999;
      transition: width 0.1s ease;
    }
    
    /* Enhanced modern buttons */
    .btn-modern {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border: none;
      border-radius: 50px;
      padding: 16px 32px;
      color: white;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 52px;
      transition: all 0.3s ease;
      cursor: pointer;
      font-size: 16px;
      line-height: 1.2;
    }
    
    .btn-modern::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 0.5s ease;
    }
    
    .btn-modern:hover::before {
      left: 100%;
    }
    
    .btn-modern:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    }
    
    .btn-modern:active {
      transform: translateY(0);
    }
    
    .btn-outline {
      background: transparent;
      border: 2px solid #667eea;
      color: #667eea;
    }
    
    .btn-outline:hover {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border-color: transparent;
    }
    
    /* Enhanced card hover effects */
    .card-hover {
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    
    .card-hover:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }
    
    /* Improved skill bars */
    .skill-bar {
      position: relative;
      background: rgba(102, 126, 234, 0.1);
      border-radius: 12px;
      overflow: hidden;
      height: 10px;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .skill-progress {
      height: 100%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 12px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
      transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .skill-progress::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      animation: shimmer 2s infinite;
    }
    
    /* Improved dark theme */
    .dark {
      background-color: #0f172a !important;
      color: #e2e8f0 !important;
    }
    
    .dark .glass {
      background: rgba(15, 23, 42, 0.8) !important;
      border: 1px solid rgba(148, 163, 184, 0.15) !important;
    }
    
    .dark .neomorphic {
      background: #1e293b !important;
      box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.3),
        -12px -12px 24px rgba(45, 55, 72, 0.5) !important;
    }
    
    .dark .text-gray-600 { color: #94a3b8 !important; }
    .dark .text-gray-700 { color: #cbd5e1 !important; }
    .dark .text-gray-800 { color: #e2e8f0 !important; }
    .dark .text-gray-900 { color: #f1f5f9 !important; }
    .dark .bg-white { background-color: #1e293b !important; }
    .dark .bg-gray-50 { background-color: #0f172a !important; }
    .dark .bg-gray-100 { background-color: #334155 !important; }
    .dark .border-gray-200 { border-color: #334155 !important; }
    
    /* Mobile menu improvements */
    .mobile-menu {
      transform: translateX(-100%);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(20px);
    }
    
    .mobile-menu.show {
      transform: translateX(0);
    }
    
    /* Animation observer */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Improved scrollbar */
    ::-webkit-scrollbar {
      width: 8px;
    }
    
    ::-webkit-scrollbar-track {
      background: #f1f5f9;
    }
    
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 4px;
    }
    
    .dark ::-webkit-scrollbar-track {
      background: #1e293b;
    }
    
    /* Particle system */
    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 1;
      pointer-events: none;
    }
    
    .particle {
      position: absolute;
      background: rgba(102, 126, 234, 0.1);
      border-radius: 50%;
      animation: float 6s infinite ease-in-out;
      will-change: transform;
    }
    
    .particle:nth-child(odd) {
      animation-direction: reverse;
    }
    
    /* Loading animation */
    .loading {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255,255,255,.3);
      border-radius: 50%;
      border-top-color: #fff;
      animation: spin 1s ease-in-out infinite;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    /* Enhanced form styles */
    .form-modern {
      position: relative;
      margin-bottom: 24px;
    }
    
    .form-input {
      width: 100%;
      padding: 18px 16px 18px 16px;
      border: 2px solid rgba(102, 126, 234, 0.1);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
      font-size: 16px;
      font-family: inherit;
      line-height: 1.4;
    }
    
    .form-input:focus {
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.95);
    }
    
    .form-label {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #94a3b8;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
      background: transparent;
      font-size: 16px;
      line-height: 1;
    }
    
    .form-input:focus + .form-label,
    .form-input:not(:placeholder-shown) + .form-label {
      top: -12px;
      left: 12px;
      font-size: 14px;
      color: #667eea;
      background: white;
      padding: 0 8px;
      font-weight: 500;
    }
    
    .dark .form-input {
      background: rgba(30, 41, 59, 0.8);
      border-color: rgba(148, 163, 184, 0.2);
      color: #e2e8f0;
    }
    
    .dark .form-input:focus {
      background: rgba(30, 41, 59, 0.95);
    }
    
    .dark .form-label {
      color: #cbd5e1;
    }
    
    .dark .form-input:focus + .form-label,
    .dark .form-input:not(:placeholder-shown) + .form-label {
      background: #1e293b;
      color: #667eea;
    }
    
    /* Status indicator */
    .status-indicator {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.3);
      margin-top: 12px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 500;
      color: #059669;
    }
    
    .status-dot {
      width: 8px;
      height: 8px;
      background: #10b981;
      border-radius: 50%;
      animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
      0%, 100% { 
        opacity: 1;
        transform: scale(1);
      }
      50% { 
        opacity: 0.6;
        transform: scale(1.1);
      }
    }
    
    /* Project filter improvements */
    .project-filter {
      color: #6b7280;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 12px 24px;
      border-radius: 50px;
      font-weight: 500;
      transition: all 0.3s ease;
      font-size: 14px;
    }
    
    .project-filter.active {
      color: #ffffff;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .project-filter:hover:not(.active) {
      color: #374151;
      background: rgba(255, 255, 255, 0.7);
    }
    
    .dark .project-filter:hover:not(.active) {
      color: #e2e8f0;
      background: rgba(255, 255, 255, 0.1);
    }
    
    /* Enhanced typography */
    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      line-height: 1.2;
      margin: 0;
      letter-spacing: -0.025em;
    }
    
    .text-5xl, .text-6xl {
      line-height: 1.1;
    }
    
    p {
      margin: 0;
      line-height: 1.7;
    }
    
    /* Accessibility improvements */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    
    /* Focus improvements */
    *:focus-visible {
      outline: 2px solid #667eea;
      outline-offset: 2px;
      border-radius: 4px;
    }
    
    /* Responsive image fixes */
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    /* Performance optimizations */
    .will-change-transform {
      will-change: transform;
    }
    
    .will-change-opacity {
      will-change: opacity;
    }
    
    /* Print styles */
    @media print {
      .no-print {
        display: none !important;
      }
      
      body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
      }
    }
  