/* CareFuse Main Styles - Teal Theme */

/* CSS Variables */
:root {
    /* Teal Color Palette (from CareFuse logo) */
    --primary-teal: #1F7A7A;
    --primary-teal-light: #2A9999;
    --primary-teal-dark: #165A5A;
    --primary-teal-alpha: rgba(31, 122, 122, 0.1);
    
    /* Secondary Colors */
    --secondary-blue: #2563EB;
    --secondary-green: #059669;
    --accent-orange: #EA580C;
    --accent-purple: #7C3AED;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #0F172A;
    --bg-teal-gradient: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    
    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-700);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);
    --text-white: var(--white);
    
    /* Border Colors */
    --border-color: var(--gray-200);
    --border-light: var(--gray-100);
    --border-teal: var(--primary-teal);
    
    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-teal: 0 10px 25px -5px rgba(31, 122, 122, 0.2);
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 1200px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loading-animation {
    text-align: center;
    color: var(--white);
}

.medical-cross {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.cross-vertical,
.cross-horizontal {
    position: absolute;
    background: var(--primary-teal);
    border-radius: var(--radius-sm);
}

.cross-vertical {
    width: 20px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 2s infinite;
}

.cross-horizontal {
    width: 60px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s infinite 0.5s;
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.loading-subtitle {
    font-size: 1rem;
    color: var(--gray-400);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

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

.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
}

.brand-text {
    color: var(--primary-teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--bg-teal-gradient);
    color: var(--white);
    box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(31, 122, 122, 0.3);
}

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

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

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

.btn-outline:hover {
    background: var(--primary-teal-alpha);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--primary-teal-alpha) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-normal);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

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

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-teal-alpha);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.cost-breakdown {
    margin-bottom: 1.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.cost-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.cost-value {
    font-weight: 700;
    color: var(--primary-teal);
    font-size: 1.125rem;
}

.risk-stats {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.risk-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    min-width: 60px;
}

.risk-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.process-arrow {
    color: var(--primary-teal);
    font-size: 1.5rem;
    font-weight: 700;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.citation {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: var(--white);
}

.solution-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.case-study-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.case-header {
    background: var(--bg-teal-gradient);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.prediction-result {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
}

.prediction-result.low-benefit {
    background: rgba(234, 88, 12, 0.2);
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
}

.case-body {
    padding: 2rem;
}

.risk-factors {
    margin-bottom: 2rem;
}

.risk-factors h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.factor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.factor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.factor-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.factor-value {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

.factor-value.high {
    background: rgba(234, 88, 12, 0.1);
    color: var(--accent-orange);
}

.factor-value.medium {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.shap-explanation {
    margin-bottom: 2rem;
}

.shap-explanation h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.shap-chart {
    display: grid;
    gap: 1rem;
}

.shap-bar {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.shap-feature {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.shap-bar-container {
    height: 20px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.shap-bar-fill {
    height: 100%;
    border-radius: var(--radius-sm);
}

.shap-bar-fill.negative {
    background: var(--accent-orange);
}

.shap-bar-fill.positive {
    background: var(--secondary-green);
}

.shap-value {
    font-weight: 700;
    font-family: var(--font-family-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
}

.clinical-rationale {
    margin-bottom: 2rem;
}

.clinical-rationale h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.clinical-rationale p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.solution-features {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* Evidence Section */
.evidence-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.evidence-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.evidence-panel {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.evidence-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.validation-metrics {
    display: grid;
    gap: 2rem;
}

.metric-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

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

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

.metric-description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.performance-table h4,
.subgroup-performance h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.performance-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.performance-table th,
.performance-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.performance-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.performance-table td {
    color: var(--text-secondary);
}

.subgroup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.subgroup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.subgroup-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.subgroup-auc {
    font-weight: 700;
    color: var(--primary-teal);
    font-family: var(--font-family-mono);
}

.validation-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.clinical-evidence {
    display: grid;
    gap: 1.5rem;
}

.evidence-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-teal);
}

.evidence-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
}

.evidence-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.evidence-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.decision-curve {
    margin-top: 2rem;
}

.decision-curve h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.dca-chart {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.chart-placeholder {
    color: var(--text-muted);
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.chart-placeholder p {
    margin-bottom: 0.5rem;
}

.chart-note {
    font-size: 0.875rem;
    font-style: italic;
}

/* Platform Section */
.platform-section {
    padding: 80px 0;
    background: var(--white);
}

.integration-diagram {
    margin-bottom: 4rem;
    text-align: center;
}

.integration-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    min-width: 120px;
    transition: var(--transition-normal);
}

.flow-step.active {
    background: var(--bg-teal-gradient);
    color: var(--white);
    transform: scale(1.05);
}

.flow-step:hover {
    transform: translateY(-3px);
}

.flow-step .step-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.flow-step.active .step-icon {
    background: var(--white);
    color: var(--primary-teal);
}

.flow-step .step-label {
    font-weight: 600;
    color: var(--text-primary);
}

.flow-step.active .step-label {
    color: var(--white);
}

.flow-arrow {
    color: var(--primary-teal);
    font-size: 2rem;
    font-weight: 700;
}

.integration-note {
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.platform-features {
    margin-top: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.platform-feature {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-normal);
}

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

.platform-feature .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.platform-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.platform-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Compliance Section */
.compliance-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.compliance-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.compliance-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.compliance-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.compliance-card ul {
    list-style: none;
    padding: 0;
}

.compliance-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.compliance-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: 700;
}

.compliance-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    font-weight: 600;
}

.badge i {
    color: var(--primary-teal);
    font-size: 1.25rem;
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background: var(--white);
}

.roi-calculator {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.input-group input[type="number"] {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px var(--primary-teal-alpha);
}

.input-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-teal);
    border-radius: 50%;
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-teal);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.range-value {
    font-weight: 700;
    color: var(--primary-teal);
    font-size: 1.125rem;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.result-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.25rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.result-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.calculator-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--bg-teal-gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.cta-feature .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.cta-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-feature p {
    opacity: 0.9;
    line-height: 1.6;
}

.pilot-deliverables {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.pilot-deliverables h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.deliverable-item i {
    color: var(--white);
    font-size: 1.125rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.privacy-note {
    font-size: 0.875rem;
    opacity: 0.8;
    font-style: italic;
}

/* Roadmap Section */
.roadmap-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.roadmap-timeline {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-item.available {
    border-left: 4px solid var(--secondary-green);
}

.timeline-item.upcoming {
    border-left: 4px solid var(--primary-teal);
}

.timeline-item.future {
    border-left: 4px solid var(--gray-400);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-item.available .timeline-icon {
    background: var(--secondary-green);
    color: var(--white);
}

.timeline-item.upcoming .timeline-icon {
    background: var(--primary-teal);
    color: var(--white);
}

.timeline-item.future .timeline-icon {
    background: var(--gray-400);
    color: var(--white);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-item.available .timeline-status {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-green);
}

.timeline-item.upcoming .timeline-status {
    background: var(--primary-teal-alpha);
    color: var(--primary-teal);
}

.timeline-item.future .timeline-status {
    background: rgba(156, 163, 175, 0.1);
    color: var(--gray-500);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* References Section */
.references-section {
    padding: 80px 0;
    background: var(--white);
}

.references-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.reference-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.reference-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.ref-content {
    flex: 1;
}

.ref-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.ref-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.ref-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
}

.footer-legal {
    margin-bottom: 1.5rem;
}

.footer-legal p {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary-teal);
}

/* Tooltips */
.tooltip {
    position: absolute;
    background: var(--bg-dark);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.tooltip.show {
    opacity: 1;
    pointer-events: auto;
}

.tooltip-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
}

.tooltip-content p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-300);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .evidence-panels {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .integration-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Print Styles */
@media print {
    .navbar,
    .loading-screen,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-container {
        max-width: none;
        padding: 0;
    }
}

/* Main Content Loading States */
.main-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.main-content.loaded {
    display: block;
    opacity: 1;
}

/* Loading Screen Improvements */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #2A9999 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-animation {
    text-align: center;
    color: white;
}

.medical-cross {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

.cross-vertical,
.cross-horizontal {
    background: white;
    position: absolute;
    border-radius: 4px;
}

.cross-vertical {
    width: 8px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.cross-horizontal {
    width: 60px;
    height: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.loading-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    animation: fadeInOut 2s infinite;
}

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

