/* Health Insurance Quiz Styles - With Simplified Quiz Access Gate */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.4;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================ */
/* SIMPLIFIED QUIZ ACCESS GATE */
/* ================================ */

.quiz-access-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.quiz-access-modal {
    background-color: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gate-header {
    background: linear-gradient(135deg, #50C4C2 0%, #40a09e 100%);
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.gate-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gate-header p {
    font-size: 16px;
    opacity: 0.95;
}

.gate-body {
    padding: 30px;
}

.disclosure-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #50C4C2;
}

.disclosure-section h3 {
    color: #1F355F;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.disclosure-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.disclosure-section p:last-child {
    margin-bottom: 0;
}

.disclosure-section a {
    color: #2E83EF;
    text-decoration: none;
    font-weight: 600;
}

.disclosure-section a:hover {
    text-decoration: underline;
}

.agreement-button {
    background: linear-gradient(135deg, #50C4C2 0%, #40a09e 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.agreement-button:hover {
    background: linear-gradient(135deg, #40a09e 0%, #369995 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 196, 194, 0.4);
}

/* Mobile responsive for quiz gate */
@media (max-width: 768px) {
    .quiz-access-overlay {
        padding: 15px;
    }
    
    .gate-header {
        padding: 25px 20px;
    }
    
    .gate-body {
        padding: 25px 20px;
    }
    
    .gate-header h2 {
        font-size: 22px;
    }
    
    .disclosure-section {
        padding: 15px;
    }
}

/* ================================ */
/* EXISTING QUIZ STYLES */
/* ================================ */

/* Hero Section */
.quiz-hero-section {
    background-color: #50C4C2;
    color: white;
    padding: 50px 20px;
}

.quiz-hero-content {
    max-width: 650px;
    margin: 0 auto;
}

.quiz-hero-content h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.quiz-hero-content > p {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 400;
}

.quiz-hero-checklist {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
}

.quiz-hero-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    background-color: white;
    color: #50C4C2;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.quiz-hero-cta-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quiz-cta-button {
    background-color: #2E83EF;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    min-width: 180px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.quiz-cta-button:hover {
    background-color: #1e6ac8;
}

.testimonial-box {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 4px;
    font-style: italic;
    font-size: 14px;
    flex-grow: 1;
    min-width: 200px;
}

.testimonial-author {
    font-style: normal;
    text-align: right;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
}

/* How Quiz Works Section */
.quiz-how-it-works {
    padding: 60px 0;
    text-align: center;
}

.quiz-how-it-works h2 {
    color: #1F355F;
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: 600;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.step-item {
    flex: 1;
    padding: 0 10px;
    text-align: center;
    position: relative;
    min-width: 150px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #50C4C2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 20px;
}

.step-item h3 {
    color: #1F355F;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.quiz-how-it-works .quiz-cta-button {
     display: inline-block;
     margin: 0 auto;
}

/* Trusted By Section */
.quiz-trusted-by {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
}

.quiz-trusted-by h2 {
    color: #1F355F;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.provider-logos-section {
    display: flex;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
}

.provider-logos-section img {
    max-width: 100%;
    height: auto;
}

/* FAQ Section */
.quiz-faq {
    padding: 60px 0;
}

.quiz-faq h2 {
    color: #1F355F;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #1F355F;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Final CTA Section */
.quiz-final-cta {
    background-color: #1F355F;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.quiz-final-cta h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.quiz-final-cta p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Quiz Interaction Styles */
.quiz-interaction-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.quiz-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.quiz-question-header-blue {
    background-color: #50C4C2;
    color: white;
    padding: 25px;
}

.quiz-question-header-blue h2 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 600;
}

.quiz-question-header-blue p {
    font-size: 16px;
    opacity: 0.9;
}

.quiz-question-container {
    padding: 30px;
}

.quiz-question-header h3 {
    color: #50C4C2;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.quiz-question-header p {
    font-size: 20px;
    color: #1F355F;
    font-weight: 600;
    margin-bottom: 20px;
}

.quiz-options {
    margin: 25px 0;
}

.quiz-option-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

.quiz-option-label:hover {
    border-color: #50C4C2;
    background-color: #f7feff;
}

.quiz-option-label.selected {
    border-color: #50C4C2;
    background-color: rgba(80, 196, 194, 0.1);
    box-shadow: 0 0 0 1px #50C4C2 inset;
}

.quiz-option-label input {
    margin-right: 12px;
    flex-shrink: 0;
}

.quiz-option-label span {
    font-size: 15px;
}

.quiz-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quiz-back-btn,
.quiz-continue-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
}

.quiz-back-btn {
    background-color: #f0f0f0;
    color: #333;
}

.quiz-back-btn:hover {
     background-color: #e0e0e0;
}

.quiz-continue-btn {
    background-color: #50C4C2;
    color: white;
}

.quiz-continue-btn:hover {
     background-color: #40a09e;
}

.quiz-progress-bar {
    height: 6px;
    background-color: #e9e9e9;
    margin-top: 30px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.quiz-progress-bar-inner {
    position: absolute;
    left:0;
    top: 0;
    height: 100%;
    background-color: #50C4C2;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Results Area */
.quiz-results-content {
    padding: 30px;
}

.plan-recommendation {
    background-color: rgba(80, 196, 194, 0.08);
    border-left: 5px solid #50C4C2;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 4px 4px 0;
}

.plan-recommendation h3 {
    color: #1F355F;
    margin-bottom: 10px;
    font-size: 18px;
}

.plan-recommendation p {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.plan-recommendation strong {
    font-weight: 600;
    color: #50C4C2;
}

.provider-logos {
    margin: 30px 0;
    text-align: center;
}

.provider-logos img {
     max-width: 100%;
     height: auto;
}

.quiz-results-contact h3 {
    color: #1F355F;
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
}

.quiz-results-contact p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styling */
.lead-form {
    margin-top: 20px;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 6px;
    background-color: #fcfcfc;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #1F355F;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #50C4C2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(80, 196, 194, 0.2);
}

.consent-group {
    margin: 25px 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.form-submit {
    text-align: center;
    margin-top: 25px;
}

.lead-form-submit {
    background-color: #2E83EF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lead-form-submit:hover {
     background-color: #1e6ac8;
}

/* Footer */
.site-footer {
    background-color: #1F355F;
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
    font-size: 12px;
    text-align: center;
}

.footer-nav {
    margin-top: 15px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
     color: #fff;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 15px auto 0;
    font-size: 11px;
    opacity: 0.6;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    .quiz-hero-content h1 {
        font-size: 26px;
    }

    .quiz-hero-cta-area {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .testimonial-box {
        max-width: 100%;
        margin-top: 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step-item {
        margin-bottom: 0;
        padding: 0 5px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

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

    .form-group:last-child {
         margin-bottom: 0;
    }

    .quiz-question-container {
        padding: 20px;
    }

    .quiz-results-content {
        padding: 20px;
    }

    .lead-form {
        padding: 20px;
    }
}

/* Further adjustments for smaller screens */
@media (max-width: 480px) {
     body {
         line-height: 1.5;
     }

    .quiz-hero-content h1 {
        font-size: 24px;
    }

     .quiz-hero-checklist li {
         font-size: 14px;
         padding-left: 28px;
     }

     .quiz-cta-button,
     .lead-form-submit {
         font-size: 15px;
         padding: 12px 20px;
     }

     .testimonial-box {
         font-size: 13px;
     }

     .quiz-how-it-works h2,
     .quiz-faq h2,
     .quiz-final-cta h2 {
         font-size: 24px;
     }

      .step-item h3,
      .faq-item h3 {
         font-size: 17px;
      }
}