:root {
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.18);
    --ios-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    --liquid-spring: cubic-bezier(0.4, 0, 0.1, 1.2);
}

* { font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
body { background: #010105; min-height: 100vh; overflow-x: hidden; color: white; }

/* --- Background Liquid Orbs --- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: moveOrb 20s infinite alternate ease-in-out;
}
.orb-1 { width: 600px; height: 600px; background: #4f46e5; top: -10%; left: -5%; }
.orb-2 { width: 500px; height: 500px; background: #db2777; top: 30%; right: -10%; animation-delay: -4s; }
.orb-3 { width: 450px; height: 450px; background: #06b6d4; bottom: -10%; left: 10%; animation-delay: -8s; }

@keyframes moveOrb {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(100px, 100px) rotate(90deg) scale(1.15); }
}

/* --- iOS 26 Liquid Glass --- */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(45px) saturate(210%);
    -webkit-backdrop-filter: blur(45px) saturate(210%);
    box-shadow: var(--ios-shadow), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: all 0.6s var(--liquid-spring);
}

.glass-hover:hover {
    transform: translateY(-12px) scale(1.03);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 50px 100px rgba(0,0,0,0.7);
}

.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.9s var(--liquid-spring);
}
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }

.text-gradient {
    background: linear-gradient(135deg, #fff 10%, #818cf8 50%, #f472b6 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-pill { transition: 0.4s var(--liquid-spring); }
.nav-pill.active { background: rgba(255, 255, 255, 0.15); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }

/* Timeline Fixes */
.timeline-item { position: relative; padding-left: 3rem; border-left: 2px solid rgba(255,255,255,0.1); margin-left: 1rem; }
.timeline-dot {
    position: absolute;
    left: -7px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px #6366f1;
}

/* Gallery Grid Fix */
.gallery-img {
    transition: transform 0.8s var(--liquid-spring);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
