/**
 * Neutrava Site Calculator - Premium Design
 * Begeisterndes UI mit Vertrauensaufbau und Lock-In
 */

.neutrava-site-calculator {
    max-width: 900px;
    margin: 40px auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.neutrava-site-calculator.loaded {
    opacity: 1;
    transform: translateY(0);
}

.nsc-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nsc-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.nsc-card > p {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.nsc-row {
    margin-bottom: 28px;
}

.nsc-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.nsc-toggle {
    display: flex;
    gap: 12px;
    background: #f0f0f0;
    padding: 6px;
    border-radius: 12px;
}

.nsc-mode {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nsc-mode:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #333;
}

.nsc-mode.active {
    background: #fff;
    color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nsc-input-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.nsc-input {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 4px 20px;
    transition: all 0.3s ease;
}

.nsc-input:focus-within {
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.nsc-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 12px 0;
}

.nsc-unit {
    font-size: 18px;
    font-weight: 600;
    color: #999;
}

#nsc_power_slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #e0e0e0 0%, #0066cc 50%, #00cc66 100%);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 12px 0;
}

#nsc_power_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0066cc;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4);
    transition: all 0.2s ease;
}

#nsc_power_slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.6);
}

#nsc_power_slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0066cc;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4);
}

.nsc-hint {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.nsc-hint.ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.nsc-hint.bad {
    background: #fff3e0;
    color: #e65100;
}

.nsc-results {
    display: none;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.nsc-results.loading {
    opacity: 0.5;
    pointer-events: none;
}

.nsc-results.show {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nsc-badges {
    margin-bottom: 24px;
}

.nsc-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nsc-badge.ok {
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
}

.nsc-badge.bad {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.3);
}

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

.nsc-metric {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
}

.nsc-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.3);
}

.nsc-metric-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nsc-metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

#nsc_owner_models {
    display: none;
    margin: 32px 0;
}

#nsc_owner_models h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.nsc-model {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.nsc-model:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1);
    transform: translateX(4px);
}

.nsc-model.highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
    border-color: #ffc107;
}

.nsc-model-icon {
    font-size: 32px;
    line-height: 1;
}

.nsc-model-content {
    flex: 1;
}

.nsc-model-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.nsc-model-value {
    font-size: 20px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 4px;
}

.nsc-model-desc {
    font-size: 13px;
    color: #666;
}

.nsc-model-hint {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.nsc-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.nsc-invest-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.nsc-detail-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nsc-detail-item {
    text-align: center;
}

.nsc-detail-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nsc-detail-value {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
}

.nsc-disclaimer {
    background: #fff3e0;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 24px 0;
}

.nsc-disclaimer strong {
    color: #e65100;
    display: block;
    margin-bottom: 4px;
}

.nsc-disclaimer-custom {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid #0066cc;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 24px 0;
}

.nsc-lead {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 32px;
    border-radius: 16px;
    margin-top: 32px;
    border: 2px solid #e0e0e0;
    transition: all 0.4s ease;
}

.nsc-lead.pulse-once {
    animation: pulse 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        border-color: #e0e0e0;
    }
    50% {
        transform: scale(1.02);
        border-color: #0066cc;
        box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
    }
}

.nsc-lead h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.nsc-lead > p {
    font-size: 15px;
    color: #666;
    margin: 0 0 24px 0;
}

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

.neutrava-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.neutrava-form input,
.neutrava-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-family: inherit;
}

.neutrava-form input:focus,
.neutrava-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.neutrava-button {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.neutrava-button.primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.neutrava-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.neutrava-button.primary:active {
    transform: translateY(0);
}

.neutrava-button.primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.nsc-lead-msg {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    animation: slideInUp 0.4s ease;
}

.nsc-lead-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.nsc-lead-msg.error {
    background: #ffebee;
    color: #c62828;
    border: 2px solid #f44336;
}

@media (max-width: 768px) {
    .nsc-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .nsc-card h2 {
        font-size: 24px;
    }
    
    .nsc-toggle {
        flex-direction: column;
        gap: 8px;
    }
    
    .nsc-input input {
        font-size: 24px;
    }
    
    .nsc-metrics {
        grid-template-columns: 1fr;
    }
    
    .nsc-detail-row {
        grid-template-columns: 1fr;
    }
    
    .nsc-metric-value {
        font-size: 24px;
    }
    
    .nsc-lead {
        padding: 24px;
    }
}

.nsc-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.nsc-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.nsc-trust-badge::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}
