@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
    --primary-blue: #24292E;
    --industrial-gray: #6A737D;
    --light-gray: #F6F8FA;
    --vibrant-orange: #F9826C;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --purple-500: #a855f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.font-geist-mono {
    font-family: monospace;
    letter-spacing: -0.025em;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--indigo-500);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--indigo-500);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    padding: 20px;
    background-color: #1f2937;
    border-radius: 6px;
    border: 1px solid #374151;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #374151;
    right: -10px;
    top: 15px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #374151;
    left: -10px;
    top: 15px;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 23px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after {
        content: '';
        border-right: 10px solid #374151;
        border-left: none;
        left: -10px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -10px;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Transitions */
.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
