  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
  }

  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #0d1b2a;
  }

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

  ::-webkit-scrollbar-thumb:hover {
    background: #2d3a4a;
  }

  /* Scroll reveal animations */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

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

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(7, 14, 24, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

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

  .menu-line:nth-child(1) {
    transform-origin: center;
  }
  .menu-line:nth-child(3) {
    transform-origin: center;
  }

  body.menu-open .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  body.menu-open .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  body.menu-open .menu-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* Gold gradient text utility */
  .text-gold-gradient {
    background: linear-gradient(135deg, #e8d5a3 0%, #c9a84c 50%, #b8943f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Input autofill styling */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0d1b2a inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
  }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
  }

  /* Link underline animation */
  a {
    text-decoration: none;
  }

  /* Subtle shimmer on gold buttons */
  .bg-gradient-to-r.from-gold-400.to-gold-500 {
    position: relative;
    overflow: hidden;
  }

  .bg-gradient-to-r.from-gold-400.to-gold-500::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
  }

  .bg-gradient-to-r.from-gold-400.to-gold-500:hover::after {
    left: 100%;
  }
