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

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

  body {
    overflow-x: hidden;
  }

  /* ===== NAVBAR ===== */
  #navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  }

  .nav-logo-text {
    transition: color 0.3s ease;
  }

  .nav-logo-sub {
    transition: color 0.3s ease;
  }

  #navbar:not(.scrolled) .nav-logo-text {
    color: #1E2830;
  }

  #navbar.scrolled .nav-logo-text {
    color: #1E2830;
  }

  #navbar:not(.scrolled) .nav-logo-sub {
    color: #6B7680;
  }

  #navbar.scrolled .nav-logo-sub {
    color: #9AA2AB;
  }

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

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

  .menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  #menu-toggle.active .menu-line:nth-child(3) {
    width: 1.25rem;
    transform: rotate(-45deg) translate(4px, -4px);
    margin-left: 0;
  }

  .mobile-link {
    position: relative;
  }

  .mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: #FF6B4A;
    border-radius: 1px;
    transition: transform 0.3s ease;
  }

  .mobile-link:hover::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* ===== SCROLL REVEAL ===== */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    html {
      scroll-behavior: auto;
    }
  }

  /* ===== ACCESSIBILITY ===== */
  :focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ===== SELECTION ===== */
  ::selection {
    background: rgba(255, 107, 74, 0.2);
    color: #1E2830;
  }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #F7F8F9;
  }
  ::-webkit-scrollbar-thumb {
    background: #C8CDD3;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #9AA2AB;
  }

  /* ===== MOBILE NAV BAR HEIGHT ===== */
  @media (max-width: 767px) {
    #navbar .max-w-6xl {
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }
  }
