/* homepage-inline.css — extracted from index.html inline styles */
/* Last updated: 2026-03-10 */

/* === Skip-to-content link === */
/* skip-to-content: styles defined in main.css */

/* === Logo text === */
.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
}
.logo-name-accent {
    color: var(--secondary);
}
.logo-tagline {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 400;
}

/* === Section backgrounds === */
.section-bg-light {
    background: var(--bg-light);
}
.section-bg-white {
    background: white;
}

/* === Coverage options grid section === */
.coverage-options-section {
    padding: 3rem 0;
    background: var(--bg-light);
    border-top: 1px solid #e5e7eb;
}

/* === Internal link grid cards === */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.link-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.link-card-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.link-card-title--blue { color: #2563eb; }
.link-card-title--green { color: #059669; }
.link-card-title--purple { color: #1d4ed8; }
.link-card-title--red { color: #0284c7; }

/* === Link lists inside cards === */
.link-list {
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
}
.link-list--2col {
    grid-template-columns: 1fr 1fr;
}
.link-list a {
    color: #374151;
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.link-list a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* === View-all link inside cards === */
.link-card-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
}
.link-card-more--blue { color: #2563eb; }
.link-card-more--green { color: #059669; }
.link-card-more--purple { color: #1d4ed8; }
.link-card-more--red { color: #0284c7; }
.link-card-more:hover {
    text-decoration: underline;
}

/* === Popular plan types banner === */
.plan-types-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
}
.plan-types-banner h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}
.plan-types-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.plan-type-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
}
.plan-type-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* === Stats section === */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

/* === Carrier trust bar === */
.carrier-trust-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid var(--border);
}
.carrier-trust-heading {
    color: var(--text-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.carrier-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    filter: grayscale(50%);
    opacity: 0.9;
}
.carrier-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* === Educational content grid === */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.edu-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.edu-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}
.edu-card p,
.edu-card ul {
    line-height: 1.8;
    color: var(--text-light);
}
.edu-card ul {
    padding-left: 1.5rem;
}
.edu-card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}
.edu-card-link:hover {
    text-decoration: underline;
}

/* === Health condition cards === */
.condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.condition-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-shadow: var(--shadow);
}
.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.condition-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.condition-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* === Calculator tool cards === */
.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.calc-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}
.calc-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.calc-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* === Testimonial verified badge === */
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.verified-badge {
    color: #10b981;
    font-size: 0.75rem;
}
.coverage-badge {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* === FAQ accordion === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.faq-accordion details {
    border-bottom: 1px solid var(--border);
}
.faq-accordion details:last-child {
    border-bottom: none;
}
.faq-accordion summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
}
.faq-accordion .faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* === State selector button section === */
.state-selector-wrap {
    max-width: 600px;
    margin: 2rem auto;
}
.state-selector-wrap .btn-primary {
    display: block;
    text-align: center;
    padding: 1.25rem;
    font-size: 1.125rem;
}

/* === Centered text utility === */
.text-center-sm {
    text-align: center;
}
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }

/* === Form label === */
.form-label-block {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

/* === CTA button override === */
.btn-primary--lg {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

/* === Loading spinner === */
.loading-spinner {
    display: none;
}

/* === Contact helper text === */
.contact-helper {
    color: var(--text-light);
}
.contact-helper a {
    color: var(--primary);
    font-weight: 600;
}

/* === Coverage options section header === */
.coverage-options-section h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.coverage-options-section .section-subtitle {
    color: var(--text-light);
}

/* === Footer trust badge text === */
.footer-trust-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* === Footer rating score === */
.footer-rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

/* === Footer phone CTA === */
.footer-phone-cta {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.footer-phone-link {
    color: #10b981;
    text-decoration: none;
}
.footer-phone-link:hover {
    text-decoration: underline;
}

/* === Footer newsletter heading === */
.footer-newsletter-inner h3 {
    color: white;
    margin-bottom: 0.5rem;
}

/* === Exit popup / lead magnet styles === */
.popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
.popup-icon--blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}
.popup-icon--green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.popup-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}
.popup-subtitle {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Checklist inside popups === */
.popup-checklist-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}
.popup-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}
.popup-checklist li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Download CTA button === */
.popup-download-btn {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    text-align: center;
}
.popup-download-btn:hover {
    transform: translateY(-2px);
}

/* === Popup fine print === */
.popup-fine-print {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

/* === Popup info box === */
.popup-info-box {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #2563eb;
}
.popup-info-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #1d4ed8;
}
.popup-info-box a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}
.popup-info-box a:hover {
    text-decoration: underline;
}

/* === Callback modal form === */
.callback-form-input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.callback-form-input:focus {
    border-color: var(--primary);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: var(--focus-ring);
}
.callback-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.callback-submit-btn:hover {
    transform: translateY(-2px);
}

/* === Callback form status messages === */
.callback-success {
    display: none;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #047857;
}
.callback-error {
    display: none;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    color: #dc2626;
}

/* === Chat widget === */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-status-dot {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid white;
}

/* === Callback modal === */
.callback-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    backdrop-filter: blur(5px);
}
.callback-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.callback-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.25rem;
    z-index: 1;
    border: none;
}
.callback-close:hover {
    background: #e5e7eb;
}

/* === Utility: margin-bottom variants === */
.mb-2 { margin-bottom: 2rem; }
.mb-1-5 { margin-bottom: 1.5rem; }

/* === Dark mode overrides for homepage === */
@media (prefers-color-scheme: dark) {
    .section-bg-white {
        background: var(--bg);
    }

    .link-card,
    .callback-dialog {
        background: #1e293b;
        color: #e2e8f0;
    }

    .coverage-options-section {
        background: #0f172a;
        border-color: #334155;
    }

    .link-card a {
        color: #93c5fd;
    }

    .callback-close {
        background: #334155;
        color: #e2e8f0;
    }

    .callback-close:hover {
        background: #475569;
    }

    /* Dark mode: plan type links (white on white fix) */
    .plan-type-link {
        background: rgba(37, 99, 235, 0.35) !important;
        color: white !important;
        border: 1px solid rgba(147, 197, 253, 0.3);
    }

    .plan-type-link:hover {
        background: rgba(37, 99, 235, 0.5) !important;
    }

    /* Dark mode: cards and sections */
    .carrier-trust-section,
    .edu-card,
    .condition-card,
    .faq-accordion,
    .popup-info-box {
        background: #1e293b !important;
        color: #e2e8f0 !important;
        border-color: #334155 !important;
    }

    .edu-card h3, .condition-card h3,
    .faq-accordion h3,
    .carrier-trust-section h2, .carrier-trust-section h3 {
        color: #f1f5f9 !important;
    }

    .edu-card p, .condition-card p,
    .faq-accordion p,
    .carrier-trust-section p {
        color: #cbd5e1 !important;
    }

    /* Dark mode: exit popup */
    .exit-popup {
        background: #1e293b !important;
        color: #e2e8f0 !important;
    }

    .exit-popup h2, .exit-popup h3 {
        color: #f1f5f9 !important;
    }

    .exit-popup p {
        color: #cbd5e1 !important;
    }

    .exit-popup-close-btn {
        background: #334155 !important;
        color: #e2e8f0 !important;
    }

    /* Dark mode: callback error */
    .callback-error {
        background: #7f1d1d !important;
        color: #fca5a5 !important;
    }

    /* Dark mode: text colors in homepage sections */
    .link-list a,
    .link-item-name {
        color: #cbd5e1 !important;
    }

    .link-list a:hover,
    .link-item-name:hover {
        color: #93c5fd !important;
    }

    .coverage-options-section h2,
    .option-title {
        color: #f1f5f9 !important;
    }

    .coverage-options-section p,
    .option-description {
        color: #cbd5e1 !important;
    }

    /* Dark mode: blue links/headings need lighter blue */
    .link-card-title {
        color: #93c5fd !important;
    }

    .link-card a,
    .edu-card-link {
        color: #60a5fa !important;
    }

    .edu-card-link:hover,
    .link-card a:hover {
        color: #93c5fd !important;
    }

    /* Dark mode: condition cards */
    .condition-card h4,
    .condition-card a {
        color: #93c5fd !important;
    }

    .condition-card p {
        color: #cbd5e1 !important;
    }

    /* Dark mode: FAQ summaries */
    .faq-accordion summary,
    .faq-accordion details summary {
        color: #93c5fd !important;
    }

    .faq-accordion details[open] summary {
        color: #60a5fa !important;
    }

    .faq-accordion p,
    .faq-accordion details p {
        color: #cbd5e1 !important;
    }
}
