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

    :root {
      --accent: #00aaff;
      --bg-dark: #0f1115;
      --card-bg: rgba(255, 255, 255, 0.05);
      --text-light: #e0e0e0;
      --text-dim: #b9b9b9;
      --glow: 0 0 12px #00aaff;
      --transition: 0.2s ease;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      background: var(--bg-dark);
      color: var(--text-light);
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }
    .skip-link:focus-visible {
      position: fixed;
      left: 1rem;
      top: 1rem;
      width: auto; height: auto;
      background: #fff;
      color: #000;
      padding: .5rem .75rem;
      border-radius: .5rem;
      z-index: 1000;
    }

    header {
      background: #0f1115cc;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    
      position: sticky;
      top: 0;
      z-index: 200; /* <-- IMPORTANT: above overlay */
    
      border-bottom: 1px solid rgba(0, 170, 255, 0.1);
      transition: box-shadow var(--transition);
      padding-top: env(safe-area-inset-top);
    }

    header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }

    .container {
      width: min(1100px, calc(100% - 2rem));
      margin-inline: auto;
    }
    
    
    header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }
    
    .nav {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.9rem 0;
    }

    body.no-scroll header {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      background: #0f1115 !important;
    }
    
    .logo a {
      font-weight: 600;
      font-size: clamp(1.15rem, 0.9rem + 1vw, 1.5rem);
      color: var(--accent);
      text-shadow: var(--glow);
      white-space: nowrap;
    }
    
    .menu-btn {
      display: none;
      place-items: center;
      border: 1px solid rgba(0, 170, 255, 0.35);
      background: var(--card-bg);
      border-radius: 0.9rem;
      width: 46px;
      height: 46px;
      cursor: pointer;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
      box-shadow: 0 6px 20px rgba(0,0,0,.35);
    }
    
    .menu-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(0,0,0,.45); border-color: rgba(0, 170, 255, 0.55); }
    .menu-btn:active { transform: translateY(0); }
    .menu-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
    
    .burger {
      position: relative;
      width: 22px;
      height: 2px;
      background: var(--text-light);
      border-radius: 99px;
      transition: transform 0.2s ease, background 0.2s ease;
    }
    
    .burger::before,
    .burger::after {
      content: "";
      position: absolute;
      left: 0;
      width: 22px;
      height: 2px;
      background: var(--text-light);
      border-radius: 99px;
      transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
    }
    
    .burger::before { top: -7px; }
    .burger::after { top: 7px; }
    
    .menu-btn.open .burger { background: transparent; }
    .menu-btn.open .burger::before { top: 0; transform: rotate(45deg); }
    .menu-btn.open .burger::after { top: 0; transform: rotate(-45deg); }
    
    .nav-links {
      display: flex;
      gap: 1.25rem;
      align-items: center;
    }
    
    .nav-links a {
      position: relative;
      font-weight: 500;
      transition: color var(--transition);
      padding: 0.35rem 0.25rem;
    }
    
    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width var(--transition), left var(--transition);
    }
    
    .nav-links a:hover { color: var(--accent); }
    .nav-links a:hover::after { width: 100%; left: 0; }
    
    @media (max-width: 820px) {
      .menu-btn { display: inline-grid; }
    
      .nav-links {
        position: absolute;
        right: 1rem;
        left: 1rem;
        top: calc(100% + .6rem);
    
        display: grid;
        padding: .25rem;
    
        background: rgba(15, 17, 21, 0.96);
        border: 1px solid rgba(0, 170, 255, 0.18);
        border-radius: 1rem;
        box-shadow: 0 14px 40px rgba(0,0,0,.6);
    
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
        pointer-events: none;
    
        transition: opacity 0.18s ease, transform 0.22s ease;
        will-change: transform, opacity;
        z-index: 220;
    
        overflow: hidden; /* container owns the rounding */
      }
    
      .nav-links.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        box-shadow: 0 14px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(0,170,255,0.18);
      }
    
      .nav-links li {
        width: 100%;
      }
    
      /* full-width, clean rows */
      .nav-links a {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
    
        padding: 1rem 1rem;
        font-weight: 600;
        letter-spacing: 0.2px;
    
        background: transparent;
        color: var(--text-light);
    
        -webkit-tap-highlight-color: transparent;
        transition: background 0.12s ease, transform 0.12s ease;
      }
    
      /* subtle separators that don't mess with corners */
      .nav-links li + li a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 1rem;
        right: 1rem;
        height: 1px;
        background: rgba(255,255,255,0.06);
      }
    
      /* touch feedback */
      .nav-links a:active {
        transform: scale(0.99);
        background: rgba(0, 170, 255, 0.10);
      }
    
      /* keyboard focus */
      .nav-links a:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: -2px;
        background: rgba(0, 170, 255, 0.12);
      }
    
      /* remove desktop underline animation on mobile */
      .nav-links a::after {
        display: none;
      }
    }
    
    .nav-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.55);
    
      z-index: 150; /* <-- under header, over page */
    
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease;
    
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
      filter: none !important;
    }
    
    .nav-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    body.no-scroll { overflow: hidden; }
    
    main { display: block; }

    .hero {
      min-height: 90svh;
      display: grid; place-items: center;
      text-align: center;
      background: linear-gradient(135deg, #0f1115, #1a1d23);
      overflow: hidden; padding: 5rem 0;
      position: relative;
    }
    .hero::before {
      content: ""; position: absolute; inset: -50%;
      background: radial-gradient(circle, rgba(0,170,255,0.15) 0%, transparent 70%);
      animation: floatGlow 12s linear infinite;
      z-index: 0;
    }
    @keyframes floatGlow { 100% { transform: rotate(360deg); } }

    .hero-inner { position: relative; z-index: 1; width: min(800px, 92%); margin-inline: auto; }
    .hero h1 { font-size: clamp(2rem, 3vw + 1rem, 3.5rem); margin-bottom: .5rem; }
    .hero p { font-size: clamp(1rem, .4vw + 1rem, 1.25rem); margin-bottom: 2rem; color: var(--text-dim); }

    .btn {
      display: inline-block; padding: .75rem 1.25rem; background: var(--accent); color: #000;
      border-radius: .75rem; font-weight: 600; box-shadow: 0 0 12px var(--accent);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .btn:hover { transform: translateY(-1px); box-shadow: 0 0 20px var(--accent); }
    .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

    section#quick-links {
      position: relative; padding: 4rem 0; background: #111317; text-align: center;
      border-top: 2px solid rgba(0, 170, 255, 0.3);
      box-shadow: inset 0 1px 0 rgba(0, 170, 255, 0.2);
    }
    #quick-links h2 { font-size: clamp(1.5rem, .8vw + 1rem, 2rem); margin-bottom: 2rem; color: #fff; }

    .links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

    .card {
      background: var(--card-bg); backdrop-filter: blur(12px); padding: 2rem; border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); transition: transform var(--transition), box-shadow var(--transition);
      border: 1px solid rgba(0, 170, 255, 0.1);

      display: flex;
      flex-direction: column;
    }
    .card:hover { transform: translateY(-6px); box-shadow: 0 0 20px rgba(0, 170, 255, 0.25); }
    .card h3 { margin-bottom: .75rem; font-size: 1.25rem; color: #fff; }
    .card p { font-size: 1rem; margin-bottom: 1rem; opacity: .85; }
    .card .btn { margin-top: auto; }

   .hero.compact {
     min-height: auto;
     padding: 3.5rem 0 2.5rem;
   }
   .hero.compact::before { opacity: 0.6; }
   .hero.compact .hero-inner { max-width: 780px; }
   .hero.compact h1 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); margin-bottom: .35rem; }
   .hero.compact p { margin-bottom: 1.25rem; }


    footer { text-align: center; padding: 2rem 0; background: #0f1115; font-size: .9rem; color: #888; }

    @media (prefers-reduced-motion: reduce) {
      * { animation: none !important; transition: none !important; }
    }
