/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Progress Bar */
.progress-bar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.step-number.active {
    background: #667eea;
    color: white;
}

.step-number.inactive {
    background: #e2e8f0;
    color: #64748b;
}

.step-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.step-info p {
    font-size: 0.9rem;
    color: #64748b;
}

.step-connector {
    height: 2px;
    background: #e2e8f0;
    flex: 1;
    margin: 0 20px;
    transition: background 0.3s ease;
}

.step-connector.active {
    background: #667eea;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.content-title {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1e293b;
}

.icon {
    width: 32px;
    height: 32px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.option-card:hover {
    border-color: #667eea;
    background: #f8faff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.option-card.selected {
    border-color: #667eea;
    background: #f0f4ff;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.option-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 8px;
}

.option-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.option-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    color: #64748b;
}

.detail-value {
    font-weight: 600;
}

/* Skills */
.skills-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.skills-title {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #475569;
}

.skills-display {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Results Section */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.career-title-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.career-title-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.career-title-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-3px);
}

.result-card.salary {
    background: linear-gradient(135deg, #10b981, #059669);
}

.result-card.growth {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.result-card.satisfaction {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.result-card.time {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.result-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Investment Analysis */
.investment-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.investment-card,
.advancement-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
}

.investment-card h4,
.advancement-card h4 {
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 1.1rem;
}

.investment-details {
    display: grid;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
}

.detail-row span:first-child {
    color: #64748b;
}

.detail-row span:last-child {
    font-weight: bold;
}

.advancement-card p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #64748b;
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 116, 139, 0.3);
}

/* Comparison Section */
.comparison-section {
    margin-top: 40px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.comparison-section h3 {
    margin-bottom: 25px;
    color: #1e293b;
    font-size: 1.3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.comparison-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    background: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Demand Bar */
.demand-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.demand-fill {
    height: 100%;
    background: #667eea;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Utility Classes */
.hidden {
    display: none;
}

.animate-in {
    animation: slideIn 0.5s ease-out;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .investment-analysis {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .step-connector {
        display: none;
    }
    
    .results-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .option-card {
        padding: 15px;
    }
    
    .option-details {
        grid-template-columns: 1fr;
    }
}