/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6BA3D0;
    --primary-hover: #5890BD;
    --secondary-color: #8FB5A2;
    --accent-teal: #7AB8BE;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e8ecef;
    --notice-bg: #5B7C99;
    --notice-text: #ffffff;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.75;
    color: var(--text-dark);
    padding-bottom: 80px;
    font-size: 17px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Logo Header */
.logo-header {
    background-color: white;
    padding: 1.5rem 0 1rem 0;
    border-bottom: 2px solid var(--border-color);
}

.logo-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    display: block;
}

.header-contact {
    text-align: right;
}

.header-phone {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.header-hours {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.header-trust {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .logo-header {
        padding: 1rem 0 0.75rem 0;
    }
    
    .logo-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-wrapper {
        margin-bottom: 1rem;
    }
    
    .logo-image {
        height: 55px;
    }
    
    .header-contact {
        text-align: left;
    }
    
    .header-phone {
        font-size: 1.1rem;
    }
}

/* Top Notice Bar */
.notice-bar {
    background-color: var(--notice-bg);
    color: var(--notice-text);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
    text-align: left;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.super-headline {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-weight: 700;
}

.subheadline {
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.subcopy {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* Eligibility Content within Hero */
.eligibility-content {
    margin-top: var(--spacing-md);
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 16px;
}

/* CTA Instruction Text */
.cta-instruction {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
    font-weight: 500;
}

/* CTA Buttons */
.cta-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1.375rem;
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    min-height: 64px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(107, 163, 208, 0.25);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.cta-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 163, 208, 0.35);
}

.cta-primary:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}

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

.cta-phone {
    font-size: 1.5rem;
    font-weight: 700;
}

.cta-hours {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Contact Info */
.contact-info {
    margin-top: var(--spacing-lg);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.phone-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.hours {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.trust-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Eligibility Section - Legacy (now integrated into hero) */
.eligibility-section {
    background-color: var(--bg-light);
    padding: var(--spacing-xl) 0;
}

.eligibility-step {
    display: none;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.eligibility-step h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.button-group {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-option {
    background-color: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    min-height: 64px;
    min-width: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.btn-option:hover {
    border-color: var(--primary-color);
    background-color: #f0f7fb;
    box-shadow: 0 2px 8px rgba(107, 163, 208, 0.15);
}

.btn-option:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}

.btn-option.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(107, 163, 208, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin: var(--spacing-lg) auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Instruction Text */
.instruction-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
    font-weight: 500;
}

/* Tap Here Button */
.btn-tap-here {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.375rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(107, 163, 208, 0.25);
    margin-bottom: var(--spacing-xl);
}

.btn-tap-here:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 163, 208, 0.35);
}

.btn-tap-here:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}

.btn-tap-here:active {
    transform: translateY(0);
}

/* Result Sections (Qualified & Disqualified) */
.result-section {
    display: none;
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    animation: fadeIn 0.4s ease-in;
}

.result-section.active {
    display: block;
}

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

/* Disqualified Result */
.result-message {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Qualified Result */
.qualified-headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.qualified-subheadline {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.qualified-instruction {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

/* Final CTA */
.final-cta {
    display: none;
    text-align: center;
    margin-top: var(--spacing-lg);
}

.final-cta.active {
    display: block;
}

.processing-text {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    min-height: 24px;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-nav {
    margin-bottom: var(--spacing-md);
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-nav a:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Sticky Mobile Call Bar */
.sticky-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 2px solid var(--border-color);
    padding: var(--spacing-md);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sticky-content {
    max-width: 600px;
    margin: 0 auto;
}

.sticky-cta {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.125rem;
    font-size: 1.375rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    min-height: 64px;
    margin-bottom: var(--spacing-sm);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(107, 163, 208, 0.25);
}

.sticky-cta:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(107, 163, 208, 0.35);
}

.sticky-cta:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}

.sticky-hours {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding-bottom: 140px;
        font-size: 16px;
    }

    .sticky-call-bar {
        display: block;
    }

    /* Hero Section Mobile Optimization */
    .hero {
        padding: var(--spacing-lg) 0;
    }

    .hero h1 {
        font-size: 1.625rem;
        line-height: 1.25;
        margin-bottom: var(--spacing-md);
    }

    .subcopy {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-md);
    }

    /* Hero Image Mobile - Smaller margins */
    .hero-image {
        max-width: 100%;
        margin: var(--spacing-md) auto;
        border-radius: 8px;
    }

    /* Instruction Text Mobile */
    .instruction-text {
        font-size: 1rem;
        margin: var(--spacing-md) 0;
    }

    /* Tap Here Button - Full Width on Mobile */
    .btn-tap-here {
        width: 100%;
        max-width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.25rem;
        margin-bottom: var(--spacing-lg);
    }

    /* Eligibility Content Mobile */
    .eligibility-content {
        padding: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    /* Question Headers Mobile */
    .eligibility-step h2 {
        font-size: 1.375rem;
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }

    /* Button Group - Stack Vertically */
    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    /* Yes/No Buttons - Full Width, Larger Touch Targets */
    .btn-option {
        width: 100%;
        padding: 1.25rem 1.5rem;
        font-size: 1.125rem;
        min-height: 56px;
        border-radius: 12px;
    }

    /* Call Now Button - Full Width on Mobile */
    .cta-primary {
        width: 100%;
        max-width: 100%;
        padding: 1.125rem 1.5rem;
        font-size: 1.25rem;
        min-height: 56px;
    }

    .cta-phone {
        font-size: 1.25rem;
    }

    /* Result Sections Mobile */
    .result-section {
        padding: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    /* Disqualified Message */
    .result-message {
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-md);
    }

    /* Qualified Results Mobile */
    .qualified-headline {
        font-size: 1.875rem;
        margin-bottom: var(--spacing-sm);
    }

    .qualified-subheadline {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: var(--spacing-md);
    }

    .qualified-instruction {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    /* Footer Mobile */
    .footer-nav a {
        display: block;
        margin: var(--spacing-sm) 0;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Accessibility - High Contrast Focus States */
@media (prefers-contrast: high) {
    .cta-primary:focus,
    .btn-option:focus,
    .sticky-cta:focus {
        outline: 4px solid #000;
        outline-offset: 4px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
