/* Global Design System - The Clinician: Medical Navy + Sky Blue */

:root {
    /* PRIMARY COLORS - Deep Medical Navy */
    --color-primary: #1e3a5f;
    /* Deep medical navy */
    --color-primary-dark: #152d4a;
    /* Darker navy */
    --color-primary-light: #e8eef5;
    /* Very light cool blue */

    --color-secondary: #7eb8d4;
    /* Calm sky blue */
    --color-secondary-dark: #5a9bbd;
    /* Darker sky blue */
    --color-secondary-light: #e0f0f8;
    /* Very light sky blue */

    --color-accent: #7eb8d4;
    /* Sky blue accent */
    --color-accent-light: #e8f4fa;
    /* Light sky blue background */

    /* NEUTRAL COLORS - Cool Clinical Backgrounds */
    --color-background: #f8fafc;
    /* Near white, cool */
    --color-bg-body: #f0f4f8;
    /* Cool light grey */
    --color-surface: #ffffff;
    /* Pure white surface */
    --color-surface-elevated: #FFF;
    --color-border: #e2e8f0;
    /* Cool grey border */
    --color-border-light: #f1f5f9;

    /* TEXT COLORS - Navy-Gray Tones */
    --color-text-primary: #1e3a5f;
    /* Deep medical navy */
    --color-text-secondary: #475569;
    /* Medium slate */
    --color-text-tertiary: #94a3b8;
    /* Light slate */
    --color-text-inverse: #ffffff;

    /* INTERACTIVE STATES */
    --color-hover: #e8eef5;
    /* Light navy on hover */
    --color-focus: #1e3a5f;
    /* Navy focus */

    /* SHADOWS - Cool navy tones */
    --shadow-sm: 0 1px 3px 0 rgba(30, 58, 95, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(30, 58, 95, 0.08), 0 2px 4px -2px rgba(30, 58, 95, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 58, 95, 0.08), 0 4px 6px -4px rgba(30, 58, 95, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(30, 58, 95, 0.08), 0 8px 10px -6px rgba(30, 58, 95, 0.06);

    /* TYPOGRAPHY SCALE — generous sizing for readability */
    --font-size-xs: 0.875rem;
    --font-size-sm: 1rem;
    --font-size-base: 1.125rem;
    --font-size-md: 1.1875rem;
    --font-size-lg: 1.3125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.75rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 2.75rem;
    --font-size-5xl: 3.5rem;

    /* SPACING SCALE */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Gradients - Navy/Sky blue tones */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2a4f7c 100%);
    --gradient-accent: linear-gradient(135deg, #7eb8d4 0%, #5a9bbd 100%);
}

/* BASE STYLES */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.68;
    font-weight: 400;
    letter-spacing: -0.008em;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* CONTAINER UTILITIES — wide content layout */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 640px) {
    .container {
        max-width: 96%;
        padding: 0 var(--space-6);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 94%;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 92%;
        padding: 0 var(--space-8);
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1600px;
    }
}

/* NAVIGATION - Clinical White */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #cbd5e1;
    box-shadow: 0 2px 20px rgba(30, 58, 95, 0.06);
}

.navbar .container {
    padding: 0 var(--space-6);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.25rem 3.25rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--space-16);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-logo {
    width: 58px;
    height: 58px;
    color: #1e3a5f;
}

.navbar-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 900;
    font-size: 1.9rem;
    color: #1e3a5f;
    letter-spacing: -0.03em;
}

.navbar-nav {
    display: none;
    align-items: center;
    gap: 0.4rem;
    margin: 0 auto;
    padding: 0 var(--space-8);
    position: relative;
}

@media (min-width: 900px) {
    .navbar-nav {
        display: flex;
    }
}


.nav-link {
    position: relative;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #1e3a5f;
    letter-spacing: 0.005em;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #152d4a;
    background: rgba(30, 58, 95, 0.06);
}

.nav-link.active {
    color: #1e3a5f;
    background-color: rgba(30, 58, 95, 0.08);
    font-weight: 900;
}

.nav-link.active::after {
    width: 28px;
    background: #1e3a5f;
    height: 3px;
}

/* MOBILE MENU */
.mobile-menu-button {
    display: none;
    padding: var(--space-2);
    border: none;
    background: none;
    color: #1e3a5f;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-menu-button:hover {
    background: rgba(30, 58, 95, 0.06);
}

@media (max-width: 900px) {
    .mobile-menu-button {
        display: block;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu.show {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 1.25rem var(--space-6);
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-link:hover {
    background: var(--color-hover);
}

.mobile-nav-link-active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
    gap: var(--space-2);
    font-size: 15px;
    cursor: pointer;
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
}

.btn-simple {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    box-shadow: none;
    padding: 0;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.btn-simple:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.btn-subtle {
    background: transparent;
    color: #4A4A4A;
    border: none;
    box-shadow: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-subtle:hover {
    color: #1e3a5f;
    background: rgba(30, 58, 95, 0.06);
    transform: none;
    box-shadow: none;
}

.btn-subtle-primary {
    color: #2a4f7c;
}

.btn-subtle-primary:hover {
    color: #1e3a5f;
    background: rgba(30, 58, 95, 0.08);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
    overflow: hidden;
    padding: var(--space-24) 0 var(--space-32);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: start;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1.5fr 1fr;
        gap: var(--space-12);
    }
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 15%, rgba(161, 140, 209, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 75% 85%, rgba(253, 160, 133, 0.04) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: var(--space-6);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.hero-tagline {
    font-size: 1.375rem;
    font-weight: 500;
    color: #7eb8d4;
    margin-top: var(--space-3);
    margin-bottom: var(--space-8);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.02em;
    font-style: italic;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    /* Reduced font size */
    color: #7eb8d4;
    /* Calm sky blue accent */
    font-weight: 500;
    max-width: 42rem;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
}

.hero-title .highlight {
    color: #7eb8d4;
    font-weight: 900;
    position: relative;
    display: inline;
}

.hero-title .highlight::after {
    display: none;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons-vertical {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: nowrap;
    margin: 0 auto;
    margin-top: var(--space-8);
}

.hero-actions-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.hero-links {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* RESEARCH UPDATES CARD - Tobii/Apple inspired design */
.research-card {
    position: relative;
    background: linear-gradient(135deg, rgba(248, 250, 252, 1) 0%, rgba(232, 238, 245, 0.6) 50%, rgba(248, 250, 252, 1) 100%);
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 20px;
    padding: var(--space-6);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.04);
    overflow: visible;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" viewBox="0 0 800 600"><defs><linearGradient id="grad1" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231e3a5f;stop-opacity:0.06"/><stop offset="100%25" style="stop-color:%233b82f6;stop-opacity:0.04"/></linearGradient></defs><g fill="none"><path d="M680 60 Q700 100 680 140 Q660 180 680 220 Q700 260 680 300 Q660 340 680 380" stroke="url(%23grad1)" stroke-width="1.5"/><circle cx="680" cy="60" r="4" fill="%231e3a5f" opacity="0.06"/><circle cx="680" cy="140" r="4" fill="%233b82f6" opacity="0.05"/><circle cx="680" cy="220" r="4" fill="%231e3a5f" opacity="0.06"/><circle cx="680" cy="300" r="4" fill="%233b82f6" opacity="0.05"/><circle cx="680" cy="380" r="4" fill="%231e3a5f" opacity="0.06"/><path d="M720 80 Q700 120 720 160 Q740 200 720 240 Q700 280 720 320 Q740 360 720 400" stroke="url(%23grad1)" stroke-width="1.5"/><line x1="680" y1="60" x2="720" y2="80" stroke="%231e3a5f" stroke-width="0.8" opacity="0.05"/><line x1="680" y1="140" x2="720" y2="160" stroke="%233b82f6" stroke-width="0.8" opacity="0.04"/><line x1="680" y1="220" x2="720" y2="240" stroke="%231e3a5f" stroke-width="0.8" opacity="0.05"/><line x1="680" y1="300" x2="720" y2="320" stroke="%233b82f6" stroke-width="0.8" opacity="0.04"/><circle cx="750" cy="150" r="18" stroke="%233b82f6" stroke-width="1" opacity="0.05"/><circle cx="750" cy="150" r="10" stroke="%231e3a5f" stroke-width="0.8" opacity="0.04"/><circle cx="750" cy="150" r="3" fill="%233b82f6" opacity="0.05"/><circle cx="100" cy="120" r="22" stroke="%231e3a5f" stroke-width="1" opacity="0.04"/><circle cx="100" cy="120" r="12" stroke="%233b82f6" stroke-width="0.8" opacity="0.03"/><circle cx="250" cy="80" r="3" fill="%231e3a5f" opacity="0.04"/><circle cx="280" cy="100" r="2" fill="%233b82f6" opacity="0.03"/><circle cx="320" cy="70" r="2.5" fill="%231e3a5f" opacity="0.04"/><path d="M400 50 L420 70 L400 90 L380 70 Z" stroke="%233b82f6" stroke-width="0.8" opacity="0.04" fill="none"/><circle cx="500" cy="100" r="15" stroke="%231e3a5f" stroke-width="0.8" opacity="0.03"/><rect x="150" y="350" width="20" height="45" rx="3" stroke="%231e3a5f" stroke-width="1" opacity="0.04" fill="none"/><ellipse cx="160" cy="350" rx="10" ry="4" stroke="%231e3a5f" stroke-width="0.8" opacity="0.04"/><circle cx="155" cy="370" r="2" fill="%233b82f6" opacity="0.03"/><circle cx="165" cy="380" r="1.5" fill="%231e3a5f" opacity="0.04"/><circle cx="350" cy="450" r="16" stroke="%231e3a5f" stroke-width="0.8" opacity="0.03"/><circle cx="350" cy="450" r="8" stroke="%233b82f6" stroke-width="0.6" opacity="0.03"/><path d="M550 400 Q570 380 590 400 Q610 420 630 400" stroke="%231e3a5f" stroke-width="0.8" opacity="0.04"/><circle cx="550" cy="400" r="3" fill="%233b82f6" opacity="0.03"/><circle cx="590" cy="400" r="3" fill="%231e3a5f" opacity="0.04"/><circle cx="630" cy="400" r="3" fill="%233b82f6" opacity="0.03"/><path d="M80 250 L100 230 L120 250 L100 270 Z" stroke="%233b82f6" stroke-width="0.6" opacity="0.03" fill="none"/><circle cx="450" cy="280" r="12" stroke="%231e3a5f" stroke-width="0.6" opacity="0.03"/><path d="M200 200 Q220 180 240 200 Q260 220 280 200" stroke="%233b82f6" stroke-width="0.6" opacity="0.03" stroke-dasharray="3,3"/><rect x="600" cy="500" width="25" height="50" rx="4" stroke="%231e3a5f" stroke-width="0.8" opacity="0.03" fill="none"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    pointer-events: none;
}

.research-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
    z-index: 1;
}

.research-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4f7c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}

.research-card-title {
    font-size: 1.1875rem;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.01em;
}

.research-treatments {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.treatment-item {
    padding: var(--space-4) var(--space-5);
    background: transparent;
    border-radius: 0;
    border: none;
    border-left: 3px solid rgba(30, 58, 95, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #1e3a5f;
    transform: translateX(4px);
    padding-left: calc(var(--space-5) + 4px);
}

.treatment-name {
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.treatment-company {
    font-size: 0.8125rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #888;
    margin-bottom: var(--space-2);
    font-weight: 500;
}

.treatment-details {
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #555;
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.treatment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-2);
    font-size: 0.8125rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e3a5f;
    text-decoration: none;
    transition: all 0.15s ease;
    font-weight: 500;
}

.treatment-link:hover {
    color: #2a4f7c;
}

/* 2-Column Research Card Layout */
.research-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.research-card-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1rem;
    bottom: 1rem;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    transform: translateX(-50%);
}

.research-column {
    display: flex;
    flex-direction: column;
}

.research-column-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.research-column-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.research-column-icon.treatments {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4f7c 100%);
}

.research-column-icon.news {
    background: #1e3a5f;
}

.research-column-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0;
}

.research-news-list {
    display: flex;
    flex-direction: column;
}

.research-news-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.research-news-item:last-child {
    border-bottom: none;
}

.research-news-info {
    flex: 1;
}

.research-news-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.research-news-desc {
    font-size: 0.75rem;
    color: #64748b;
}

.research-news-link {
    color: #1e3a5f;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s, transform 0.2s;
}

.research-news-link:hover {
    color: #152d4a;
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .research-card-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .research-card-content::before {
        display: none;
    }
}

/* Research News Cards - Clickable anywhere */
.research-news-card {
    display: block;
    text-decoration: none;
    padding: 0.65rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.15s;
    cursor: pointer;
}

.research-news-card:hover {
    background-color: rgba(30, 58, 95, 0.05);
    transform: translateX(3px);
}

.research-news-card:hover .research-news-name {
    color: #1e3a5f;
}

.research-news-card+.research-news-card {
    border-top: 1px solid #f1f5f9;
}

/* Resource Item Links */
.resource-list {
    display: flex;
    flex-direction: column;
}

.resource-item-link {
    display: block;
    text-decoration: none;
    padding: 0.65rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.15s;
    cursor: pointer;
}

.resource-item-link:hover {
    background-color: rgba(30, 58, 95, 0.05);
    transform: translateX(3px);
}

.resource-item-link:hover .resource-name {
    color: #1e3a5f;
}

.resource-item-link+.resource-item-link {
    border-top: 1px solid #f1f5f9;
}

.resource-name {
    font-family: 'Manrope', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.2rem;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.resource-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: #64748b;
}

/* CARDS - USER PATTERN */
.cards-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
    border-top: 1px solid #e2e8f0;
}

.cards-grid {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
}

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

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

.card {
    display: flex;
    flex-direction: column;
    padding: 2rem 2.25rem;
    background: #ffffff;
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.04);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.10);
    border-color: rgba(30, 58, 95, 0.14);
    background: #ffffff;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.25s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eef5 0%, #d6e4f0 100%);
    border-radius: 14px;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.card-icon svg,
.card-icon i {
    width: 28px;
    height: 28px;
    font-size: 28px;
    color: #1e3a5f;
}

.card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.card-description {
    font-family: 'DM Sans', sans-serif;
    color: #475569;
    line-height: 1.72;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.card-link {
    display: flex;
    align-items: center;
    color: #1e3a5f;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.card-link svg,
.card-link i {
    width: 16px;
    height: 16px;
    margin-left: var(--space-2);
    transition: transform 0.2s ease;
}

.card:hover .card-link svg,
.card:hover .card-link i {
    transform: translateX(4px);
}

/* CTA SECTION */
.cta-section {
    padding: var(--space-24) 0;
    background: var(--color-primary);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-3xl);
    color: white;
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin: var(--space-8) 0;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--color-primary);
}

.cta-actions .btn-outline {
    border-color: white;
    color: white;
}

.cta-actions .btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

.cta-note {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

/* INSPIRATIONAL QUOTE SECTION */
.quote-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8eef5 0%, #dce6f0 100%);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2.5rem;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #1e3a5f;
}

.quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4f7c 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.quote-container .quote-text {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2C3E50;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-style: italic;
    letter-spacing: -0.01em;
}

.quote-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* FOOTER - Dark Navy Theme */
.footer {
    background: #0f1f33;
    color: #c8d6e5;
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    color: #ffffff;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-section h4 {
    color: #ffffff;
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

.footer-section a {
    display: block;
    padding: var(--space-1) 0;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* FEATURE CARDS (Homepage) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.feature-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-size-sm);
}

/* SOURCE CARDS */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.source-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(186, 230, 253, 0.4);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(14, 165, 233, 0.08);
}

.source-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
    border-color: rgba(125, 211, 252, 0.6);
    background: rgba(255, 255, 255, 1);
}

.source-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #1e293b;
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.source-description {
    color: #64748b;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
}

.source-url {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: #1e3a5f;
    font-size: 0.875rem;
    font-weight: 500;
}

.source-url::before {
    content: "";
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.5" stroke="%233b82f6"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" /></svg>') no-repeat center;
    background-size: contain;
}

.source-card-highlight {
    background: rgba(245, 243, 255, 0.95);
}

.source-card-highlight:hover {
    background: rgba(245, 243, 255, 1);
}

.source-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.source-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.125rem;
}

.source-header h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin: 0;
}

.source-score {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: #f0f7f2;
    color: #69a86f;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: 12px;
    margin-top: var(--space-3);
}

/* SECTIONS */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-5);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 750px;
    margin: 0 auto var(--space-12);
    line-height: 1.7;
}

/* HERO STATS */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 600px;
    margin: var(--space-8) auto 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.source-score {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    font-weight: 600;
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-3);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e3a5f;
    background: rgba(30, 58, 95, 0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(30, 58, 95, 0.2);
}

.source-link:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4f7c 100%);
    border-color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 58, 95, 0.2);
}

.source-link i {
    font-size: 0.75rem;
}

/* HERO ACTIONS */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin: var(--space-8) 0;
}

/* UTILITIES */
.text-center {
    text-align: center;
}

.text-sm {
    font-size: var(--font-size-sm);
}

.mt-5 {
    margin-top: var(--space-5);
}

.mb-1 {
    margin-bottom: var(--space-1);
}

.mb-3 {
    margin-bottom: var(--space-3);
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: 12px;
}

.bg-primary {
    background: var(--color-primary);
    color: white;
}

/* CONTENT CARD */
.content-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* HERO VISUAL */
.hero-visual {
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
        align-items: center;
    }

    .hero-content {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}

/* Claude-inspired Navigation Card */
.nav-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: var(--space-6);
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: var(--space-10) auto 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5);
    border-radius: 8px;
    text-decoration: none;
    color: #2C2C2C;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
}

.nav-item i {
    font-size: 1.25rem;
    color: #5A5A5A;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item span {
    text-align: center;
    line-height: 1.3;
}

.nav-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-item:hover i {
    color: #2C2C2C;
    transform: translateY(-2px);
}

.source-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #1e3a5f;
    transition: all 0.2s ease;
}

.source-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.source-card:hover .source-link svg {
    transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════
   GLOBAL ANIMATION UTILITIES
   ═══════════════════════════════════════════════════════ */

/* Research card hover */
.research-card {
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.28s ease;
}
.research-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(30, 58, 95, 0.10);
}

/* Treatment item hover */
.treatment-item {
    transition: transform 0.18s ease, background 0.18s ease;
}
.treatment-item:hover {
    transform: translateX(3px);
}

/* Research news card hover */
.research-news-card {
    transition: transform 0.18s ease, background 0.18s ease;
}
.research-news-card:hover {
    transform: translateX(4px);
}

/* Float gentle keyframe */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Pulse glow keyframe */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30,58,95,0.3); }
    50%      { box-shadow: 0 0 20px 4px rgba(30,58,95,0.15); }
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}