:root {
    --primary: #4338ca;
    --secondary: #1e293b;
    --background-light: #F8F9FA;
    --accent-cyan: #06b6d4;
    --accent-purple: #7c3aed;
}

body {
    background-color: var(--background-light);
    color: var(--secondary);
    scroll-behavior: smooth;
    min-height: 100vh;
}

.mesh-bg {
    background-size: 24px 24px;
}

.glow-orb {
    filter: blur(80px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.text-gradient {
    color: var(--primary);
    /* Fallback */
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-line {
    background: linear-gradient(to bottom, #e0e7ff, #6366f1, #e0e7ff);
}

.map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #4338ca;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
}

.map-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(67, 56, 202, 0.2), transparent);
    height: 1px;
}

/* Soft Animation Support */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal {
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fallback for users with reduced motion or if JS fails (optional but safe) */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Stagger delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}