:root {
    --primary: #0a192f;
    --secondary: #0070f3;
    --accent: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-bg: #f1f5f9;
    --clinical-gray: #e2e8f0;
    --border-radius: 12px;
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clinical-gray);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.logo .light {
    font-weight: 400;
    color: var(--text-muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.btn-outline {
    border: 1.5px solid var(--clinical-gray);
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at 70% 30%, #f1f5f9 0%, #ffffff 60%);
    text-align: center;
}

.badge {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 2rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    line-height: 1.1;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1 span {
    color: var(--secondary);
}

.lead {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.1);
}

.btn-primary:hover {
    background-color: #1a2a44;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 25, 47, 0.15);
}

.btn-secondary {
    background-color: var(--white);
    border: 1.5px solid var(--clinical-gray);
    color: var(--text-main);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--off-white);
}

/* Trust Bar (Enlarged Logos) */
.trust-bar {
    padding: 4rem 0;
    border-top: 1px solid var(--clinical-gray);
    border-bottom: 1px solid var(--clinical-gray);
    background-color: var(--white);
}

.flex-trust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-logo {
    height: clamp(50px, 8vw, 80px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    display: block;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

/* Why 3 Brands Diagram */
.brands-diagram-section {
    padding: 8rem 0;
    background-color: var(--white);
}

.brands-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.brand-card {
    background-color: var(--off-white);
    border: 1px solid var(--clinical-gray);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.brand-logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.brand-logo-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Fix for Turtle Method aspect ratio */
.turtle-logo-img {
    max-width: 240px !important;
}

.brand-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.market {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.stats {
    border-top: 1px solid var(--clinical-gray);
    padding-top: 1.5rem;
    width: 100%;
}

.stats strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stats span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.thesis-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.2rem;
}

.thesis-box strong {
    color: var(--accent);
}

/* Consumer Proof of Concept */
.gray-bg {
    background-color: var(--gray-bg);
}

.consumer-proof {
    padding: 8rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.align-center {
    align-items: center;
}

.large-text {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.proof-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.p-stat {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clinical-gray);
    text-align: center;
}

.p-stat .num {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.p-stat .lab {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* B2B Medical Section */
.medical-section {
    padding: 8rem 0;
}

.flow-steps {
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-num {
    background-color: var(--secondary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.api-intelligence-card {
    background-color: var(--primary);
    color: var(--white);
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.api-intelligence-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.feature-pill {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.4rem 1.25rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

.api-intelligence-card .small {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.api-mockup {
    background-color: #0d1e37;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
}

.api-line {
    margin-bottom: 0.5rem;
}

.api-line span {
    color: var(--accent);
    font-weight: 700;
}

/* News & Science */
.science-section {
    padding: 8rem 0;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 2rem;
}

.news-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clinical-gray);
    display: flex;
    flex-direction: column;
}

.news-card.highlight {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    grid-row: span 1;
}

.news-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.news-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.text-link {
    margin-top: auto;
    padding-top: 2rem;
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
}

/* Team Section */
.team-section {
    padding: 8rem 0;
}

.team-grid {
    display: flex;
    justify-content: center;
}

.team-member {
    max-width: 600px;
    background-color: var(--off-white);
    padding: 4rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.team-member h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-member .title {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.team-member .bio {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* CTA */
.cta {
    padding: 8rem 0;
    background-color: var(--primary);
    color: var(--white);
}

.cta h2 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    margin-top: 2.5rem;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background-color: var(--white);
    border-top: 1px solid var(--clinical-gray);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-info .group-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .brands-diagram {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .featured-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .desktop-nav {
        display: none;
    }

    .desktop-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 3rem 1.5rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--clinical-gray);
    }

    .desktop-nav.active a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Animation for menu toggle */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .trust-bar {
        padding: 3rem 0;
    }

    .flex-trust {
        justify-content: center;
        gap: 2rem;
    }

    .trust-logo {
        height: 50px;
    }

    .api-intelligence-card {
        padding: 2.5rem 1.5rem;
    }
    
    .team-member {
        padding: 3rem 1.5rem;
    }
}
