/* Curefleet Landing Page - Exact Replica CSS */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --primary-blue: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --accent-yellow: #eab308;
    --accent-yellow-light: #fde047;
    
    /* Supporting Colors */
    --slate: #64748b;
    --slate-light: #94a3b8;
    --teal: #0891b2;
    --teal-light: #22d3ee;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation with Premium Effects */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(30, 58, 138, 0.03) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: navGlowShift 8s ease-in-out infinite;
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.nav-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.nav-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: navParticleFloat 12s infinite linear;
}

.nav-particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.nav-particle:nth-child(2) { left: 40%; animation-delay: -3s; }
.nav-particle:nth-child(3) { left: 60%; animation-delay: -6s; }
.nav-particle:nth-child(4) { left: 80%; animation-delay: -9s; }

@keyframes navParticleFloat {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
}

@keyframes navGlowShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.brand-cure {
    color: var(--primary-blue);
}

.brand-fleet {
    color: var(--accent-yellow);
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
    transition: width 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(30, 58, 138, 0.05), 
        rgba(8, 145, 178, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

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

.nav-links a:hover::after {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.contact-link {
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: var(--font-size-base);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: var(--font-size-base);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Hero Section with Premium Effects */
.hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(234, 179, 8, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Background Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-light));
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    top: 30%;
    right: 40%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--teal-light));
    bottom: 30%;
    left: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-yellow-light), var(--accent-yellow));
    top: 50%;
    left: 60%;
    animation-delay: -8s;
}

/* Particles Effect */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; }
.particle:nth-child(6) { left: 60%; animation-delay: -10s; }
.particle:nth-child(7) { left: 70%; animation-delay: -12s; }
.particle:nth-child(8) { left: 80%; animation-delay: -14s; }

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: orbFloat 25s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-yellow), transparent);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--teal), transparent);
    top: 40%;
    left: 50%;
    animation-delay: -5s;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: var(--teal-light);
    color: var(--primary-blue);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-subtext {
    font-size: var(--font-size-xl);
    color: var(--slate);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.status-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    min-width: 280px;
    animation: float 6s ease-in-out infinite;
}

.status-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

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

.metric-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--slate);
}

/* Floating Badges */
.floating-badges {
    position: relative;
    width: 100%;
    height: 200px;
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    animation: float 8s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.badge-2 {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

.badge-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: -6s;
}

/* Statistics Section with Wave Effect */
.statistics {
    padding: var(--spacing-xl) 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

.wave-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        var(--primary-blue) 2px,
        var(--primary-blue) 4px
    );
    animation: waveMove 20s linear infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--slate);
    font-weight: 500;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-xl);
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section with Mesh Gradient */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(30, 58, 138, 0.1) 0%, 
        rgba(234, 179, 8, 0.1) 25%, 
        rgba(8, 145, 178, 0.1) 50%, 
        rgba(30, 58, 138, 0.1) 75%, 
        rgba(234, 179, 8, 0.1) 100%);
    background-size: 400% 400%;
    animation: meshShift 15s ease-in-out infinite;
}

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

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatIcon 12s infinite ease-in-out;
}

.icon-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.icon-2 {
    top: 40%;
    right: 20%;
    animation-delay: -3s;
}

.icon-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: -6s;
}

.icon-4 {
    top: 60%;
    left: 70%;
    animation-delay: -9s;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-xl);
    position: relative;
}

.service-icon.ambulance {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
}

.service-icon.consultation {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.service-icon.appointment {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-light));
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: var(--slate);
    line-height: 1.6;
}

/* Experience App Section with Cyber Grid */
.experience-app {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.experience-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 58, 138, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.holographic-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(30, 58, 138, 0.05) 50%, 
        transparent 70%);
    animation: holographicShimmer 8s ease-in-out infinite;
}

.iphone-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    flex-wrap: wrap;
}

/* iPhone Device Frames */
.iphone-device {
    position: relative;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.iphone-device:nth-child(1) {
    animation-delay: 0s;
}

.iphone-device:nth-child(2) {
    animation-delay: -2s;
}

.iphone-device:nth-child(3) {
    animation-delay: -4s;
}

.iphone-device:hover {
    transform: translateY(-10px) scale(1.05);
}

.iphone-frame {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.iphone-notch {
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

/* iPhone Status Bar */
.status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

/* App Screens */
.app-screen {
    height: calc(100% - 44px);
    padding: 16px;
    display: none;
    flex-direction: column;
    background: var(--white);
    overflow-y: auto;
}

.app-screen.active {
    display: flex;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

.back-btn {
    font-size: 18px;
    cursor: pointer;
    color: var(--primary-blue);
}

.app-title {
    font-weight: 600;
    font-size: 16px;
}

.menu-btn {
    font-size: 16px;
    cursor: pointer;
    color: var(--slate);
}

/* Ambulance Flow Styles */
.dispatching-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loading-animation {
    margin-bottom: 24px;
}

.ambulance-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.loading-dots {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

.dispatching-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.dispatching-content p {
    color: var(--slate);
    margin-bottom: 24px;
    font-size: 14px;
}

.driver-details {
    margin-bottom: 24px;
}

.driver-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
}

.driver-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.driver-info {
    display: flex;
    flex-direction: column;
}

.driver-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
}

.vehicle-id {
    font-size: 12px;
    color: var(--slate);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.dispatching-progress {
    animation: dispatchProgress 3s ease-in-out infinite;
}

/* Map Interface */
.map-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-view {
    flex: 1;
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.route-path {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--primary-blue);
    transform: translateY(-50%);
    border-radius: 2px;
}

.ambulance-pin, .home-pin, .hospital-pin {
    position: absolute;
    font-size: 24px;
}

.ambulance-pin {
    top: 60%;
    left: 25%;
}

.home-pin {
    top: 40%;
    right: 25%;
}

.hospital-pin {
    top: 30%;
    right: 20%;
}

.ambulance-marker-moving {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-yellow);
    border-radius: 50%;
    top: 60%;
    left: 25%;
    animation: ambulanceMarkerMove 10s linear infinite;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

.tracking-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eta-card {
    background: var(--primary-blue);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
}

.eta-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.eta-time {
    font-size: 24px;
    font-weight: 700;
}

.driver-status {
    text-align: center;
    color: var(--slate);
    font-size: 14px;
}

/* Hospital Interface */
.hospital-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hospital-route {
    flex: 1;
    margin-bottom: 16px;
}

.hospital-map {
    height: 200px;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.hospital-route-path {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 30%;
    height: 3px;
    background: var(--primary-blue);
    transform: translateY(-50%);
    border-radius: 2px;
}

.hospital-info {
    text-align: center;
}

.hospital-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.hospital-info p {
    color: var(--slate);
    margin-bottom: 16px;
    font-size: 14px;
}

.transit-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-text {
    font-size: 12px;
    color: var(--slate);
    text-align: center;
}

.transit-progress {
    animation: transitProgress 5s ease-in-out;
}

/* Consultation Flow Styles */
.booking-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doctor-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 16px;
}

.doctor-avatar-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.doctor-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.doctor-details p {
    color: var(--slate);
    margin-bottom: 4px;
    font-size: 14px;
}

.rating {
    font-size: 12px;
    color: var(--slate);
}

.consultation-rate {
    text-align: center;
    padding: 16px;
    background: var(--primary-blue);
    color: white;
    border-radius: 16px;
}

.rate-amount {
    font-size: 32px;
    font-weight: 700;
}

.rate-unit {
    font-size: 16px;
    opacity: 0.9;
}

.start-consultation-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-consultation-btn:hover {
    background: var(--primary-blue-light);
    transform: translateY(-2px);
}

.consultation-note {
    text-align: center;
    color: var(--slate);
    font-size: 12px;
}

/* Live Consultation Interface */
.call-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--gray-900), var(--primary-blue));
    color: white;
}

.call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.call-time {
    font-size: 24px;
    font-weight: 600;
}

.call-rate {
    font-size: 14px;
    opacity: 0.8;
}

.doctor-video {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mic-btn {
    background: var(--slate);
    color: white;
}

.end-call-btn {
    background: #ef4444;
    color: white;
}

.speaker-btn {
    background: var(--slate);
    color: white;
}

.call-info {
    text-align: center;
    padding: 20px;
    opacity: 0.8;
}

/* Prescription Screen */
.prescription-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prescription-success {
    text-align: center;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 16px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.prescription-success h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.prescription-success p {
    color: var(--slate);
    font-size: 14px;
}

.prescription-details {
    flex: 1;
}

.doctor-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
}

.signature-info {
    display: flex;
    flex-direction: column;
}

.doctor-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
}

.signature-date {
    font-size: 12px;
    color: var(--slate);
}

.prescription-text {
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.prescription-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.prescription-text ul {
    margin: 0 0 12px 0;
    padding: 0;
    list-style: none;
}

.prescription-text li {
    font-size: 12px;
    color: var(--slate);
    margin-bottom: 4px;
}

.prescription-text p {
    font-size: 12px;
    color: var(--slate);
    margin: 0;
}

.prescription-actions {
    display: flex;
    gap: 12px;
}

.download-btn, .view-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.view-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

/* OPD Flow Styles */
.opd-booking-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doctor-selection {
    margin-bottom: 16px;
}

.doctor-profile-small {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
}

.doctor-profile-small .doctor-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.doctor-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--gray-900);
}

.doctor-info p {
    font-size: 12px;
    color: var(--slate);
    margin: 0;
}

.slot-selection h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.time-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.time-slot {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot.available {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.time-slot.selected {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.book-slot-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-slot-btn:hover {
    background: var(--primary-blue-light);
    transform: translateY(-2px);
}

/* Booking Confirmed */
.confirmation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.confirmation-success {
    text-align: center;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 16px;
}

.appointment-details {
    flex: 1;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.detail-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-900);
}

.detail-value {
    font-weight: 600;
    font-size: 14px;
    color: var(--slate);
    text-align: right;
}

.clinic-address {
    padding: 16px;
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    text-align: center;
}

.clinic-address h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.clinic-address p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* QR Code Access */
.qr-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.qr-instructions h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.qr-instructions p {
    font-size: 14px;
    color: var(--slate);
    margin: 0;
}

.qr-code-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qr-pattern {
    width: 120px;
    height: 120px;
    background: repeating-linear-gradient(
        45deg,
        var(--gray-900),
        var(--gray-900) 4px,
        var(--white) 4px,
        var(--white) 8px
    );
    border-radius: 8px;
}

.qr-details {
    width: 100%;
}

.appointment-id {
    background: var(--gray-50);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.id-label {
    font-size: 12px;
    color: var(--slate);
    display: block;
}

.id-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.qr-note {
    margin-bottom: 20px;
}

.qr-note p {
    font-size: 12px;
    color: var(--slate);
    margin: 0;
}

.qr-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.save-qr-btn, .share-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-qr-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.share-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

/* How It Works with Connection Lines */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.how-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0.3;
    animation: linePulse 4s ease-in-out infinite;
}

.line-1 {
    top: 25%;
    left: 20%;
    right: 20%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 15%;
    right: 15%;
    animation-delay: -1s;
}

.line-3 {
    top: 75%;
    left: 25%;
    right: 25%;
    animation-delay: -2s;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tech-particles::before,
.tech-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    opacity: 0.4;
}

.tech-particles::before {
    top: 30%;
    left: 10%;
    animation: techParticleMove 12s infinite linear;
}

.tech-particles::after {
    bottom: 40%;
    right: 15%;
    animation: techParticleMove 15s infinite linear reverse;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.step {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    position: relative;
}

.step-icon.choose-service::after {
    content: '⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.step-icon.connect-partner::after {
    content: '🤝';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.step-icon.care-delivered::after {
    content: '🏥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.step h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.step p {
    color: var(--slate);
    line-height: 1.6;
}

/* Why Curefleet */
.why-curefleet {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.benefits-list {
    list-style: none;
    margin-top: var(--spacing-xl);
}

.benefits-list li {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: var(--font-size-lg);
    color: var(--gray-800);
    position: relative;
    padding-left: var(--spacing-lg);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.why-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.metric-card {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.metric-card .metric-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.metric-card .metric-label {
    font-size: var(--font-size-sm);
    color: var(--slate);
    font-weight: 500;
}

/* Platform Reliability */
.platform-reliability {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.reliability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.reliability-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.reliability-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    position: relative;
}

.reliability-icon.verified::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.reliability-icon.secure::after {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.reliability-icon.transparent::after {
    content: '👁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.reliability-item h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.reliability-item p {
    color: var(--slate);
    line-height: 1.6;
}

/* Healthcare Providers */
.healthcare-providers {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.providers-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.providers-description {
    font-size: var(--font-size-lg);
    color: var(--slate);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.provider-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.provider-benefit {
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.provider-benefit h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.provider-benefit p {
    color: var(--slate);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

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

.hospital-graphic {
    width: 300px;
    height: 300px;
    position: relative;
}

.hospital-building {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    border-radius: var(--radius-2xl);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.connection-nodes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.connection-nodes::before,
.connection-nodes::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

.connection-nodes::before {
    top: 20%;
    left: 20%;
    animation-delay: -1s;
}

.connection-nodes::after {
    bottom: 20%;
    right: 20%;
    animation-delay: -2s;
}

/* Final CTA */
.final-cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #1e293b, var(--primary-blue));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer with Premium Effects */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(234, 179, 8, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(8, 145, 178, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.footer-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    border-radius: 50%;
    opacity: 0.2;
    animation: footerParticleFloat 15s infinite ease-in-out;
}

.footer-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.footer-particle:nth-child(2) { left: 30%; top: 40%; animation-delay: -3s; }
.footer-particle:nth-child(3) { left: 50%; top: 10%; animation-delay: -6s; }
.footer-particle:nth-child(4) { left: 70%; top: 60%; animation-delay: -9s; }
.footer-particle:nth-child(5) { left: 90%; top: 30%; animation-delay: -12s; }

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(30, 58, 138, 0.1) 25%, 
        rgba(8, 145, 178, 0.1) 50%, 
        rgba(234, 179, 8, 0.1) 75%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: footerWaveMove 12s ease-in-out infinite;
}

@keyframes footerParticleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-15px) scale(1.1) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-25px) scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-10px) scale(1.1) rotate(270deg);
        opacity: 0.3;
    }
}

@keyframes footerWaveMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
    transition: width 0.3s ease;
}

.footer-section h4:hover::after {
    width: 100%;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    display: block;
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
    overflow: hidden;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
    transition: width 0.3s ease;
}

.footer-section a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(30, 58, 138, 0.05), 
        rgba(8, 145, 178, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-section a:hover::after {
    opacity: 1;
}

.footer-legal {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.company-info p {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.copyright {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

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

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

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

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

@keyframes routeMove {
    0%, 100% {
        width: 80%;
        left: 10%;
    }
    50% {
        width: 70%;
        left: 15%;
    }
}

@keyframes ambulanceMove {
    0% {
        left: 20%;
    }
    100% {
        left: 80%;
    }
}

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

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

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* New iPhone App Animations */
@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes dispatchProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes ambulanceMarkerMove {
    0% {
        left: 25%;
        top: 60%;
    }
    25% {
        left: 35%;
        top: 55%;
    }
    50% {
        left: 50%;
        top: 50%;
    }
    75% {
        left: 65%;
        top: 45%;
    }
    100% {
        left: 75%;
        top: 40%;
    }
}

@keyframes transitProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 75%;
    }
}

@keyframes qrFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes prescriptionSlideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes timeSlotPulse {
    0%, 100% {
        background-color: var(--primary-blue);
        color: white;
    }
    50% {
        background-color: var(--primary-blue-light);
        transform: scale(1.05);
    }
}

/* App Screen Transitions */
.app-screen {
    animation: appScreenSlide 0.3s ease-in-out;
}

@keyframes appScreenSlide {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-screen.slide-out {
    animation: appScreenSlideOut 0.3s ease-in-out;
}

@keyframes appScreenSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

/* Loading States */
.loading-state {
    animation: loadingPulse 1.5s ease-in-out infinite;
}

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

/* Success States */
.success-state {
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Real-time Updates */
.real-time-update {
    animation: realTimeUpdate 0.5s ease-in-out;
}

@keyframes realTimeUpdate {
    0% {
        background-color: rgba(30, 58, 138, 0.1);
    }
    100% {
        background-color: transparent;
    }
}

/* Map Animations */
.map-route-animate {
    animation: mapRouteDraw 2s ease-out;
}

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

.marker-bounce {
    animation: markerBounce 2s ease-in-out infinite;
}

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

/* Consultation Timer Animation */
.timer-increment {
    animation: timerIncrement 0.1s ease-out;
}

@keyframes timerIncrement {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: var(--teal);
    }
    100% {
        transform: scale(1);
    }
}

/* QR Code Generation */
.qr-generating {
    animation: qrGenerate 2s ease-in-out;
}

@keyframes qrGenerate {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.5);
    }
    50% {
        opacity: 0.5;
        transform: rotate(180deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(360deg) scale(1);
    }
}

/* Prescription Display */
.prescription-display {
    animation: prescriptionDisplay 0.8s ease-out;
}

@keyframes prescriptionDisplay {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(15px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Notification Animation */
.notification-slide {
    animation: notificationSlide 0.3s ease-out;
}

@keyframes notificationSlide {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Premium Effects Animations - FASTER */
@keyframes floatShape {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-50px) scale(1.1);
        opacity: 0.5;
    }
}

@keyframes waveMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes meshShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes holographicShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1.05);
    }
}

@keyframes techParticleMove {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0.4;
    }
    25% {
        transform: translateX(20px) translateY(-10px);
        opacity: 0.8;
    }
    50% {
        transform: translateX(40px) translateY(0);
        opacity: 0.6;
    }
    75% {
        transform: translateX(20px) translateY(10px);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.4;
    }
}

/* Updated animation durations for faster effects */
.floating-shapes .shape {
    animation-duration: 8s;
}

.particles-container .particle {
    animation-duration: 6s;
}

.gradient-orb {
    animation-duration: 10s;
}

.wave-pattern {
    animation-duration: 8s;
}

.mesh-gradient {
    animation-duration: 6s;
}

.floating-icon {
    animation-duration: 5s;
}

.cyber-grid {
    animation-duration: 8s;
}

.holographic-effect {
    animation-duration: 4s;
}

.connection-lines .line {
    animation-duration: 2s;
}

.tech-particles::before,
.tech-particles::after {
    animation-duration: 6s;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.3s ease;
    position: relative;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-blue), var(--teal), var(--accent-yellow));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-glow:hover::before {
    opacity: 0.1;
}

/* Magnetic Buttons */
.magnetic-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.magnetic-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Pulse Effects */
.pulse {
    animation: pulse 2s infinite;
}

.pulse-icon {
    animation: pulseIcon 3s infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(30, 58, 138, 0);
    }
}

/* Reveal Elements */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    animation: revealElement 0.8s ease-out forwards;
}

.reveal-element:nth-child(1) { animation-delay: 0.1s; }
.reveal-element:nth-child(2) { animation-delay: 0.2s; }
.reveal-element:nth-child(3) { animation-delay: 0.3s; }
.reveal-element:nth-child(4) { animation-delay: 0.4s; }
.reveal-element:nth-child(5) { animation-delay: 0.5s; }

@keyframes revealElement {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Cards */
.parallax-card {
    transition: transform 0.3s ease;
}

.parallax-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Count Up Animation */
.count-up {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Status Indicator */
.status-indicator {
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
    position: relative;
}

.status-indicator.pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Enhanced Metrics */
.metric-number {
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.stat-item:hover .metric-number {
    transform: scale(1.1);
    color: var(--teal);
}

/* Floating Badges Enhanced */
.floating-badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Buttons */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.btn-primary:hover::after, .btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

/* Loading States */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-blue);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glowing Effects */
.glow {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.glow-blue {
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.4);
}

.glow-teal {
    box-shadow: 0 0 30px rgba(8, 145, 178, 0.4);
}

.glow-yellow {
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.4);
}

/* Text Effects */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shimmer {
    background: linear-gradient(90deg, var(--gray-900), var(--primary-blue), var(--gray-900));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    user-select: none;
}

.interactive:active {
    transform: scale(0.98);
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.btn-primary:focus, .btn-secondary:focus, .btn-outline:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: var(--spacing-xl);
    }
    
    .phones-container {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .providers-content {
        grid-template-columns: 1fr;
    }
    
    .hero-headline {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        gap: var(--spacing-sm);
    }
    
    .hero-headline {
        font-size: var(--font-size-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .provider-benefits {
        grid-template-columns: 1fr;
    }
    
    .reliability-grid {
        grid-template-columns: 1fr;
    }
    
    .why-metrics {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .hero {
        padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .phone-mockup {
        width: 160px;
        height: 320px;
        padding: 15px;
    }
    
    .hero-headline {
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-badges {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
