/* Smart Navigation System */
.smart-navigation {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-navigation:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%) translateY(-2px);
}

.nav-line {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-dot::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot:hover {
    background: #bfdbfe;
    border-color: #3b82f6;
    transform: scale(1.2);
}

.nav-dot:hover::before {
    background: #3b82f6;
}

.nav-dot.active {
    background: #2563eb;
    border-color: #2563eb;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.nav-dot.active::before {
    background: white;
}

.nav-connection {
    width: 20px;
    height: 2px;
    background: #e2e8f0;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-connection.completed {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
}

/* Navigation Tooltip */
.nav-dot {
    position: relative;
}

.nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 41, 59, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1001;
}

.nav-dot:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .smart-navigation {
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 40px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .nav-dot::before {
        width: 4px;
        height: 4px;
    }
    
    .nav-connection {
        width: 15px;
        height: 1.5px;
    }
    
    .nav-dot::after {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .smart-navigation {
        padding: 0.5rem 1rem;
        border-radius: 30px;
        bottom: 0.5rem;
    }
    
    .nav-dot {
        width: 8px;
        height: 8px;
    }
    
    .nav-dot::before {
        width: 3px;
        height: 3px;
    }
    
    .nav-connection {
        width: 12px;
        height: 1px;
    }
}

/* Animation for page transitions */
@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.smart-navigation {
    animation: navFadeIn 0.6s ease-out 0.5s both;
}

/* Progress indicator */
.nav-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 50px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.1;
    z-index: 0;
} 