:root {
    --dark-teal: rgb(8, 54, 48);
    --light-bg: #f5f3ef;
    --orange: rgb(251, 77, 23);
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --border-light: #e0e0e0;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(135deg, var(--dark-teal) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.calculator-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.calculator-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-top: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--orange);
    width: 25%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

.form-container {
    padding: 40px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    color: var(--dark-teal);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(251, 77, 23, 0.1);
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-option {
    flex: 1;
    min-width: 200px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    background-color: var(--white);
}

.radio-option input[type="radio"]:checked + label {
    border-color: var(--orange);
    background-color: rgba(251, 77, 23, 0.05);
    color: var(--dark-teal);
    font-weight: 600;
}

.radio-option label:hover {
    border-color: var(--orange);
    transform: translateY(-1px);
}

.slider-container {
    margin-top: 15px;
}

.slider-wrapper {
    position: relative;
    margin: 20px 0;
}

.form-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(251, 77, 23, 0.3);
    transition: transform 0.2s ease;
}

.form-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.form-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(251, 77, 23, 0.3);
}

.slider-value {
    text-align: center;
    font-weight: 600;
    color: var(--orange);
    font-size: 1.2rem;
    margin-top: 10px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.btn {
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(251, 77, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 77, 23, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--light-bg);
    border-color: var(--orange);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.summary-container {
    display: none;
    padding: 40px;
}

.summary-container.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.summary-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-teal);
    text-align: center;
    font-weight: 700;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.summary-item {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.summary-section {
    margin: 25px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.summary-section h4 {
    color: var(--dark-teal);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.summary-list {
    list-style: none;
    padding: 0;
}

.summary-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.summary-list li:last-child {
    border-bottom: none;
}

.contact-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
}

.contact-summary h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-summary p {
    margin-bottom: 5px;
    opacity: 0.9;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.conditional-question {
    display: none;
}

.conditional-question.show {
    display: block;
}

.summary-steps {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: left;
}

.summary-steps h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.steps-list li:last-child {
    border-bottom: none;
}

.step-number {
    background: var(--orange);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        min-width: auto;
    }

    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .calculator-container {
        width: 90%;
        margin: 0 auto;
    }
} 