/* ============================================
   HAMD AI - Futuristic Healthcare Platform
   Version 2.0
   ============================================ */

/* CSS Variables */
:root {
    /* Core Colors */
    --bg-primary: #060a12;
    --bg-secondary: #0a1020;
    --bg-tertiary: #0f1729;
    --bg-card: #121d33;
    --bg-card-hover: #162040;
    
    /* Blue Steel Palette */
    --blue-steel: #1a2744;
    --blue-steel-light: #243554;
    --blue-steel-dark: #0d1526;
    
    /* Accent Colors */
    --cyan-primary: #00d4ff;
    --cyan-secondary: #22d3ee;
    --cyan-glow: rgba(0, 212, 255, 0.3);
    --blue-primary: #3b82f6;
    --blue-secondary: #1d4ed8;
    --purple-primary: #8b5cf6;
    --emerald-primary: #10b981;
    --amber-primary: #f59e0b;
    --red-primary: #ef4444;
    
    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: var(--cyan-primary);
    
    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-cyan: rgba(0, 212, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--cyan-primary), var(--blue-primary));
    --gradient-secondary: linear-gradient(135deg, var(--blue-primary), var(--purple-primary));
    --gradient-card: linear-gradient(145deg, var(--bg-card), var(--bg-tertiary));
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--cyan-glow);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--cyan-primary);
    color: var(--bg-primary);
}

/* ============================================
   Background Animation
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 50px) scale(0.95); }
    75% { transform: translate(-50px, -20px) scale(1.02); }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 122, 184, 0.15);
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 140px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-icon i {
    display: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1a2e;
}

.logo-text .highlight {
    background: linear-gradient(135deg, #2a7ab8, #5ba4d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2a7ab8, #5ba4d9);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: #2a7ab8;
}

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

.nav-cta .btn {
    padding: 0.6rem 1.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-card-hover);
    border-color: var(--border-cyan);
    color: var(--text-primary);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.btn .coming-soon {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    background: var(--amber-primary);
    color: black;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* ============================================
   Company Introduction Section
   ============================================ */
.company-intro-section {
    position: relative;
    padding: 8.5rem 0 5rem;
    background: linear-gradient(90deg,
        rgba(244, 128, 129, 0.42) 0%,
        rgba(255, 208, 106, 0.4) 48%,
        rgba(97, 176, 255, 0.36) 100%
    );
    overflow: hidden;
}

.company-intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.28), transparent 42%),
        radial-gradient(circle at 84% 30%, rgba(255, 255, 255, 0.24), transparent 40%);
    pointer-events: none;
}

.company-intro-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

.company-intro-card {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(26, 39, 68, 0.16);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(8px);
}

.intro-badge {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(42, 122, 184, 0.35);
    color: #1d4f7c;
}

.company-intro-card .section-title {
    color: #10213d;
    margin-bottom: 1.25rem;
}

.company-intro-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #20304d;
    margin-bottom: 1rem;
}

.company-intro-text:last-child {
    margin-bottom: 0;
}

.company-intro-highlights {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.intro-highlight {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(42, 122, 184, 0.22);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.intro-highlight h3 {
    color: #143a63;
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.intro-highlight p {
    color: #2a3d57;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-cyan);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan-primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-visual {
    display: none;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-cyan);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.dashboard-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.85rem;
}

.mini-card i {
    color: var(--cyan-primary);
}

.pulse-line {
    height: 40px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--cyan-primary) 50%, 
        transparent 100%
    );
    background-size: 200% 100%;
    animation: pulseLine 2s linear infinite;
    border-radius: 4px;
    opacity: 0.3;
}

@keyframes pulseLine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Section Styling
   ============================================ */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-cyan);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   Workflow Section
   ============================================ */
.workflow-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-cyan), transparent);
}

.workflow-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.timeline-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: timelineProgress 10s linear infinite;
}

@keyframes timelineProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3.5rem;
    position: relative;
}

.workflow-step {
    position: relative;
}

/* Hide all default pseudo-elements first */
.workflow-step::before,
.workflow-step::after {
    display: none;
}

.workflow-step:nth-child(1)::after,
.workflow-step:nth-child(2)::after,
.workflow-step:nth-child(3)::after,
.workflow-step:nth-child(4)::after,
.workflow-step:nth-child(5)::after,
.workflow-step:nth-child(6)::after,
.workflow-step:nth-child(7)::after,
.workflow-step:nth-child(8)::after {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(42, 122, 184, 0.18);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12), 0 0 0 8px rgba(42, 122, 184, 0.06);
    color: #1e6091;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 10;
}

/* Workflow arrow connectors - placed between cards in the gap */
.workflow-steps::before,
.workflow-steps::after {
    display: none;
}

/* Row 1: Arrows between items 1→2 and 2→3 */
.workflow-step:nth-child(1)::after {
    content: '→';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.workflow-step:nth-child(2)::after {
    content: '→';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Row 1 to Row 2: Down arrow from item 3 */
.workflow-step:nth-child(3)::after {
    content: '↓';
    position: absolute;
    left: 50%;
    bottom: -3rem;
    transform: translateX(-50%);
}

/* Row 2: Arrows between items 6←5 and 5←4 (right to left) */
.workflow-step:nth-child(6)::after {
    content: '←';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.workflow-step:nth-child(5)::after {
    content: '←';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Row 2 to Row 3: Down arrow from item 4 */
.workflow-step:nth-child(4)::after {
    content: '↓';
    position: absolute;
    left: 50%;
    bottom: -3rem;
    transform: translateX(-50%);
}

/* Row 3: Arrows between items 7→8 and 8→9 */
.workflow-step:nth-child(7)::after {
    content: '→';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.workflow-step:nth-child(8)::after {
    content: '→';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Last item (9) - no arrow */
.workflow-step:nth-child(9)::after {
    display: none;
}

.step-connector {
    display: none;
}

.step-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition-normal);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-cyan);
    box-shadow: var(--shadow-glow);
}

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

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
}

.step-card:hover .card-glow {
    opacity: 0.1;
}

/* Step Arrow Indicators - replacing step numbers */
.step-arrow-indicator {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(42, 122, 184, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.step-arrow-indicator .arrow-trail {
    display: flex;
    gap: 3px;
}

.step-arrow-indicator .arrow-trail span {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(42, 122, 184, 0.35), rgba(42, 122, 184, 0.9));
    box-shadow: none;
    animation: none;
}

.step-arrow-indicator .arrow-trail span:nth-child(1) { width: 10px; opacity: 0.5; }
.step-arrow-indicator .arrow-trail span:nth-child(2) { width: 14px; opacity: 0.75; }
.step-arrow-indicator .arrow-trail span:nth-child(3) { width: 18px; opacity: 1; }

@keyframes arrowTrailGlow {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(0.8);
        box-shadow: 0 0 4px var(--cyan-glow);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
        box-shadow: 0 0 12px var(--cyan-glow);
    }
}

.step-arrow-indicator i {
    font-size: 1rem;
    color: #1e6091;
    animation: none;
    text-shadow: none;
}

@keyframes arrowPulse {
    0%, 100% { 
        transform: translateX(0);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(5px);
        opacity: 1;
    }
}

.step-arrow-indicator.first-step,
.step-arrow-indicator.last-step {
    background: var(--gradient-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    box-shadow: 0 16px 28px rgba(42, 122, 184, 0.28);
    border-color: transparent;
}

.step-arrow-indicator .step-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.1em;
}

.step-arrow-indicator.last-step {
    background: linear-gradient(135deg, var(--emerald-primary), #059669);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.step-card:hover .step-arrow-indicator i {
    animation: none;
}

@keyframes arrowPulseHover {
    0%, 100% { 
        transform: translateX(0);
    }
    50% { 
        transform: translateX(8px);
    }
}

/* Keep old step-number for backwards compatibility but hide */
.step-number {
    display: none;
    font-size: 3rem;
    font-weight: 900;
    color: var(--bg-tertiary);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}

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

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.step-visual {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Workflow Animations */
.intake-animation .patient-icon,
.intake-animation .calendar-icon,
.assignment-animation .hospital-icon,
.assignment-animation .doctor-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cyan-primary);
}

.arrow-flow, .match-lines {
    display: flex;
    gap: 4px;
}

.arrow-flow span, .match-lines span {
    width: 8px;
    height: 8px;
    background: var(--cyan-primary);
    border-radius: 50%;
    animation: flowDots 1.5s ease-in-out infinite;
}

.arrow-flow span:nth-child(2), .match-lines span:nth-child(2) { animation-delay: 0.2s; }
.arrow-flow span:nth-child(3), .match-lines span:nth-child(3) { animation-delay: 0.4s; }

@keyframes flowDots {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.capture-animation .mic-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border: 2px solid var(--cyan-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan-primary);
}

.sound-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sound-waves span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--cyan-primary);
    border-radius: 50%;
    animation: soundWave 2s ease-out infinite;
}

.sound-waves span:nth-child(1) { animation-delay: 0s; }
.sound-waves span:nth-child(2) { animation-delay: 0.5s; }
.sound-waves span:nth-child(3) { animation-delay: 1s; }

@keyframes soundWave {
    0% { width: 60px; height: 60px; opacity: 1; }
    100% { width: 120px; height: 120px; opacity: 0; }
}

.records-animation .files-stack {
    display: flex;
    gap: 0.5rem;
}

.files-stack .file {
    width: 40px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-cyan);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-primary);
    animation: fileStack 2s ease-in-out infinite;
}

.file-1 { animation-delay: 0s; }
.file-2 { animation-delay: 0.3s; }
.file-3 { animation-delay: 0.6s; }

@keyframes fileStack {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.llm-animation .brain-icon {
    position: relative;
    font-size: 2.5rem;
    color: var(--purple-primary);
}

.neural-network {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.neural-network span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cyan-primary);
    border-radius: 50%;
    animation: neuralPulse 2s ease-in-out infinite;
}

.neural-network span:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.neural-network span:nth-child(2) { top: 25%; right: 0; animation-delay: 0.2s; }
.neural-network span:nth-child(3) { bottom: 25%; right: 0; animation-delay: 0.4s; }
.neural-network span:nth-child(4) { bottom: 0; left: 50%; animation-delay: 0.6s; }
.neural-network span:nth-child(5) { bottom: 25%; left: 0; animation-delay: 0.8s; }
.neural-network span:nth-child(6) { top: 25%; left: 0; animation-delay: 1s; }

@keyframes neuralPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.soap-animation .soap-letters {
    display: flex;
    gap: 0.5rem;
}

.soap-letters .letter {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    animation: letterBounce 2s ease-in-out infinite;
}

.soap-letters .letter:nth-child(1) { animation-delay: 0s; }
.soap-letters .letter:nth-child(2) { animation-delay: 0.1s; }
.soap-letters .letter:nth-child(3) { animation-delay: 0.2s; }
.soap-letters .letter:nth-child(4) { animation-delay: 0.3s; }

@keyframes letterBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
}

.diagnostics-animation .scan-visual {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cyan-primary);
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--cyan-primary);
    top: 0;
    animation: scanMove 2s ease-in-out infinite;
}

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

.billing-animation .code-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.code-display .code {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-cyan);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--emerald-primary);
    animation: codeFlash 3s ease-in-out infinite;
}

.code-display .code:nth-child(2) { animation-delay: 1.5s; }

@keyframes codeFlash {
    0%, 100% { border-color: var(--border-cyan); }
    50% { border-color: var(--emerald-primary); box-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }
}

.plan-animation .checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist .check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    animation: checkPop 2s ease-in-out infinite;
}

.checklist .check-item i {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--emerald-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
}

.checklist .check-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.check-item:nth-child(1) { animation-delay: 0s; }
.check-item:nth-child(2) { animation-delay: 0.3s; }
.check-item:nth-child(3) { animation-delay: 0.6s; }

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

/* ============================================
   SOAP Notes Section
   ============================================ */
.soap-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.soap-display {
    perspective: 2000px;
}

.soap-terminal {
    background: var(--bg-secondary);
    border: 2px solid rgba(42, 122, 184, 0.42);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(91, 164, 217, 0.2), var(--shadow-glow);
}

/* Simple mode - high contrast SOAP terminal */
body.simple-mode .soap-terminal {
    background: #ffffff;
    border: 2px solid #2a7ab8;
    box-shadow: 0 4px 20px rgba(42, 122, 184, 0.15);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid rgba(42, 122, 184, 0.35);
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(42, 122, 184, 0.4);
    border-radius: 999px;
    background: rgba(42, 122, 184, 0.1);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

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

.terminal-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--emerald-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-primary);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.soap-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

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

.column-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan-primary);
}

.soap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1rem;
    transition: var(--transition-normal);
}

.soap-card:hover {
    border-color: var(--border-cyan);
}

/* Simple mode - high contrast SOAP cards */
body.simple-mode .soap-card {
    background: #f0f7fc;
    border: 2px solid #c5dff0;
    color: #1a1a2e;
}

body.simple-mode .soap-card:hover {
    border-color: #2a7ab8;
}

.patient-avatar {
    font-size: 3rem;
    color: var(--blue-steel-light);
    text-align: center;
    margin-bottom: 1rem;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.info-item .label {
    color: var(--text-muted);
}

.info-item .value {
    color: var(--text-primary);
    font-weight: 500;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

.card-title.soap-letter {
    gap: 0.25rem;
}

.letter-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: white;
}

.letter-badge.s { background: var(--cyan-primary); }
.letter-badge.o { background: var(--blue-primary); }
.letter-badge.a { background: var(--purple-primary); }
.letter-badge.p { background: var(--emerald-primary); }

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

.vital-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.vital-item i {
    font-size: 1rem;
    color: var(--cyan-primary);
    margin-bottom: 0.25rem;
}

.vital-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.vital-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald-primary);
}

.history-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.history-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber-primary);
    border-radius: 50%;
}

.alert-card {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.alert-card .card-title i {
    color: var(--red-primary);
}

.alerts-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--red-primary);
}

.soap-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sub-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.primary-diagnosis {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyan-primary);
    padding: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 6px;
}

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

.differential-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.differential-item {
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
    border-left: 3px solid var(--amber-primary);
}

.differential-item .diagnosis-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.differential-item .justification {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.rationale-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.actions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.actions-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.actions-list li::before {
    content: '→';
    color: var(--cyan-primary);
    font-weight: bold;
}

.codes-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-section {
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.code-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.code-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.code-tag {
    padding: 0.25rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-cyan);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--emerald-primary);
}

.recommendations-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rec-section {
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.rec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.rec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.rec-tag {
    padding: 0.2rem 0.4rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--cyan-primary);
}

.urgency-card {
    text-align: center;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.urgency-badge.routine {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--emerald-primary);
    color: var(--emerald-primary);
}

.urgency-badge.urgent {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--amber-primary);
    color: var(--amber-primary);
}

.urgency-badge.critical {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--red-primary);
    color: var(--red-primary);
}

.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
}

.footer-text {
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan-primary);
}

/* Stream Text Animation */
.stream-text {
    position: relative;
}

.stream-text::after {
    content: '|';
    animation: cursor 1s step-end infinite;
    color: var(--cyan-primary);
}

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

/* ============================================
   Video Section
   ============================================ */
.video-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-cyan);
    box-shadow: var(--shadow-glow);
}

.video-frame video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition-normal);
}

.video-frame:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    min-width: 140px;
    height: 60px;
    padding: 0 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px var(--cyan-glow);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--cyan-glow);
}

/* Simple mode - larger, clearer play button */
body.simple-mode .play-btn {
    min-width: 180px;
    height: 70px;
    font-size: 1.4rem;
    background: #2a7ab8;
    box-shadow: 0 4px 15px rgba(42, 122, 184, 0.4);
}

.video-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 50%;
    background: radial-gradient(ellipse, var(--cyan-glow), transparent 70%);
    z-index: -1;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-cyan);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--cyan-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* ============================================
   Research Trends Section
   ============================================ */
.research-trends-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f0f7fc 0%, #e8f4fc 100%);
    border-radius: 24px;
    border: 2px solid #c5dff0;
}

.research-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.research-icon-main {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2a7ab8, #5ba4d9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(42, 122, 184, 0.3);
}

.research-icon-main i {
    font-size: 2.5rem;
    color: white;
}

.research-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.research-header p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.research-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.research-card {
    background: #ffffff;
    border: 2px solid #d6e9f5;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    border-color: #2a7ab8;
    box-shadow: 0 8px 25px rgba(42, 122, 184, 0.15);
}

.research-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(42, 122, 184, 0.1), rgba(91, 164, 217, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.research-icon i {
    font-size: 1.5rem;
    color: #2a7ab8;
}

.research-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.research-card p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Research section responsive */
@media (max-width: 1024px) {
    .research-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .research-features {
        grid-template-columns: 1fr;
    }
    
    .research-trends-section {
        padding: 2rem 1.5rem;
    }
    
    .research-header h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   Telehealth Section
   ============================================ */
.telehealth-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.telehealth-display {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.telehealth-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-cyan);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

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

.mockup-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.call-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--emerald-primary);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.live {
    background: var(--red-primary);
    animation: liveIndicator 1s ease-in-out infinite;
}

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

.mockup-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

.video-feeds {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-feed {
    flex: 1;
}

.feed-placeholder {
    height: 300px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.feed-placeholder i {
    font-size: 4rem;
    color: var(--blue-steel-light);
}

.feed-placeholder span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feed-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--emerald-primary);
}

.secondary-feed .feed-placeholder {
    height: 120px;
}

.secondary-feed .feed-placeholder i {
    font-size: 2rem;
}

.telehealth-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    flex: 1;
}

.sidebar-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sidebar-section h4 i {
    color: var(--cyan-primary);
}

.transcription-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.transcript-line {
    font-size: 0.8rem;
}

.speaker {
    font-weight: 600;
    margin-right: 0.5rem;
}

.speaker.doctor { color: var(--cyan-primary); }
.speaker.patient { color: var(--purple-primary); }

.transcript-line .text {
    color: var(--text-secondary);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

.ai-assist {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.ai-suggestion {
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.suggestion-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--purple-primary);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.ai-suggestion p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mockup-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-subtle);
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.control-btn.record {
    width: auto;
    padding: 0 1.5rem;
    gap: 0.5rem;
}

.control-btn.record.active {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-primary);
}

.control-btn.record i {
    animation: recordPulse 1.5s ease-in-out infinite;
}

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

.control-btn.end {
    background: var(--red-primary);
    color: white;
}

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

.th-feature {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.th-feature:hover {
    border-color: var(--border-cyan);
    transform: translateY(-5px);
}

.th-feature i {
    font-size: 2rem;
    color: var(--cyan-primary);
    margin-bottom: 1rem;
}

.th-feature h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.th-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Security Section
   ============================================ */
.security-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-visual {
    display: flex;
    justify-content: center;
}

.security-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.shield-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
}

.shield-outer {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shieldPulse 3s ease-in-out infinite;
}

.shield-middle {
    width: 80%;
    height: 80%;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-inner {
    width: 80%;
    height: 80%;
    background: var(--gradient-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--cyan-primary);
}

@keyframes shieldPulse {
    0%, 100% { box-shadow: 0 0 30px var(--cyan-glow); }
    50% { box-shadow: 0 0 60px var(--cyan-glow); }
}

.orbital-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid var(--border-cyan);
    border-radius: 50%;
    animation: orbitRotate 10s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
}

.ring-2 {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 360px;
    height: 360px;
    margin: -180px 0 0 -180px;
    animation-duration: 20s;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.security-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--cyan-primary);
    border-radius: 50%;
    animation: particleOrbit 8s linear infinite;
}

.security-particles span:nth-child(1) { animation-delay: 0s; }
.security-particles span:nth-child(2) { animation-delay: 1.3s; }
.security-particles span:nth-child(3) { animation-delay: 2.6s; }
.security-particles span:nth-child(4) { animation-delay: 4s; }
.security-particles span:nth-child(5) { animation-delay: 5.3s; }
.security-particles span:nth-child(6) { animation-delay: 6.6s; }

@keyframes particleOrbit {
    0% { 
        top: 50%;
        left: 50%;
        transform: translate(-50%, -180px);
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -180px) rotate(360deg);
    }
}

.blockchain-visual {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.block {
    width: 40px;
    height: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-cyan);
    border-radius: 6px;
    animation: blockGlow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block i {
    font-size: 1rem;
    color: var(--cyan-primary);
}

.block-2 { animation-delay: 1s; }
.block-3 { animation-delay: 2s; }

@keyframes blockGlow {
    0%, 100% { box-shadow: 0 0 5px var(--cyan-glow); }
    50% { box-shadow: 0 0 15px var(--cyan-glow); }
}

.chain {
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.security-info {
    max-width: 600px;
}

.security-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.security-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.detail-card:hover {
    border-color: var(--border-cyan);
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cyan-primary);
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.detail-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.security-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--emerald-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald-primary);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--cyan-glow), transparent 70%);
    filter: blur(60px);
}

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

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.platform-availability {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
}

.platform i {
    font-size: 1.25rem;
}

.platform .badge {
    padding: 0.2rem 0.5rem;
    background: var(--bg-card);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--amber-primary);
}

.platform.live {
    color: var(--text-primary);
}

.platform.live .badge {
    background: rgba(16, 185, 129, 0.14);
    color: var(--emerald-primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 300px;
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a,
.footer-column span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--cyan-primary);
}

.footer-column a.live-link {
    color: var(--text-secondary);
}

.footer-column span.disabled {
    opacity: 0.5;
}

.footer-contact .contact-company {
    font-weight: 700;
    color: var(--text-primary);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    line-height: 1.45;
}

.footer-contact .contact-item i {
    color: var(--cyan-primary);
    margin-top: 0.15rem;
}

.footer-contact a.contact-item {
    text-decoration: none;
}

.footer-contact a.contact-item:hover {
    color: var(--cyan-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--cyan-primary);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .company-intro-highlights {
        grid-template-columns: 1fr;
    }

    .soap-content {
        grid-template-columns: 1fr;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .security-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .security-graphic {
        width: 300px;
        height: 300px;
    }
    
    .mockup-content {
        grid-template-columns: 1fr;
    }
    
    /* Tablet: 2 column workflow */
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust arrow hiding for 2-column layout */
    .workflow-step:nth-child(2n)::after,
    .workflow-step:nth-child(2n)::before {
        display: none;
    }
    
    .workflow-step:nth-child(3n)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .company-intro-section {
        padding: 7rem 0 4rem;
    }

    .company-intro-card {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    /* Hide all workflow arrows on mobile */
    .workflow-step::after,
    .workflow-step::before {
        display: none !important;
    }
    
    /* Show vertical arrows on mobile */
    .workflow-step:not(:last-child) {
        margin-bottom: 2rem;
    }
    
    .workflow-step:not(:last-child)::after {
        content: '↓';
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid rgba(42, 122, 184, 0.16);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
        font-size: 1rem;
        color: #1e6091;
        font-weight: 700;
        right: auto;
        top: auto;
    }

    .step-arrow-indicator {
        top: 0.85rem;
        right: 0.85rem;
        padding: 0.35rem 0.55rem;
    }

    .step-arrow-indicator .arrow-trail span:nth-child(1) { width: 8px; }
    .step-arrow-indicator .arrow-trail span:nth-child(2) { width: 11px; }
    .step-arrow-indicator .arrow-trail span:nth-child(3) { width: 14px; }
    
    .workflow-step:not(:last-child)::before {
        display: none !important;
    }
    
    .features-grid,
    .telehealth-features {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .platform-availability {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .soap-terminal {
        border-radius: 12px;
    }
    
    .terminal-header,
    .terminal-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .mockup-controls {
        flex-wrap: wrap;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Simple Mode Styling
   Optimized for older users (50+) with:
   - Larger fonts
   - Higher contrast
   - Dyslexic-friendly typography
   - No animations
   ============================================ */
body.simple-mode {
    --bg-primary: #f5f9fc;
    --bg-secondary: #eef4f9;
    --bg-tertiary: #e6eff6;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fbfd;
    
    /* Baby Blue Gradient Colors */
    --simple-blue-light: #e8f4fc;
    --simple-blue-mid: #b8dcf5;
    --simple-blue-dark: #87c4ed;
    --simple-offwhite: #fafcfe;
    
    /* Text Colors for Simple Mode - Higher contrast for readability */
    --text-primary: #1a1a2e;
    --text-secondary: #3d4852;
    --text-muted: #5a6670;
    
    /* Border Colors */
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-light: rgba(0, 0, 0, 0.1);
    --border-cyan: rgba(135, 196, 237, 0.5);
    
    /* Simplified Gradients */
    --gradient-card: linear-gradient(145deg, #ffffff, #f5f9fc);
    --cyan-glow: rgba(135, 196, 237, 0.3);
    
    /* Dyslexic-friendly font with larger base size */
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
    line-height: 1.7;
}

/* Simple Mode - Use Lexend font everywhere EXCEPT icons */
body.simple-mode *:not(i):not([class*="fa-"]):not(.fas):not(.fab):not(.far):not(.fal) {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Simple Mode - Disable animations but NOT on icons */
body.simple-mode *:not(i):not([class*="fa-"]):not(.fas):not(.fab):not(.far):not(.fal),
body.simple-mode *:not(i):not([class*="fa-"]):not(.fas):not(.fab):not(.far):not(.fal)::after {
    animation: none !important;
}

/* Simple Mode - Keep Font Awesome working */
body.simple-mode i.fas,
body.simple-mode i.fab,
body.simple-mode i.far,
body.simple-mode i.fal,
body.simple-mode i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-style: normal;
    display: inline-block;
}

body.simple-mode i.fas {
    font-weight: 900 !important;
}

body.simple-mode i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Simple Mode - Allow only hover color transitions */
body.simple-mode a,
body.simple-mode button,
body.simple-mode .btn {
    transition: color 0.2s ease, background-color 0.2s ease !important;
}

/* Simple Mode - Hide streaming cursor */
body.simple-mode .streaming::after,
body.simple-mode .stream-text::after {
    display: none !important;
}

/* Simple Mode - Show animated elements in their static/final state */
body.simple-mode .pulse-line {
    opacity: 0.6;
    background: linear-gradient(90deg, transparent 0%, #5ba4d9 50%, transparent 100%) !important;
}

body.simple-mode .sound-waves span {
    opacity: 0.5;
    transform: scale(1.5);
}

body.simple-mode .neural-network span {
    opacity: 0.7;
}

body.simple-mode .scan-line {
    top: 50%;
    opacity: 0.6;
}

body.simple-mode .typing-indicator {
    display: none !important;
}

body.simple-mode .orbital-rings .ring {
    opacity: 0.4;
}

body.simple-mode .security-particles span {
    opacity: 0.5;
}

body.simple-mode .arrow-flow span,
body.simple-mode .match-lines span {
    opacity: 0.7;
}

/* Simple Mode - Hide animated background */
body.simple-mode .bg-animation {
    background: linear-gradient(135deg, #e8f4fc 0%, #f5f9fc 50%, #eef4f9 100%);
}

body.simple-mode .grid-overlay,
body.simple-mode .floating-orbs {
    display: none;
}

body.simple-mode .company-intro-section {
    background: linear-gradient(90deg,
        rgba(248, 148, 150, 0.34) 0%,
        rgba(255, 214, 125, 0.34) 48%,
        rgba(138, 198, 238, 0.34) 100%
    );
}

body.simple-mode .company-intro-card {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(42, 122, 184, 0.26);
}

body.simple-mode .terminal-title {
    color: #1e4f78;
    border-color: rgba(42, 122, 184, 0.6);
    background: rgba(42, 122, 184, 0.12);
}

/* Simple Mode - Navbar */
body.simple-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.simple-mode .logo-text {
    color: #1a1a2e;
}

body.simple-mode .logo-text .highlight {
    background: linear-gradient(135deg, #5ba4d9, #87c4ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.simple-mode .nav-links a {
    color: #3d4852;
    font-size: 1.05rem;
    font-weight: 500;
}

body.simple-mode .nav-links a:hover {
    color: #2a7ab8;
}

body.simple-mode .nav-links a::after {
    background: linear-gradient(135deg, #5ba4d9, #87c4ed);
}

/* Simple Mode - Buttons - Larger and clearer */
body.simple-mode .btn {
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
    font-weight: 600;
}

body.simple-mode .btn-primary {
    background: #2a7ab8;
    box-shadow: 0 4px 15px rgba(42, 122, 184, 0.3);
}

body.simple-mode .btn-primary:hover {
    background: #236a9e;
}

body.simple-mode .btn-secondary {
    background: #ffffff;
    color: #3d4852;
    border: 2px solid #2a7ab8;
}

/* Simple Mode - Hero Section */
body.simple-mode .hero-title {
    font-size: 3rem;
    line-height: 1.3;
}

body.simple-mode .hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #3d4852;
}

body.simple-mode .hero::before {
    background: radial-gradient(circle, rgba(135, 196, 237, 0.2), transparent 70%);
}

body.simple-mode .hero-badge {
    background: rgba(91, 164, 217, 0.1);
    font-size: 1rem;
    border: 1px solid rgba(91, 164, 217, 0.3);
    color: #5ba4d9;
}

body.simple-mode .gradient-text {
    background: linear-gradient(135deg, #5ba4d9, #3d8bc9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.simple-mode .stat-number {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #5ba4d9, #3d8bc9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.simple-mode .stat-label {
    font-size: 1rem;
    color: #3d4852;
}

/* Simple Mode - Section titles - Larger for readability */
body.simple-mode .section-title {
    font-size: 2.5rem;
    line-height: 1.3;
}

body.simple-mode .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #3d4852;
}

/* Simple Mode - Cards & Sections */
body.simple-mode .section-badge {
    background: rgba(91, 164, 217, 0.1);
    border: 1px solid rgba(91, 164, 217, 0.3);
    color: #2a7ab8;
    font-size: 0.95rem;
    font-weight: 600;
}

body.simple-mode .step-card,
body.simple-mode .feature-card,
body.simple-mode .th-feature,
body.simple-mode .detail-card,
body.simple-mode .soap-card {
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.simple-mode .step-card:hover,
body.simple-mode .feature-card:hover,
body.simple-mode .th-feature:hover,
body.simple-mode .detail-card:hover {
    border-color: #2a7ab8;
    box-shadow: 0 4px 20px rgba(42, 122, 184, 0.15);
}

body.simple-mode .step-card::before {
    background: #2a7ab8;
}

body.simple-mode .card-glow {
    display: none;
}

body.simple-mode .step-card h3,
body.simple-mode .feature-card h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
}

body.simple-mode .th-feature h4,
body.simple-mode .detail-content h4 {
    font-size: 1.25rem;
    color: #1a1a2e;
}

body.simple-mode .step-card p,
body.simple-mode .feature-card p,
body.simple-mode .th-feature p,
body.simple-mode .detail-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3d4852;
}

/* Simple Mode - Arrow Indicators */
body.simple-mode .step-arrow-indicator .arrow-trail span {
    background: #2a7ab8;
    box-shadow: none;
}

body.simple-mode .step-arrow-indicator i {
    color: #2a7ab8;
    text-shadow: none;
}

body.simple-mode .step-arrow-indicator.first-step,
body.simple-mode .step-arrow-indicator.last-step {
    background: #2a7ab8;
    box-shadow: none;
}

/* Simple Mode - Workflow Section */
body.simple-mode .workflow-section {
    background: linear-gradient(180deg, #eef4f9 0%, #f5f9fc 100%);
}

body.simple-mode .workflow-section::before {
    background: linear-gradient(90deg, transparent, rgba(91, 164, 217, 0.3), transparent);
}

/* Simple Mode - SOAP Section */
body.simple-mode .soap-section {
    background: #f5f9fc;
}

body.simple-mode .soap-terminal {
    background: #ffffff;
    border: 2px solid #2a7ab8;
    box-shadow: 0 4px 20px rgba(42, 122, 184, 0.15);
}

body.simple-mode .terminal-header,
body.simple-mode .terminal-footer {
    background: #fafcfe;
    border-color: rgba(42, 122, 184, 0.35);
}

body.simple-mode .terminal-title {
    color: #1e4f78;
    border: 1px solid rgba(42, 122, 184, 0.6);
    border-radius: 999px;
    background: rgba(42, 122, 184, 0.12);
    padding: 0.35rem 0.8rem;
}

body.simple-mode .terminal-title i {
    color: #2a7ab8;
}

body.simple-mode .column-header {
    background: #2a7ab8;
    color: #ffffff;
    font-weight: 700;
}

body.simple-mode .soap-card {
    background: #fafcfe;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

body.simple-mode .soap-card .card-title {
    color: #1a1a2e;
    font-weight: 700;
}

body.simple-mode .soap-card .card-title i {
    color: #2a7ab8;
}

body.simple-mode .soap-text,
body.simple-mode .soap-card p,
body.simple-mode .info-item .value,
body.simple-mode .vital-value,
body.simple-mode .history-list li,
body.simple-mode .actions-list li {
    color: #1a1a2e;
}

body.simple-mode .info-item .label,
body.simple-mode .vital-label,
body.simple-mode .sub-label,
body.simple-mode .code-label,
body.simple-mode .rec-label {
    color: #4a5568;
}

body.simple-mode .primary-diagnosis {
    color: #2a7ab8;
    font-weight: 700;
}

body.simple-mode .rationale-text,
body.simple-mode .differential-item .justification {
    color: #4a5568;
}

/* Simple Mode - SOAP text sizes for readability */
body.simple-mode .soap-text,
body.simple-mode .soap-content {
    font-size: 1rem;
    line-height: 1.7;
}

body.simple-mode .card-title {
    font-size: 1.1rem;
}

body.simple-mode .letter-badge.s { background: #2a7ab8; }
body.simple-mode .letter-badge.o { background: #1e6091; }
body.simple-mode .letter-badge.a { background: #6d28d9; }
body.simple-mode .letter-badge.p { background: #059669; }

/* Simple Mode - Icons - solid colors, no glows */
body.simple-mode .feature-icon,
body.simple-mode .detail-icon {
    background: rgba(42, 122, 184, 0.1);
    color: #2a7ab8;
}

body.simple-mode .th-feature i {
    color: #2a7ab8;
    font-size: 2rem;
}

/* Simple Mode - Video Section */
body.simple-mode .video-section {
    background: #f5f9fc;
}

body.simple-mode .video-frame {
    border: 2px solid #2a7ab8;
    box-shadow: 0 4px 20px rgba(42, 122, 184, 0.15);
}

body.simple-mode .video-glow {
    display: none;
}

body.simple-mode .video-overlay {
    display: flex;
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

body.simple-mode .play-btn {
    background: rgba(91, 164, 217, 0.9);
}

/* Simple Mode - Telehealth Section */
body.simple-mode .telehealth-section {
    background: #f5f9fc;
}

body.simple-mode .telehealth-mockup {
    background: #ffffff;
    border: 2px solid #2a7ab8;
    box-shadow: 0 4px 20px rgba(42, 122, 184, 0.15);
}

body.simple-mode .mockup-header,
body.simple-mode .mockup-controls {
    background: #e8f4fc;
    border-color: #c5dff0;
}

body.simple-mode .feed-placeholder {
    background: #f0f7fc;
    border: 2px solid #c5dff0;
}

body.simple-mode .feed-placeholder i {
    color: #5ba4d9;
}

body.simple-mode .sidebar-section {
    background: #f0f7fc;
    border: 2px solid #c5dff0;
}

body.simple-mode .sidebar-section h4 {
    color: #1a1a2e;
}

body.simple-mode .sidebar-section h4 i {
    color: #2a7ab8;
}

body.simple-mode .speaker.doctor { color: #5ba4d9; }
body.simple-mode .speaker.patient { color: #7c3aed; }

body.simple-mode .ai-assist {
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

body.simple-mode .control-btn {
    background: #f0f7fc;
    color: #4a5568;
}

body.simple-mode .control-btn:hover {
    background: #e6eff6;
    color: #1a1a2e;
}

/* Simple Mode - Security Section */
body.simple-mode .security-section {
    background: linear-gradient(180deg, #eef4f9 0%, #f5f9fc 100%);
}

body.simple-mode .shield-outer {
    background: linear-gradient(135deg, #5ba4d9, #87c4ed);
    box-shadow: 0 0 25px rgba(91, 164, 217, 0.3);
}

body.simple-mode .shield-middle {
    background: #f5f9fc;
}

body.simple-mode .shield-inner {
    background: #ffffff;
    color: #5ba4d9;
}

body.simple-mode .ring {
    border-color: rgba(91, 164, 217, 0.3);
}

body.simple-mode .security-particles span {
    background: #5ba4d9;
}

body.simple-mode .block {
    background: #ffffff;
    border: 2px solid #2a7ab8;
    box-shadow: 0 2px 8px rgba(42, 122, 184, 0.2);
}

body.simple-mode .block i {
    color: #2a7ab8;
    font-size: 1.1rem;
}

body.simple-mode .chain {
    background: #2a7ab8;
    height: 3px;
}

body.simple-mode .compliance-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
}

/* ============================================
   Founder Section
   ============================================ */
.founder-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.founder-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.founder-image {
    position: relative;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-lg);
}

.founder-image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid var(--cyan-primary);
    border-radius: 20px;
    z-index: -1;
}

.founder-info {
    padding-top: 1rem;
}

.founder-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 1.1rem;
    color: var(--cyan-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.founder-bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

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

.credential span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Simple Mode - Founder Section */
body.simple-mode .founder-section {
    background: #f5f9fc;
}

body.simple-mode .founder-image img {
    box-shadow: 0 4px 20px rgba(42, 122, 184, 0.2);
}

body.simple-mode .founder-image-border {
    border-color: #2a7ab8;
}

body.simple-mode .founder-name {
    color: #1a1a2e;
}

body.simple-mode .founder-title {
    color: #2a7ab8;
}

body.simple-mode .founder-bio {
    color: #4a5568;
}

body.simple-mode .credential {
    background: #ffffff;
    border: 2px solid #c5dff0;
}

body.simple-mode .credential i {
    color: #2a7ab8;
}

body.simple-mode .credential span {
    color: #1a1a2e;
}

/* Responsive - Founder Section */
@media (max-width: 900px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .founder-credentials {
        grid-template-columns: 1fr;
    }
}

/* Simple Mode - CTA Section */
body.simple-mode .cta-section {
    background: #f5f9fc;
}

body.simple-mode .cta-section::before {
    background: radial-gradient(ellipse, rgba(91, 164, 217, 0.15), transparent 70%);
}

/* Simple Mode - Footer */
body.simple-mode .footer {
    background: #eef4f9;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.simple-mode .footer-column a,
body.simple-mode .footer-column span {
    color: #4a5568;
}

body.simple-mode .footer-column a:hover {
    color: #5ba4d9;
}

body.simple-mode .footer-badges span {
    color: #5ba4d9;
}

body.simple-mode .footer-bottom p {
    color: #718096;
}

/* Simple Mode - Dashboard Preview */
body.simple-mode .dashboard-preview {
    background: #ffffff;
    border: 1px solid rgba(91, 164, 217, 0.3);
    box-shadow: 0 4px 20px rgba(91, 164, 217, 0.15);
}

body.simple-mode .dashboard-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.simple-mode .mini-card {
    background: #f0f7fc;
}

body.simple-mode .mini-card i {
    color: #5ba4d9;
}

/* Simple Mode - Show pulse line as static gradient bar */
body.simple-mode .pulse-line {
    background: linear-gradient(90deg, transparent 0%, #5ba4d9 30%, #5ba4d9 70%, transparent 100%);
    opacity: 0.6;
}

/* Simple Mode - Visual Animations - show static versions */
body.simple-mode .step-visual,
body.simple-mode .visual-animation {
    opacity: 1;
}

body.simple-mode .intake-animation .patient-icon,
body.simple-mode .intake-animation .calendar-icon,
body.simple-mode .assignment-animation .hospital-icon,
body.simple-mode .assignment-animation .doctor-icon {
    background: #f0f7fc;
    border: 2px solid rgba(91, 164, 217, 0.4);
    color: #5ba4d9;
}

body.simple-mode .arrow-flow span,
body.simple-mode .match-lines span {
    background: #5ba4d9;
}

body.simple-mode .capture-animation .mic-icon {
    background: #f0f7fc;
    border: 2px solid #5ba4d9;
    color: #5ba4d9;
}

body.simple-mode .sound-waves span {
    border: 2px solid #5ba4d9;
}

body.simple-mode .files-stack .file {
    background: #f0f7fc;
    border: 1px solid rgba(91, 164, 217, 0.4);
    color: #5ba4d9;
}

body.simple-mode .llm-animation .brain-icon {
    color: #7c3aed;
}

body.simple-mode .neural-network span {
    background: #5ba4d9;
}

body.simple-mode .soap-letters .letter {
    background: linear-gradient(135deg, #5ba4d9, #87c4ed);
}

body.simple-mode .diagnostics-animation .scan-visual {
    color: #5ba4d9;
}

body.simple-mode .scan-line {
    background: #5ba4d9;
}

body.simple-mode .code-display .code {
    background: #f0f7fc;
    border: 1px solid rgba(91, 164, 217, 0.4);
    color: #10b981;
}

body.simple-mode .checklist .check-item {
    background: rgba(16, 185, 129, 0.1);
}

body.simple-mode .checklist .check-item i {
    background: #10b981;
}

body.simple-mode .checklist .check-item span {
    color: #1a1a2e;
}