:root {
    --bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text: #ffffff;
    --secondary: #86868b;
    --accent: #0071e3;
    --accent-glow: rgba(0, 113, 227, 0.3);
    --line: rgba(255, 255, 255, 0.1);
    --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
    --status-done: #32d74b;
    --status-process: #ff9f0a;
    --status-frozen: #0aceff;
    --status-planned: #8e8e93;
}

* {
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    margin: 0;
    overflow: hidden;
}

.bg-glow {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 90px;
}

.glass-nav {
    position: relative;
    top: 0;
    width: 100%;
    padding: 30px 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo { font-size: 1.2rem; font-weight: 700; letter-spacing: -1px; }

.status {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.pulse {
    width: 8px; height: 8px;
    background: #32d74b;
    border-radius: 50%;
    box-shadow: 0 0 10px #32d74b;
    animation: blink 2s infinite;
}

header { padding: 0 8vw; margin-bottom: 50px; }
h1 { font-size: 3.5rem; font-weight: 800; margin: 10px 0; letter-spacing: -0.04em; }
header p { color: var(--secondary); max-width: 450px; font-size: 1.1rem; line-height: 1.5; }

.roadmap-viewport {
    overflow-x: auto;
    padding: 100px 8vw;
    cursor: grab;
    scrollbar-width: none;
}
.roadmap-viewport::-webkit-scrollbar { display: none; }

.roadmap-track {
    display: flex;
    position: relative;
    min-width: max-content;
    padding-top: 2px;
}

.roadmap-track::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--line) 30%);
}

.step {
    width: 380px;
    margin-right: 120px;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step::after {
    content: '';
    position: absolute;
    top: -8px; left: 0;
    width: 15px; height: 15px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--accent);
}

.step-date {
    display: block;
    margin: 25px 0 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.step-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: 0.4s;
}

.step:hover .step-content {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-10px);
}

.step-title { font-size: 1.8rem; margin: 0 0 15px; letter-spacing: -0.02em; }
.step-desc { color: var(--secondary); font-size: 1.05rem; line-height: 1.6; margin: 0; }

@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.step { animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.badge-done { background: rgba(50, 215, 75, 0.15); color: var(--status-done); }
.badge-process { background: rgba(255, 159, 10, 0.15); color: var(--status-process); }
.badge-frozen { background: rgba(10, 124, 255, 0.15); color: var(--status-frozen); }
.badge-planned { background: rgba(142, 142, 147, 0.15); color: var(--status-planned); }

.step[data-status="done"]::after {
    background: var(--status-done);
    box-shadow: 0 0 15px var(--status-done);
    border: none;
}

.step[data-status="process"]::after {
    background: var(--status-process);
    box-shadow: 0 0 15px var(--status-process);
    border: none;
}
.step[data-status="frozen"]::after {
    background: var(--status-frozen);
    box-shadow: 0 0 15px var(--status-frozen);
    border: none;
}

.step[data-status="planned"]::after {
    background: var(--bg);
    border: 2px solid var(--line);
    box-shadow: none;
}

@media (max-width: 768px) {

    :root {
        --bg: #1f1f1f;
    }

    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container {
        height: auto;
        padding: 0 0 40px 0;
    }

    header {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 2rem;
    }

    .roadmap-viewport {
        padding: 20px 20px 20px 45px;
        width: 100%;
        overflow: visible;
    }

    .roadmap-track {
        flex-direction: column;
        min-width: auto;
    }

    .roadmap-track::before {
        top: 0;
        left: -20px;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--accent), var(--line) 90%);
    }

    .step {
        width: 100%;
        max-width: calc(100vw - 80px);
        margin-right: 0;
        margin-bottom: 35px;
        padding-top: 0;
    }

    .step::after {
        top: 5px;
        left: -31px;
        width: 24px;
        height: 24px;
        border-width: 4px;
        background: var(--bg);
        z-index: 5;
    }

    .step-content {
        padding: 20px;
        border-radius: 20px;
        width: 100%;
    }

    .step-title {
        font-size: 1.3rem;
        word-wrap: break-word;
    }

    .step-desc {
        font-size: 0.95rem;
    }
}