/*--------------------------------------------------------------
# Global Components CSS
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Global Scroll Animations
# Used by: all pages via main.js IntersectionObserver
--------------------------------------------------------------*/
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.animate-on-scroll.fade-in-up    { transform: translateY(40px); }
.animate-on-scroll.fade-in-left  { transform: translateX(40px); }
.animate-on-scroll.fade-in-right { transform: translateX(-40px); }
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Global CTA (Be Part) Section */
.global-cta-section {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #105310;
    box-sizing: border-box;
}

.global-cta-section * {
    box-sizing: border-box;
}

.global-cta-container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: row;        /* Horizontal by default per Frame 4440 */
    justify-content: space-between;
    align-items: center;
    padding: 80px 1rem;         /* Standardized 1rem padding matching Header */
}

.global-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;    /* Left aligned text on desktop based on Frame 4440 layout where text is on left, button on right */
    gap: 16px;
    max-width: 711px;
}

.global-cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;
}

.global-cta-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.global-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.global-cta-button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 64px;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.global-cta-button:hover {
    background-color: #FFFFFF;
    color: #105310;
}

/* Responsive Overrides */
@media (max-width: 860px) {
    .global-cta-container {
        flex-direction: column; /* Stack text and button */
        align-items: flex-start;
        gap: 40px;
    }
    
    .global-cta-title {
        font-size: 36px;
    }

    .global-cta-subtitle {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Global Shape (Become Partner) Section
--------------------------------------------------------------*/
.global-shape-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 1rem;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.global-shape-section * {
    box-sizing: border-box;
}

.global-shape-container {
    width: 100%;
    background: linear-gradient(180deg, #31B331 0%, #136013 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 1rem;
}

.shape-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%; /* Default to circle, override if square/other */
}

/* Vector 1 (Top right circle) */
.shape-1 {
    width: 24%;
    height: 74.67%;
    left: 73%;
    top: -24.67%;
    background: rgba(255, 255, 255, 0.08);
}

/* Vector 2 (Bottom left medium circle) */
.shape-2 {
    width: 16%;
    height: 49.78%;
    left: 7%;
    top: 62.44%;
    background: rgba(255, 255, 255, 0.06);
}

/* Vector 3 (Middle right small circle) */
.shape-3 {
    width: 8%;
    height: 24.89%;
    left: 66%;
    top: 53.11%;
    background: rgba(255, 255, 255, 0.05);
}

/* Vector 4 (Top middle circle) */
.shape-4 {
    width: 10%;
    height: 31.11%;
    left: 25%;
    top: 3.33%;
    background: rgba(255, 255, 255, 0.07);
}

/* Vector 5 (Tilted rounded rect bottom right) */
.shape-5 {
    width: 10%;
    height: 31.11%;
    left: 58.88%;
    top: 77.62%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    transform: rotate(15deg);
}

/* Vector 6 (Tilted rounded rect top left) */
.shape-6 {
    width: 8%;
    height: 24.89%;
    left: 3.87%;
    top: -0.17%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transform: rotate(-20deg);
}

/* Vector 7 (Large thin ring middle left) */
.shape-7 {
    width: 100%; /* The spec says left 0 right 0, so full width */
    height: 15.56%;
    left: 0%;
    top: 42.22%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Vector 8 (Large thin ring bottom left) */
.shape-8 {
    width: 120%; /* The spec says left 0 right -20 */
    height: 15.56%;
    left: 0%;
    top: 73.33%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

/* Vector 9 (Bottom right circle) */
.shape-9 {
    width: 4%;
    height: 9.33%;
    left: 88%;
    top: 96.67%;
    background: rgba(255, 255, 255, 0.06);
}

/* Vector 10 (Middle tilted rounded rect) */
.shape-10 {
    width: 4%;
    height: 9.33%;
    left: 17.53%;
    top: 46.97%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transform: rotate(45deg);
}

.global-shape-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1104px;
    width: 100%;
    z-index: 1;
}

.global-shape-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 819px;
    width: 100%;
    text-align: center;
}

.global-shape-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;
}

.global-shape-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0;
    max-width: 557px;
}

.global-shape-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.global-shape-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    height: 48px;
    border-radius: 24px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.3125px;
    transition: all 0.3s ease;
}

.global-shape-btn-primary {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    color: #000000;
}

.global-shape-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.global-shape-btn-secondary {
    background: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.global-shape-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}


@media (max-width: 768px) {
    .global-shape-title {
        font-size: 36px;
    }
    .global-shape-subtitle {
        font-size: 18px;
    }
    .global-shape-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .global-shape-btn {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Generic Page Hero Component
--------------------------------------------------------------*/
.page-hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #020B1C; /* Dark background */
    box-sizing: border-box;
    margin-top: 48px;
    /* The hero in Figma has a background overlay or color, we can set default here */
}
.page-hero-section.bg-dark {
    background-color: #000000;
    position: relative;
}
.page-hero-section.bg-dark::before,
.page-hero-section.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%), rgba(0, 0, 0, 0.3);
    z-index: 0;
}
.page-hero-section.bg-light {
    background-color: #F9F9F9;
}

.page-hero-container {
    position: relative;
    z-index: 1; /* Above any overlay */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 0 1rem; /* From Frame 4418 */
    max-width: 1280px;
    width: 100%;
    min-height: 640px; /* From Frame 4418 */
    box-sizing: border-box;
}

.page-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px; /* From Frame 4477 */
    width: 100%;
    max-width: 585.5px;
}

.page-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 64px;
    line-height: 110%; /* or 70px */
    letter-spacing: -0.01em;
    margin: 0;
}
.page-hero-title.text-white { color: #FFFFFF; }
.page-hero-title.text-dark-blue { color: #0A1837; }

.page-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 160%; /* or 32px */
    margin: 0;
}
.page-hero-subtitle.text-white { color: #FFFFFF; }
.page-hero-subtitle.text-dark-blue { color: #0A1837; }

.page-hero-media {
    flex: none;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 574.5px;
}

.page-hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 574.5px;
    height: 600px; /* From Frame 140 */
    background: rgba(74, 85, 101, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-play-btn {
    position: absolute;
    bottom: 40px; /* Arbitrary, adjust if needed to match left:26px top:459px */
    left: 40px;
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.page-hero-play-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .page-hero-container {
        flex-direction: column;
        gap: 60px;
        padding: 40px 1rem;
        min-height: auto;
    }
    .page-hero-content {
        align-items: center;
        text-align: center;
    }
    .page-hero-image-wrapper {
        height: auto;
        aspect-ratio: 574.5/600;
    }
}
@media (max-width: 768px) {
    .page-hero-title { font-size: 48px; }
    .page-hero-subtitle { font-size: 18px; }
}



/* ==========================================================================
   Built on Diverse Section (Clinical Pipeline)
   Exact match to Figma Frame 4418
   ========================================================================== */

/* Outer section */
.built-on-diverse-section {
    width: calc(100% - 32px);
    max-width: 1248px;
    margin: 0 auto;
    padding: 80px 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Main flex wrapper: text left, grid right, 60px gap */
.built-on-diverse-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}

/* ---- Left: Text Block ---- */
.built-on-diverse-section .diverse-text-block {
    width: 519px;
    min-width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
}

.built-on-diverse-section .diverse-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(34, 140, 34, 0.6);
}

.built-on-diverse-section .diverse-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #1E2939;
    margin: 0;
}

.built-on-diverse-section .diverse-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: #4A5565;
    margin: 0;
}

/* ---- Right: 2-Column Grid ---- */
.built-on-diverse-section .diverse-grid {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 16px;
    min-width: 0;
}

/* Each column fills equally */
.built-on-diverse-section .diverse-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ---- Base Card ---- */
.built-on-diverse-section .diverse-card {
    border-radius: 24px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.built-on-diverse-section .diverse-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.built-on-diverse-section .diverse-card__value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #0A1837;
}

.built-on-diverse-section .diverse-card__label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: #0A1837;
}

/* Light text variant */
.built-on-diverse-section .diverse-card__value--light { color: #FFFFFF; }
.built-on-diverse-section .diverse-card__label--light { color: #FFFFFF; }

/* ---- Card 1: 99.5% Sensitivity (tall, top-left) ---- */
.built-on-diverse-section .diverse-card--sensitivity {
    height: 352px;
    background: rgba(1, 75, 36, 0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    isolation: isolate;
}

/* Green blur circle */
.built-on-diverse-section .diverse-card__blur-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 34px;
    top: 139px;
    background: #31B331;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

/* ---- Card 2: 500k+ Training Frames (short, bottom-left) ---- */
.built-on-diverse-section .diverse-card--training {
    height: 184px;
    background: #014B24;
}

/* ---- Card 3: < 15 Minutes Reading Time (short, top-right) ---- */
.built-on-diverse-section .diverse-card--reading {
    height: 184px;
    background: #E8F5DB;
    border-radius: 24px;
}

/* ---- Card 4: Image (tall, bottom-right) ---- */
.built-on-diverse-section .diverse-card--image {
    height: 352px;
    background-size: cover;
    background-position: center;
    padding: 0;
}

/* ---- Responsive: Built on Diverse ---- */

/* Tablet: text stacks above grid */
@media (max-width: 1100px) {
    .built-on-diverse-section {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
    }
    .built-on-diverse-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }
    .built-on-diverse-section .diverse-text-block {
        width: 100%;
        min-width: 0;
        max-width: 600px;
    }
    .built-on-diverse-section .diverse-card--sensitivity,
    .built-on-diverse-section .diverse-card--image {
        height: 260px;
    }
    .built-on-diverse-section .diverse-card--training,
    .built-on-diverse-section .diverse-card--reading {
        height: 140px;
    }
}

/* Mobile: grid becomes single column */
@media (max-width: 768px) {
    .built-on-diverse-section {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
    }
    .built-on-diverse-wrapper {
        gap: 32px;
    }
    .built-on-diverse-section .diverse-title {
        font-size: 32px;
    }
    .built-on-diverse-section .diverse-description {
        font-size: 16px;
    }
    .built-on-diverse-section .diverse-grid {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    .built-on-diverse-section .diverse-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .built-on-diverse-section .diverse-col {
        display: contents; /* Strip out the column wrappers so cards are direct children of grid */
    }
    .built-on-diverse-section .diverse-card {
        flex: none !important;
        height: 100% !important;
        min-height: 140px;
    }
    
    .built-on-diverse-section .diverse-card--image {
        min-height: 160px;
    }

    .built-on-diverse-section .diverse-card__value {
        font-size: 24px;
    }
    .built-on-diverse-section .diverse-card__label {
        font-size: 14px;
    }
    .built-on-diverse-section .diverse-card__blur-circle {
        width: 80px;
        height: 80px;
        left: 10px;
        top: 40px;
        filter: blur(25px);
    }
}

/* Small mobile: all cards full width */
@media (max-width: 480px) {
    .built-on-diverse-section {
        width: 100%;
        max-width: 100%;
        padding: 32px 16px;
    }
    .built-on-diverse-section .diverse-title {
        font-size: 28px;
    }
    .built-on-diverse-section .diverse-description {
        font-size: 15px;
    }
    
    /* On very small mobile, keep grid but adjust min height and fonts. */
    .built-on-diverse-section .diverse-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .built-on-diverse-section .diverse-col {
        display: contents;
    }
    .built-on-diverse-section .diverse-card {
        min-height: 120px;
        padding: 16px;
    }
    .built-on-diverse-section .diverse-card--image {
        min-height: 140px;
    }
    .built-on-diverse-section .diverse-card__value {
        font-size: 20px;
    }
    .built-on-diverse-section .diverse-card__label {
        font-size: 12px;
    }
}


/* ==========================================================================
   Comparative Analysis Section (Clinical Pipeline)
   Exact match to Figma comparative.png
   ========================================================================== */

.comparative-section {
    width: calc(100% - 32px);
    max-width: 1248px;
    margin: 0 auto;
    padding: 80px 0;
    box-sizing: border-box;
}

.comparative-wrapper {
    width: 100%;
}

/* 3-column layout */
.comparative-table {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

/* Title blocks */
.comp-title-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

/* Mobile title is hidden by default (desktop view) */
.comp-title-block--mobile {
    display: none;
}

/* Desktop title sits in the left column and takes up space equivalent to card headers */
.comp-title-block--desktop {
    height: 153px;
    padding-bottom: 0;
    box-sizing: border-box;
}

/* Base styles for scroll indicator and arrows (hidden on desktop) */
.comp-scroll-indicator,
.comp-scroll-arrow {
    display: none;
}

/* Base styles for scroll indicator (but it's hidden inside comp-title-block--mobile on desktop anyway) */
.comp-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.comp-scroll-icon {
    animation: swipeHint 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ================================================================
   Column 1: Labels (left side)
   ================================================================ */
.comp-col--labels {
    width: 588px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-right: 32px;
    box-sizing: border-box;
}

/* Title block previously here -> moved up */

.comp-section-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(34, 140, 34, 0.6);
}

.comp-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}

/* Label data cells: exact 75px height to match card rows */
.comp-cell--label {
    display: flex;
    align-items: center;
    height: 75px;
    padding: 24px 0;
    border-bottom: 1px solid #E2E8F0;
    box-sizing: border-box;
}

.comp-cell--label.comp-cell--last {
    border-bottom: none;
}

.comp-label-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: #475569;
}

/* ================================================================
   Column 2 & 3: Card columns (green / pink)
   ================================================================ */
.comp-col--mederi,
.comp-col--competitor {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 60px; /* push card down to align rows with labels */
}

/* Card container */
.comp-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.comp-card--green {
    background: #F0FDF4;
    border: 1px solid #D1FAE5;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.comp-card--pink {
    background: #FEF2F2;
    border: 1px solid #FEF2F2;
}

/* Card headers */
.comp-card-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 32px;
    box-sizing: border-box;
    height: 93px;
}

.comp-card-header--green {
    background: rgba(209, 250, 229, 0.5);
    border-bottom: 1px solid #A7F3D0;
}

.comp-card-header--pink {
    background: rgba(254, 242, 242, 0.5);
    border-bottom: 1px solid #FEE2E2;
}

.comp-header-text--green {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.45px;
    color: #064E3B;
}

.comp-header-text--pink {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #334155;
    text-align: center;
}

/* Logo icon in green header */
.comp-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Card data cells: exact 75px height to match label rows */
.comp-cell--green,
.comp-cell--pink {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 75px;
    padding: 24px 0;
    box-sizing: border-box;
}

.comp-cell--green {
    border-bottom: 1px solid #D1FAE5;
}

.comp-cell--pink {
    border-bottom: 1px solid #FEE2E2;
}

.comp-cell--green.comp-cell--last,
.comp-cell--pink.comp-cell--last {
    border-bottom: none;
}

.comp-value--green {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #022C22;
    text-align: center;
}

.comp-value--pink {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #475569;
    text-align: center;
}

/* Icons */
.comp-icon {
    font-size: 18px;
    line-height: 28px;
    flex-shrink: 0;
}

.comp-icon--yes { color: #059669; }
.comp-icon--no  { color: #94A3B8; }

/* ---- Responsive: Comparative Analysis ---- */

/* Tablet: shrink label column, reduce padding */
@media (max-width: 1100px) {
    .comparative-section {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
    }
    .comp-col--labels {
        width: auto;
        flex: 1;
        padding-right: 16px;
    }
    .comp-section-title {
        font-size: 36px;
    }
    .comp-cell--label,
    .comp-cell--green,
    .comp-cell--pink {
        height: 110px;
    }
    .comp-title-block--desktop {
        height: auto;
        min-height: 120px;
    }
    .comp-col--labels {
        padding-top: 27px; /* Align with desktop push in Mederi/Competitor columns */
    }
    .comp-col--mederi,
    .comp-col--competitor {
        padding-top: 27px; /* desktop push */
    }
}

/* Mobile: Horizontal scroll comparison table */
@media (max-width: 768px) {
    .comparative-section {
        width: 100%;
        max-width: 100%;
        padding: 40px 0;
        overflow: visible;
    }

    /* Toggle title blocks for mobile */
    .comp-title-block--desktop {
        display: none !important;
    }
    .comp-title-block--mobile {
        display: flex;
        height: auto;
        padding: 0 20px 24px;
        margin-bottom: 0;
    }
    
    .comp-section-label {
        padding-left: 20px;
    }
    .comp-section-title {
        font-size: 28px;
    }

    /* Scrollable table container constraints */
    .comparative-scroll-container {
        position: relative;
        width: 100%;
    }

    /* Scrollable table */
    .comparative-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        /* Hide scrollbar for cleaner look if navigation arrows exist */
        scrollbar-width: none; /* Firefox */
    }
    .comparative-wrapper::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    .comparative-table {
        min-width: 740px; /* Increased from 620px to match wider columns */
        gap: 8px;
        padding: 0 20px;
    }

    /* Scroll Navigation Arrows */
    .comp-scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #ffffff;
        border: 1px solid #E5E7EB;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        color: #4A5565;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        opacity: 0; /* Hidden by default via JS */
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s;
    }
    /* "show" class applied by Javascript when scrolling is available */
    .comp-scroll-arrow.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .comp-scroll-arrow:hover {
        background-color: #F9FAFB;
        color: #111827;
    }

    /* Positioning left and right */
    .comp-scroll-arrow--left {
        left: 4px;
    }
    .comp-scroll-arrow--right {
        right: 4px;
    }

    /* Shrink label column and push down to match card headers */
    .comp-col--labels {
        width: 180px;
        min-width: 180px;
        padding-right: 8px;
        padding-top: 80px; /* offset for the card header height */
    }

    /* Card columns */
    .comp-col--mederi,
    .comp-col--competitor {
        padding-top: 0; /* no top padding on mobile since label column has no header */
        flex: 1;
        min-width: 260px; /* Increased from 200px */
    }

    /* All cells auto height -> now fixed to align */
    .comp-cell--label,
    .comp-cell--green,
    .comp-cell--pink {
        height: 110px;
    }

    /* Smaller fonts */
    .comp-card-header {
        height: 80px;
        padding: 16px 12px;
    }
    .comp-cell--green,
    .comp-cell--pink {
        padding: 12px 10px;
    }
    .comp-header-text--green {
        font-size: 14px;
    }
    .comp-header-text--pink {
        font-size: 13px;
    }
    .comp-value--green,
    .comp-value--pink {
        font-size: 13px;
    }
    .comp-label-text {
        font-size: 15px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .comp-section-title {
        font-size: 24px;
    }
    .comparative-table {
        min-width: 560px;
        padding: 0 16px;
    }
    .comp-col--labels {
        width: 150px;
        min-width: 150px;
    }
    .comp-value--green,
    .comp-value--pink {
        font-size: 12px;
    }
    .comp-label-text {
        font-size: 14px;
    }
}
