/* Nikon SLM Build Optimizer Styles */

.slm-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Progress Bar */
.slm-progress-bar {
    background: #f0f0f0;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.slm-progress-fill {
    background: linear-gradient(90deg, #002855 0%, #C8102E 100%);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.slm-progress-steps {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: -20px;
    width: 100%;
    padding: 0 10px;
}

.slm-progress-steps .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    transition: all 0.3s ease;
}

.slm-progress-steps .step.active {
    border-color: #FF0000;
    color: #FF0000;
    background: #fff;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.slm-progress-steps .step.completed {
    border-color: #4CAF50;
    background: #4CAF50;
    color: #fff;
}

/* Stages */
.slm-stage {
    display: none;
    animation: fadeIn 0.5s ease;
}

.slm-stage.active {
    display: block;
}

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

.slm-stage h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.slm-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

/* Industry Cards */
.slm-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.slm-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slm-card:hover {
    border-color: #FF0000;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.15);
}

.slm-card.selected {
    border-color: #FF0000;
    background: #fff5f5;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.slm-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.slm-card h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.slm-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Component Select */
.slm-component-select {
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
}

.slm-select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.slm-select:focus {
    outline: none;
    border-color: #FF0000;
}

/* Buttons */
.slm-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 42px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slm-btn-primary {
    background: #ffe600 0%;
    color: #002855;
}

.slm-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.slm-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slm-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
}

.slm-btn-secondary:hover {
    background: #e8e8e8;
}

.slm-btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Comparison Stage */
.slm-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.slm-method {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
}

.slm-method.slm-highlight {
    border-color: #FF0000;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.slm-method h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.slm-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.timeline-step {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.timeline-step.active {
    opacity: 1;
    background: #115fb7;
    color: #fff;
    transform: scale(1.05);
}

.slm-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.metric .label {
    font-weight: 600;
    color: #666;
}

.metric .value {
    font-weight: 700;
    color: #1a1a1a;
}

.slm-animation-control {
    text-align: center;
}

/* Optimization Decisions */
.slm-score-display {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 12px;
}

.slm-score-display h3 {
    font-size: 28px;
    color: #FF0000;
}

.slm-decision-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.slm-decision {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
}

.slm-decision h4 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.slm-decision > p {
    color: #666;
    margin-bottom: 20px;
}

.slm-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slm-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slm-option:hover {
    background: #f0f0f0;
    border-color: #FF0000;
}

.slm-option input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.slm-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #FF0000;
}

.slm-option span {
    flex: 1;
    font-size: 16px;
}

/* Results Stage */
.slm-results-container {
    position: relative;
}

.slm-results-blur .blur {
    filter: blur(8px);
    user-select: none;
}

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

.slm-result-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.result-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.slm-result-card h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.result-value {
    font-size: 36px;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 10px;
}

.result-detail {
    font-size: 14px;
    color: #999;
}

/* Chart Placeholder */
.slm-chart-placeholder {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    height: 100%;
}

.bar {
    width: 60px;
    background: linear-gradient(180deg, #FF0000 0%, #C8102E 100%);
    border-radius: 8px 8px 0 0;
}

/* Lead Form Overlay */
.slm-lead-form-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 500px;
}

.slm-lead-form {
    background: #fff;
    border: 3px solid #FF0000;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.lock-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.slm-lead-form h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.slm-lead-form > p {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FF0000;
}

.form-benefits {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.form-benefits p {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
}

.form-privacy {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* Full Results */
.slm-success-message {
    background: #002855;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.slm-success-message h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.slm-final-score {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.slm-final-score h3 {
    font-size: 32px;
    color: #FF0000;
    margin-bottom: 10px;
}

.slm-final-score span {
    font-size: 48px;
}

.slm-cta-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    border-radius: 12px;
}

.slm-cta-section h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.slm-cta-section p {
    margin-bottom: 25px;
    font-size: 16px;
    opacity: 0.9;
}

/* Social Proof */
.slm-social-proof {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.slm-social-proof p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .slm-comparison {
        grid-template-columns: 1fr;
    }
    
    .slm-industry-grid {
        grid-template-columns: 1fr;
    }
    
    .slm-results-grid {
        grid-template-columns: 1fr;
    }
    
    .slm-lead-form-overlay {
        width: 95%;
    }
    
    .slm-lead-form {
        padding: 30px 20px;
    }
}