  /* ===== BASE & SCROLLBAR ===== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
  body { overflow-x: hidden; }

  /* ===== NAV ===== */
  #nav {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  }
  #nav.scrolled {
    background: rgba(5, 13, 26, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  }

  /* ===== HERO GRID ===== */
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
  }
  @media (min-width: 768px) {
    .hero-grid {
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
    }
  }

  /* ===== GEOMETRIC SHAPES ===== */
  .geometric-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
  }
  .shape-triangle {
    top: 20%;
    right: -20px;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(45, 212, 191, 0.25);
    transform: rotate(15deg);
  }
  .shape-circle {
    top: 50%;
    left: 20%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(45, 212, 191, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
  }
  .shape-square {
    top: 75%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: rgba(45, 212, 191, 0.15);
    border-radius: 12px;
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite reverse;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(25deg); }
  }

  /* ===== FLOATING CARD ===== */
  .floating-card {
    animation: floatCard 4s ease-in-out infinite;
  }
  @keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  /* ===== REVEAL ANIMATIONS ===== */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== MOBILE MENU ===== */
  #mobile-menu {
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== CUSTOM SELECTION ===== */
  ::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #fff;
  }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #050D1A; }
  ::-webkit-scrollbar-thumb { background: #1A3A66; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #244B7A; }

  /* ===== LINK UNDERLINE ANIMATION ===== */
  a { text-decoration: none; }

  /* ===== FORM STYLES ===== */
  input:focus, textarea:focus {
    outline: none;
    border-color: #2DD4BF;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
  }
