  /* ===== BASE & RESET ===== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { min-height: 100vh; }
  img { max-width: 100%; height: auto; display: block; }
  select option { background: #1e1e1e; color: #ececec; }

  /* ===== NAVBAR ===== */
  #navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }
  #navbar.scrolled {
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  }

  /* ===== MOBILE MENU ===== */
  #mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
  .mobile-link { transition: opacity 0.3s, transform 0.3s; }
  #mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }
  #mobile-menu .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobile-menu .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobile-menu .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobile-menu .mobile-link:nth-child(4) { transition-delay: 0.2s; }
  #mobile-menu .mobile-link:nth-child(5) { transition-delay: 0.25s; }

  /* ===== HERO ANIMATIONS ===== */
  .hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s ease forwards;
  }
  .hero-anim:nth-child(1) { animation-delay: 0.1s; }
  .hero-anim:nth-child(2) { animation-delay: 0.25s; }
  .hero-anim:nth-child(3) { animation-delay: 0.4s; }
  .hero-anim:nth-child(4) { animation-delay: 0.55s; }
  .hero-anim:nth-child(5) { animation-delay: 0.7s; }

  @keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== REVEAL ON SCROLL ===== */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }

  /* ===== CUSTOM SCROLLBAR ===== */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #121212; }
  ::-webkit-scrollbar-thumb { background: #404040; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #E07A5F; }

  /* ===== SELECTION ===== */
  ::selection { background: rgba(224, 122, 95, 0.3); color: #fff; }

  /* ===== FOCUS ===== */
  :focus-visible { outline: 2px solid #E07A5F; outline-offset: 2px; }

  /* ===== MENU LINES ANIMATION ===== */
  #menu-toggle.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
  #menu-toggle.active .menu-line:nth-child(2) { opacity: 0; }
  #menu-toggle.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 24px; }

  /* ===== INPUT autofill override ===== */
  input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1e1e1e inset !important;
    -webkit-text-fill-color: #ececec !important;
  }
