.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

.type-cursor {
    display: inline-block;
    width: 3px;
    background-color: #a64f3c;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.animated-grid {
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}

.glass-dark {
    background: rgba(16, 26, 38, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass {
    background: rgba(16, 26, 38, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 1rem 1.5rem;
}
.nav-scrolled {
    margin-top: 1rem;
    border-radius: 9999px;
    background: rgba(16, 26, 38, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    width: calc(100% - 2rem);
    max-width: 80rem;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #101a26; }
::-webkit-scrollbar-thumb { background: #1e2d40; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #a64f3c; }

.number-cut {
    position: absolute;
    bottom: -35px;
    left: 20px;
    font-size: 130px;
    font-weight: 800;
    line-height: 1;
    color: rgba(16, 26, 38, 0.04);
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.adv-card:hover .number-cut {
    color: rgba(247, 158, 92, 0.15);
    transform: translateY(-10px);
}

