  /* Base & Utilities */
  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  /* Scroll Reveal */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  /* Hero Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-badge {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  }

  .hero-badge ~ h1,
  #hero h1 {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
  }

  #hero p {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
  }

  #hero > .relative > div:last-child {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  }

  #navbar.scrolled .nav-text {
    color: #1e293b !important;
  }

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

  ::-webkit-scrollbar-track {
    background: #f0fdfa;
  }

  ::-webkit-scrollbar-thumb {
    background: #99f6e4;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
  }

  /* Selection color */
  ::selection {
    background: #99f6e4;
    color: #134e4a;
  }

  /* Mobile link animation */
  .mobile-link {
    position: relative;
  }

  .mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #14b8a6;
    transition: width 0.3s ease;
  }

  .mobile-link:hover::after {
    width: 100%;
  }

  /* Parallax-lite for hero */
  @media (prefers-reduced-motion: no-preference) {
    #hero {
      will-change: transform;
    }
  }

  /* Image aspect ratio fallbacks */
  .aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
  }

  .aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
  }

  .aspect-\[16\/10\] {
    aspect-ratio: 16 / 10;
  }

  /* Smooth focus visible */
  :focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Print styles */
  @media print {
    #navbar, .hero-scroll-indicator {
      display: none;
    }
    body {
      color: #000;
      background: #fff;
    }
  }
