/* Mobile-First CSS for Medicare Guide */

:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border: #dddddd;
    --success: #28a745;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px; /* Larger base font for seniors */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced Mobile Table Styles */
@media (max-width: 768px) {
    .plans-table.mobile-enhanced thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .plans-table.mobile-enhanced tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 2px solid var(--border);
        border-radius: 8px;
        padding: 1rem;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .plans-table.mobile-enhanced td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
        text-align: right;
    }
    
    .plans-table.mobile-enhanced td:last-child {
        border-bottom: none;
    }
    
    .plans-table.mobile-enhanced td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        color: var(--primary-color);
        flex: 0 0 50%;
    }
    
    .plans-table.mobile-enhanced td strong {
        display: block;
        margin-bottom: 0.25rem;
    }
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-to-content:focus {
    top: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    text-decoration: none;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* Header & Navigation */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Mobile navigation improvements */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: relative;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: white;
        border: 2px solid var(--border);
        border-radius: 8px;
        margin-top: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        font-size: 1.05rem;
        padding: 0.9rem 1.25rem;
        min-height: 48px;
        display: block;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: var(--bg-light);
    }
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 1rem;
}

.trust-badge {
    display: inline-block;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Quick Links Section */
.quick-links-section {
    margin: 3rem 0;
    padding: 2rem 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.quick-links-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quick-link-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quick-link-card:hover,
.quick-link-card:focus {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.15);
}

.quick-link-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
}

.quick-link-card.featured h3,
.quick-link-card.featured p {
    color: white;
}

.quick-link-card .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.quick-link-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    flex-grow: 1;
}

.quick-link-card .link-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    align-self: flex-end;
}

.quick-link-card.featured .link-arrow {
    color: white;
}

/* Trust Section */
.trust-section {
    margin: 3rem 0;
    padding: 2.5rem 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
}

.trust-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
    font-weight: bold;
}

.trust-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    /* Large tap target for mobile and seniors */
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* FAQ Section */
.popular-questions {
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.popular-questions h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--secondary-color);
}

.faq-accordion {
    margin-top: 2rem;
}

.faq-item-accordion {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    /* Large tap target */
    min-height: 64px;
}

.faq-question:hover,
.faq-question:focus {
    background-color: var(--bg-light);
}

.faq-question.active {
    background-color: var(--primary-color);
    color: white;
}

.faq-question.active .faq-icon {
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.8;
    font-size: 1.05rem;
    background: var(--bg-light);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.faq-answer a:hover {
    color: var(--secondary-color);
}

/* Ad Containers */
.ad-container {
    margin: 2rem auto;
    text-align: center;
}

.ad-placeholder {
    background-color: var(--bg-light);
    border: 2px dashed var(--border);
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    padding: 2.5rem 1rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 2px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: left;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.25rem 0;
    display: inline-block;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .footer-col ul li a {
        font-size: 1.05rem;
        padding: 0.35rem 0;
    }
}

footer p {
    margin-bottom: 0.5rem;
}

footer small {
    color: var(--text-light);
}

/* State Pages */
.state-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.state-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.content-section {
    margin: 3rem 0;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-color);
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.state-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.state-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.state-list li:hover {
    background-color: var(--bg-light);
}

.state-list a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.state-list a:hover {
    color: var(--secondary-color);
}

/* Organization Cards */
.org-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .org-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.org-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.org-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Trust Badges & Social Proof */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.trust-indicator::before {
    content: '✓';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.data-source {
    background: #e7f3ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.data-source strong {
    color: var(--primary-color);
}

/* Enhanced Table Responsiveness */
.table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.table-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.table-scroll-hint {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

@media (max-width: 768px) {
    .table-scroll-hint {
        display: block;
    }
}

/* Accessibility & Mobile Optimization */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .state-header h1 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0052a3;
        --text-dark: #000000;
        --border: #000000;
    }
}

/* State Grid */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.state-card {
    display: block;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    text-align: center;
}

.state-card:hover,
.state-card:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.state-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.state-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .state-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .state-card {
        padding: 1rem;
    }
}

/* ZIP Code Finder Section */
.zip-finder-section {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
    padding: 3rem 1.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    text-align: center;
}

.zip-finder-container h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.zip-finder-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.zip-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.zip-form input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid white;
    border-radius: 8px;
    text-align: center;
}

.zip-form input:focus {
    outline: none;
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.zip-form button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zip-form button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.zip-hint {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.zip-hint a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .zip-finder-container h2 {
        font-size: 1.5rem;
    }
    
    .zip-form {
        flex-direction: column;
    }
    
    .zip-form input,
    .zip-form button {
        width: 100%;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 3rem 1.5rem;
    background: var(--bg-light);
    margin: 3rem 0;
    border-radius: 12px;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Sortable Table Enhancements */
.sort-indicator {
    opacity: 0.6;
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

th.sort-active .sort-indicator {
    opacity: 1;
    font-weight: bold;
}

th:hover .sort-indicator {
    opacity: 1;
}

/* Mobile Table Scroll Improvements */
@media (max-width: 768px) {
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        box-shadow: inset 0 0 0 1px var(--border);
    }
    
    .table-wrapper table {
        min-width: 600px;
    }
    
    /* Add scroll gradient hint */
    .table-wrapper::after {
        content: '← Scroll →';
        display: block;
        text-align: center;
        padding: 0.5rem;
        color: var(--text-light);
        font-size: 0.85rem;
        background: var(--bg-light);
    }
}

/* Improved Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--success);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:hover,
.cta-button:focus {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Enhanced Quick Link Cards for Mobile */
@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-link-card {
        padding: 1.5rem;
    }
    
    .quick-link-card .icon {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .zip-finder-section,
    .testimonials-section,
    .cta-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* Enhanced Table Features */
.table-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.export-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.export-btn:hover {
    background: var(--primary-color);
}

/* Responsive table wrapper with horizontal scroll */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

/* Better mobile scrolling indicators */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Enhanced mobile card view for tables */
@media (max-width: 768px) {
    .table-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-input {
        min-width: auto;
        width: 100%;
    }
    
    .export-btn {
        width: 100%;
    }
    
    /* Stack table controls vertically on mobile */
    .table-controls {
        flex-direction: column !important;
    }
    
    .search-box,
    .filter-buttons {
        width: 100%;
    }
    
    /* Improve touch targets on mobile */
    button,
    .btn,
    a.btn {
        min-height: 44px; /* iOS/Android touch target */
    }
}

/* Improve focus indicators for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
    *:focus {
        transition: outline 0.2s ease;
    }
}

/* Print styles for tables */
@media print {
    .table-filter,
    .export-btn,
    nav,
    footer {
        display: none !important;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    tr {
        page-break-inside: avoid;
    }
}

/* ========================================
   COMPETITIVE ENHANCEMENTS - Feb 2026
   Based on Medicare.gov & MedicareAdvantage.com
   ======================================== */

/* Enhanced CTA Buttons */
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    min-height: 48px; /* WCAG touch target */
}

.cta-primary:hover,
.cta-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

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

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 48px;
}

.cta-secondary:hover,
.cta-secondary:focus {
    background: var(--primary-color);
    color: white;
}

/* Enhanced Mobile Touch Targets */
@media (max-width: 768px) {
    /* Larger touch targets for mobile */
    button,
    .btn,
    .cta-primary,
    .cta-secondary,
    a[role="button"] {
        min-height: 48px;
        min-width: 48px;
        padding: 0.875rem 1.5rem;
    }
    
    /* Better spacing for mobile forms */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 0.875rem 1rem;
        min-height: 48px;
    }
    
    /* Mobile-friendly navigation */
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }
}

/* Enhanced Comparison Cards */
.comparison-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.comparison-card:hover::before {
    transform: scaleX(1);
}

.comparison-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Interactive ZIP Code Finder */
.zip-finder {
    background: linear-gradient(135deg, #f0f7ff 0%, white 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.zip-finder h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.zip-finder-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 1rem auto 0;
    flex-direction: column;
}

@media (min-width: 640px) {
    .zip-finder-form {
        flex-direction: row;
    }
}

.zip-finder-form input {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    min-height: 52px;
}

.zip-finder-form button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
}

.zip-finder-form button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Social Proof Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: var(--bg-light);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Enhanced Progress Indicators */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
    padding: 0 1rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.progress-step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border);
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
}

.progress-step.active .progress-step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.progress-step.completed .progress-step-circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.progress-step-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.progress-step.active .progress-step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Enhanced Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dotted var(--primary-color);
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: var(--shadow-md);
}

.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

.tooltip:hover .tooltip-text,
.tooltip:focus .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile-Optimized Data Tables */
@media (max-width: 768px) {
    .data-table-responsive {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-md);
    }
    
    .data-table-responsive table {
        min-width: 600px;
    }
    
    /* Card-based table view for narrow screens */
    .table-card-view thead {
        display: none;
    }
    
    .table-card-view tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 2px solid var(--border);
        border-radius: var(--radius-md);
        padding: 1rem;
        background: white;
    }
    
    .table-card-view tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }
    
    .table-card-view tbody td:last-child {
        border-bottom: none;
    }
    
    .table-card-view tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary-color);
        margin-right: 1rem;
    }
}

/* Sticky Action Bar (mobile bottom nav) */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--border);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .sticky-action-bar {
        display: none;
    }
}

.sticky-action-bar button {
    flex: 1;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    min-height: 48px;
}

.sticky-action-bar .btn-primary {
    background: var(--primary-color);
    color: white;
}

.sticky-action-bar .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
    }
    
    .cta-primary,
    .cta-secondary {
        border: 3px solid currentColor;
    }
}

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

/* Print styles */
@media print {
    header,
    .sticky-action-bar,
    .cta-primary,
    .cta-secondary,
    .zip-finder,
    .trust-indicators {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
}

/* ========================================
   ENHANCED MOBILE NAVIGATION STYLES
   ======================================== */

/* Hamburger Menu Button */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -10px;
}

.hamburger-inner::after {
    content: '';
    top: 10px;
}

.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
    transform: rotate(-90deg);
    top: 0;
}

.hamburger.is-active .hamburger-inner::after {
    opacity: 0;
}

/* Sticky Header Enhancement */
header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.hide {
    transform: translateY(-100%);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.is-active {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* ========================================
   TRUST INDICATORS & BADGES
   ======================================== */

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.trust-badge .icon {
    font-size: 1.25rem;
}

.trust-badge.verified {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
}

.trust-badge.secure {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
}

.trust-badge.independent {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
}

/* ========================================
   ENHANCED COMPARISON CARDS
   ======================================== */

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .comparison-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comparison-card {
    background: white;
    border: 3px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.comparison-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.comparison-card .price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.comparison-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.comparison-card li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.comparison-card li:last-child {
    border-bottom: none;
}

.comparison-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.comparison-card li.cons::before {
    content: '✗';
    color: #f44336;
}

/* ========================================
   STICKY ACTION BAR (Mobile CTA)
   ======================================== */

.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    display: none;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.sticky-action-bar.visible {
    display: block;
}

.sticky-action-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-action-content p {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.sticky-action-content .cta-button {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .sticky-action-bar {
        display: block;
    }
    
    .sticky-action-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sticky-action-content .cta-button {
        width: 100%;
    }
}

/* ========================================
   ENHANCED TABLE SORTING
   ======================================== */

table.sortable th {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 2rem;
}

table.sortable th::after {
    content: '⇅';
    position: absolute;
    right: 0.75rem;
    opacity: 0.5;
    font-size: 0.8rem;
}

table.sortable th:hover::after {
    opacity: 1;
}

table.sortable th.sort-asc::after {
    content: '▲';
    opacity: 1;
    color: var(--success);
}

table.sortable th.sort-desc::after {
    content: '▼';
    opacity: 1;
    color: var(--success);
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading-spinner {
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0052cc;
        --text-dark: #000000;
        --border: #666666;
    }
    
    .cta-button,
    button {
        border: 2px solid currentColor;
    }
}

/* Plan Finder Widget - Sticky floating button */
.plan-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.widget-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.widget-toggle:active {
    transform: translateY(0);
}

.widget-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.widget-content.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.widget-header h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
}

.widget-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.widget-close:hover {
    background: var(--bg-light);
}

.widget-body {
    padding: 20px;
}

.widget-body label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.widget-body input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.widget-body input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.widget-body .btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.widget-body .btn-primary:hover {
    background: var(--secondary-color);
}

.widget-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .plan-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .widget-toggle {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .widget-content {
        width: calc(100vw - 20px);
        right: -10px;
    }
}

/* Trust Badges Section */
.trust-section {
    background: var(--bg-light);
    padding: 40px 20px;
    margin: 40px 0;
    text-align: center;
}

.trust-section h3 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.trust-badge svg {
    width: 48px;
    height: 48px;
    color: var(--success);
}

.trust-badge span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

/* Partner Logos Section */
.partners-section {
    padding: 40px 20px;
    text-align: center;
}

.partners-section h3 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0.7;
}

.partner-logos img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Quick Start Guide */
.quick-start {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    margin: 40px 0;
}

.quick-start h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.step-card p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Improved CTA buttons */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .cta-group {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-primary, .cta-secondary {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.cta-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background: var(--bg-light);
}

/* Enhanced mobile touch targets */
@media (max-width: 768px) {
    /* Larger buttons for easier tapping */
    button, .btn, a.button {
        min-height: 48px;
        font-size: 16px;
    }
    
    /* Larger form inputs */
    input, select, textarea {
        min-height: 48px;
        font-size: 16px;
    }
    
    /* Better spacing for mobile */
    .container {
        padding: 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
}
