  /* Base & Utilities */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { overflow-x: hidden; }

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

  /* Hero Animation */
  .hero-badge {
    animation: fadeUp 1s 0.3s both cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-title {
    animation: fadeUp 1s 0.5s both cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Nav */
  #nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  }
  #nav.scrolled {
    background: rgba(6, 16, 12, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
    padding: 0;
  }
  #nav.scrolled .menu-line { background: #faf8f4; }

  /* Nav Links */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after { width: 100%; }

  /* Mobile Menu */
  .menu-line { transition: all 0.3s ease; }
  #mobile-menu.open { opacity: 1; pointer-events: all; }
  #mobile-menu.open .mobile-link { animation: fadeUp 0.5s both; }
  #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

  /* Hamburger */
  #menu-btn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
  #menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
  #menu-btn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 20px; }

  /* Input autofill override */
  input:-webkit-autofill, textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1a2e22 inset !important;
    -webkit-text-fill-color: #faf8f4 !important;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #06100c; }
  ::-webkit-scrollbar-thumb { background: #2d5a3a; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #c9a84c; }

  /* Selection */
  ::selection { background: rgba(201, 168, 76, 0.3); color: #faf8f4; }
</style>
