:root {
    --primary-deep: #0A1628;
    --secondary-deep: #1E3A5F;
    --accent-cyan: #00D4FF;
    --accent-teal: #20B2AA;
    --neutral-light: #F8FAFB;
    --neutral-gray: #A0AEC0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-deep);
    color: var(--neutral-light);
    overflow-x: hidden;
}

/* Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-blur {
    backdrop-filter: blur(20px);
    background: rgba(10, 22, 40, 0.9);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-teal));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 24px;
    height: 24px;
    background: var(--accent-cyan);
    border: 4px solid var(--primary-deep);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-marker:hover,
.timeline-marker.active {
    background: var(--accent-teal);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transform: translateX(-50%) scale(1.2);
}

.timeline-content {
    background: linear-gradient(135deg, var(--secondary-deep), rgba(30, 58, 95, 0.8));
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

/* Step Details */
.step-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-top: 1rem;
}

.step-details.expanded {
    max-height: 500px;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 2rem;
    }
    
    .timeline-marker {
        left: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: left;
    }
}