/* Funnel / Multi-step Form Styles */

.funnel-section {
    padding: 120px 0 60px; /* Top padding to account for fixed header */
    background-color: #f5f8fb;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.funnel-container {
    background: #ffffff;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(4, 30, 66, 0.1);
    overflow: hidden;
    position: relative;
}

/* Progress Bar */
.progress-container {
    background-color: #e6edf7;
    height: 6px;
    width: 100%;
    position: relative;
}

.progress-bar {
    background-color: #00a8a5;
    height: 100%;
    width: 0%;
    transition: width 0.4s ease;
}

/* Form Steps */
.form-step {
    display: none; /* Hidden by default */
    padding: 2.5rem;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

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

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h2 {
    color: #041e42;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: #3a4a6b;
    font-size: 1rem;
}

/* Input Styles */
.funnel-group {
    margin-bottom: 1.5rem;
}

.funnel-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #041e42;
}

.funnel-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e6edf7;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.funnel-input:focus {
    border-color: #00a8a5;
    outline: none;
}

/* Radio Cards (Selection Options) */
.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-label {
    display: block;
    padding: 1.25rem;
    background-color: #ffffff;
    border: 2px solid #e6edf7;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: #3a4a6b;
}

.radio-option input[type="radio"]:checked + .radio-label {
    border-color: #00a8a5;
    background-color: #e6fffe;
    color: #008b86;
    box-shadow: 0 4px 12px rgba(0, 168, 165, 0.15);
}

.radio-option input[type="radio"]:focus + .radio-label {
    border-color: #00a8a5; /* Focus state for accessibility */
}

/* Thumbs Options (New) */
.thumbs-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.thumbs-label {
    display: block;
    padding: 1.5rem;
    width: 120px;
    background-color: #ffffff;
    border: 2px solid #e6edf7;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #3a4a6b;
}

.thumbs-options input[type="radio"] {
    display: none; /* Hide default radio */
}

.thumbs-options input[type="radio"]:checked + .thumbs-label {
    border-color: #00a8a5;
    background-color: #e6fffe;
    color: #008b86;
    box-shadow: 0 4px 12px rgba(0, 168, 165, 0.15);
    transform: translateY(-2px);
}

/* Helper for text center */
.text-center {
    text-align: center;
}

/* Navigation Buttons */
.funnel-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f4f8;
}

.btn-back {
    background: transparent;
    border: none;
    color: #3a4a6b;
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #041e42;
}

.btn-next {
    background-color: #00a8a5;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-next:hover {
    background-color: #008b86;
}

.btn-next:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Disclaimer Styles */
.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #7a8a9b;
    text-align: center;
    line-height: 1.4;
}

.form-disclaimer a {
    color: #00a8a5;
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* Summary confirmation styles */
.summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fbfdff;
    border-radius: 8px;
    border: 1px solid #e6edf7;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e6edf7;
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-label {
    color: #3a4a6b;
    font-weight: 600;
}

.summary-value {
    color: #041e42;
    font-weight: 700;
}

@media (max-width: 600px) {
    .funnel-section {
        padding-top: 200px; /* Increased for mobile header to prevent overlap */
    }
    .radio-grid {
        grid-template-columns: 1fr;
    }
    .form-step {
        padding: 1.5rem;
    }
    .thumbs-options {
        gap: 1rem;
    }
}