/* ─── CSS Variables ─────────────────────────────────────── */
    :root {
    --bg:       #080c14;
    --bg2:      #0d1320;
    --bg3:      #111827;
    --surface:  rgba(255,255,255,0.04);
    --border:   rgba(255,255,255,0.08);
    --accent:   #00d4ff;
    --accent2:  #7b5ea7;
    --accent3:  #ff6b6b;
    --text:     #e8eaf0;
    --muted:    #8892a4;
    --white:    #ffffff;
    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --radius:   12px;
    --radius-lg:20px;
    --glow:     0 0 40px rgba(0,212,255,0.15);
    --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
    }

    /* ─── Reset & Base ──────────────────────────────────────── */
    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

    html {
    scroll-behavior: smooth;
    cursor: none;
    }

    body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    }

    ::selection { background: rgba(0,212,255,0.25); color: var(--white); }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    ul { list-style: none; }

    /* ─── Custom Cursor ─────────────────────────────────────── */
    #cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    }

    #cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(0,212,255,0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.12s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
    }

    body.cursor-hover #cursor-ring {
    width: 60px; height: 60px;
    border-color: var(--accent);
    background: rgba(0,212,255,0.06);
    }

    /* ─── Scrollbar ─────────────────────────────────────────── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 4px; }

    /* ─── Noise Overlay ─────────────────────────────────────── */
    body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    }

    /* ─── Navigation ────────────────────────────────────────── */
    #navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    }

    #navbar.scrolled {
    background: rgba(8,12,20,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    }

    .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    }

    .nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    position: relative;
    }

    .nav-logo span {
    color: var(--accent);
    }

    .nav-logo::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: var(--transition);
    }

    .nav-logo:hover::after { width: 100%; }

    .nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    }

    .nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    }

    .nav-links a:hover,
    .nav-links a.active {
    color: var(--white);
    background: var(--surface);
    }

    .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    }

    .nav-cta {
    background: var(--accent) !important;
    color: var(--bg) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    }

    .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,212,255,0.3) !important;
    background: var(--accent) !important;
    }

    /* Hamburger */
    .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    }

    .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    }

    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* ─── Main Content ──────────────────────────────────────── */
    main {
    position: relative;
    z-index: 1;
    }

    /* ─── Container ─────────────────────────────────────────── */
    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    }

    /* ─── Section Base ──────────────────────────────────────── */
    section {
    padding: 6rem 0;
    }

    .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    }

    .section-label::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--accent);
    }

    .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.03em;
    }

    .section-title em {
    font-style: normal;
    color: var(--accent);
    }

    /* ─── Glassy Card ───────────────────────────────────────── */
    .glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    }

    .glass-card:hover {
    border-color: rgba(0,212,255,0.2);
    box-shadow: var(--glow);
    transform: translateY(-4px);
    }

    /* ─── Buttons ───────────────────────────────────────────── */
    .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    }

    .btn-primary {
    background: var(--accent);
    color: var(--bg);
    }

    .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0,212,255,0.35);
    }

    .btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    }

    .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,212,255,0.06);
    }

    /* ─── Scroll-reveal Animation ───────────────────────────── */
    .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
    opacity: 1;
    transform: none;
    }

    .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-left.visible {
    opacity: 1;
    transform: none;
    }

    .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-right.visible {
    opacity: 1;
    transform: none;
    }

    /* stagger delay utility */
    .delay-1 { transition-delay: 0.1s !important; }
    .delay-2 { transition-delay: 0.2s !important; }
    .delay-3 { transition-delay: 0.3s !important; }
    .delay-4 { transition-delay: 0.4s !important; }
    .delay-5 { transition-delay: 0.5s !important; }

    /* ─── Footer ────────────────────────────────────────────── */
    footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    position: relative;
    z-index: 1;
    }

    .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    }

    .footer-copy {
    font-size: 0.85rem;
    color: var(--muted);
    }

    .footer-copy span { color: var(--accent); }

    .footer-links {
    display: flex;
    gap: 1rem;
    }

    .footer-links a {
    color: var(--muted);
    font-size: 1.1rem;
    transition: var(--transition);
    }

    .footer-links a:hover { color: var(--accent); transform: translateY(-2px); }

    /* ─── Responsive ────────────────────────────────────────── */
    @media (max-width: 768px) {
    html { cursor: auto; }
    #cursor-dot, #cursor-ring { display: none; }

    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,12,20,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 0.25rem; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    section { padding: 4rem 0; }
    }