/* Custom Styling & Glassmorphism */
:root {
    --bg-dark: #090D16;
}

body {
    background-color: var(--bg-dark);
}

/* Grid Subtle Pattern */
.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Ambient Orbs */
.ambient-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(110px);
    opacity: 0.35;
    animation: floatOrb 16s infinite alternate ease-in-out;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #38bdf8, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: 35%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #a855f7, transparent 70%);
    bottom: -100px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-capsule {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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