﻿:root {
    --bg: #0b0f19;
    --bg2: #101524;
    --panel: #141b2f;
    --panel2: #18223a;
    --border: #2d3447;
    --text: #eaf1fa;
    --muted: #a3b7d8;
    --accent: #31c5f8;
    --primary: #33e27c;
    --shadow: 0 8px 32px rgba(49,197,248,.07),0 1.5px 6px rgba(30,41,59,.08);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --transition: all .23s cubic-bezier(.2,.8,.3,1)
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter,system-ui
}

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

/* HERO (same core theme) */
.cc-hero {
    position: relative;
    padding: 54px 0 26px;
    overflow-x: hidden
}

.cc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden
}

.cc-hero-gradient {
    position: absolute;
    inset: -20% -10% 0 -10%;
    background: radial-gradient(1200px 600px at 0% 0%, rgba(49,197,248,.22), transparent 50%), radial-gradient(1200px 600px at 100% 0%, rgba(51,226,124,.18), transparent 50%), linear-gradient(180deg, rgba(21,28,44,.95), rgba(11,15,25,.95));
}

.cc-hero-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .07;
    mix-blend: screen
}

.cc-hero-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

#ccParticles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.cc-dna {
    position: absolute;
    top: 7%;
    left: -6%;
    width: 34%;
    height: 62%;
    opacity: .14;
    filter: blur(.2px);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='640' viewBox='0 0 320 640'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%2331c5f8'/><stop offset='1' stop-color='%2333e27c'/></linearGradient></defs><g fill='none' stroke='url(%23g)' stroke-width='2' stroke-opacity='0.9'><path d='M40 0 C 160 80, 160 80, 280 0 M40 80 C 160 160, 160 160, 280 80 M40 160 C 160 240, 160 240, 280 160 M40 240 C 160 320, 160 320, 280 240 M40 320 C 160 400, 160 400, 280 320 M40 400 C 160 480, 160 480, 280 400 M40 480 C 160 560, 160 560, 280 480 M40 560 C 160 640, 160 640, 280 560'/><g stroke-opacity='0.35'><line x1='40' y1='0' x2='280' y2='0'/><line x1='40' y1='80' x2='280' y2='80'/><line x1='40' y1='160' x2='280' y2='160'/><line x1='40' y1='240' x2='280' y2='240'/><line x1='40' y1='320' x2='280' y2='320'/><line x1='40' y1='400' x2='280' y2='400'/><line x1='40' y1='480' x2='280' y2='480'/><line x1='40' y1='560' x2='280' y2='560'/></g></g></svg>");
    background-size: 60% auto;
    background-repeat: repeat-y;
    background-position: 0 0;
    animation: dnaScroll 16s linear infinite;
}

@keyframes dnaScroll {
    to {
        background-position-y: -640px
    }
}

.cc-hero-inner {
    display: flex;
    align-items: center;
    gap: 28px
}

.cc-hero-left {
    flex: 1 1 0
}

.cc-hero-right {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end
}

.cc-title {
    font-size: clamp(28px,4.2vw,46px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 12px 0
}

    .cc-title span {
        background: linear-gradient(90deg,var(--accent),#79ffce);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

.cc-sub {
    color: #cbdaf7;
    margin: 0 0 16px 0;
    max-width: 740px
}

.cc-values {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 12px 0
}

.cc-value {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #12192c;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 30px;
    color: #cfe2ff;
    font-weight: 800;
    box-shadow: var(--shadow)
}

    .cc-value i {
        color: var(--primary)
    }

.cc-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px
}

.btn.dark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    transition: var(--transition)
}

    .btn.dark.primary {
        background: linear-gradient(90deg,var(--accent),var(--primary));
        color: #0b1220;
        border: 1px solid #2e7
    }

        .btn.dark.primary:hover {
            filter: brightness(1.06);
            transform: translateY(-1px)
        }

    .btn.dark.outline {
        background: transparent;
        color: var(--accent);
        border: 1.5px solid var(--accent)
    }

        .btn.dark.outline:hover {
            background: var(--accent);
            color: #0b1220;
            transform: translateY(-1px)
        }

    .btn.dark i {
        font-size: 14px
    }

.cc-letter {
    background: #141b2f;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    max-width: 460px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    isolation: isolate
}

    .cc-letter h3 {
        margin: 0 0 8px 0;
        font-weight: 900
    }

    .cc-letter p {
        color: #cfe2ff;
        margin: 0 0 10px 0
    }

.cc-sign img {
    height: 30px;
    width: auto;
    opacity: .8
}

/* === NEW MEDICAL CARD EFFECT (distinct from AI) === */
.med-card {
    position: relative;
    background: #141b2f;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
    /* medical cross mesh */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g stroke='%23698aac' stroke-opacity='0.22' stroke-width='1' fill='none'><path d='M40 20 l0 10 M40 50 l0 10 M30 40 l10 0 M50 40 l10 0'/></g></svg>");
    background-size: 80px 80px;
    background-blend-mode: overlay;
}

    .med-card h3 {
        margin: 0 0 6px 0;
        font-weight: 900;
        background: linear-gradient(90deg,var(--accent),#7ff0d4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

    .med-card p {
        color: #cfe2ff;
        margin: 0
    }

    /* animated ECG pulse bar at top of the card */
    .med-card .med-pulse {
        position: absolute;
        left: -120%;
        top: 0;
        height: 2px;
        width: 240%;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='2' viewBox='0 0 600 2'><polyline points='0,1 40,1 60,1 70,0 75,2 80,1 120,1 160,1 170,0 175,2 180,1 220,1 260,1 270,0 275,2 280,1 320,1 360,1 370,0 375,2 380,1 420,1 460,1 470,0 475,2 480,1 520,1 560,1 570,0 575,2 580,1 600,1' fill='none' stroke='%2331c5f8' stroke-width='2' stroke-linejoin='round' /></svg>") repeat-x;
        opacity: .9;
        animation: medPulseSlide 3.6s linear infinite;
    }

@keyframes medPulseSlide {
    to {
        transform: translateX(60%);
    }
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin: 26px 0 18px 0
}

    .section-header h2 {
        font-weight: 900;
        margin: 0;
        background: linear-gradient(90deg,var(--accent),var(--primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

    .section-header p {
        color: #b8c7e6;
        margin: 6px 0 0 0
    }

/* GALLERY */
.cc-gallery {
    padding: 10px 0 0 0
}

.cc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px
}

.cc-g-item {
    position: relative;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow)
}

    .cc-g-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        aspect-ratio: 4/3
    }

    .cc-g-item figcaption {
        position: absolute;
        left: 10px;
        bottom: 10px;
        background: #0f1a2c;
        border: 1px solid var(--border);
        padding: 6px 10px;
        border-radius: 30px;
        color: #eaf1fa;
        font-weight: 800
    }

/* PROMISE */
.cc-promise {
    padding: 24px 0
}

.cc-promise-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px
}

.cc-p-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #19243b;
    border: 1px solid var(--border);
    margin: 4px auto 8px auto;
    color: var(--accent)
}

.cc-promise .med-card {
    text-align: center
}

/* PATHWAY */
.cc-pathway {
    padding: 24px 0
}

.cc-steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0
}

.cc-step .cc-step-num {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0f1a2c;
    border: 1px solid var(--border);
    color: #cfe2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px
}

/* STORIES (fixed 3 boxes on desktop, responsive) */
.cc-stories {
    padding: 24px 0
}

.cc-stories-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px
}

.cc-story blockquote {
    margin: 0 0 10px 0;
    color: #eaf1fa;
    font-size: 15px
}

.cc-story figcaption {
    color: #b8c7e6;
    font-weight: 700
}

/* COMMUNITY */
.cc-community {
    padding: 10px 0 6px 0
}

.cc-community-wrap {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: start
}

.cc-impact {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #d7e8ff
}

    .cc-impact i {
        color: var(--accent);
        margin-right: 8px
    }

.cc-community-right {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px
}

.cc-stat {
    text-align: center
}

    .cc-stat .num {
        font-weight: 900;
        font-size: clamp(22px,3.6vw,34px);
        color: var(--primary);
        margin-bottom: 4px
    }

    .cc-stat .lbl {
        color: #b8c7e6;
        font-weight: 700
    }

/* ENVIRONMENT */
.cc-environment {
    padding: 24px 0 8px 0
}

.cc-env-wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: center
}

.cc-env-media {
    position: relative
}

    .cc-env-media img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 14px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow)
    }

.cc-env-tags {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .cc-env-tags span {
        background: #0f1a2c;
        border: 1px solid var(--border);
        color: #eaf1fa;
        padding: 6px 10px;
        border-radius: 30px;
        font-weight: 800;
        box-shadow: var(--shadow)
    }

.cc-env-copy h3 {
    margin: 0 0 6px 0;
    font-weight: 900
}

.cc-env-copy p {
    color: #cfe2ff;
    margin: 0 0 8px 0
}

.cc-env-copy ul {
    margin: 0 0 12px 0;
    padding-left: 18px;
    color: #cfe2ff
}

.cc-env-copy li {
    margin: 4px 0
}

/* FINAL CTA */
.cc-final-cta {
    padding: 26px 0 36px
}

.cc-final-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #12192c;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.cc-final-copy h3 {
    margin: 0 0 6px 0;
    font-weight: 900
}

.cc-final-copy p {
    margin: 0;
    color: #cfe2ff
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.2,.8,.3,1), transform .6s cubic-bezier(.2,.8,.3,1);
    transition-delay: var(--reveal-delay,0ms)
}

    .reveal.in-view {
        opacity: 1;
        transform: none
    }

/* Responsive */
@media (max-width: 1100px) {
    .cc-gallery-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width: 992px) {
    .cc-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px
    }

    .cc-hero-right {
        width: 100%;
        justify-content: stretch
    }

    .cc-gallery-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .cc-promise-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .cc-steps {
        grid-template-columns: repeat(2,1fr)
    }

    .cc-stories-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .cc-community-wrap {
        grid-template-columns: 1fr
    }

    .cc-env-wrap {
        grid-template-columns: 1fr
    }
}

@media (max-width: 600px) {
    .cc-gallery-grid {
        grid-template-columns: 1fr
    }

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

    .cc-stories-grid {
        grid-template-columns: 1fr
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-dna {
        animation: none !important
    }

    .med-card .med-pulse {
        animation: none !important
    }
}
