  /* Base */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  /* Hero gradient */
  .hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(79, 217, 176, 0.18) 0%, rgba(46, 196, 158, 0.08) 40%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 20% 60%, rgba(10, 22, 40, 0.9) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 60%, rgba(10, 22, 40, 0.9) 0%, transparent 60%),
                linear-gradient(180deg, #050A18 0%, #0A1628 50%, #050A18 100%);
  }

  /* Floating animation */
  @keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
  }

  @keyframes float-delay {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.03); }
  }

  .animate-float {
    animation: float 8s ease-in-out infinite;
  }

  .animate-float-delay {
    animation: float-delay 10s ease-in-out infinite;
    animation-delay: -3s;
  }

  /* Scroll line */
  @keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
  }

  .animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
  }

  /* Scroll reveal */
  .reveal-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Navbar */
  #navbar.scrolled {
    background: rgba(5, 10, 24, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Mobile menu */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #050A18;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(79, 217, 176, 0.3);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 217, 176, 0.5);
  }

  /* Selection */
  ::selection {
    background: rgba(79, 217, 176, 0.3);
    color: 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;
    }
    html {
      scroll-behavior: auto;
    }
  }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid rgba(79, 217, 176, 0.6);
    outline-offset: 2px;
  }

  /* Select dropdown styling */
  select option {
    background: #050A18;
    color: white;
  }
