/* ===================================
   VARIABLES & RESET
   =================================== */
:root {
    /* Couleurs principales */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    
    /* Couleurs de risque */
    --risk-very-low: #10b981;
    --risk-low: #22c55e;
    --risk-moderate: #f59e0b;
    --risk-high: #ef4444;
    --risk-very-high: #dc2626;
    
    /* Couleurs recommandations */
    --class-1a: #059669;
    --class-1b: #0d9488;
    --class-2a: #f59e0b;
    --class-2b: #f97316;
    --class-3: #ef4444;
    
    /* Couleurs neutres */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-logo i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.625rem 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-primary {
    background: rgba(255, 255, 255, 0.2);
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.2);
}

.badge-success {
    background: rgba(16, 185, 129, 0.3);
}

.badge-new {
    background: var(--accent-color);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===================================
   SECTIONS
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-light {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.section-white {
    background-color: var(--bg-white);
    padding: 4rem 0;
}

.section-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-gradient .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.section-gradient .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.section-intro {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 3rem;
}

.subsection-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subsection-title i {
    color: var(--primary-color);
}

/* ===================================
   KEY MESSAGES
   =================================== */
.key-messages-section {
    background: var(--bg-white);
    padding: 4rem 0;
}

.key-messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.key-message-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.key-message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.key-message-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.key-message-icon i {
    font-size: 1.75rem;
    color: white;
}

.key-message-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.key-message-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   STEPS
   =================================== */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-xl);
}

.step-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.step-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

.step-content {
    padding: 2rem;
}

.step-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.step-subsection {
    margin-bottom: 2rem;
}

.step-subsection:last-child {
    margin-bottom: 0;
}

.step-subsection h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-subsection h4 i {
    color: var(--primary-color);
}

.step-subsection ul {
    list-style-position: inside;
    padding-left: 0;
}

.step-subsection li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.step-subsection li ul {
    margin-top: 0.5rem;
    padding-left: 2rem;
}

.step-subsection li strong {
    color: var(--text-primary);
}

/* Risk Stratification */
.risk-stratification {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
}

.risk-stratification h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.risk-levels {
    display: grid;
    gap: 1rem;
}

.risk-level {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
    background: white;
}

.risk-very-low {
    border-color: var(--risk-very-low);
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), white);
}

.risk-low {
    border-color: var(--risk-low);
    background: linear-gradient(to right, rgba(34, 197, 94, 0.1), white);
}

.risk-moderate {
    border-color: var(--risk-moderate);
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1), white);
}

.risk-high {
    border-color: var(--risk-high);
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), white);
}

.risk-very-high {
    border-color: var(--risk-very-high);
    background: linear-gradient(to right, rgba(220, 38, 38, 0.1), white);
}

.risk-level strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.risk-level p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Functional Tests */
.functional-tests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.test-box {
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.test-box strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.test-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* High Risk Criteria */
.high-risk-criteria {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), white);
    border-left: 4px solid var(--risk-high);
    border-radius: 8px;
}

.high-risk-criteria h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.high-risk-criteria i {
    color: var(--risk-high);
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.criteria-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.criteria-item strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.criteria-item ul {
    list-style-position: inside;
}

.criteria-item li {
    color: var(--text-secondary);
}

/* Treatment Pillars */
.treatment-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pillar i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pillar h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 0.75rem;
}

/* ===================================
   TRAITEMENT
   =================================== */
.treatment-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.treatment-nav-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.treatment-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.treatment-nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.treatment-tab {
    display: none;
}

.treatment-tab.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lifestyle Grid */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.lifestyle-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.lifestyle-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.lifestyle-icon i {
    font-size: 1.75rem;
    color: white;
}

.lifestyle-icon.smoking {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.lifestyle-icon.weight {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.lifestyle-icon.diet {
    background: linear-gradient(135deg, #10b981, #059669);
}

.lifestyle-icon.mental {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.lifestyle-icon.activity {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.lifestyle-icon.lipids {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.lifestyle-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.lifestyle-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.lifestyle-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.lifestyle-details h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.lifestyle-details ul,
.lifestyle-details ol {
    padding-left: 1.25rem;
}

.lifestyle-details li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Recommendation Levels */
.reco-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.class-1a {
    background: var(--class-1a);
    color: white;
}

.class-1b {
    background: var(--class-1b);
    color: white;
}

.class-2a {
    background: var(--class-2a);
    color: white;
}

.class-2b {
    background: var(--class-2b);
    color: white;
}

.class-3 {
    background: var(--class-3);
    color: white;
}

/* Info Boxes */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-strategy {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.1), white);
    border-left: 4px solid var(--primary-color);
}

.info-strategy i {
    color: var(--primary-color);
}

.info-important {
    background: linear-gradient(to right, rgba(124, 58, 237, 0.1), white);
    border-left: 4px solid var(--secondary-color);
}

.info-important i {
    color: var(--secondary-color);
}

.info-warning {
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1), white);
    border-left: 4px solid var(--accent-color);
}

.info-warning i {
    color: var(--accent-color);
}

/* Anti-Angineux Section */
.antianginal-section {
    margin-bottom: 3rem;
}

.antianginal-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drug-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.drug-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.drug-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.drug-examples {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.drug-effects {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.drug-effects li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.drug-effects li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--class-1a);
    font-weight: 700;
}

.drug-caution {
    font-size: 0.875rem;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--risk-high);
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.drug-caution i {
    color: var(--risk-high);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.combination-strategy {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 12px;
    text-align: center;
}

.combination-strategy h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.drug-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.drug-compact {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.drug-compact strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.drug-compact p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.drug-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drug-note i {
    color: var(--accent-color);
}

/* Pronostique Cards */
.prognostic-pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prognostic-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.prognostic-header {
    padding: 1.25rem 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prognostic-header.antithrombotic {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.prognostic-header.inflammatory {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.prognostic-header.metabolic {
    background: linear-gradient(135deg, #10b981, #059669);
}

.prognostic-header.raas {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.prognostic-header i {
    font-size: 1.5rem;
}

.prognostic-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.prognostic-content {
    padding: 1.5rem;
}

.pillar-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.antithrombotic-algorithms {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.key-recommendations h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.key-recommendations ul {
    list-style-position: inside;
}

.key-recommendations li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.key-recommendations li strong {
    color: var(--text-primary);
}

.reco-new {
    padding-left: 0.5rem;
    border-left: 3px solid var(--accent-color);
    background: rgba(245, 158, 11, 0.05);
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-radius: 4px;
}

.drug-highlight {
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.drug-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.drug-name i {
    color: var(--accent-color);
}

.drug-name strong {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.evidence-box {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.evidence-box strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.evidence-box ul {
    padding-left: 1.25rem;
}

.evidence-box li {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.metabolic-drugs {
    display: grid;
    gap: 1.5rem;
}

.drug-category h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drug-category ul {
    padding-left: 1.25rem;
}

.drug-category li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* ===================================
   REVASCULARISATION
   =================================== */
.revasc-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.revasc-nav-btn {
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.revasc-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.revasc-nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.revasc-tab {
    display: none;
}

.revasc-tab.active {
    display: block;
    animation: fadeIn 0.5s;
}

.indication-types {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.indication-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid;
}

.indication-card.symptom {
    border-color: #10b981;
}

.indication-card.prognostic {
    border-color: #2563eb;
}

.indication-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.indication-card > p:first-of-type {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.indication-card ul {
    padding-left: 1.25rem;
}

.indication-card li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.prognostic-indications {
    display: grid;
    gap: 1.5rem;
}

.lvef-group {
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
}

.lvef-group h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.lvef-group ul {
    padding-left: 1.25rem;
}

.lvef-group li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* Modality Scenarios */
.modality-scenarios {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.scenario-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.scenario-card.fevg-low {
    border-left: 6px solid var(--risk-high);
}

.scenario-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenario-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modality-option {
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
}

.modality-option.cabg-preferred {
    border-color: #10b981;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), white);
}

.modality-option.pci-option {
    border-color: #2563eb;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.1), white);
}

.modality-option strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modality-option > p:first-of-type {
    margin-bottom: 0.75rem;
}

.modality-option ul {
    padding-left: 1.25rem;
    margin-top: 0.75rem;
}

.modality-option li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.scenario-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.split-column h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.decision-factors {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.decision-factors strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.decision-factors ul {
    padding-left: 1.25rem;
}

.decision-factors li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.imaging-guidance {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: 16px;
}

.imaging-guidance h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.imaging-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.imaging-reco {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.imaging-reco strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.imaging-reco p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.imaging-reco ul {
    padding-left: 1.25rem;
}

.imaging-reco li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Scores Grid */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.score-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.score-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.score-header {
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.score-header.syntax {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.score-header.sts {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.score-header.grace {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.score-header.comparison {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.score-header i {
    font-size: 1.75rem;
}

.score-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.score-body {
    padding: 1.5rem;
}

.score-body > p:first-of-type {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.score-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.score-body li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.score-body li strong {
    color: var(--text-primary);
}

/* Studies Grid */
.studies-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.study-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.study-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.study-header i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.study-header.comparison i {
    color: var(--secondary-color);
}

.study-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    margin: 0 0.75rem;
}

.study-year {
    padding: 0.25rem 0.75rem;
    background: var(--bg-gray);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.study-summary p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.study-summary p strong {
    color: var(--text-primary);
}

/* ===================================
   ANOCA/INOCA
   =================================== */
.anoca-intro,
.anoca-epidemiology,
.anoca-diagnosis,
.anoca-endotypes,
.anoca-prognosis {
    margin-bottom: 3rem;
}

.definition-box {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.definition-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.definitions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.def-item {
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.def-item strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.def-item p {
    color: var(--text-secondary);
}

.definition-box .note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
}

.definition-box .note i {
    color: var(--primary-color);
}

.prevalence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.prevalence-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.prevalence-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.prevalence-item.highlight {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1), white);
}

.prevalence-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.prevalence-item p {
    font-weight: 600;
    color: var(--text-secondary);
}

.diagnostic-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.diag-step {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.diag-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.diag-step ul {
    padding-left: 1.25rem;
}

.diag-step li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.imaging-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.imaging-opt {
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.imaging-opt strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.imaging-opt p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.endotypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.endotype-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.endotype-header {
    padding: 1.25rem 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.endotype-header.endothelial {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.endotype-header.microvascular {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.endotype-header.vasospasm {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.endotype-header.overlap {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.endotype-header i {
    font-size: 1.5rem;
}

.endotype-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.endotype-content {
    padding: 1.5rem;
}

.endotype-content > p:first-of-type {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.treatment-box {
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-top: 1rem;
}

.treatment-box strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.treatment-box ul {
    padding-left: 1.25rem;
}

.treatment-box li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* ===================================
   CALCULATEURS
   =================================== */
.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: var(--transition);
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.calculator-card:hover::before {
    top: -25%;
    right: -25%;
}

.calc-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.calc-icon i {
    font-size: 2rem;
    color: white;
}

.calc-icon.pretest {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.calc-icon.cac {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.calc-icon.cac-cl {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.calc-icon.duke {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.calc-icon.syntax {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.calc-icon.sts {
    background: linear-gradient(135deg, #30cfd0, #330867);
}

.calc-icon.grace {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.calculator-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.calculator-card > p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.calc-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.feature-badge.new {
    background: var(--accent-color);
    animation: pulse 2s infinite;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideUp 0.4s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .subsection-title {
        font-size: 1.375rem;
    }
    
    .key-messages-grid,
    .lifestyle-grid,
    .calculators-grid,
    .endotypes-grid,
    .studies-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-nav,
    .revasc-nav {
        flex-direction: column;
    }
    
    .treatment-nav-btn,
    .revasc-nav-btn {
        width: 100%;
    }
    
    .scenario-split {
        grid-template-columns: 1fr;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.375rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-light,
    .section-white,
    .section-gradient {
        padding: 3rem 0;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .badge {
        justify-content: center;
    }
}