/* ===== KEYFRAMES ===== */
@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    50% {
        transform: translateY(-20px) translateX(-50%);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 210, 106, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 210, 106, 0.4);
    }
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
    animation: fade-in-up 0.6s ease-out;
}

/* ===== HERO ENTRANCE ===== */
.hero-entrance {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-entrance .section-badge {
    animation: fade-in-down 0.6s ease 0.3s both;
}

.hero-entrance h1 {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-entrance p {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-entrance .hero-actions {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== STAGGER CHILDREN ===== */
.stagger-children .reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children .reveal:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children .reveal:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children .reveal:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children .reveal:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children .reveal:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-children .reveal:nth-child(8) {
    transition-delay: 0.4s;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--green-primary), var(--green-vivid));
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--green-glow);
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== TIMELINE LIST ITEMS ===== */
.timeline-item ul {
    list-style: none;
    padding: 0;
}

.timeline-item li {
    position: relative;
    padding-left: var(--space-xl);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    transition: all var(--transition-base);
}

.timeline-item li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-primary);
    box-shadow: 0 0 6px var(--green-glow);
}

.timeline-item li:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}