* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #008B8B 0%, #20B2AA 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #008B8B 0%, #20B2AA 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

header h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 400;
    opacity: 0.95;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.timeline-container {
    padding: 40px 30px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #008B8B 0%, #20B2AA 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.timeline-item.locked {
    opacity: 0.5;
    filter: grayscale(0.3);
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid #008B8B;
    box-shadow: 0 0 0 4px white;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker {
    background: #008B8B;
    border-color: #008B8B;
    box-shadow: 0 0 0 4px white, 0 0 0 8px rgba(0, 139, 139, 0.2);
    animation: pulse 2s infinite;
}

.timeline-item.locked .timeline-marker {
    background: #ccc;
    border-color: #ccc;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px white, 0 0 0 8px rgba(0, 139, 139, 0.2);
    }
    50% {
        box-shadow: 0 0 0 4px white, 0 0 0 12px rgba(0, 139, 139, 0.1);
    }
}

.timeline-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #008B8B;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item.active .timeline-content {
    border-left-color: #008B8B;
    box-shadow: 0 4px 20px rgba(0, 139, 139, 0.15);
}

.timeline-item.locked .timeline-content {
    border-left-color: #ccc;
    background: #f0f0f0;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-header h3 {
    font-size: 1.3em;
    color: #333;
    font-weight: 600;
}

.date-badge {
    background: linear-gradient(135deg, #008B8B 0%, #20B2AA 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-item.locked .date-badge {
    background: #ccc;
}

.timeline-body {
    color: #666;
}

.timeline-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95em;
}

.btn-primary {
    background: linear-gradient(135deg, #008B8B 0%, #20B2AA 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 139, 139, 0.4);
}

.btn-secondary {
    background: #4A4A4A;
    color: white;
}

.btn-secondary:hover {
    background: #3A3A3A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 74, 74, 0.4);
}

.timeline-item.locked .btn {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header h2 {
        font-size: 1.2em;
    }

    .timeline-container {
        padding: 30px 20px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -22px;
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .date-badge {
        font-size: 0.8em;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .timeline-content {
        padding: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

