/* Enhanced CSS Variables with new colors for triage and disease management */
:root {
    --primary: #005bb8;
    --primary-dark: #004c9d;
    --primary-light: #3385D6;
    --secondary: #00A86B;
    --secondary-dark: #008855;
    --secondary-light: #33BA89;
    --accent: #4ECDC4;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-lighter: #334155;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --gray-lighter: #CBD5E1;
    --white: #FFFFFF;
    --text-light: #E2E8F0;
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --glass-bg: rgba(30, 41, 59, 0.3);
    --glass-border: rgba(100, 116, 139, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --glow: 0 0 40px rgba(0, 102, 204, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --triage-gradient: linear-gradient(135deg, rgba(0, 91, 184, 0.1) 0%, rgba(0, 168, 107, 0.1) 100%);
    --disease-gradient: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Utility Classes */
.section-pad {
    padding: 4rem 0;
}

.section-pad-md {
    padding: 6rem 0;
}

.h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-lighter);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.7);
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem;
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hero Sections */
.hero {
    padding: 120px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.data-flow-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.data-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: dataFlow 4s infinite;
}

.data-node:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.data-node:nth-child(2) { top: 50%; left: 50%; animation-delay: 1s; }
.data-node:nth-child(3) { top: 80%; left: 80%; animation-delay: 2s; }

@keyframes dataFlow {
    0% { transform: scale(0) translate(0, 0); opacity: 0; }
    50% { transform: scale(1.5) translate(50px, -50px); opacity: 1; }
    100% { transform: scale(0) translate(100px, -100px); opacity: 0; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-header p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Provider Page Specific */
.provider-hero .hero-content {
    grid-template-columns: 1.2fr 1fr;
}

.value-statement {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    backdrop-filter: blur(20px);
}

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

.value-statement h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Triage Engine Section - NEW */
.triage-engine-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 91, 184, 0.03) 0%, rgba(0, 168, 107, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.triage-visualization {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    margin: 3rem 0;
}

.triage-layers {
    display: grid;
    gap: 2rem;
}

.triage-layer {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: rgba(0, 91, 184, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 91, 184, 0.2);
    transition: all 0.3s ease;
}

.triage-layer:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 91, 184, 0.2);
}

.layer-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.layer-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

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

.pathway-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.pathway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.pathway-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.flow-arrow {
    color: var(--primary);
}

/* ADT Workflow Section - NEW */
.adt-workflow-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.05);
}

.adt-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
}

.adt-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 0;
}

.adt-step {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
}

.adt-step-time {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.prevented-cost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--glass-bg);
    border: 2px solid var(--success);
    border-radius: 20px;
}

.cost-saved {
    font-size: 3rem;
    font-weight: 700;
    color: var(--success);
}

/* Chronic Conditions Grid - NEW */
.chronic-conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.condition-badge {
    padding: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.condition-badge:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 91, 184, 0.3);
}

/* EHR Integration - NEW */
.ehr-integration {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

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

.ehr-logo {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.write-back-features {
    display: grid;
    gap: 1rem;
}

.write-back-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(76, 236, 195, 0.1);
    border: 1px solid rgba(76, 236, 195, 0.3);
    border-radius: 12px;
}

/* Health Plans Page Specific - NEW */
.clinical-advantage-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);
}

.data-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.data-type {
    padding: 2rem;
    border-radius: 20px;
    position: relative;
}

.data-type.claims {
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.data-type.clinical {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.data-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.data-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.claims .data-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.clinical .data-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.data-limitations,
.data-advantages {
    list-style: none;
    padding: 0;
}

.data-limitations li,
.data-advantages li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.data-limitations li i {
    color: #EF4444;
    margin-top: 0.25rem;
}

.data-advantages li i {
    color: #10B981;
    margin-top: 0.25rem;
}

/* Disease Management Section - NEW */
.disease-management-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.05);
}

.disease-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.disease-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.disease-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 168, 107, 0.2);
}

.disease-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.disease-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* Gap Closure Visualization - NEW */
.gap-closure-visualization {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    backdrop-filter: blur(20px);
}

.gap-closure-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-step::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 168, 107, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--secondary);
}

/* Cost Comparison - NEW */
.cost-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.cost-item {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.cost-item.old {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.cost-item.new {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.cost-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.old .cost-amount {
    color: #EF4444;
}

.new .cost-amount {
    color: #10B981;
}

/* Integration Showcase - NEW */
.integration-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.integration-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.integration-logo {
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Workflow Steps - Enhanced */
.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.workflow-step {
    text-align: center;
    flex: 0 1 180px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(20px);
    position: relative;
}

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

.workflow-step h4 {
    color: var(--white);
    font-size: 1rem;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Provider Benefits - Enhanced */
.provider-benefits-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-stat {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
}

.benefit-stat-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.benefit-stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

.provider-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.dashboard-header {
    background: var(--dark);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.dashboard-header h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
}

.patient-cards {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.patient-card {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: var(--transition);
}

.patient-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.patient-info i {
    font-size: 2rem;
    color: var(--gray-light);
}

.patient-info h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.patient-info p {
    color: var(--gray-light);
    font-size: 0.85rem;
}

.pre-visit-data {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.data-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.data-tag.complete {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.data-tag.alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

/* Health Plan Metrics */
.healthplan-page .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    justify-items: center;
}

.metric-highlight {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.75rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.metric-highlight:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.metric-highlight .metric-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    display: inline-block;
}

.metric-highlight .metric-prefix,
.metric-highlight .metric-suffix {
    font-size: 1.5rem;
    color: var(--primary);
    display: inline-block;
}

.metric-highlight .metric-label {
    display: block;
    font-size: 1rem;
    color: var(--white);
    margin-top: 0.5rem;
    font-weight: 600;
}

.metric-highlight .metric-detail {
    font-size: 0.8rem;
    color: var(--gray-light);
    margin-top: 0.25rem;
}

/* Nurse Line Replacement */
.nurse-line-replacement {
    background: var(--glass-bg);
    border: 2px solid var(--success);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

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

.nurse-line-replacement h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.nurse-line-replacement p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ROI Visualization */
.roi-visualization {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.roi-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.2) 0%, transparent 70%);
}

.roi-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: pulse 4s ease-in-out infinite;
}

.roi-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.roi-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite 2s;
}

/* Population Dashboard */
.population-dashboard {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.population-dashboard .dashboard-header {
    background: var(--dark);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.update-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
}

.update-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.dashboard-metrics {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-chart {
    height: 180px;
    position: relative;
    background: var(--dark);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outcomes Section */
.outcomes-section {
    padding: 6rem 0;
}

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

.outcome-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

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

.outcome-card.major {
    grid-column: 1 / -1;
}

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

.outcome-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.outcome-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.outcome-breakdown {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.breakdown-item i {
    color: var(--success);
}

/* Footer */
footer {
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-light);
}

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

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--gray-light);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Counter Animation */
.counting {
    display: inline-block;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error and Success Messages */
.error-message,
.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    z-index: 1001;
    animation: slideInRight 0.3s ease-out;
}

.error-message {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.success-message {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }
    
    .provider-benefits-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gap-closure-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-step:nth-child(2)::after {
        display: none;
    }
    
    .flow-step:nth-child(3)::after {
        right: auto;
        bottom: -1rem;
        top: auto;
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .healthplan-page .hero-metrics {
        grid-template-columns: 1fr;
    }
    
    .provider-benefits-stats {
        grid-template-columns: 1fr;
    }
    
    .adt-timeline {
        grid-template-columns: 1fr;
    }
    
    .adt-timeline::before {
        display: none;
    }
    
    .triage-layer {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .layer-label {
        justify-content: center;
    }
    
    .ehr-integration {
        grid-template-columns: 1fr;
    }
    
    .ehr-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .data-comparison {
        grid-template-columns: 1fr;
    }
    
    .disease-cards {
        grid-template-columns: 1fr;
    }
    
    .gap-closure-flow {
        grid-template-columns: 1fr;
    }
    
    .flow-step::after {
        display: none;
    }
    
    .cost-comparison {
        grid-template-columns: 1fr;
    }
    
    .chronic-conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .integration-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Center all hero content */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto 2rem;
        max-width: 90%;
    }
    
    /* Fix buttons alignment */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Fix container padding on mobile */
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .metric-highlight .metric-value {
        font-size: 1.75rem;
    }
    
    .metric-highlight .metric-prefix,
    .metric-highlight .metric-suffix {
        font-size: 1.25rem;
    }
    
    /* Prevent any horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    .hero-visual {
        display: none; /* Hide complex visuals on very small screens */
    }
}
/* === STYLES FOR TRANSFORMED PROVIDER PAGE (AUG 2025) === */

/* General Animation Class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Provider Hero Section */
.provider-hero {
    padding: 6rem 2rem 5rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% -20%, rgba(59, 130, 246, 0.1), transparent 50%);
}
.provider-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 20ch;
    margin: 0 auto 1rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--white);
}
.provider-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light, #E2E8F0);
    max-width: 65ch;
    margin: 0 auto 3rem;
}
.provider-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem auto 0;
    max-width: 1000px;
}
.provider-metric {
    background: var(--glass-bg, rgba(30, 41, 59, 0.3));
    border: 1px solid var(--glass-border, rgba(100, 116, 139, 0.2));
    border-radius: 16px;
    padding: 1.5rem;
    flex: 1 1 200px;
    min-width: 200px;
    transition: all 0.3s ease;
}
.provider-metric:hover {
    transform: translateY(-5px);
    border-color: var(--primary, #005bb8);
}
.provider-metric .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary, #005bb8);
    font-family: 'Space Grotesk', sans-serif;
}
.provider-metric .label {
    color: var(--text-light, #E2E8F0);
    font-size: 0.9rem;
}

/* Triage Engine Section */
.triage-engine-section {
    padding: 6rem 2rem;
    background: var(--dark-light, #1E293B);
}
.triage-layers-container {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.triage-layer {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--glass-bg, rgba(30, 41, 59, 0.3));
    border-left: 4px solid var(--primary, #005bb8);
    padding: 2rem;
    border-radius: 12px;
}
.layer-icon {
    font-size: 2rem;
    text-align: center;
}
.layer-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
}
.layer-content p {
    color: var(--text-light, #E2E8F0);
    font-size: 1rem;
}

/* Complete Record Section */
.complete-record-section {
    padding: 6rem 2rem;
}
.record-comparison {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 3rem auto 0;
}
.record-emr h3, .record-florence h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.record-emr {
    opacity: 0.7;
    border-right: 1px solid var(--glass-border);
    padding-right: 4rem;
}
.record-florence h3 { color: var(--secondary, #00A86B); }
.record-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light, #E2E8F0);
}
.record-item .icon { font-size: 1.5rem; }

/* ADT Workflow Section */
.adt-workflow-section {
     padding: 6rem 2rem;
     background: var(--dark-light, #1E293B);
}
.adt-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    margin: 3rem 0;
    background: var(--glass-border, rgba(100, 116, 139, 0.2));
    border-radius: 16px;
    overflow: hidden;
}
.adt-step {
    background: var(--glass-bg, rgba(30, 41, 59, 0.3));
    padding: 2rem;
    text-align: center;
}
.adt-step h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}