/* Vision Page Specific Styles */

/* Vision Header */
.vision-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #6366f1, #7c3aed, #00CFFF);
    color: white;
    text-align: center;
}

.vision-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.vision-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Roadmap Section */
.roadmap-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

/* Roadmap Timeline Line */
.roadmap-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #6366f1, #7c3aed, #00CFFF);
    border-radius: 2px;
}

/* Phase Cards */
.phase-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 100px;
}

.phase-card::before {
    content: '';
    position: absolute;
    left: -58px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366f1;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #6366f1;
}

.phase-card.current::before {
    background: var(--accent-cyan);
    box-shadow: 0 0 0 2px var(--accent-cyan), 0 0 20px rgba(0, 207, 255, 0.5);
    animation: pulse 2s infinite;
}

.phase-card.locked::before {
    background: #9ca3af;
    box-shadow: 0 0 0 2px #9ca3af;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.phase-card.locked:hover {
    transform: translateY(-2px);
}

/* Phase Header */
.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.phase-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
}

.phase-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.phase-card.unlocked .phase-status {
    background: #d1fae5;
    color: #065f46;
}

.phase-card.current .phase-status {
    background: linear-gradient(90deg, #00CFFF, #6366f1);
    color: white;
}

.phase-card.locked .phase-status {
    background: #f3f4f6;
    color: #6b7280;
}

/* Phase Content */
.phase-content {
    padding: 2rem;
}

.phase-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.phase-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.phase-features {
    list-style: none;
    margin-bottom: 2rem;
}

.phase-features li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.phase-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--primary-gradient);
}

/* Feature Sections */
.feature-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
}

.feature-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #6366f1;
}

/* Code Example */
.code-example {
    background: var(--dark-bg);
    color: #00ff00;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-example code {
    color: #00CFFF;
}

/* Zero Markup Highlight */
.zero-markup-highlight {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.zero-markup-highlight h4 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.zero-markup-highlight p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* Progress Bar */
.phase-progress {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Locked Content */
.locked-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-md);
    filter: blur(1px);
    transition: filter 0.3s ease;
}

.phase-card.locked .locked-content {
    filter: blur(2px);
    opacity: 0.7;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.unlock-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
}

/* Unlock Modal */
.unlock-form {
    text-align: center;
    padding: 2rem;
}

.unlock-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.unlock-form input {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.unlock-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.unlock-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.unlock-message.success {
    color: #059669;
}

.unlock-message.error {
    color: #dc2626;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Unlocked Phase Animation */
.phase-card.unlocked-animation {
    animation: unlockAnimation 1s ease-out;
}

@keyframes unlockAnimation {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
        filter: blur(5px);
    }
    50% {
        transform: scale(1.02);
        filter: blur(2px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .roadmap-container::before {
        left: 20px;
    }
    
    .phase-card {
        margin-left: 60px;
    }
    
    .phase-card::before {
        left: -35px;
    }
    
    .phase-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .phase-content {
        padding: 1.5rem;
    }
    
    .feature-section {
        padding: 1rem;
    }
    
    .code-example {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .phase-card {
        margin-left: 40px;
    }
    
    .phase-card::before {
        left: -25px;
        width: 15px;
        height: 15px;
    }
    
    .phase-content {
        padding: 1rem;
    }
    
    .phase-title {
        font-size: 1.5rem;
    }
    
    .zero-markup-highlight {
        padding: 1.5rem;
    }
}