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

:root {
    --primary-color: #000;
    --secondary-color: #666;
    --accent-color: #0066ff;
    --bg-color: #fff;
    --text-color: #000;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: var(--bg-color);
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 25px;
    width: auto;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.hero h2 a:hover {
    color: #0052cc;
    border-bottom-color: var(--accent-color);
}

.subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.location {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #333;
}

/* Sections */
section {
    padding: 60px 0;
}

section h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

section h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Services */
.services {
    background-color: #f9f9f9;
}

.description {
    font-size: 18px;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.connects-to {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    justify-content: center;
    margin: 24px auto;
}

.connects-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--border-color);
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.2s, background-color 0.2s;
}

.connects-icon:hover {
    background-color: #e8e8e8;
    transform: scale(1.08);
}

.connects-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.connects-label {
    margin-right: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
}

.connects-more {
    margin-left: 4px;
    padding: 6px 14px;
    background-color: var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--secondary-color);
}

/* Social/Testimonials */
.social {
    text-align: center;
}

.testimonial-quote {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    padding: 0;
}

.testimonial-quote p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.testimonial-quote cite {
    color: var(--secondary-color);
    font-style: normal;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial {
    text-align: left;
}

.testimonial .quote {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 16px;
}

.testimonial .author {
    font-size: 15px;
    color: var(--secondary-color);
}

/* Why */
.why {
    text-align: center;
}

.why p {
    font-size: 18px;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-simple {
    justify-content: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-simple .pricing-card ul {
    text-align: center;
}

.pricing-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.pricing-card h4,
.pricing-card h5 {
    font-size: 20px;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 20px;
}

.amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.amount .period {
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary-color);
}

.location-badge {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card li {
    padding: 8px 0;
    color: var(--secondary-color);
}

.pricing-card li:before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 8px;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
}

.button:hover:not(:disabled) {
    background-color: #333;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.managed-care {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.managed-care h4 {
    text-align: center;
    margin-bottom: 40px;
}

/* How it works */
.how-it-works {
    background-color: #f9f9f9;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--secondary-color);
    font-size: 14px;
}

.note {
    text-align: center;
    margin-top: 40px;
    color: var(--secondary-color);
    font-style: italic;
}

/* FAQ */
.faq-item {
    max-width: 800px;
    margin: 0 auto 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.faq-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--secondary-color);
    line-height: 1.8;
}

/* Contact */
.contact {
    background-color: #f9f9f9;
    text-align: center;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 640px;
    margin: 0 auto 20px;
    padding: 24px 32px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    border-color: #555;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-card-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.contact-card-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.2;
}

.contact-card-desc {
    font-size: 15px;
    color: #999;
    line-height: 1.4;
    margin: 0;
}

.contact-card-cta {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    white-space: nowrap;
}

.contact-form-trigger {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.contact-form-trigger:hover {
    color: var(--accent-color);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--bg-color);
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.contact-form {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form button:hover {
    background-color: #333;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 16px;
}

.notification-success .notification-content {
    background-color: #10b981;
    color: white;
}

.notification-cancel .notification-content {
    background-color: #f59e0b;
    color: white;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    opacity: 1;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.legal-content strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    color: var(--secondary-color);
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 0;
    }

    /* Fix connects-to overflow on mobile */
    .connects-to {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .connects-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .connects-icon img {
        width: 20px;
        height: 20px;
    }

    .connects-label {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        margin-right: 0;
    }

    .connects-more {
        margin-left: 0;
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Fix blockquote overflow on mobile */
    .testimonial-quote {
        margin: 2rem 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .testimonial-quote p {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 20px;
    }

    .testimonial-quote cite {
        display: block;
        padding: 0 20px;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .contact-card-content {
        text-align: center;
    }

    .legal-content h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 20px;
    }
}
