:root {
    --primary: #3a86ff;
    --secondary: #ff006e;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), #5e60ce);
    --dark: #0c0c1d;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    /* background: linear-gradient(135deg, #1e293b 0%, #334155 100%); */
    background: var(--dark);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo-container {
    flex-shrink: 0;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

/* Custom Logo Styles */
.header-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.header-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 35px;
    height: 35px;
    margin-right: 2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.header-logo span {
    color: var(--secondary);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo span {
    color: var(--secondary);
    padding-left: 5px;
}

/* Image Logo (if uncommented) */
.logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: #1a1a1a;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
    position: relative;
}

/* Phase Styles */
.phase {
    position: relative;
    background: #d1d5db;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    animation: fadeInScale 0.6s ease-out forwards;
}

.phase:nth-child(1) { animation-delay: 0.1s; }
.phase:nth-child(2) { animation-delay: 0.2s; }
.phase:nth-child(3) { animation-delay: 0.3s; }
.phase:nth-child(4) { animation-delay: 0.4s; }
.phase:nth-child(5) { animation-delay: 0.5s; }
.phase:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.phase.active {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Phase Colors */
.phase[data-phase="1"].active {
    background: linear-gradient(135deg, #6b1f5c 0%, #8b2f7c 100%);
}

.phase[data-phase="2"].active {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
}

.phase[data-phase="3"].active {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.phase[data-phase="4"].active {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
}

.phase[data-phase="5"].active {
    background: linear-gradient(135deg, #0f4c5c 0%, #15677a 100%);
}

.phase[data-phase="6"].active {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
}

.phase[data-phase="7"].active {
    background: linear-gradient(135deg, #1dd45a 0%, #57a078 100%);
}

.phase-number {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #6b7280;
    transition: color 0.3s ease;
}

.phase.active .phase-number {
    color: rgba(255, 255, 255, 0.8);
}

.phase-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.phase.active .phase-icon {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.phase-icon svg {
    width: 40px;
    height: 40px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.phase.active .phase-icon svg {
    color: #1f2937;
}

.phase:hover .phase-icon svg {
    transform: rotate(5deg) scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.phase-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #4b5563;
    transition: color 0.3s ease;
}

.phase.active .phase-title {
    color: #ffffff;
}

.phase-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6b7280;
    transition: color 0.3s ease;
}

.phase.active .phase-description {
    color: rgba(255, 255, 255, 0.9);
}

.chevron {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 20px solid #d1d5db;
    transition: all 0.3s ease;
    z-index: 1;
}

.phase[data-phase="1"].active .chevron {
    border-top-color: #8b2f7c;
}

.phase[data-phase="2"].active .chevron {
    border-top-color: #b91c1c;
}

.phase[data-phase="3"].active .chevron {
    border-top-color: #f59e0b;
}

.phase[data-phase="4"].active .chevron {
    border-top-color: #fb923c;
}

.phase[data-phase="5"].active .chevron {
    border-top-color: #15677a;
}

.phase[data-phase="6"].active .chevron {
    border-top-color: #64748b;
}

.phase[data-phase="7"].active .chevron {
    border-top-color: #57a078;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 40px 20px;
    animation: fadeIn 1s ease-out 0.7s both;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(to right, 
        #8b2f7c 0%, #8b2f7c 16.66%,
        #b91c1c 16.66%, #b91c1c 33.33%,
        #f59e0b 33.33%, #f59e0b 50%,
        #d1d5db 50%, #d1d5db 66.66%,
        #d1d5db 66.66%, #d1d5db 83.33%,
        #d1d5db 83.33%, #d1d5db 100%
    );
    transition: all 0.5s ease;
    border-radius: 2px;
}

.timeline-dots {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: #d1d5db;
    border: 4px solid #f5f7fa;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.timeline-dot.active {
    background: #1f2937;
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(31, 41, 55, 0.2);
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1.3);
    }
}

.timeline-dot:hover {
    transform: scale(1.4);
}

.timeline-dot.active:hover {
    transform: scale(1.5);
}

.timeline-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.timeline-dot.active .timeline-label {
    color: #1f2937;
    font-weight: 700;
}

/* Controls */
.controls {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.controls h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1f2937;
    text-align: center;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.button-group:last-child {
    margin-bottom: 0;
}

button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    /* background: linear-gradient(135deg, #1e293b 0%, #334155 100%); */
    background: var(--dark);
    color: #e2e8f0;
    padding: 50px 0 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section p {
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 8px;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px) rotate(5deg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    text-align: center;
    color: #94a3b8;
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ========================================
   RESPONSIVE MEDIA QUERIES UNIFICADOS
   ======================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    /* Header */
    .header-container {
        padding: 0 40px;
    }
    
    .nav-menu {
        gap: 40px;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: repeat(7, 1fr);
        gap: 25px;
        margin-bottom: 100px;
    }
    
    .phase {
        padding: 35px 25px;
    }
    
    .phase-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }
    
    .phase-icon svg {
        width: 45px;
        height: 45px;
    }
    
    .phase-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .phase-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .phase-number {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    /* Timeline */
    .timeline-container {
        max-width: 1300px;
        padding: 50px 30px;
        margin-bottom: 80px;
    }
    
    .timeline-line {
        height: 5px;
        left: 4%;
        right: 4%;
    }
    
    .timeline-dot {
        width: 28px;
        height: 28px;
        border-width: 5px;
    }
    
    .timeline-dot.active {
        transform: scale(1.4);
        box-shadow: 0 0 0 8px rgba(31, 41, 55, 0.2);
    }
    
    .timeline-dot:hover {
        transform: scale(1.5);
    }
    
    .timeline-label {
        top: 45px;
        font-size: 0.95rem;
        font-weight: 700;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    /* Header */
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        margin-bottom: 90px;
    }
    
    .phase {
        padding: 32px 22px;
    }
    
    .phase-icon {
        width: 85px;
        height: 85px;
        margin-bottom: 22px;
    }
    
    .phase-icon svg {
        width: 42px;
        height: 42px;
    }
    
    .phase-title {
        font-size: 1.25rem;
        margin-bottom: 14px;
    }
    
    .phase-description {
        font-size: 0.95rem;
    }
    
    /* Timeline */
    .timeline-container {
        max-width: 1150px;
        padding: 45px 25px;
        margin-bottom: 70px;
    }
    
    .timeline-line {
        height: 4px;
        left: 4.5%;
        right: 4.5%;
    }
    
    .timeline-dot {
        width: 26px;
        height: 26px;
        border-width: 4px;
    }
    
    .timeline-dot.active {
        transform: scale(1.35);
        box-shadow: 0 0 0 7px rgba(31, 41, 55, 0.2);
    }
    
    .timeline-label {
        top: 42px;
        font-size: 0.9rem;
    }
}

/* Laptop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    /* Header */
    .header-container {
        padding: 0 25px;
        min-height: 75px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 8px 14px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 80px;
    }
    
    .phase {
        padding: 28px 20px;
        border-radius: 18px;
    }
    
    .phase-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 18px;
    }
    
    .phase-icon svg {
        width: 38px;
        height: 38px;
    }
    
    .phase-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .phase-description {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    
    .phase-number {
        font-size: 0.85rem;
    }
    
    /* Timeline */
    .timeline-container {
        max-width: 1000px;
        padding: 40px 20px;
        margin-bottom: 65px;
    }
    
    .timeline-line {
        height: 4px;
        left: 5%;
        right: 5%;
    }
    
    .timeline-dot {
        width: 24px;
        height: 24px;
        border-width: 4px;
    }
    
    .timeline-dot.active {
        transform: scale(1.3);
        box-shadow: 0 0 0 6px rgba(31, 41, 55, 0.2);
    }
    
    .timeline-dot:hover {
        transform: scale(1.4);
    }
    
    .timeline-label {
        top: 40px;
        font-size: 0.88rem;
    }
}

/* Tablet Landscape (900px - 1023px) */
@media (max-width: 1023px) and (min-width: 900px) {
    /* Header */
    .header-container {
        padding: 0 20px;
        min-height: 70px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 7px 12px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 70px;
    }
    
    .phase {
        padding: 25px 18px;
        border-radius: 16px;
    }
    
    .phase-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }
    
    .phase-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .phase-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .phase-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .chevron {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 18px solid #d1d5db;
    }
    
    /* Timeline */
    .timeline-container {
        max-width: 850px;
        padding: 38px 18px;
        margin-bottom: 60px;
    }
    
    .timeline-line {
        height: 4px;
        left: 5%;
        right: 5%;
    }
    
    .timeline-dot {
        width: 22px;
        height: 22px;
        border-width: 3px;
    }
    
    .timeline-dot.active {
        transform: scale(1.3);
        box-shadow: 0 0 0 6px rgba(31, 41, 55, 0.18);
    }
    
    .timeline-label {
        top: 38px;
        font-size: 0.85rem;
    }
}

/* Tablet Portrait (768px - 899px) */
@media (max-width: 899px) and (min-width: 768px) {
    /* Header */
    .header-container {
        padding: 15px 20px;
        min-height: 65px;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    /* General */
    .main-title {
        font-size: 2.2rem;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-bottom: 60px;
    }
    
    .phase {
        padding: 22px 16px;
        border-radius: 15px;
    }
    
    .phase-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .phase-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .phase-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    
    .phase-description {
        font-size: 0.82rem;
        line-height: 1.4;
    }
    
    .phase-number {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    /* Timeline */
    .timeline-container {
        max-width: 720px;
        padding: 35px 15px;
        margin-bottom: 55px;
    }
    
    .timeline-line {
        height: 3px;
        left: 5%;
        right: 5%;
    }
    
    .timeline-dot {
        width: 20px;
        height: 20px;
        border-width: 3px;
    }
    
    .timeline-dot.active {
        transform: scale(1.25);
        box-shadow: 0 0 0 5px rgba(31, 41, 55, 0.18);
    }
    
    .timeline-dot:hover {
        transform: scale(1.35);
    }
    
    .timeline-label {
        top: 36px;
        font-size: 0.82rem;
    }
}

/* Mobile Large (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    /* Header */
    .header {
        width: 98vh;
    }

    .header-container {
        flex-direction: column;
        padding: 12px 15px;
        gap: 12px;
        min-height: auto;
    }
    
    .logo-container {
        width: 100%;
        text-align: center;
    }
    
    .header-logo {
        justify-content: center;
        text-decoration: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
    
    /* General */
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
        letter-spacing: 1px;
    }
    
    .container {
        padding: 20px 15px;
        position: relative;
    }
    
    /* Roadmap - Layout vertical con timeline lateral */
    .roadmap {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 40px;
        padding-right: 90px;
        position: relative;
        /* margin-right: 50px; */
    }
    
    .phase {
        padding: 20px 16px;
        margin-bottom: 45px;
        border-radius: 16px;
    }
    
    .phase:last-child {
        margin-bottom: 0;
    }
    
    .phase-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 16px;
    }
    
    .phase-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .phase-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    
    .phase-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .phase-number {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .chevron {
        display: none;
    }
    
    /* Timeline - Vertical al lado derecho */
    .timeline-container {
        position: absolute;
        right: -90px;
        /* right: -45px; */
        top: 0;
        width: 75px;
        height: 100%;
        padding: 0;
        margin: 0;
        /* margin: 30px; */
    }
    
    .timeline-dots {
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }
    
    .timeline-line {
        left: 50%;
        right: auto;
        width: 3px;
        height: calc(100% - 24px);
        top: 12px;
        transform: translateX(-50%);
        background: linear-gradient(to bottom, 
            #8b2f7c 0%, #8b2f7c 16.66%,
            #b91c1c 16.66%, #b91c1c 33.33%,
            #f59e0b 33.33%, #f59e0b 50%,
            #d1d5db 50%, #d1d5db 66.66%,
            #d1d5db 66.66%, #d1d5db 83.33%,
            #d1d5db 83.33%, #d1d5db 100%
        );
    }
    
    .timeline-dot {
        width: 20px;
        height: 20px;
        border-width: 3px;
    }
    
    .timeline-dot.active {
        transform: scale(1.25);
        box-shadow: 0 0 0 5px rgba(31, 41, 55, 0.2);
    }
    
    .timeline-dot:hover {
        transform: scale(1.35);
    }
    
    .timeline-label {
        left: auto;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
    }
    
    /* Controls */
    .controls {
        padding: 20px 15px;
    }
    
    .controls h3 {
        font-size: 1.2rem;
    }
    
    button {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 30px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
}

/* Mobile Medium (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    /* Header */
    .header-container {
        flex-direction: column;
        padding: 10px 12px;
        gap: 10px;
        min-height: auto;
    }
    
    .logo-container {
        width: 100%;
        text-align: center;
    }
    
    .header-logo {
        justify-content: center;
        gap: 10px;
        text-decoration: none;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    
    .nav-menu {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* General */
    .main-title {
        font-size: 1.3rem;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 40px;
        padding-right: 85px;
        position: relative;
    }
    
    .phase {
        padding: 18px 14px;
        margin-bottom: 42px;
        border-radius: 14px;
    }
    
    .phase:last-child {
        margin-bottom: 0;
    }
    
    .phase-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 14px;
    }
    
    .phase-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .phase-title {
        font-size: 1rem;
        margin-bottom: 9px;
    }
    
    .phase-description {
        font-size: 0.82rem;
        line-height: 1.45;
    }
    
    .phase-number {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .chevron {
        display: none;
    }
    
    /* Timeline */
    .timeline-container {
        position: absolute;
        right: -85px;
        top: 0;
        width: 70px;
        height: 100%;
        padding: 0;
        margin: 0;
    }
    
    .timeline-dots {
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        padding: 10px 0;
    }
    
    .timeline-line {
        left: 50%;
        right: auto;
        width: 3px;
        height: calc(100% - 20px);
        top: 10px;
        transform: translateX(-50%);
        background: linear-gradient(to bottom, 
            #8b2f7c 0%, #8b2f7c 16.66%,
            #b91c1c 16.66%, #b91c1c 33.33%,
            #f59e0b 33.33%, #f59e0b 50%,
            #d1d5db 50%, #d1d5db 66.66%,
            #d1d5db 66.66%, #d1d5db 83.33%,
            #d1d5db 83.33%, #d1d5db 100%
        );
    }
    
    .timeline-dot {
        width: 18px;
        height: 18px;
        border-width: 3px;
    }
    
    .timeline-dot.active {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(31, 41, 55, 0.2);
    }
    
    .timeline-dot:hover {
        transform: scale(1.3);
    }
    
    .timeline-label {
        left: auto;
        right: 28px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.72rem;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    /* Header */
    .header-container {
        flex-direction: column;
        padding: 8px 10px;
        gap: 8px;
        min-height: auto;
    }
    
    .logo-container {
        width: 100%;
        text-align: center;
    }
    
    .header-logo {
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .nav-menu {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    /* General */
    .main-title {
        font-size: 1.3rem;
    }
    
    /* Roadmap */
    .roadmap {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 35px;
        padding-right: 75px;
        position: relative;
    }
    
    .phase {
        padding: 16px 12px;
        margin-bottom: 38px;
        border-radius: 12px;
    }
    
    .phase:last-child {
        margin-bottom: 0;
    }
    
    .phase-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
        border-width: 2px;
    }
    
    .phase-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .phase-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .phase-description {
        font-size: 0.78rem;
        line-height: 1.4;
    }
    
    .phase-number {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    
    .chevron {
        display: none;
    }
    
    .phase.active {
        transform: translateY(-3px);
    }
    
    /* Timeline */
    .timeline-container {
        position: absolute;
        right: -75px;
        top: 0;
        width: 65px;
        height: 100%;
        padding: 0;
        margin: 0;
    }
    
    .timeline-dots {
        flex-direction: column;
        /* height: 100%; */
        height: 218vh;
        justify-content: space-between;
        /* padding: 8px 0; */
        padding: 200px 0;
        margin-right: 100px;
    }
    
    .timeline-line {
        left: 50%;
        right: auto;
        width: 2px;
        height: calc(100% - 16px);
        top: 8px;
        transform: translateX(-50%);
        background: linear-gradient(to bottom, 
            #8b2f7c 0%, #8b2f7c 16.66%,
            #b91c1c 16.66%, #b91c1c 33.33%,
            #f59e0b 33.33%, #f59e0b 50%,
            #d1d5db 50%, #d1d5db 66.66%,
            #d1d5db 66.66%, #d1d5db 83.33%,
            #d1d5db 83.33%, #d1d5db 100%
        );
    }
    
    .timeline-dot {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    
    .timeline-dot.active {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(31, 41, 55, 0.18);
    }
    
    .timeline-dot:hover {
        transform: scale(1.3);
    }
    
    .timeline-label {
        left: auto;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.68rem;
        font-weight: 600;
    }
}

/* Extra Small Mobile (< 320px) */
@media (max-width: 319px) {
    /* Roadmap */
    .roadmap {
        padding-right: 70px;
        margin-bottom: 30px;
    }
    
    .phase {
        padding: 14px 10px;
        margin-bottom: 35px;
        border-radius: 10px;
    }
    
    .phase-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .phase-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .phase-title {
        font-size: 0.9rem;
        margin-bottom: 7px;
    }
    
    .phase-description {
        font-size: 0.75rem;
        line-height: 1.35;
    }
    
    .phase-number {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    /* Timeline */
    .timeline-container {
        position: absolute;
        right: -70px;
        top: 0;
        width: 60px;
        height: 100%;
        padding: 0;
        margin: 0;
    }
    
    .timeline-dots {
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        padding: 6px 0;
    }
    
    .timeline-line {
        left: 50%;
        width: 2px;
        height: calc(100% - 12px);
        top: 6px;
        transform: translateX(-50%);
    }
    
    .timeline-dot {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
    
    .timeline-dot.active {
        transform: scale(1.15);
        box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.15);
    }
    
    .timeline-label {
        right: 20px;
        font-size: 0.65rem;
    }
}