/* CSS Variables */
: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);
}

/* 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;
}

.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;
}

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

.assurance-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 Steps */
.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;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Provider Benefits */
.provider-benefits-stats {
    display: grid;
    grid-template-columns: repeat(3, 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;
}

.benefit-card.enhanced {
    position: relative;
    overflow: visible;
}

.benefit-detail {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--gray-light);
}

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

/* 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);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.features-row {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

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

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

.feature-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 168, 107, 0.1) 100%);
}

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

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

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

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-list i {
    color: var(--success);
}

/* Care Workflow */
.care-workflow {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.1);
}

/* Workflow Benefits */
.workflow-benefits {
    margin-top: 3rem;
    text-align: center;
}

.workflow-benefits h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

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

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

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

.hybrid-benefit h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

/* Compendium Demo */
.compendium-demo {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
}

.compendium-demo h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.compendium-preview {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.compendium-header {
    background: var(--gradient);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
}

.compendium-sample {
    padding: 1.5rem;
    text-align: left;
    font-size: 0.85rem;
}

.compendium-section {
    margin-bottom: 1rem;
}

.compendium-section h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.compendium-section p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.compendium-section ul {
    list-style: none;
    margin-left: 0;
}

.compendium-section ul li {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.compendium-section ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gray);
}

.visit-date {
    color: var(--gray-light);
    font-size: 0.8rem;
}

.care-gap-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gap-urgent:before {
    content: "⚠️";
    color: var(--danger);
}

.gap-moderate:before {
    content: "⚠️";
    color: var(--warning);
}

.gap-low:before {
    content: "ℹ️";
    color: var(--primary);
}

/* Testimonial Section */
.testimonial-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.05);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

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

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial footer {
    text-align: right;
}

.testimonial cite {
    color: var(--white);
    font-style: normal;
    font-weight: 600;
}

/* Post-Discharge Section */
.post-discharge-section {
    padding: 6rem 0;
}

.post-discharge-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

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

.discharge-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);
}

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

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-top: 0.25rem;
}

/* Cost Section */
.cost-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.1);
}

.cost-content {
    text-align: center;
}

.cost-header {
    margin-bottom: 3rem;
}

.cost-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

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

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

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

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

.explanation-card p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 168, 107, 0.05) 100%);
    padding: 6rem 0;
    border-top: 1px solid var(--glass-border);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.cta-feature i {
    color: var(--success);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 2rem;
}

.cta-note p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.provider-cta {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 168, 107, 0.05) 100%);
}

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

@media (min-width: 992px) {
    .healthplan-page .hero-metrics {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

.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 {
    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);
}

.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;
}

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

.highlight-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);
}

/* 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;
}

#gapClosureChart {
    width: 160px;
    height: 160px;
}

.chart-label {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--gray-light);
    text-align: center;
}

.metric-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--dark);
    border-radius: 10px;
}

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

.stat-value {
    color: var(--white);
    font-weight: 600;
}

.roi-footnote {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-style: italic;
    margin: 1rem 0;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--white);
    margin: 2rem 0;
    font-weight: 500;
}

/* 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);
}

/* Differentiators Section */
.differentiators-section {
    padding: 6rem 0;
}

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

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

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

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

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

.card-header h3 {
    color: var(--white);
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.spec-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* Care Coordination Features */
.care-coordination-features {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.1);
}

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

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

.coordination-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 168, 107, 0.1) 100%);
}

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

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

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

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

.healthplan-cta {
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

/* 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;
}

/* 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;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }
    
    .features-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .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;
    }
    
    /* 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 metric highlights for health plans */
    .healthplan-page .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .metric-highlight {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        width: 100%;
        max-width: none;
        min-height: 120px;
    }
    
    /* Fix metric value display to prevent overlap */
    .metric-highlight .metric-value,
    .metric-highlight .metric-prefix,
    .metric-highlight .metric-suffix {
        display: inline-block;
        font-size: 2rem;
        line-height: 1;
        margin: 0;
    }
    
    .metric-highlight .metric-label {
        margin-top: 0.75rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .metric-highlight .metric-detail {
        font-size: 0.75rem;
        text-align: center;
    }
    
    /* Fix provider benefits stats */
    .provider-benefits-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        margin: 2rem auto;
    }
    
    .benefit-stat {
        text-align: center;
        padding: 1.5rem;
    }
    
    /* 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 population dashboard */
    .population-dashboard {
        margin: 2rem auto 0;
        max-width: 100%;
    }
    
    .dashboard-metrics {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    /* Fix nurse line replacement section */
    .nurse-line-replacement {
        text-align: center;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .nurse-line-replacement h3 {
        font-size: 1.25rem;
    }
    
    .nurse-line-replacement p {
        font-size: 0.9rem;
    }
    
    /* Fix post-discharge highlight */
    .post-discharge-highlight {
        text-align: center;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    /* Fix value statement */
    .value-statement {
        text-align: center;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .value-statement h2 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    /* Fix escalation assurance */
    .escalation-assurance {
        text-align: center;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .escalation-assurance h3 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .escalation-assurance p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Fix provider benefits cards */
    .provider-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .benefit-card {
        text-align: center;
    }
    
    /* Fix the main container padding on mobile */
    .container {
        padding: 0 1rem;
    }
    
    /* Ensure hero description is centered */
    .hero-description {
        text-align: center;
        font-size: 1rem;
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    
    /* Fix ROI footnote */
    .roi-footnote {
        text-align: center;
        font-size: 0.8rem;
        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 */
    }
}