  /* ===== BASE & RESET ===== */
  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  /* ===== NAVBAR ===== */
  #navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  }

  #navbar.scrolled {
    background-color: rgba(15, 15, 22, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFA898;
    border-radius: 1px;
    transition: width 0.3s ease;
  }

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

  /* ===== HERO ===== */
  #hero {
    position: relative;
  }

  /* ===== REVEAL ANIMATIONS ===== */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }

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

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
  }

  /* ===== MOBILE MENU ===== */
  #mobile-menu {
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }

  #mobile-menu.open {
    animation: slideDownOpen 0.3s ease forwards;
  }

  @keyframes slideDownOpen {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }

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

  ::-webkit-scrollbar-track {
    background: #1A1A22;
  }

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

  ::-webkit-scrollbar-thumb:hover {
    background: #D44E35;
  }

  /* ===== SELECTION ===== */
  ::selection {
    background: #E8634A;
    color: white;
  }

  /* ===== FOCUS VISIBLE ===== */
  :focus-visible {
    outline: 2px solid #E8634A;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ===== MOBILE LINKS ===== */
  .mobile-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-link:last-child {
    border-bottom: none;
  }

  /* ===== IMAGE HOVER ===== */
  .group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
  }

  /* ===== CARD SHADOWS ===== */
  .reveal > .group {
    will-change: transform, box-shadow;
  }

  /* ===== FORM STYLES ===== */
  input:focus,
  textarea:focus {
    box-shadow: 0 0 0 4px rgba(232, 99, 74, 0.1);
  }

  /* ===== MISC ===== */
  .bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
  }
