:root {
    --color-primary: #10B981; /* Emerald */
    --color-primary-dark: #059669;
    --color-secondary: #475569; /* Slate */
    --color-bg: #F8FAFC;
    --color-white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 8px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-secondary);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: #1E293B;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

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

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* UI Components (Clean/Medical Style) */
.cta-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.cta-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.section-padding {
    padding: 96px 0;
}

/* Nav */
.navbar {
    background: var(--color-white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-list a {
    font-weight: 500;
    color: var(--color-secondary);
}

.nav-list a:hover {
    color: var(--color-primary);
}

.mobile-trigger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Variant B (Image Right, Text Left) */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #0F172A;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: #64748B;
}

.hero-visual img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Methodology Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.method-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
}

.method-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

/* Blog */
.articles-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.article-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-thumb {
    height: 240px;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-info {
    padding: 24px;
}

.article-info h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.read-link {
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 16px;
    display: inline-block;
}

/* Footer & Newsletter */
.footer-main {
    background-color: #1E293B; /* Dark Slate */
    color: #CBD5E1;
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-newsletter {
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    justify-content: center;
}

.email-input {
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid #475569;
    background: #0F172A;
    color: white;
    width: 100%;
    max-width: 300px;
}

.checkbox-area {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    border-top: 1px solid #334155;
    padding-top: 40px;
}

/* Mobile Adaptation (Mandatory) */
@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-trigger {
        display: block;
    }

    .nav-list {
        display: none; /* Hide desktop menu */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .nav-list.is-open {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .input-group {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .section-padding {
        padding: 60px 0;
    }
}
