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

body {
    font-family: 'Outfit', sans-serif;
    background: #050810;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050810; }
::-webkit-scrollbar-thumb { background: #0176D3; border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(1, 118, 211, 0.4); color: #fff; }

/* ── Animated gradient orbs ── */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #0176D3, transparent 70%);
    top: -200px; right: -100px;
    animation-delay: 0s;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #1B96FF, transparent 70%);
    bottom: -150px; left: -100px;
    animation-delay: -7s;
}
.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #032D60, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.1;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* ── Grid texture overlay ── */
.grid-texture {
    background-image:
        linear-gradient(rgba(1, 118, 211, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1, 118, 211, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

/* ── Reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Glow button ── */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #0176D3, #1B96FF, #4DB8FF, #0176D3);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}
.btn-glow:hover::before { opacity: 1; }

/* ── Glass card ── */
.glass {
    background: linear-gradient(135deg, rgba(15, 22, 41, 0.7), rgba(5, 8, 16, 0.9));
    border: 1px solid rgba(1, 118, 211, 0.12);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass:hover {
    border-color: rgba(1, 118, 211, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -15px rgba(1, 118, 211, 0.15);
}

/* ── Diagonal separator ── */
.diagonal-top {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    margin-top: -40px;
    padding-top: 80px;
}

/* ── Feature icon glow ── */
.feature-icon {
    position: relative;
}
.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(1, 118, 211, 0.2);
    border-radius: 50%;
    filter: blur(12px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.glass:hover .feature-icon::after { opacity: 1; }

/* ── Horizontal rule accent ── */
.hr-accent {
    height: 2px;
    background: linear-gradient(90deg, transparent, #0176D3, transparent);
    border: none;
}

/* ── Mobile nav ── */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* ── Typed cursor ── */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #0176D3;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Nav scroll state ── */
.nav-scrolled {
    background: rgba(5, 8, 16, 0.85) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(1, 118, 211, 0.1);
}

/* ── Badge pulse ── */
.pulse-dot {
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(1, 118, 211, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(1, 118, 211, 0); }
}

/* ── Form focus ── */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0176D3 !important;
    box-shadow: 0 0 0 3px rgba(1, 118, 211, 0.15);
}

/* ── Expertise tag ── */
.expertise-tag {
    position: relative;
    overflow: hidden;
}
.expertise-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 118, 211, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.expertise-tag:hover::before { opacity: 1; }
