@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/Vazir.woff2') format('woff2'),
         url('../assets/fonts/Vazir.woff') format('woff'),
         url('../assets/fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
  
:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #00ff88;
    --primary-glow: rgba(0, 255, 136, 0.2);
    --accent: #7000ff;
    --text-main: #ffffff;
    --text-secondary: #b0b0b0;
    --danger: #ff2a6d;
    --warning: #ffc107;
    --font-main: 'Vazir', sans-serif;
}
  
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
  
body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.8;
    overflow-x: hidden;
}
  
.main-header {
    background: linear-gradient(180deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0) 100%);
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
}
  
.header-content h1 {
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 15px;
    text-shadow: 0 0 30px var(--primary-glow);
    letter-spacing: -1px;
}
  
.subtitle {
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    background: rgba(0, 255, 136, 0.05);
}
  
.scroll-indicator {
    margin-top: 40px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}
  
.scroll-indicator span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
  
.mouse-icon {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}
  
.mouse-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}
  
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
  
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 40px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 2px;
    background: var(--card-border);
    transform: translateX(50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 60px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-right: 50%;
}

.timeline-item:nth-child(odd) {
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 4px solid var(--text-secondary);
    border-radius: 50%;
    top: 0;
    right: -10px;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-item.completed .timeline-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-item.active .timeline-dot {
    border-color: var(--warning);
    background: var(--warning);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
    animation: pulse 2s infinite;
}

.timeline-date {
    position: absolute;
    top: -5px;
    width: 150px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-secondary);
    padding: 5px 10px;
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -170px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -170px;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.timeline-content.highlight {
    border-color: rgba(255, 193, 7, 0.3);
    background: linear-gradient(145deg, rgba(20,20,20,0.8), rgba(40,30,10,0.4));
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.timeline-content.highlight h3 {
    color: var(--warning);
}

.timeline-content ul {
    list-style: none;
    padding-right: 0;
}

.timeline-content li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-size: 20px;
    line-height: 1.2;
}

.timeline-content.highlight li::before {
    color: var(--warning);
}

.final-note {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.1), transparent);
    border-right: 4px solid var(--primary);
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
  
.note-icon {
    font-size: 30px;
    background: rgba(0, 255, 136, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.final-note h3 {
    color: var(--primary);
    margin-bottom: 10px;
}
  
.final-note p {
    color: var(--text-secondary);
    font-size: 14px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}
  
@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

@media (max-width: 768px) {
    .header-content h1 { font-size: 26px; }
    
    .timeline::before {
        right: 30px;
    }
    
    .timeline-item {
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        justify-content: flex-start;
        padding-right: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot {
        right: 20px;
        left: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-date,
    .timeline-item:nth-child(odd) .timeline-date {
        right: auto;
        left: auto;
        top: -35px;
        right: 20px;
        width: auto;
        font-size: 12px;
    }
    
    .final-note { flex-direction: column; align-items: center; text-align: center; }
    .note-icon { margin-bottom: 15px; }
}