/* ===== FONT STYLES ===== */
body {
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #858991;
    font-weight: 500;
}

/* ===== PRODUCT PAGE CUSTOM STYLES ===== */
.product-hero {
    /* background: linear-gradient(135deg, #a6dce5 0%, #1b71a1 100%); */
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 175, 202, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.product-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #0DAFCA;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(13, 175, 202, 0.3);
}

.product-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #283779;
}

.product-hero h1 .highlight {
    color: #0DAFCA;
}

.product-hero .lead {
    font-size: 1.15rem;
    color: rgba(27, 113, 161);
    max-width: 600px;
    line-height: 1.7;
}

.product-hero .btn-primary-custom {
    display: inline-block;
    background: #0DAFCA;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.product-hero .btn-primary-custom:hover {
    background: #1B71A1;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 175, 202, 0.3);
}

.product-hero .btn-outline-custom {
    display: inline-block;
    background: transparent;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.product-hero .btn-outline-custom:hover {
    border-color: #0DAFCA;
    background: rgba(13, 175, 202, 0.1);
}

.product-hero .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-hero .hero-stats .stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0DAFCA;
}

.product-hero .hero-stats .stat p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: rgba(27, 113, 161, 0.1);
    color: #1B71A1;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* What is X-Connect */
.what-is-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.what-is-section .content-block {
    max-width: 800px;
    margin: 0 auto;
}

.what-is-section .content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.what-is-section .content-block .highlight-box {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #1B71A1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 24px 0;
}

.what-is-section .content-block .highlight-box strong {
    color: #1B71A1;
}

/* Features/What Does X-Connect Do */
.features-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.feature-card {
    background: #f8f9fa;
    padding: 32px 24px;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27, 113, 161, 0.1);
    border-color: rgba(27, 113, 161, 0.2);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(27, 113, 161, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1B71A1;
    margin-bottom: 16px;
}

.feature-card h5 {
    font-weight: 700;
    color: #0a1a2e;
    margin-bottom: 8px;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature with Image */
.feature-image-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-image-section .feature-block {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.feature-image-section .feature-block h3 {
    font-weight: 700;
    color: #0a1a2e;
    margin-bottom: 16px;
}

.feature-image-section .feature-block p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
}

.feature-image-section .image-placeholder {
    width: 100%;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    min-height: 200px;
    border: 2px dashed #dee2e6;
    margin-top: 16px;
}

.feature-image-section .image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Unique Patient ID Feature */
.unique-id-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.unique-id-section .content-block h3 {
    font-weight: 700;
    color: #0a1a2e;
    margin-bottom: 16px;
}

.unique-id-section .content-block p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.8;
}

.unique-id-section .content-block .highlight-text {
    color: #1B71A1;
    font-weight: 600;
}

/* Feedback Section */
.feedback-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feedback-section .feedback-card {
    background: #dcf9ff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feedback-section .feedback-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(27, 113, 161, 0.1);
}

.feedback-section .feedback-card .risk-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.feedback-section .feedback-card h5 {
    font-weight: 700;
    color: #0a1a2e;
    margin-bottom: 4px;
}

.feedback-section .feedback-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ---------- CASCADE DIAGRAM ---------- */
.cascade-card {
    background: #e7fbff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px 22px 22px;
}

.cascade-card .cap {
    font-size: 12.5px;
    color: var(--slate);
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 14px;
}

.flow-dot {
    animation: travel 7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .flow-dot {
        animation: none;
        opacity: 0;
    }
}

@keyframes travel {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    96% {
        opacity: 0;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* ---------- FAQ ---------- */
.faq-item {
    border-bottom: 1px solid #1a3a5e75;
    padding: 6px 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 4px;
    font-size: 16.5px;
    font-weight: 500;
    color: #283779;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .plus {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    color: #1a3a5e;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.faq-item[open] summary .plus {
    transform: rotate(45deg);
}

.faq-item .a {
    padding: 0 4px 20px;
    max-width: 720px;
    /* color: #283779; */
    font-size: 15px;
    line-height: 1.65;
}

/* CTA Section
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1a2e 0%, #1B71A1 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 175, 202, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-section .btn-group-custom {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary-custom {
    display: inline-block;
    background: #0DAFCA;
    color: #FFFFFF;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.cta-section .btn-primary-custom:hover {
    background: #FFFFFF;
    color: #1B71A1;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline-custom {
    display: inline-block;
    background: transparent;
    color: #FFFFFF;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.cta-section .btn-outline-custom:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
} */

/* Responsive */
@media (max-width: 768px) {
    .product-hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .product-hero .lead {
        margin: 0 auto 24px;
    }

    .product-hero .hero-stats {
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .product-hero .hero-stats .stat h3 {
        font-size: 1.5rem;
    }

    .feature-card {
        margin-bottom: 16px;
    }

    .feature-image-section .feature-block {
        padding: 24px;
    }

    .feedback-section .feedback-card {
        margin-bottom: 16px;
    }

    .cta-section .btn-group-custom .btn-primary-custom,
    .cta-section .btn-group-custom .btn-outline-custom {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-hero h1 {
        font-size: 2rem;
    }

    .product-hero .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .what-is-section .content-block .highlight-box {
        padding: 20px;
    }
}