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

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

  body {
    overflow-x: hidden;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background: #f6f6f6;
  }
  ::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 3px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
  }

  /* Navbar */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(246, 246, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  }

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

  .nav-logo-text {
    color: #1a1a1a;
  }

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

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

  /* Scroll line animation */
  .scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
  }

  /* Floating cards */
  .floating-card-1 {
    animation: float1 6s ease-in-out infinite;
  }

  .floating-card-2 {
    animation: float2 7s ease-in-out infinite;
  }

  @keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  @keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }

  /* Reveal animations — progressive enhancement */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .scroll-line {
      animation: none;
    }

    .reveal {
      transition: none;
    }
  }

  /* Selection */
  ::selection {
    background: #FF6B4A;
    color: white;
  }
