:root {
    /* Brand Colors - Standardized */
    --brand-blue: #1F6BFF;
    --brand-green: #37C384;
    --brand-navy: #1E3A8A;
    --brand-orange: #F97316;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-slate-50: #F8FAFC;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-600: #475569;
    --color-slate-900: #0F172A;

    /* Gradients */
    --gradient-primary-btn: linear-gradient(135deg, #FFB04E 0%, #F97316 100%);
    --gradient-navy-card: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);

    /* Typography */
    --font-family-base: 'Inter', sans-serif;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-slate-900);
    background-color: var(--color-white);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    @media (hover: hover) {
        opacity: 0.8;
    }
}

/* Promotional Banner Strip */
.promo-banner {
    background: linear-gradient(90deg, #1F6BFF 0%, #58B4FF 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 1000;
    width: 100%;
    line-height: 1.3;
}

.promo-banner-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 768px) {
    .promo-banner {
        font-size: 1rem;
        padding: 7px 20px;
        line-height: 1.4;
    }

    .promo-banner-content {
        padding: 0 24px;
    }
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    /* Reduced from 24px for mobile */
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    /* Prevent awkward wrapping */
}

@media (min-width: 375px) {
    .btn {
        padding: 8px 20px;
    }
}

.btn-primary {
    background: var(--gradient-primary-btn);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--color-white);
    color: var(--brand-orange);
    padding: 12px 24px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .btn-white {
        padding: 14px 36px;
        font-size: 1rem;
    }
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Background image removed in favor of video */
    background-color: var(--color-navy-dark);
    /* Fallback */
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Ensure video doesn't overflow */
}

/* Background Video */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video covers the area like background-size: cover */
    z-index: 0;
}

/* Hero Overlay - Gradient */
.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.6) 0%,
            /* Darker top */
            rgba(15, 23, 42, 0.4) 40%,
            /* Medium dark middle */
            rgba(15, 23, 42, 0.7) 80%,
            /* Dark bottom */
            rgba(15, 23, 42, 0.9) 100%
            /* Very dark bottom */
        );
    z-index: 1;
    /* Above video */
}

/* Content z-index fix */
.top-bar,
.navbar,
.hero {
    position: relative;
    z-index: 2;
    /* Above overlay */
}

/* Top Bar */
.top-bar {
    background-color: #1F6BFF;
    color: var(--color-white);
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 3;
    /* Ensure top bar stays on very top if needed */
}

.top-bar a {
    text-decoration: underline;
    font-weight: 600;
}

/* Navbar */
.navbar {
    width: calc(100% - 32px);
    /* Matches container padding 16px*2 */
    max-width: 1280px;
    margin: 12px auto 0;
    /* Reduced top margin on mobile */
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    padding: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

@media (min-width: 992px) {
    .logo-img {
        height: 48px;
    }

    .navbar {
        margin: 20px auto 0;
        padding: 16px 32px;
        /* Kept transparent/glass style */
    }

    .nav-container {
        justify-content: flex-start;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Changed from space-between for better sizing control */
    gap: 6px;
    /* Explicit gap */
    width: 48px;
    /* Increased from 30px for tap target */
    height: 48px;
    /* Increased from 20px for tap target */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    /* Add padding area */
    z-index: 2001;
    margin-left: 8px;
    /* Slightly reduced margin */
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Transform to Close Button (X) */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* --- New Mobile Menu Overlay --- */
/* --- New Mobile Menu Overlay (Redesign 2026) --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--brand-navy);
    /* Fallback */
    background: linear-gradient(180deg, #0F172A 0%, #060912 100%);
    z-index: 2000;
    padding: 20px 24px 32px;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    transform: translateY(0);
    visibility: visible;
}

/* Mobile Menu Header */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 0;
    /* Removed border */
    border: none;
    width: 100%;
}

.mn-header-left {
    flex: 0 0 auto;
}

.mn-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-logo img {
    height: 32px;
    width: auto;
}

/* Header Buttons */
.mn-icon-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 12px;
    /* Increased from 8px for 44px+ touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.mn-icon-btn:hover {
    @media (hover: hover) {
        opacity: 1;
    }
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
    height: 36px;
}

/* Mobile Menu List */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Increased spacing */
    margin-top: 20px;
    flex: 1;
    /* Pushes footer down */
}

.mobile-nav-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for Items */
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-list li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-nav-overlay.active .mobile-nav-list li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-list li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav-overlay.active .mobile-nav-list li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-list li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav-list a {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.mobile-nav-list a:hover {
    @media (hover: hover) {
        color: var(--brand-orange);
    }
}

/* Mobile Menu Footer */
.mobile-nav-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-top: 32px;
}

.full-width-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #CF8059;
    /* Matching reference "Login" color logic or closest brand equivalent */
    color: var(--brand-orange);
    /* Darwin Brand Orange for consistency */
}

.btn-outline-white:hover {
    @media (hover: hover) {
        border-color: var(--brand-orange);
        background: rgba(249, 115, 22, 0.1);
    }
}



/* Navigation Links */
.nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--brand-navy);
    /* Fallback */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
    z-index: 90;
    /* Behind navbar container but above hero */
}

.nav-links.active {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: 0s;
}

.nav-links.active li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for links */
.nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-links a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
}

@media (min-width: 992px) {
    .nav-links {
        position: static;
        height: auto;
        background: transparent;
        width: auto;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        transform: none;
        visibility: visible;
        transition: none;
        padding: 0;
        gap: 40px;
        margin-left: auto;
    }

    .nav-links li {
        opacity: 1;
        transform: none;
    }

    .nav-links a {
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-white);
        /* Adjust based on background */
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-link {
    font-weight: 600;
    margin-right: 8px;
    display: none;
}

@media (min-width: 992px) {
    .nav-actions {
        margin-left: 40px;
    }
}

/* Mobile Navbar Button Sizing */
@media (max-width: 991px) {
    .nav-actions .btn {
        padding: 10px 16px;
        /* Increased padding */
        font-size: 0.85rem;
        /* Increased from 0.75rem */
        white-space: nowrap;
        min-height: 40px;
        /* Ensure minimum height */
    }

    .nav-container {
        gap: 8px;
    }

    .logo-img {
        height: 32px;
    }
}

@media (min-width: 768px) {
    .login-link {
        display: block;
    }
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    max-width: 640px;
    margin-top: 90px;
}

@media (min-width: 992px) {
    .hero-content {
        margin-top: 170px;
    }
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    /* Increased from 0.75rem */
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.5rem;
    /* Reduced from 3rem for better mobile fit */
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

.hero-heading i,
.hero-heading em {
    font-style: normal;
}

@media (min-width: 480px) {
    .hero-heading {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: 4rem;
        margin: 0 0 24px 0;
    }
}

.hero-copy {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Bottom Row (CTA + Stats) */
.hero-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .hero-bottom-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-stats {
        margin-top: 0;
        /* Reset margin */
        margin-left: auto;
        /* Push to the right side */
    }
}

/* Hero Stats - Updated for context */
.hero-stats {
    display: none;
}

@media (min-width: 768px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
        gap: 32px;
    }
}

.stat-item h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-divider {
    display: none;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}

/* Mobile Menu Button */
.menu-btn {
    display: block;
}


/* How It Works Section */
.how-it-works {
    padding: 20px 0;
    background-color: transparent;
    text-align: center;
}

.gradient-card-wrapper {
    background: linear-gradient(135deg, #0A2468 0%, #133B9E 100%);
    border-radius: 60px;
    padding: 60px 60px;
    color: white;
    /* box-shadow: 0 20px 40px rgba(31, 107, 255, 0.15); */
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 60px;
    text-align: center;
}

.section-title em {
    color: #FFFFFF;
    /* Make 'Easy' white to match image or keep green? Image shows Green 'Easy'. Let's keep Brand Green if legible, or white.
       User req: "stick to darwin health colour theme".
       Blue bg -> Green text (#37C384) might have low contrast/vibrate.
       Let's try white for now as it's safest on blue gradient, or maybe a very light mint.
       Actually, checking the uploaded image 0... title is blue "Testing is", Green "Easy" on a WHITE background in the first image, BUT user wants a GRADIENT CARD over the section.
       If card is blue, "Testing is" (Blue) will be invisible. So "Testing is" must be White.
       "Easy" (Green) on Blue gradient... #37C384 on #1F6BFF.
       Contrast ratio is ~1.5:1 (Fail).
       Let's make em White as well or lighter.
       Wait, let's look at the request "Gradinent :- #1F6BFF → #58B4FF".
       If I use white text, it's safe.
       Let's use white for everything in the title.
    */
    color: #FFFFFF;
    font-style: italic;
    opacity: 0.9;
}

.steps-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 60px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.steps-grid::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        padding-bottom: 0;
        margin-bottom: 60px;
    }

    .step-card {
        min-width: auto;
        /* Reset order properties for desktop */
    }

    .card-visual {
        order: 0;
        margin-bottom: 0;
        margin-top: 24px;
        /* Standard spacing for desktop */
    }

    .carousel-dots {
        display: none;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    color: #FFFFFF;
    min-width: 85%;
    scroll-snap-align: center;
    justify-content: space-between;
    /* Ensure full height usage */
}

/* Mobile Reordering: Visual First */
.card-visual {
    order: -1;
    margin-bottom: 24px;
    width: 100%;
    /* Ensure visuals scale nicely */
}

/* Pagination Dots */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    width: 12px;
    background-color: #37C384;
    /* Brand Green */
    transform: scale(1.1);
}

.step-card:hover {
    @media (hover: hover) {
        transform: translateY(-5px);
    }
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: #37C384;
    /* Green */
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.step-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}

.step-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
    max-width: 280px;
    line-height: 1.5;
}

/* Visuals Container */
.card-visual {
    width: 100%;
    margin-top: auto;
    min-height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Calendar Visual - Updated Layout */
.calendar-visual {
    width: 90%;
    /* Leave space on left and right */
    max-width: 320px;
    /* Constrain width to center it nicely */
    margin: auto;
    /* Center horizontally */
    margin-top: 40px;
    /* Push to bottom half */
    position: relative;
}

.calendar-scroll-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Date Cards */
.date-cards-row {
    display: flex;
    gap: 12px;
    padding-left: 0;
    /* Removing offset to center better within the constrained width */
    justify-content: flex-start;
    /* Items flow from left */
    overflow: hidden;
    /* Hide overflow */
    width: 100%;
    position: relative;
}

.date-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    /* Force width */
    height: 70px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.1);
}

.date-card .day {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.date-card .date {
    font-size: 1.5rem;
    /* Larger as per image */
    font-weight: 600;
    color: #FFFFFF;
}

/* Active Date Card */
.date-card.active {
    background-color: #37C384;
    /* Green */
    border-color: #37C384;
    box-shadow: 0 4px 12px rgba(55, 195, 132, 0.3);
}

.date-card.active .day,
.date-card.active .date {
    color: white;
}

/* Time Pills */
.time-pills-row {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow: hidden;
}

.time-pill {
    padding: 10px 24px;
    /* Increased vertical padding from 8px */
    /* Larger padding as per image */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    /* Matches date card radius style more */
    font-size: 1rem;
    /* Larger font */
    font-weight: 700;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.time-pill.active {
    background-color: #37C384;
    /* Green */
    border-color: #37C384;
    color: white;
}

/* Fade Overlay for Scroll Effect - Right Side Only */
.scroll-fade-overlay {
    display: none;
}

/* Graph Visual - Updated Layout */
.graph-visual {
    width: 90%;
    margin: auto;
    margin-top: 30px;
    height: 160px;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

/* Y-Axis / Range Indicators */
.graph-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    width: 90px;
}

.range-group {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 33%;
}

.range-bar {
    width: 6px;
    height: 70%;
    border-radius: 4px;
}

.range-bar.outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.range-bar.filled {
    background: linear-gradient(to bottom, #37C384, #2EA06D);
    /* Green Gradient */
    border: none;
    box-shadow: 0 0 8px rgba(55, 195, 132, 0.2);
}

.range-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Chart Area */
.graph-chart-area {
    flex-grow: 1;
    position: relative;
    height: 100%;
}

/* Background Zones */
.chart-zones {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.zone {
    width: 100%;
    flex: 1;
    border-top: 1px dashed rgba(55, 195, 132, 0.2);
    /* Subtle green dash */
}

.zone.bottom-zone {
    border-bottom: 1px dashed rgba(55, 195, 132, 0.2);
}

.zone.middle-zone {
    background: linear-gradient(to right, rgba(55, 195, 132, 0.05), rgba(55, 195, 132, 0.01));
    /* Very subtle green tint */
}

/* Graph Data Layer */
.graph-data-layer {
    position: absolute;
    inset: 0;
    /* Padding to keep points inside zones */
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.graph-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: visible;
}

.graph-line-svg path {
    stroke: #37C384;
    filter: drop-shadow(0 4px 6px rgba(55, 195, 132, 0.2));
}

.graph-point {
    width: 12px;
    height: 12px;
    background: #37C384;
    border: 2px solid #FFFFFF;
    /* White border for pop */
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    /* Center the point on the coordinate */
}

/* Point Positioning (Relative to data layer) */
/* Graph ViewBox 160x100.
   P1: 20,25 -> 20/160=12.5%, 25/100=25%
   P2: 80,75 -> 80/160=50%,   75/100=75%
   P3: 140,65 -> 140/160=87.5%, 65/100=65%
*/
.p1 {
    top: 25%;
    left: 12.5%;
}

.p2 {
    top: 75%;
    left: 50%;
}

.p3 {
    top: 65%;
    left: 87.5%;
}

/* Point Values */
.p1::after {
    content: '16.7';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF;
}

.p2::after {
    content: '10.0';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF;
}

.p3::after {
    content: '12.5';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF;
}


/* Footer */
.site-footer {
    background-color: var(--brand-blue);
    color: var(--color-white);
    padding: 80px 0 32px;
    margin-top: 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 992px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.footer-links-wrapper {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer-links-wrapper {
        gap: 80px;
    }
}

.footer-nav-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-nav-col li {
    margin-bottom: 14px;
}

.footer-nav-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.footer-nav-col a:hover {
    color: var(--color-white);
    transform: translateX(2px);
    display: inline-block;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    /* Increased from 36px */
    height: 44px;
    /* Increased from 36px */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s;
}

.social-link:hover {
    @media (hover: hover) {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
    }
}


/* List Visual - Protocol Cards */
.list-visual {
    width: 100%;
    max-width: 280px;
    /* Reduced width for compactness */
    margin: auto;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Tighter gap */
}



.protocol-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    /* Reduced padding */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.protocol-card:hover {
    @media (hover: hover) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
}

.protocol-icon {
    width: 40px;
    /* Smaller icon box */
    height: 40px;
    background: #37C384;
    /* Green Theme */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.protocol-icon svg {
    width: 20px;
    height: 20px;
}

.protocol-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.protocol-title {
    font-size: 0.9rem;
    /* Slightly smaller */
    font-weight: 700;
    color: #FFFFFF;
}

.protocol-desc {
    font-size: 0.75rem;
    /* Smaller desc */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    /* Truncate if too long */
}

.list-item .text {
    display: flex;
    flex-direction: column;
}

.list-item strong {
    font-size: 0.8rem;
    color: var(--color-navy);
}

.list-item span {
    font-size: 0.7rem;
    color: var(--color-slate-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* Actions */
.steps-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.btn-secondary:hover {
    @media (hover: hover) {
        background: white;
        color: var(--brand-blue);
    }
}



/* --------------------------
   Monitor Section
   -------------------------- */
.monitor-section {
    padding: 20px 0 40px 0;
    background-color: #FFFFFF;
    /* Matching How It Works bg */
    text-align: center;
    overflow: hidden;
    /* For Marquee */
    position: relative;
}

.monitor-title {
    color: var(--color-slate-900);
    margin-bottom: 30px;
}

.monitor-title em {
    color: #1F6BFF;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* Features Features */
.monitor-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 60px;
}

.monitor-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-slate-600);
}

/* Visual Wrapper */
.monitor-visual-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    /* Reduced height to keep compact */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Marquee Animation */
.marquee-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
    pointer-events: none;
    /* Let clicks pass through if needed */
    user-select: none;
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee-scroll 60s linear infinite;
    padding-right: 50px;
    /* Spacing between loop items */
}

/* Direction modifiers */
.marquee-left .marquee-content {
    animation-direction: normal;
    /* Moves left */
}

.marquee-right .marquee-content {
    animation-direction: reverse;
    /* Moves right */
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-content span {
    font-size: 1.5rem;
    color: rgba(15, 23, 42, 0.1);
    /* Very faint slate-900 */
    font-weight: 400;
    margin: 0 12px;
}

.marquee-content .dot {
    color: rgba(15, 23, 42, 0.1);
    font-size: 1rem;
}

/* Central Monitor Card */
.monitor-card {
    position: relative;
    z-index: 5;
    /* Above Marquee */
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.85);
    /* High opacity for legibility */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);

    width: 380px;
    /* Smaller width as requested */
    height: 300px;
    /* Reduced height */

    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    display: flex;
    padding: 24px 32px;
    /* Reduced padding */
    gap: 20px;
}

/* Y Axis Layout within Card */
.monitor-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 100%;
    padding-bottom: 24px;
    /* Space for x-axis visual alignment */
}

/* Range Bars */
.monitor-range-bar {
    width: 12px;
    border-radius: 6px;
    position: relative;
}

.outline-bar {
    flex-grow: 1;
    /* Takes up top space */
    border: 1px solid #A3A3A3;
    /* Grey outline */
    background: transparent;
    margin-bottom: 8px;
    /* Gap */
    /* "IN RANGE" Label positioned visually via absolute relative to bar or container?
       Keeping it simple as the label is separate in HTML flow.
       Actually, labels are text next to bars.
    */
}

.filled-bar {
    height: 100px;
    /* Shorter bottom bar */
    background: #1F6BFF;
    /* Brand Blue solid fill */
    border: 1px solid #1E3A8A;
    /* Darker Blue border */
}

.monitor-range-label {
    /* Hiding text labels for now to match pure visual or keeping as separate? */
    /* The image has text "IN RANGE" next to the bar area. */
    /* The HTML structure has labels intermixed. Let's position absolute relative to axis col. */
    display: none;
    /* Resetting formatting from previous to specific absolute */
}

/* Re-implementing labels with absolute positioning inside Y-axis col */
.monitor-y-axis {
    position: relative;
    width: 100px;
    /* Wider to hold text */
    align-items: flex-start;
    /* Align bars left */
}

.monitor-range-bar {
    margin-left: 10px;
    /* Indent bars */
}

.in-range-text {
    display: block;
    position: absolute;
    top: 35%;
    /* Rough vertical center of top area */
    left: 32px;
    font-size: 0.7rem;
    font-family: monospace;
    font-weight: 500;
    color: #4B5563;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.below-range-text {
    display: block;
    position: absolute;
    bottom: 50px;
    /* Near bottom bar center */
    left: 32px;
    font-size: 0.7rem;
    font-family: monospace;
    font-weight: 600;
    color: #4B5563;
    letter-spacing: 0.05em;
    white-space: nowrap;
}


/* Chart Area main container */
.monitor-chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Zones */
.bg-zone {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.in-range-zone {
    top: 0;
    bottom: 100px;
    /* Matches threshold line height */
    background: rgba(34, 197, 94, 0.04);
    /* Subtle green tint */
    border-radius: 4px;
}

/* Dashed Threshold Line */
.monitor-threshold-line {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    border-top: 2px dashed #E5E7EB;
    /* Very light grey dash */
    z-index: 1;
}

/* Graph Area */
.monitor-graph-area {
    flex: 1;
    position: relative;
    /* Height and Width controlled by flex parent */
}

.monitor-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: visible;
}

.monitor-line-svg polyline {
    stroke: #D1D5DB;
    /* Grey line */
}

/* Vertical Drop Lines */
.drop-line {
    position: absolute;
    background: #E5E7EB;
    width: 1px;
    bottom: 0px;
    /* Touch the axis */
    z-index: 1;
}

/* Position Drop Lines */
.l-start {
    left: 20%;
    height: 20%;
    /* P1 is at 80%? No, let's re-eval coords */
}

.l-mid {
    left: 50%;
    height: 70%;
}

.l-end {
    left: 78%;
    height: 70%;
}

/* Adjusted slightly left to center with point */

/* Points */
.m-point {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* P1 (May 25) - Solid Orange */
.p-start {
    left: 20%;
    top: 80%;
    /* Low y-value */
    width: 16px;
    height: 16px;
    background: #1F6BFF;
    /* Brand Blue */
    border: 1px solid #1E3A8A;
    border-radius: 50%;
}

/* Re-calc drop line height */
.l-start {
    top: 80%;
    bottom: 0;
    height: auto;
}


/* P2 (Oct 25) - Solid Green */
.p-mid {
    left: 50%;
    top: 30%;
    /* High y-value */
    width: 16px;
    height: 16px;
    background: #37C384;
    /* Brand Green */
    border: none;
    border-radius: 50%;
}

/* Re-calc drop line height */
.l-mid {
    top: 30%;
    bottom: 0;
    height: auto;
}


/* P3 (May 26) - Green Ring / Bullseye */
.p-end {
    left: 78%;
    /* Match X */
    top: 30%;
    /* Same height as P2 */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid #37C384;
    /* Brand Green Border */
    display: flex;
    justify-content: center;
    align-items: center;
}

.l-end {
    top: 30%;
    bottom: 0;
    height: auto;
}


/* Outer Ring Animation (Ripple) */
.outer-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid #37C384;
    opacity: 0.4;
    animation: pulse-ring 2s infinite;
}

/* Multiple rings if needed via ::before/::after, but simple pulse for now */
.outer-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid #37C384;
    opacity: 0.2;
}


@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}


/* X Axis Labels */
.monitor-x-axis {
    display: block;
    /* Using absolute positioning relative to points? Or Flex? */
    position: relative;
    height: 30px;
}

.x-label {
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #6B7280;
    font-family: inherit;
}

.l-start-text {
    left: 20%;
}

.l-mid-text {
    left: 50%;
}

.l-end-text {
    left: 78%;
}

/* Mobile Responsiveness for Monitor Section */
@media (max-width: 768px) {
    .monitor-visual-wrapper {
        height: auto;
        padding: 40px 0;
        flex-direction: column;
    }

    .marquee-wrapper {
        position: relative;
        transform: none;
        top: 0;
        margin-bottom: 20px;
    }

    .monitor-card {
        width: 100%;
        max-width: 380px;
        margin-top: -80px;
        /* Slight overlap or pull-up */
    }
}


/* --------------------------
   Features Section
   -------------------------- */
.features-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    border-bottom: none;
}

.features-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.feature-item {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-slate-900);
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.feature-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        /* Remove gap to use borders effectively */
    }

    .feature-item {
        padding: 0 32px;
        position: relative;
    }

    /* Add borders between items */
    .feature-item:not(:last-child) {
        border-right: 1px solid #E2E8F0;
    }

    /* Plus sign decorative elements at the intersections approx */
    /* This simulates the look in the image where there's a divider */
    .feature-item:not(:last-child)::after {
        content: '+';
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        color: #E2E8F0;
        font-weight: 300;
        font-size: 14px;
        line-height: 1;
        z-index: 2;
        display: none;
        /* Hidden by default, enable if we want the exact plus look, but simple border is cleaner */
    }
}

/* -------------------------------------------------------------
   Biomarkers List Section (Modern Grid)
   ------------------------------------------------------------- */



/* --------------------------
   Health in Motion Section
   -------------------------- */
.motion-section {
    padding: 20px 0 40px 0;
    background-color: #FFFFFF;
    /* Warm off-white */
}

.motion-title {
    color: var(--color-slate-900);
}

.motion-title em {
    color: #1F6BFF;
    /* Brand Blue */
    font-style: italic;
}

.section-subtitle {
    text-align: center;
    color: var(--color-slate-600);
    margin-bottom: 60px;
    font-size: 1.1rem;
    margin-top: 0;
}

.motion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .motion-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.motion-card {
    background: #F8FAFC;
    /* Slate 50 - Tech/Clean Look */
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-600);
    margin-bottom: 12px;
    opacity: 0.8;
}

/* Advanced Card (Left) */
.advanced-card {
    background: #0A2468;
    /* Brand Deep Blue */
    color: white;
    display: flex;
    flex-direction: column;
}

.advanced-card .card-label {
    color: rgba(255, 255, 255, 0.7);
}

.advanced-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 40px 0;
    text-align: center;
}

.phone-mockup {
    background: rgba(255, 255, 255, 0.1);
    /* Transparent White */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pm-header {
    width: 100%;
    margin-bottom: 20px;
}

.pm-score {
    text-align: center;
}

.score-val {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

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

.pm-donut-chart {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}

.donut-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.donut-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.donut-segment {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.segment-green {
    stroke: #37C384;
    /* Brand Green */
    stroke-dasharray: 200 280;
    /* Approximate */
}

.segment-orange {
    stroke: #F97316;
    /* Brand Orange */
    stroke-dasharray: 40 280;
    stroke-dashoffset: -210;
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.dc-val {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1;
}

.dc-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.pm-stat-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 30px;
}

.pm-stat-val {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.pm-categories {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 16px;
}

.pm-categories h4 {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.pm-cat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}

.pm-cat-item:last-child {
    margin-bottom: 0;
}

.cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.cat-bar {
    display: flex;
    gap: 4px;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.cb-pill {
    height: 100%;
}

.pill-green {
    background: #37C384;
}

.pill-orange {
    background: #F97316;
}

/* Right Column */
.motion-right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.motion-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .motion-top-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Action Card */
.action-card {
    background: #F8FAFC;
}

.action-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 24px 0;
    color: var(--color-slate-900);
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ai-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-food {
    background: rgba(55, 195, 132, 0.15);
    color: var(--brand-green);
}

.icon-supp {
    background: rgba(31, 107, 255, 0.15);
    color: var(--brand-blue);
}

.icon-routine {
    background: rgba(249, 115, 22, 0.15);
    color: var(--brand-orange);
}

.ai-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.ai-text strong {
    color: var(--color-slate-900);
}

.ai-text span {
    color: var(--color-slate-600);
    font-size: 0.8rem;
}

/* Age Card (Runner) */
.age-card {
    background: #333;
    padding: 0;
    position: relative;
    border-radius: 24px;
    height: 300px;
    /* Specific height */
    overflow: hidden;
}

.bg-runner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.age-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.85);
    /* Dark Navy overlay box */
    padding: 24px 32px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-val {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: white;
    line-height: 1;
}

.age-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Integration Card */
.integration-card {
    background: #F8FAFC;
}

.integration-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 32px 0;
    color: var(--color-slate-900);
}

.integration-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

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

.int-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.is-icon {
    margin-bottom: 8px;
}

.is-label {
    font-size: 0.9rem;
    color: var(--color-slate-600);
}

.is-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-slate-900);
}

.is-val small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 4px;
}

.is-chart {
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: 8px;
}

.is-chart span {
    flex: 1;
    border-radius: 2px;
}

.chart-blue span {
    background: #58B4FF;
}

.chart-purple span {
    background: #37C384;
}



.int-divider {
    width: 1px;
    height: 100%;
    background: #E2E8F0;
    display: none;
}

@media (min-width: 768px) {
    .int-divider {
        display: block;
    }
}

.integration-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #64748B;
    font-size: 0.85rem;
    justify-content: center;
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
}

/* --------------------------
   Pricing Section
   -------------------------- */
.pricing-section {
    padding: 20px 0 40px 0;
    background-color: #FFFFFF;
    /* Matches Health in Motion section */
}

.pricing-title {
    margin-bottom: 24px;
    color: var(--color-slate-900);
}

.pricing-title em {
    color: #1F6BFF;
    font-style: normal;
    font-family: inherit;
    /* Ensure standard font baseline */
    font-weight: 700;
}

.pricing-title .strike-price {
    color: #F97316;
    /* Brand Orange */
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    margin: 0 8px;
    opacity: 0.8;
    font-family: inherit;
    /* Ensure standard font baseline */
}

.pricing-card {
    background: linear-gradient(135deg, #0A2468 0%, #133B9E 100%);
    color: white;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    padding: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pricing-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 992px) {
    .pricing-content-wrapper {
        flex-direction: row;
        align-items: center;
        /* Split layout 40/60ish */
    }
}

/* Left Side: Info */
.pricing-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hsa-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-green);
    /* Brand Green */
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0 0 24px 0;
    color: white;
    line-height: 1.1;
}

.price-block {
    display: flex;
    align-items: baseline;
    /* Aligns text baselines */
    line-height: 1;
    margin-bottom: 16px;
    color: white;
}

.price-block .currency {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-right: 8px;
    /* align-self: flex-start; Removed for baseline align */
    /* margin-top: 10px; Removed */
    font-weight: 400;
}

.price-block .amount {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 400;
}

.price-block .period {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-left: 8px;
    /* margin-top: 24px; Removed */
}

.price-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0 0 40px 0;
}

.btn-pricing {
    background: var(--gradient-primary-btn);
    /* Brand Orange Gradient */
    color: white;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-pricing:hover {
    background: var(--brand-orange);
    opacity: 1;
}

/* Divider */
.pricing-divider {
    display: none;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    align-self: stretch;
    margin: 0 24px;
}

@media (min-width: 992px) {
    .pricing-divider {
        display: block;
    }
}

/* Right Side: Benefits */
.pricing-benefits {
    flex: 1.2;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

.pricing-benefits .check-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-green);
    /* Brand Green */
    flex-shrink: 0;
    margin-top: 2px;
}

/* Testimonials */
.testimonials-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stars {
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.6;
}

/* --------------------------
   CTA Section
   -------------------------- */
.cta-section {
    padding: 40px 0 160px;
    /* Generous padding */
    background-color: #FFFFFF;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    /* Large impact */
    margin: 0 0 16px 0;
    color: var(--color-slate-900);
    line-height: 1.1;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 5rem;
    }
}

.cta-title em {
    color: #1F6BFF;
    font-style: italic;
    font-weight: 400;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-slate-600);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
}

@media (min-width: 576px) {
    .cta-buttons {
        flex-direction: row;
        width: auto;
        max-width: none;
    }
}

.btn-cta-primary {
    background: var(--gradient-primary-btn);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    min-width: 160px;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta-outline {
    background: transparent;
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    min-width: 160px;
}

.btn-cta-outline:hover {
    background: rgba(31, 107, 255, 0.05);
}

/* =========================================
   Footer & CTA Styles
   ========================================= */

.site-footer {
    margin-top: 80px;
    background-color: var(--color-white);
}

/* 
   CTA Banner 
   Included in footer area as per request
*/
.footer-cta-wrapper {
    padding: 0 20px;
    margin-bottom: 50px;
}

.footer-cta-container {
    background: var(--gradient-navy-card);
    /* Using Brand Navy Gradient */
    /* Alternatively use Brand Blue: background: var(--brand-blue); */
    /* The inspiration image had a blue gradient. Let's stick to the Navy Card or Primary Btn gradient? 
       Actually, "Contact Us" inspiration was bright blue. Let's use brand-blue linear gradient. */
    background: linear-gradient(135deg, #1F6BFF 0%, #5899FF 100%);
    border-radius: var(--radius-lg);
    padding: 20px 20px;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered content if single column, or space-between if image */
}

/* Add some pattern or shape overlay if needed to match "premium" feel */
.footer-cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.footer-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    /* If we want left aligned like the image: */
    /* text-align: left; margin-right: auto; width: 100%; */
    /* But current "Life is short?" text suggests a bold centralized statement? 
       Let's follow the "Contact Us" image alignment: Left Text, Right Graphics (if any).
       Since I have no graphics, I will center it or keep it left but allow width. 
    */
    width: 100%;
}

.footer-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: var(--color-white);
}

.footer-cta-title em {
    font-style: italic;
    opacity: 0.9;
}

.footer-cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    font-weight: 500;
}

.footer-cta-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-link-white {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.btn-link-white:hover {
    opacity: 0.8;
}

/* Re-style btn-primary inside this blue container if needed 
   The inspiration has a Dark button "Our areas of Law" inside Blue bg.
   Let's make sure our primary button stands out. 
   White button might be better on Blue bg.
*/
.footer-cta-actions .btn-primary {
    background: var(--color-slate-900);
    /* Dark/Black button */
    color: white;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-actions .btn-primary:hover {
    background: black;
    transform: translateY(-2px);
}


/* 
   Main Footer Content
*/
.footer-content-container {
    padding-bottom: 40px;
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

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

@media (min-width: 1024px) {
    .footer-top-row {
        grid-template-columns: 2fr 1fr 1fr 2fr;
        /* Adjust widths */
        gap: 24px;
    }
}

.footer-heading {
    color: var(--color-slate-900);
    font-size: 1.1rem;
    /* "Useful Links" */
    font-weight: 700;
    margin: 0 0 24px 0;
}

.footer-menu li {
    margin-bottom: 16px;
}

.footer-menu a {
    color: var(--color-slate-600);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--brand-blue);
}

/* Subscribe Form */
.footer-subscribe-col {
    /* padding-left: 20px; if needed */
}

.subscribe-text {
    color: var(--color-slate-600);
    margin: 0 0 24px 0;
    font-size: 0.95rem;
}

.footer-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    /* Wrap on small screens if needed */
}

.footer-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-pill);
    /* 9999px */
    background: var(--color-slate-50);
    color: var(--color-slate-900);
    font-family: var(--font-family-base);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.footer-input:focus {
    border-color: var(--brand-blue);
}

.btn-subscribe {
    background: var(--brand-blue);
    /* Explicit Brand Blue */
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: #1557D4;
    /* Darker blue */
}

.form-note {
    font-size: 0.8rem;
    color: #94A3B8;
    /* Slate 400 */
    margin: 0;
}


/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid var(--color-slate-200);
    /* Or no border if prefer clean */
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-slate-900);
    /* If you have a specific logo style from header, replicate it. */
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--color-slate-900);
    transition: color 0.2s;
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: var(--brand-blue);
}

/* Legal Row */
.footer-legal-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.85rem;
    color: #94A3B8;
}

@media (min-width: 768px) {
    .footer-legal-row {
        flex-direction: row;
        justify-content: space-between;
    }
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #94A3B8;
}

.legal-links a:hover {
    color: var(--color-slate-600);
}

.copyright {
    color: #94A3B8;
}

/* Footer Implementation - Refined Layout */
.site-footer {
    background-color: transparent;
    padding: 0 0 40px;
    /* Removed external padding */
    margin-top: 0;
    /* Removed top margin */
}

.footer-card {
    background: linear-gradient(135deg, #0A2468 0%, #133B9E 100%);
    border-radius: 60px;
    /* Large rounded corners per request/image style */
    padding: 80px 60px 40px;
    /* Internal spacing moved here from site-footer */
    color: var(--color-white);
    overflow: hidden;
    /* Ensure content obeys radius */
}

/* Adjust responsive padding for the card */
@media (max-width: 768px) {
    .footer-card {
        padding: 60px 24px 32px;
        border-radius: 40px;
    }
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

@media (min-width: 992px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        /* Align bottom of columns */
    }
}

/* Left Column Info */
.footer-info-col {
    max-width: 500px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-cta-title {
    font-family: 'Inter', sans-serif;
    /* Per image look, might be sans-serif boldness */
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.footer-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px 0;
    max-width: 400px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Right Column Socials */
.footer-social-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 10px;
    /* Align visually with contact info */
}

.social-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-text-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.social-text-links a {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s;
}

.social-text-links a:hover {
    opacity: 0.7;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-logo-sm {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: right;
    }
}

/* Extraordinary CTA Section */
.extraordinary-section {
    padding: 40px 0;
    /* Reduced external padding */
    background-color: transparent;
}

.extraordinary-card {
    background-color: #F6F6F6;
    border-radius: 60px;
    /* Consistent detailed rounding */
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    /* Keep children like tilted cards clipped if needed, or visible */
    /* If tilted cards stick out, overflow: visible might be needed. 
       Let's try visible first because cards "float". 
       Actually, if I clip, the tilt at top might get cut off. 
       Let's rely on padding. */
}

@media (min-width: 992px) {
    .extraordinary-card {
        padding: 100px 60px;
    }
}

/* 1. Stacked Cards Row */
.cta-cards-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    padding-top: 20px;
    transform: perspective(1000px);
}

.cta-card-item {
    width: 220px;
    height: 180px;
    /* Thumbnail aspect ratio approx */
    background-color: var(--color-slate-50);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-6deg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Placeholder Gradient/Image imitation */
    background-size: cover;
    background-position: top center;
    border: 4px solid white;
    position: relative;
    overflow: hidden;
}

/* Alternate rotations for fan effect */
.cta-card-item:nth-child(1) {
    transform: rotate(-10deg) translateY(10px);
    z-index: 1;
}

/* Darwin Health Footer Text */
.darwin-footer-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    /* text-align: center; Removed in favor of flex justify */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: min(10vw, 120px);
    /* Responsive but capped to fit container */
    line-height: 0.8;
    color: rgba(249, 115, 22, 0.4);
    /* Brand orange semi-transparent */
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: -0.04em;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    /* Reduced padding to give more room */
    box-sizing: border-box;
    opacity: 0.8;
    mix-blend-mode: overlay;
    /* Try to blend nicely */
}

/* Ensure content is above the text */
.cta-cards-row,
.cta-divider-row,
.cta-content-row {
    position: relative;
    z-index: 1;
}

.cta-card-item:nth-child(2) {
    transform: rotate(-5deg);
    z-index: 2;
}

.cta-card-item:nth-child(3) {
    transform: rotate(5deg);
    z-index: 2;
}

.cta-card-item:nth-child(4) {
    transform: rotate(10deg) translateY(10px);
    z-index: 1;
}

.cta-card-item:hover {
    transform: rotate(0) scale(1.05) translateY(-10px);
    z-index: 10;
}

/* Placeholder content helpers */
.cta-card-item::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
}

.cta-card-item.c1::before {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
}

.cta-card-item.c2::before {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.cta-card-item.c3::before {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.cta-card-item.c4::before {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}


/* 2. Divider with Star */
.cta-divider-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    opacity: 0.2;
}

.cta-line {
    height: 2px;
    width: 100px;
    background-color: var(--color-slate-900);
    flex-grow: 1;
    max-width: 40%;
}

.cta-star-icon {
    width: 24px;
    height: 24px;
    color: var(--brand-blue);
    opacity: 0.5;
}


/* 3. Bottom Content Row */
.cta-content-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center on mobile */
    text-align: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-main-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-slate-900);
    line-height: 1.2;
    flex: 1;
    text-align: center;
    /* Center initially */
}

.cta-right-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 1;
    max-width: 400px;
    /* Constrain width */
}

.cta-small-text {
    font-size: 1.1rem;
    color: var(--color-slate-600);
    line-height: 1.5;
}

.btn-partnership {
    background: var(--gradient-primary-btn);
    /* Brand Orange Gradient */
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-partnership:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .cta-content-row {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .cta-main-title {
        text-align: left;
        font-size: 3rem;
    }

    .cta-right-box {
        align-items: flex-start;
        /* Left align right box content */
        text-align: left;
    }

    .cta-line {
        max-width: 45%;
    }
}

/* Mockup Card Styles - Dark Glassmorphism */
.cta-card-item {
    background: rgba(3, 7, 18, 0.85);
    /* Much darker background (Gray 950 alpha) */
    backdrop-filter: blur(16px);
    /* Increased blur */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
    /* Deeper shadow */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Remove gradient placeholders */
.cta-card-item::before {
    display: none;
}

.mockup-header {
    height: 32px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-blue);
    /* Brand Blue */
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-blue);
    animation: pulse-dot 2s infinite;
}

.mockup-time {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.mockup-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F8FAFC;
    letter-spacing: 0.02em;
}

.mockup-body {
    flex: 1;
    padding: 16px;
    display: flex;
}

/* -------------------
   Card 1: Bio Age 
   ------------------- */
.centered-body {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bio-dial {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Add a glowing distinct background for contrast */
.bio-dial::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(31, 107, 255, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.bio-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: #F8FAFC;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fade-in-up 0.8s ease-out;
}

.bio-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.bio-status.badge-green {
    background: rgba(16, 185, 129, 0.2);
    /* Transparent Green */
    color: #34D399;
    /* Bright Green Text */
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 700;
    animation: scale-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s backwards;
}

/* -------------------
   Card 2: Nutrition 
   ------------------- */
.list-body {
    flex-direction: column;
    gap: 12px;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slide-in-right 0.5s ease-out backwards;
}

.mockup-row:nth-child(1) {
    animation-delay: 0.1s;
}

.mockup-row:nth-child(2) {
    animation-delay: 0.2s;
}

.mockup-row:nth-child(3) {
    animation-delay: 0.3s;
}

.mockup-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

/* Glassy Icons with gradients */
.icon-food {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.8), rgba(249, 115, 22, 0.4));
    /* Brand Orange */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-supp {
    background: linear-gradient(135deg, rgba(31, 107, 255, 0.8), rgba(31, 107, 255, 0.4));
    /* Brand Blue */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-text-lines,
.mockup-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mockup-item-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #F8FAFC;
    letter-spacing: 0.01em;
}

.mockup-item-sub {
    font-size: 0.6rem;
    color: #94A3B8;
}

.line-long {
    width: 70%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.line-short {
    width: 40%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* -------------------
   Card 3: Activity 
   ------------------- */
.graph-body {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}

.activity-rings {
    position: relative;
    width: 70px;
    height: 70px;
    margin-top: 5px;
}

.ring-svg circle {
    stroke-linecap: round;
}

/* Track */
.ring-svg circle:first-child {
    stroke: rgba(255, 255, 255, 0.1);
}

/* Progress */
.ring-progress {
    stroke: var(--brand-orange);
    /* Brand Accent */
    filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.5));
    animation: fill-ring 1.5s ease-out forwards;
    transform-origin: center;
    transform: rotate(-90deg);
}

.ring-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-icon svg {
    fill: var(--brand-orange);
    filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.8));
}

.activity-stats {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.stat-pill {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* -------------------
   Card 4: Stats Grid 
   ------------------- */
.grid-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.mini-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s;
}

.mini-stat-box:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ms-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ms-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: #F8FAFC;
}

/* -------------------
   Animations 
   ------------------- */
@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 107, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(31, 107, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(31, 107, 255, 0);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fill-ring {
    0% {
        stroke-dashoffset: 251;
    }

    100% {
        stroke-dashoffset: 60;
    }
}

/* -------------------
   What We Test Section
   ------------------- */
.what-we-test-section {
    padding: 20px 0 100px;
    /* Further reduced from 40px */
    background-color: #FFFFFF;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #0F172A;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #475569;
    /* Slate 600 */
    line-height: 1.6;
    margin-bottom: 30px;
    /* Reduced from 60px */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Timeline Controls (01, 02, 03) */
.timeline-controls {
    display: flex;
    justify-content: space-between;
    width: 60%;
    /* Match track width */
    max-width: 480px;
    margin: 0 auto 20px;
    /* Reduced from 30px */
    position: relative;
    z-index: 2;
}

.timeline-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(19, 59, 158, 0.05);
    /* Glass tint */
    border: 1px solid rgba(19, 59, 158, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(19, 59, 158, 0.05);
}

.timeline-btn .t-number {
    font-size: 1rem;
    font-weight: 700;
    color: #133B9E;
    /* Text color matches badge color */
    line-height: 1;
}

.timeline-btn:hover {
    background: rgba(19, 59, 158, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(19, 59, 158, 0.1);
}

.timeline-btn.active {
    background: #133B9E;
    /* Solid color for requested ID, or strong glass */
    border-color: #133B9E;
    box-shadow: 0 10px 20px rgba(19, 59, 158, 0.3);
    transform: scale(1.1);
}

.timeline-btn.active .t-number {
    color: #FFFFFF;
}

/* Timeline Visuals Container (Vials / Report) */
.timeline-visuals {
    height: 200px;
    /* Reduced from 250px */
    width: 100%;
    margin-top: 10px;
    /* Changed from -30px to prevent collision */
    /* Reduced overlap to prevent collision with buttons */
    margin-bottom: 0px;
    /* Reduced from 20px */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-track {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.t-visual {
    position: absolute;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.t-visual.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Visual Assets (CSS Drawing) */
/* Vials */
.vial-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.vial {
    width: 40px;
    height: 120px;
    border: 2px solid #E2E8F0;
    border-radius: 0 0 20px 20px;
    border-top: none;
    position: relative;
    background: white;
}

.vial::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -4px;
    width: calc(100% + 8px);
    height: 10px;
    border: 2px solid #E2E8F0;
    border-radius: 4px;
    background: white;
}

/* Liquid inside */
.vial-center::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 60%;
    background: rgba(55, 195, 132, 0.1);
    /* Green tint */
    border-radius: 0 0 16px 16px;
}

.vial-center {
    height: 140px;
    border-color: #0F172A;
    /* Active highlight style */
}

.vial-center::before {
    border-color: #0F172A;
}

/* Visual Step 2 */
.vial-cycle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.vial-center-large {
    width: 50px;
    height: 160px;
    border: 2px solid #0F172A;
    border-radius: 0 0 25px 25px;
    border-top: none;
    position: relative;
    background: white;
}

.vial-center-large::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -5px;
    width: calc(100% + 10px);
    height: 12px;
    border: 2px solid #0F172A;
    border-radius: 4px;
    background: white;
}

.cycle-arrows {
    position: absolute;
    width: 200px;
    height: 100px;
    top: 20px;
    display: none;
    /* Hide the loading spinner effect */
}

.arrow-svg {
    width: 100%;
    height: 100%;
    animation: rotate-arrows 1s linear infinite;
}

@keyframes rotate-arrows {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Visual Step 3 - Report */
.report-doc {
    width: 100px;
    height: 140px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
}

.doc-header {
    height: 16px;
    width: 60%;
    background: #E2E8F0;
    border-radius: 4px;
}

.doc-lines {
    height: 8px;
    width: 100%;
    background: #F1F5F9;
    border-radius: 4px;
}

.check-marks {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.check-item {
    width: 16px;
    height: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    position: relative;
}

.check-item::after {
    content: '✓';
    font-size: 10px;
    color: #37C384;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Timeline Ticks */
.timeline-ticks {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 20px;
    padding: 0 10%;
    /* Inset to align somewhat with buttons */
    margin-bottom: 40px;
    position: relative;
}

/* Using a repeating gradient for the tick marks might be easier */
.timeline-ticks::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 10px;
    background-image: linear-gradient(to right, #E2E8F0 1px, transparent 1px);
    background-size: 20px 100%;
    /* Spacing */
}

/* Masking edges for fade effect */
.timeline-ticks::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, white, transparent 20%, transparent 80%, white);
}

/* Content Row */
.timeline-content-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: center;
    position: relative;
}

.t-content-item {
    width: 30%;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    transform: scale(0.95);
}

.t-content-item.active {
    opacity: 1;
    transform: scale(1);
}

.t-content-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #0F172A;
    margin-bottom: 12px;
}

.t-content-item p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 16px;
}

.t-badge {
    display: inline-block;
    background: #F8FAFC;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

/* Light Navbar Overrides */
.navbar-light {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    /* Strong glass effect */
    -webkit-backdrop-filter: blur(20px) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1) !important;
}

.navbar-light .nav-links a {
    color: #0F172A !important;
    font-weight: 600;
    /* Enhance visibility */
}

.navbar-light .nav-links a:hover {
    color: #1F6BFF !important;
    /* Brand Blue on hover */
}

.navbar-light .menu-btn {
    color: #0F172A !important;
}

/* Ensure logo is visible on light background (assuming original is white/light) */
.navbar-light .logo-img {
    filter: brightness(0);
    /* Turns the logo solid black for maximum contrast */
    opacity: 0.9;
}

/* Glass Gradient Navbar (New) */
.navbar-glass-gradient {
    /* Gradient #0A2468 -> #133B9E with opacity for glass effect */
    background: linear-gradient(135deg, rgba(10, 36, 104, 0.9) 0%, rgba(19, 59, 158, 0.9) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 40px -10px rgba(10, 36, 104, 0.3) !important;
    border-radius: 24px;
    /* Rounded card */
}

.navbar-glass-gradient .nav-links a {
    color: #FFFFFF !important;
    /* White text */
    font-weight: 500;
}

.navbar-glass-gradient .nav-links a:hover,
.navbar-glass-gradient .nav-links a.active {
    color: #37C384 !important;
    /* Green on hover/active */
    opacity: 1;
}

.navbar-glass-gradient .logo-img {
    filter: none !important;
    /* Keep original logo (white/color) */
    opacity: 1;
}

.navbar-glass-gradient .menu-btn {
    color: #FFFFFF !important;
}

/* Logo replacement? If logo is white, we need dark logo.
   Current logo is svg. Check if it's inline or img.
   It's <img src="assets/images/Darwin-Health-logo.svg">.
   Hopefully the SVG is black text or adaptive.
   If it's white text, it will be invisible.
   I should check the logo. But I can't see the image content.
   Safe bet: apply a filter if needed, OR assume it's the standard colored logo which works on light/dark.
   Darwin Health usually darker text.
   Let's assume it works.
*/

/* Responsive Timeline */
@media (max-width: 768px) {
    .what-we-test-section {
        padding: 10px 0 60px;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .page-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .timeline-wrapper {
        padding: 0 15px;
    }

    /* Horizontal step buttons - all visible */
    .timeline-controls {
        width: 100%;
        max-width: 100%;
        padding: 0;
        display: flex;
        justify-content: space-around;
        margin-bottom: 15px;
    }

    .timeline-btn {
        width: 44px;
        height: 44px;
    }

    .timeline-btn .t-number {
        font-size: 0.9rem;
    }

    /* Visuals container - reduced height for mobile */
    .timeline-visuals {
        height: 160px;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    /* Vials - smaller on mobile */
    .vial-group {
        gap: 8px;
    }

    .vial {
        width: 30px;
        height: 90px;
    }

    .vial::before {
        top: -8px;
        left: -3px;
        width: calc(100% + 6px);
        height: 8px;
    }

    .vial-center {
        height: 110px;
    }

    /* Report doc smaller */
    .report-doc {
        width: 80px;
        height: 110px;
        padding: 10px;
        gap: 6px;
    }

    /* Content row - only show active item, hide others */
    .timeline-content-row {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
        min-height: 140px;
    }

    .t-content-item {
        position: absolute;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.4s ease;
        padding: 0 10px;
    }

    .t-content-item.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .t-content-item h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .t-content-item p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .t-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    /* Hide timeline ticks on mobile */
    .timeline-ticks {
        display: none;
    }
}

/* -------------------
   Additional Services Section
   ------------------- */
.additional-services-section {
    padding: 20px 0 40px;
    background-color: #FFFFFF;
}

.services-gradient-card {
    background: #F6F6F6;
    border-radius: 32px;
    padding: 60px;
    color: #0F172A;
    /* overflow: hidden; Removed to let shadows breathe if needed, but keeping generally safe */
    position: relative;
    /* Removed thick shadow for lighter feel */
}

/* Add subtle noise or pattern if desired, but sticking to clean gradient for now */

.services-content-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.services-heading-col {
    flex: 0 0 40%;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 20px;
}

.services-list-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Service Card - Blue Glassmorphism */
.service-card {
    display: flex;
    background: rgba(19, 59, 158, 0.9);
    /* #133B9E with slight transparency */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(19, 59, 158, 0.15);
}

.service-card:hover {
    background: rgba(19, 59, 158, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(19, 59, 158, 0.25);
}

.sc-image {
    width: 200px;
    flex-shrink: 0;
    position: relative;
}

.sc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-details {
    padding: 24px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin: 0;
}

.sc-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
}

.sc-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    /* Slate 600 */
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 90%;
}

.sc-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: underline;
    margin-bottom: auto;
    /* Pushes action row to bottom if needed */
    transition: color 0.2s;
}

.sc-link:hover {
    color: #FFFFFF;
}

.sc-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    group: hover;
    /* To trigger hover effects maybe */
}

.sc-action-text {
    font-family: 'Inter', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sc-arrow {
    transition: transform 0.2s;
    color: #FFFFFF;
    /* Make arrow visible */
}

.service-card:hover .sc-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .services-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .services-heading-col {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .services-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-gradient-card {
        padding: 30px;
        border-radius: 20px;
    }

    .service-card {
        flex-direction: column;
    }

    .sc-image {
        width: 100%;
        height: 180px;
    }

    .services-title {
        font-size: 2rem;
    }
}

/* -------------------
   Final CTA Section
   ------------------- */
.final-cta-section {
    padding: 20px 0 60px;
    /* Reduced from 40px/100px for mobile */
    background-color: #FFFFFF;
    text-align: center;
}

.final-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #0F172A;
    /* Slate 900 */
    margin-bottom: 16px;
}

.final-cta-title .text-highlight {
    font-style: italic;
    color: var(--brand-orange, #F97316);
}

.final-cta-subtitle {
    font-size: 1.25rem;
    color: #475569;
    /* Slate 600 */
    margin-bottom: 40px;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #0F172A;
    color: #0F172A;
    padding: 12px 32px;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: #0F172A;
    color: #FFFFFF;
}

/* Responsive */
@media (min-width: 992px) {
    .final-cta-section {
        padding: 40px 0 100px;
        /* Restore desktop padding */
    }
}

/* Responsive (existing max-width) */
@media (max-width: 768px) {
    .final-cta-section {
        padding: 40px 24px 60px;
    }

    .final-cta-title {
        font-size: 2.25rem;
        color: #0A2468;
        /* Darwin Navy */
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .final-cta-subtitle {
        font-size: 1.25rem;
        color: #475569;
        margin-bottom: 32px;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        padding: 0 16px;
    }

    .final-cta-actions .btn-primary {
        width: 100%;
        padding: 18px 32px;
        font-size: 1.1rem;
        border-radius: 50px;
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
    }

    .final-cta-actions .btn-outline {
        width: 100%;
        max-width: none;
        padding: 16px 32px;
        font-size: 1rem;
        border-radius: 50px;
        border: 2px solid #0A2468;
        color: #0A2468;
        background: transparent;
    }
}

/* How It Works Page Styles */
.hiw-header {
    text-align: center;
    padding: 80px 20px 40px;
}

.hiw-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--color-slate-900);
    margin: 0;
}

@media (min-width: 768px) {
    .hiw-title {
        font-size: 4rem;
    }
}

.hiw-title em {
    color: var(--brand-orange);
    font-style: italic;
}

.hiw-bg-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.hiw-step-card {
    background-color: var(--color-slate-50);
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
    /* Uplift shadow */
    padding: 40px;
    margin-bottom: 40px;
    min-height: 80vh;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s ease;
}

@media (min-width: 992px) {
    .hiw-step-card {
        padding: 60px;
    }
}

/* Staggered Sticky Offsets */
.hiw-step-card:nth-child(1) {
    top: 120px;
    z-index: 10;
}

.hiw-step-card:nth-child(2) {
    top: 180px;
    z-index: 20;
}

.hiw-step-card:nth-child(3) {
    top: 240px;
    z-index: 30;
}

.hiw-step-card:nth-child(4) {
    top: 300px;
    z-index: 40;
}

.hiw-card-header {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 40px;
}

.hiw-card-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
}

@media (min-width: 992px) {
    .hiw-card-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.hiw-text-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-slate-900);
}

@media (min-width: 992px) {
    .hiw-text-col h2 {
        font-size: 3.5rem;
    }
}

.hiw-text-col .sub-text {
    font-size: 1.1rem;
    color: var(--color-slate-600);
    margin-bottom: 32px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-slate-600);
}

.check-icon-svg {
    color: var(--brand-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.hiw-visual-col {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border-radius: 30px;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .hiw-visual-col {
        height: 500px;
    }
}

/* Animations */
.wave-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(55, 195, 132, 0.1) 0%, transparent 50%);
}

.wave-line {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 40%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: rotate 20s linear infinite;
}

.w1 {
    left: -50%;
    top: -50%;
    animation-duration: 25s;
}

.w2 {
    left: -45%;
    top: -45%;
    animation-duration: 30s;
    border-color: rgba(55, 195, 132, 0.1);
}

.w3 {
    left: -40%;
    top: -40%;
    animation-duration: 35s;
    border-color: rgba(249, 115, 22, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 20px 0;
    /* Reduced from 60px for mobile */
    text-align: center;
}

.testimonials-row {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 0;
    margin-bottom: 0px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    scroll-behavior: smooth;
    /* justify-content: flex-start;  Ensure items align left on mobile */
}

.testimonials-row::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 85%;
    /* Mobile card width */
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    /* Ensure vertical layout */
    align-items: center;
    /* Center content */
}

@media (min-width: 992px) {
    .testimonials-section {
        padding: 60px 0;
        /* Restore desktop padding */
    }

    .testimonials-row {
        gap: 24px;
        display: grid;
        /* Or flex with non-nowrap */
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .testimonial-item {
        min-width: auto;
    }

    .testimonials-section .carousel-dots {
        display: none;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ui-card-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Step 1 Visual Refinement */

.hiw-visual-step1 {
    position: relative;
    /* Dark Blue Background Base */
    background: radial-gradient(circle at 50% 50%, #1a3c7a 0%, #0d1f42 100%);
    overflow: hidden;
}

/* Folds Effect - Using gradients to simulate light/shadow on folds */
.folds-bg {
    position: absolute;
    inset: 0;
    background:
        /* Fold 1 Highlight */
        linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.05) 45%, transparent 50%),
        /* Fold 2 Highlight */
        linear-gradient(125deg, transparent 60%, rgba(255, 255, 255, 0.03) 65%, transparent 70%),
        /* Fold Shadow */
        linear-gradient(60deg, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
    /* Texture or Noise could be added here if available */
}

/* Add specialized "Folds" using multiple conic/linear gradients for that silky look */
.hiw-visual-step1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(45deg,
            transparent 0,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px);
    filter: blur(20px);
    opacity: 0.5;
    pointer-events: none;
}

/* Curve SVG */
.hiw-curve-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    /* Behind card but visible */
    pointer-events: none;
}

/* Glass Card - Updated Steps */
.hiw-glass-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    /* Slight offset upwards */
    width: 280px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.card-main-text {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-sub-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Timeline Bottom */
.hiw-timeline {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.timeline-triangle {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.timeline-pill {
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
    margin-bottom: 16px;
    /* Space to ticks */
}

.timeline-ticks {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 30px;
    opacity: 0.5;
}

.timeline-ticks span {
    width: 1px;
    height: 15px;
    background-color: white;
}

.timeline-ticks span.long {
    height: 30px;
    background-color: white;
    width: 2px;
    /* Center Main Tick */
    opacity: 1;
}


/* Fix for Check Item Spacing and Layout */
.check-item span {
    line-height: 1.5;
    display: block;
}

.hiw-card-content-grid {
    /* Ensure content determines height if it exceeds container */
    height: auto;
    min-height: 100%;
}

.hiw-step-card {
    /* Allow card to grow with content */
    height: auto;
}

/* What We Test Page - Glassmorphism Nav */
/* What We Test Page - Glassmorphism Nav - REMOVED to use global .navbar-glass-gradient */
/* Styles removed to prevent conflict */

/* ----------------------------------------------------
   Comparison/Plans Section
---------------------------------------------------- */
.comparison-section {
    padding: 20px 0;
    /* Reduced from 80px for mobile */
    /* background-color: #1A1A1A; removed */
    /* color: #fff; removed as gradient wrapper handles white text */
    font-family: var(--font-family-base);
}

.comparison-title {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    font-size: 3.5rem;
    line-height: 1.1;
}

.comparison-title em {
    font-style: normal;
    font-weight: 400;
    /* Regular weight for contrast if needed */
}

/* Grid Layout */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    /* Default gap 0 for stacking, will adjust for desktop */
}

@media (min-width: 992px) {
    .comparison-section {
        padding: 80px 0;
        /* Restore desktop padding */
    }

    .comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        /* No gap specified in image, they look separated. Actually, it's 2 columns. */
        align-items: start;
        max-width: 1200px;
        margin: 0 auto;
        gap: 40px;
        /* Space between the two columns */
    }
}

/* ----------------------------------------------------
   Left Column: Discovery (Dark)
---------------------------------------------------- */
.comp-col-dark {
    padding: 20px;
}

.comp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0px;
    /* Reduced from 40px */
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

@media (min-width: 768px) {
    .comp-header {
        flex-wrap: nowrap;
    }
}

.comp-info {
    flex: 1;
    min-width: 200px;
}

.comp-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 400;
}

.comp-price-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.cp-amount {
    font-size: 3.5rem;
    font-weight: 400;
    /* Thin look */
    line-height: 1;
}

.cp-period {
    font-size: 1.25rem;
    opacity: 0.8;
}

.cp-billed {
    display: block;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 24px;
}

.cp-subtext {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 16px;
}

/* Button Styles */
.btn-white {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-white-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Details Text (Left Col Bottom) */
.comp-details h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.comp-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}


/* ----------------------------------------------------
   Right Column: Care (White Wrapper)
---------------------------------------------------- */
/* Glassmorphism applied below */

/* ----------------------------------------------------
   Right Column: Care (Glassmorphism Wrapper)
---------------------------------------------------- */
.comp-col-light-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    color: #fff;
    /* White text */
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.comp-card-white {
    margin-bottom: 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Light border */
    padding-bottom: 10px;
}

.comp-card-white .comp-info h3 {
    color: #fff;
}

.comp-card-white .cp-amount {
    color: #fff;
}

.comp-card-white .cp-period,
.comp-card-white .cp-billed,
.comp-card-white .cp-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Feature List */
.comp-features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cf-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.cf-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}


/* ----------------------------------------------------
   Card Visuals (Simulated)
---------------------------------------------------- */
.visual-card-wrapper {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    perspective: 1000px;
    display: none;
    /* Hidden on mobile by default if too tight, or adjust */
}

@media (min-width: 400px) {
    .visual-card-wrapper {
        display: block;
    }
}

.comp-card-visual {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    position: relative;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Rotate slightly for effect? Image shows them slanted */
    transform: rotateY(-10deg) rotateX(5deg) rotateZ(-2deg);
    transition: transform 0.3s;
}

.visual-card-wrapper:hover .comp-card-visual {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Dark Card Styling */
.card-dark {
    background: #2C2C2C;
    /* Dark grey */
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Dots Pattern for Dark Card */
.card-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.1;
}

/* Aurora Card Styling */
.card-Aurora {
    background: #000;
    overflow: hidden;
    position: relative;
}

/* Aurora Effect */
.card-Aurora::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%,
            #1E3A8A 0deg,
            /* Navy */
            #1F6BFF 60deg,
            /* Blue */
            #37C384 120deg,
            /* Green/Teal */
            #1E3A8A 180deg,
            /* Navy */
            #818CF8 240deg,
            /* Purple-ish */
            #37C384 300deg,
            /* Green */
            #1E3A8A 360deg);
    filter: blur(20px);
    opacity: 0.8;
    mix-blend-mode: screen;
}

.card-logo {
    position: relative;
    z-index: 2;
    width: 60px;
    opacity: 0.9;
}

.visual-logo-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.card-name {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =========================================
   MindScript Footer Clone Styles
   ========================================= */

.ms-footer {
    position: relative;
    width: 100%;
    /* Keep aspect ratio roughly if possible, but responsive */
    background-color: #6B7C75;
    /* Fallback color from image tone */
    overflow: hidden;
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    /* Adding radius to mimic the screenshot's standalone look if desired, or just make it a section */
    /* border-radius: 30px; margin: 20px; */
    border-radius: 30px;
    margin: 20px;
    /* Ensure it works on dark text */
}

/* Background Image Wrapper */
.ms-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ms-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ms-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(62, 78, 77, 0.8), rgba(62, 78, 77, 0.4));
    /* Darken slightly to make text pop */
}

/* Container */
.ms-container {
    position: relative;
    z-index: 10;
}

/* Content Layout */
.ms-content-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 992px) {
    .ms-content-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Left Column */
.ms-left-col {
    max-width: 500px;
    padding-top: 20px;
}

.ms-pill {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.ms-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    /* Thin/Light */
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: #FFFFFF;
}

.ms-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #FFFFFF;
}

.ms-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 400px;
    opacity: 0.9;
    color: #E0E0E0;
}

/* Contact List */
.ms-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ms-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ms-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-contact-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 8px;
    /* Align with icon center roughly */
    color: #F0F0F0;
}

/* Right Column - Form Card */
.ms-right-col {
    width: 100%;
    max-width: 500px;
}

.ms-form-card {
    background: rgba(19, 59, 158, 0.4);
    /* Navy blue (#133B9E) translucent background for glassmorphism */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    color: #FFFFFF;
    /* White text for better contrast on navy background */
}

.ms-form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .ms-form-row {
        flex-direction: row;
    }
}

/* Form Inputs */
.ms-input-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-input-col label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    /* White labels for navy background */
}

.ms-input-col input,
.ms-input-col textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.15);
    /* Semi-transparent white for glassmorphism */
    font-family: inherit;
    font-size: 0.9rem;
    color: #FFFFFF;
    outline: none;
}

.ms-input-col textarea {
    min-height: 100px;
    resize: vertical;
}

.ms-input-col input::placeholder,
.ms-input-col textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    /* Light placeholder for dark background */
    font-weight: 400;
}

/* Flex Group Helper */
.ms-input-col.full {
    width: 100%;
}

/* Phone Input Special */
.ms-input-with-prefix {
    display: flex;
    gap: 10px;
}

.ms-prefix-select {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    min-width: 60px;
    justify-content: space-between;
}

/* Submit Button */
.ms-submit-wrapper {
    margin-top: 10px;
}

.ms-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #9BB0A5;
    /* Muted Green from image */
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    /* Pill */
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ms-submit-btn:hover {
    background: #8FA499;
}

.ms-btn-icon {
    width: 24px;
    height: 24px;
    background: #0A3D2E;
    /* Dark circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-btn-icon svg {
    width: 12px;
    height: 12px;
    stroke: #FFFFFF;
}


/* Footer Bottom */
.ms-footer-bottom {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 5;
}

.ms-footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
    color: #DDD;
}

/* Watermark */
.ms-watermark {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15rem;
    /* Giant text */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    /* Very faint */
    white-space: nowrap;
    z-index: 1;
    /* Behind content roughly but bottom */
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ms-title {
        font-size: 2.5rem;
    }

    .ms-watermark {
        font-size: 8rem;
    }

    .ms-footer {
        padding: 40px 0;
        margin: 10px;
        border-radius: 20px;
    }

    .ms-form-card {
        padding: 24px;
    }
}

/* -------------------------------------------------------------------------
   MindScript Footer Replica Style
   ------------------------------------------------------------------------- */
.footer-mindscript {
    position: relative;
    background-color: #6C7A70;
    background-image: url('assets/images/Footer Darwin Health.png');
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url('assets/images/Footer Darwin Health.png');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 80px 0 0 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    margin: 60px 20px 20px 20px;
    border-radius: 40px;
}

.footer-ms-container {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
    max-width: 1400px;
}

.footer-ms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 120px;
}

@media (min-width: 992px) {
    .footer-ms-grid {
        grid-template-columns: 0.9fr 1.1fr;
        /* Give Form a bit more space like image */
        gap: 80px;
    }
}

/* Left Column */
.footer-contact-pill {
    display: inline-block;
    padding: 8px 24px;
    background: var(--gradient-primary-btn);
    border: none;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    /* Orange Shadow */
}

.footer-ms-heading {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: #FFFFFF;
}

.footer-ms-heading em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.footer-ms-subtext {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 440px;
    margin-bottom: 40px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-ms-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ms-icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(19, 59, 158, 0.4);
    /* Navy blue #133B9E glassmorphism */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ms-info-text {
    font-size: 1rem;
    color: #FFFFFF;
    line-height: 1.4;
}

/* Right Column (Form) */
.ms-form-card {
    background: rgba(19, 59, 158, 0.4);
    /* Navy blue (#133B9E) glassmorphism */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 48px;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ms-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .ms-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.ms-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.ms-form-group input,
.ms-form-group textarea,
.ms-phone-input select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 1rem;
    color: #FFFFFF;
    width: 100%;
    transition: all 0.2s;
}

.ms-form-group input:focus,
.ms-form-group textarea:focus,
.ms-phone-input select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.ms-phone-input {
    display: flex;
    gap: 8px;
    background: transparent;
    border-radius: 12px;
    padding-right: 0;
}

.ms-phone-input select {
    width: auto;
    min-width: 60px;
    background: transparent;
    padding-right: 4px;
}

.ms-phone-input input {
    flex: 1;
    background: transparent;
    padding-left: 0;
}

.ms-form-group textarea {
    min-height: 140px;
    resize: none;
}

.ms-submit-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #FFB04E 0%, #F97316 100%);
    /* Brand Orange Gradient */
    color: #FFFFFF;
    border: none;
    padding: 14px 36px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.ms-submit-btn:hover {
    background: #8A9A88;
    transform: translateY(-2px);
}

.ms-btn-icon {
    width: 28px;
    height: 28px;
    background: #113030;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Bottom Area */
.footer-ms-bottom {
    position: relative;
    text-align: center;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
}

.ms-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.copy-slogan {
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.ms-big-branding {
    position: absolute;
    bottom: 0;
    /* Bottom edge of text aligned with bottom edge of card */
    left: 50%;
    transform: translateX(-50%);
    font-size: 14vw;
    /* Optimized size for full visibility and edge-to-edge coverage */
    font-weight: 800;
    background: linear-gradient(to right, #FF8A3C, #FFC857);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.9;
    /* Increased opacity for better visibility */
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    /* Clean line height for precise positioning */
    letter-spacing: -0.06em;
    font-family: 'Inter', sans-serif;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .ms-big-branding {
        font-size: 11vw;
    }
}

/* Legal Footer Bar */
.footer-legal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 40px 24px;
    font-size: 0.85rem;
    color: #475569;
    /* Slate 600 */
    margin-top: -10px;
    /* Pull up slightly if needed, or keep standard flow */
}

.legal-left {
    font-weight: 500;
}

.legal-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-dot {
    color: #CBD5E1;
}

@media (max-width: 768px) {
    .footer-legal-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================
   Success Modal Styles
   ========================================= */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.success-popup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.success-modal-overlay.active .success-popup {
    transform: scale(1);
}

/* Close Button */
.success-popup .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    padding: 5px;
}

.success-popup .popup-close:hover {
    color: #000;
}

/* Content */
.success-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.success-message {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.success-popup .btn-primary {
    width: 100%;
    justify-content: center;
}

/* Mobile Horizontal Scroll for Mockups */
@media (max-width: 768px) {
    .cta-cards-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px 24px 40px;
        /* Added bottom padding */
        transform: none;
        /* Reset perspective */
        margin-left: -24px;
        /* Negative margin to offset container padding if needed */
        margin-right: -24px;
        width: calc(100% + 48px);
        /* Full width relative to container */

        /* Hide Scrollbar */
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .cta-cards-row::-webkit-scrollbar {
        display: none;
    }

    .cta-card-item {
        flex: 0 0 75vw;
        /* Fixed width for mobile, 85% of viewport */
        width: 75vw;
        height: auto;
        min-height: 220px;
        /* Ensure sufficient height */
        aspect-ratio: auto;
        scroll-snap-align: center;
        transform: none !important;
        /* Reset rotation */
        margin: 0 !important;
        /* Reset margins */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        /* Slightly softer shadow for mobile */
    }

    /* Reset nth-child specific transforms */
    .cta-card-item:nth-child(1),
    .cta-card-item:nth-child(2),
    .cta-card-item:nth-child(3),
    .cta-card-item:nth-child(4) {
        transform: none !important;
        z-index: 1;
    }
}

/* =========================================
   Mobile Pricing/Comparison Section Redesign
   ========================================= */
@media (max-width: 768px) {

    /* Section Padding */
    .comparison-section {
        padding: 40px 0 60px;
    }

    /* Gradient Card Wrapper - better mobile padding */
    .gradient-card-wrapper {
        padding: 32px 20px;
        border-radius: 24px;
    }

    /* Title Typography */
    .comparison-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 32px;
        text-align: center;
        padding: 0 10px;
    }

    .comparison-title br {
        display: none;
    }

    /* Comparison Grid - Stack with spacing */
    .comparison-grid {
        gap: 24px;
    }

    /* Left Column: Discovery */
    .comp-col-dark {
        padding: 24px 16px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 32px;
    }

    /* Header Layout - Stack vertically on mobile */
    .comp-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .comp-info {
        width: 100%;
        text-align: center;
        min-width: unset;
    }

    .comp-info h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    /* Price Block - Center aligned */
    .comp-price-block {
        justify-content: center;
        margin-bottom: 8px;
    }

    .cp-amount {
        font-size: 2.75rem;
    }

    .cp-period {
        font-size: 1rem;
    }

    .cp-billed {
        text-align: center;
        margin-bottom: 20px;
    }

    .cp-subtext {
        text-align: center;
        margin-top: 12px;
    }

    /* Full-width buttons on mobile */
    .comp-col-dark .btn-white-outline,
    .comp-col-dark .btn-white {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* Visual Card - Hide on small mobile for cleaner look */
    .visual-card-wrapper {
        display: none;
    }

    /* Details Text */
    .comp-details {
        text-align: center;
        margin-top: 24px;
    }

    .comp-details h4 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .comp-details p {
        font-size: 0.9rem;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Right Column: Care (Glassmorphism) */
    .comp-col-light-wrapper {
        padding: 28px 20px;
        border-radius: 20px;
        margin-top: 8px;
    }

    .comp-card-white {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .comp-card-white .comp-header {
        flex-direction: column;
        align-items: center;
    }

    .comp-card-white .comp-info {
        text-align: center;
    }

    .comp-card-white .comp-info h3 {
        font-size: 1.5rem;
    }

    .comp-card-white .comp-price-block {
        justify-content: center;
    }

    .comp-card-white .cp-amount {
        font-size: 2.75rem;
    }

    .comp-card-white .cp-billed,
    .comp-card-white .cp-subtext {
        text-align: center;
    }

    /* Full-width button in Care section */
    .comp-card-white .btn-primary {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* Feature List Improvements */
    .comp-features-list {
        gap: 24px;
        padding-top: 8px;
    }

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

    .cf-item h4 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .cf-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 400px) {
    .comparison-title {
        font-size: 1.5rem;
    }

    .cp-amount {
        font-size: 2.5rem;
    }

    .comp-card-white .cp-amount {
        font-size: 2.5rem;
    }

    .gradient-card-wrapper {
        padding: 24px 16px;
    }

    .comp-col-light-wrapper {
        padding: 24px 16px;
    }
}

/* =========================================
   Mobile Wearables/Integration Section Redesign
   ========================================= */
@media (max-width: 768px) {

    /* Integration Card Container */
    .integration-card {
        background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
        padding: 24px 16px !important;
        border-radius: 20px;
    }

    .integration-card .card-label {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
        color: #64748B;
        font-weight: 600;
        background: none;
        padding: 0;
        border-radius: 0;
        display: block;
        margin-bottom: 8px;
    }

    .integration-card h3 {
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 24px;
        color: #0F172A;
    }

    /* Stats Grid - Modern Card Layout */
    .integration-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    /* Hide dividers on mobile */
    .int-divider {
        display: none !important;
    }

    /* Individual Stat Cards */
    .int-stat {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
        overflow: hidden;
    }

    /* Subtle gradient accent on cards */
    .int-stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: 16px 16px 0 0;
    }

    .int-stat:nth-child(1)::before {
        background: linear-gradient(90deg, #1F6BFF 0%, #58B4FF 100%);
    }

    .int-stat:nth-child(3)::before {
        background: linear-gradient(90deg, #37C384 0%, #6EE7B7 100%);
    }

    .int-stat:nth-child(5)::before {
        background: linear-gradient(90deg, #F97316 0%, #FBBF24 100%);
    }

    /* Third stat (Heart Rate) - Full width highlight */
    .int-stat:nth-child(5) {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
        border: 1px solid rgba(249, 115, 22, 0.2);
    }

    /* Icon Styling */
    .int-stat .is-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 4px;
    }

    .int-stat:nth-child(1) .is-icon {
        background: linear-gradient(135deg, rgba(31, 107, 255, 0.15) 0%, rgba(88, 180, 255, 0.15) 100%);
    }

    .int-stat:nth-child(3) .is-icon {
        background: linear-gradient(135deg, rgba(55, 195, 132, 0.15) 0%, rgba(110, 231, 183, 0.15) 100%);
    }

    .int-stat:nth-child(5) .is-icon {
        background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%);
    }

    .int-stat .is-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Labels */
    .int-stat .is-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #64748B;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* Values - Bold and prominent */
    .int-stat .is-val {
        font-size: 1.75rem;
        font-weight: 800;
        color: #0F172A;
        line-height: 1;
    }

    .int-stat .is-val small {
        font-size: 0.7rem;
        font-weight: 500;
        opacity: 0.5;
        margin-left: 4px;
    }

    /* Chart Styling - Modern rounded bars */
    .int-stat .is-chart {
        height: 32px;
        gap: 6px;
        margin-top: 8px;
        padding: 4px;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
    }

    .int-stat .is-chart span {
        border-radius: 4px;
        transition: transform 0.2s ease;
    }

    /* Steps chart - Blue gradient */
    .int-stat:nth-child(1) .is-chart span {
        background: linear-gradient(180deg, #58B4FF 0%, #1F6BFF 100%);
    }

    /* Sleep chart - Green gradient */
    .int-stat:nth-child(3) .is-chart span {
        background: linear-gradient(180deg, #6EE7B7 0%, #37C384 100%);
    }

    /* Heart Rate chart - Orange styling */
    .int-stat:nth-child(5) .is-chart {
        height: 50px;
        background: rgba(249, 115, 22, 0.03);
        padding: 8px 12px;
        border-radius: 12px;
        overflow: hidden;
        margin-top: 12px;
    }

    .int-stat:nth-child(5) .is-chart svg {
        width: 100%;
        height: 100%;
    }

    .int-stat:nth-child(5) .is-chart svg path {
        stroke: #F97316;
        stroke-width: 2.5;
        stroke-opacity: 0.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .int-stat:nth-child(5) .is-chart svg circle {
        fill: #F97316;
        filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.4));
    }

    /* Integration Footer - Pill Tags */
    .integration-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .integration-footer span {
        font-size: 0.85rem;
        font-weight: 500;
        color: #64748B;
    }

    /* Keep bullet separators visible with proper styling */
    .integration-footer span:nth-child(even) {
        color: #94A3B8;
        font-size: 0.5rem;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .integration-card h3 {
        font-size: 1.2rem;
    }

    .int-stat .is-val {
        font-size: 1.5rem;
    }

    .int-stat {
        padding: 12px;
    }

    .integration-stats {
        gap: 10px;
    }
}

/* =========================================
   Final Mobile Polish (Fixes for < 600px)
   ========================================= */
@media (max-width: 600px) {

    /* Stack Trackers Vertically */
    .integration-stats {
        grid-template-columns: 1fr !important;
        /* Force stack */
        gap: 20px;
    }

    /* Ensure Heart Rate card follows suit if grid changes */
    .int-stat:nth-child(5) {
        grid-column: auto;
        /* Reset column span */
    }

    /* Timeline Text Padding */
    .t-content-item {
        padding: 0 24px !important;
        /* More breathing room */
        width: 100% !important;
    }

    /* Pricing/Comparison Card Padding */
    .comp-col {
        padding: 24px 20px !important;
        /* Increase side padding */
    }

    .comp-col .btn {
        white-space: normal;
        /* Allow wrap if really needed, or smaller text? */
        font-size: 0.9rem;
        padding: 12px 20px;
        height: auto;
        min-height: 48px;
    }
}