/* ==========================================================================
   AarohCare CSS Design System & Layout - Premium Healthcare Tech Theme
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
    --primary: #0066ff;
    --primary-hover: #0052cc;
    --primary-light: #e6f0ff;
    --primary-glow: rgba(0, 102, 255, 0.15);
    --secondary: #0f172a;
    --secondary-hover: #1e293b;
    --accent: #00c3ff;
    --white: #ffffff;
    --black: #020617;
    
    /* Neutral Shades */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-500: #64748b;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 82, 204, 0.04), 0 4px 6px -4px rgba(0, 82, 204, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 82, 204, 0.08), 0 10px 10px -5px rgba(0, 82, 204, 0.04);
    --shadow-premium: 0 30px 60px -15px rgba(0, 82, 204, 0.12), 0 0 0 1px rgba(0, 82, 204, 0.03);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Timing */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Base Resets & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--neutral-900);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Glowing Ambient Blobs */
.blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(120px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}
.blob-1 {
    top: 5%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(0, 102, 255, 0.2) 100%);
}
.blob-2 {
    top: 35%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.15) 0%, rgba(0, 102, 255, 0.1) 100%);
    animation-delay: -5s;
}
.blob-3 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(0, 195, 255, 0.1) 100%);
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.15); }
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.text-center { text-align: center; }

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 16px;
    background-color: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--neutral-900);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--neutral-500);
    font-weight: 400;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--neutral-900);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--neutral-900);
}

/* --- Buttons & UI Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-text {
    background: transparent;
    color: var(--neutral-500);
    padding: 10px 20px;
}
.btn-text:hover {
    color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* --- Header & Navigation Bar --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--neutral-100);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-container {
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
    animation: logoFloat 3s infinite ease-in-out;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-link:hover .brand-logo {
    transform: scale(1.15) rotate(10deg);
    animation-play-state: paused;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--neutral-900);
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.brand-name span {
    color: var(--primary);
}

/* Nav Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    background: var(--neutral-100);
    padding: 6px;
    border-radius: var(--radius-full);
}

.nav-link {
    display: block;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-500);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--neutral-900);
}

.nav-link.active {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--neutral-900);
    cursor: pointer;
}

/* --- Mobile Drawer Menu --- */
.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    padding: 30px 24px;
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-100);
}

.mobile-cta-li {
    margin-top: 20px;
}

/* --- Page 1: Home/Hero Section --- */
.hero-section {
    padding-top: 160px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-logo-box {
    margin-bottom: 20px;
    display: flex;
}

.hero-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.15));
}

.badge-container {
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--neutral-500);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--neutral-100);
    padding-top: 30px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--neutral-500);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    background-color: var(--primary-light);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

/* Hospital SVG Custom Design and Animations styling */
.hospital-svg-container svg {
    width: 100%;
    height: auto;
    display: block;
}

.svg-glow-radar {
    transform-origin: center;
    animation: pulseRadar 3s infinite ease-in-out;
}

.svg-car {
    animation: driveCar 6s infinite linear;
}

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

@keyframes pulseRadar {
    0% { transform: scale(0.95); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.3; }
}

@keyframes driveCar {
    0% { transform: translate(-100px, 0); }
    100% { transform: translate(300px, 0); }
}

/* --- Page 2: About & Problem Section --- */
.about-section {
    background-color: var(--neutral-50);
}

.problem-container {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    box-shadow: var(--shadow-premium);
    margin-top: 40px;
}

.problem-header {
    margin-bottom: 48px;
}

.problem-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
    background-color: #fee2e2;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.problem-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.problem-subtitle {
    font-size: 16px;
    color: var(--neutral-500);
    max-width: 800px;
}

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

.problem-card {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.problem-card:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 15px 30px -10px rgba(239, 68, 68, 0.08);
}

.problem-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #fee2e2;
    color: #ef4444;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.problem-icon {
    width: 24px;
    height: 24px;
}

.problem-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 14px;
    color: var(--neutral-500);
    line-height: 1.5;
}

.problem-card-wide {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(239, 68, 68, 0.03) 100%);
}

.problem-card-wide:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, var(--white) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.problem-card-wide .problem-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.wide-card-content h4 {
    margin-bottom: 8px;
}

/* --- Page 3: Our Solution & Features --- */
.solution-content-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.mockup-column {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Pixel Perfect Smartphone Mockup Frame */
.mockup-container {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 310px;
    height: 620px;
    background-color: #000000;
    border: 12px solid #1e293b;
    border-radius: 40px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-speaker {
    width: 60px;
    height: 4px;
    background-color: #475569;
    border-radius: var(--radius-full);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--neutral-50);
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
    font-size: 12px;
}

.phone-home-button {
    width: 40px;
    height: 4px;
    background-color: #475569;
    border-radius: var(--radius-full);
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Mini App Header */
.app-header {
    background-color: var(--white);
    padding: 16px 14px 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--neutral-100);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    color: var(--neutral-900);
}

.app-logo-img {
    height: 18px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.app-icon-bell {
    width: 15px;
    height: 15px;
    color: var(--neutral-500);
}

/* App Body Scroll Area */
.app-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
}

.app-step {
    display: none;
    animation: appScreenFade 0.3s ease-in-out forwards;
}

.app-step.active {
    display: block;
}

@keyframes appScreenFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.app-desc {
    color: var(--neutral-500);
    font-size: 11px;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* App Booking Form */
.app-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-input-group label {
    font-size: 10px;
    font-weight: 600;
    color: var(--neutral-500);
}

.app-input-group select,
.app-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--neutral-900);
    outline: none;
}

.app-input-group select:focus,
.app-input-group input:focus {
    border-color: var(--primary);
}

.app-submit-btn {
    padding: 10px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

/* App Ticket Screen */
.ticket-status-badge {
    background-color: #dbeafe;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ticket-facility-name {
    font-size: 16px;
    font-weight: 700;
}

.ticket-dept {
    color: var(--neutral-500);
    font-size: 11px;
    margin-bottom: 14px;
}

.ticket-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    position: relative;
}

.ticket-card::before,
.ticket-card::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--neutral-50);
    border-radius: var(--radius-full);
    position: absolute;
    top: 38px;
    border: 1px solid var(--neutral-200);
}
.ticket-card::before { left: -6px; border-right: none; }
.ticket-card::after { right: -6px; border-left: none; }

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--neutral-200);
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 9px;
    color: var(--neutral-500);
}

.ticket-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.ticket-queue-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
    font-weight: 700;
    font-size: 9px;
}

.live-indicator .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: var(--radius-full);
    animation: pulseDot 1s infinite;
}

.queue-status {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.queue-count {
    font-size: 16px;
    font-weight: 800;
    color: var(--neutral-900);
}

.progress-bar-container {
    height: 5px;
    background-color: var(--neutral-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.estimated-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--neutral-500);
}
.estimated-time i {
    width: 13px;
    height: 13px;
}

.text-blue { color: var(--primary); }
.font-bold { font-weight: 700; }

.ai-status-bubble {
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sparkle-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ai-status-bubble p {
    font-size: 10.5px;
    color: var(--primary-hover);
    line-height: 1.35;
}

#simulate-step-btn {
    padding: 10px;
    font-size: 11px;
    margin-bottom: 8px;
}

/* App Nav Bar Simulation */
.app-nav {
    height: 50px;
    background-color: var(--white);
    border-top: 1px solid var(--neutral-100);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 4px;
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--neutral-500);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-nav-item:hover {
    color: var(--primary);
    background-color: rgba(0, 102, 255, 0.04);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.08);
    transform: translateY(-2px);
}

.app-nav-item i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.app-nav-item:hover i {
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.4));
    transform: scale(1.12);
}

.app-nav-item span {
    font-size: 9px;
    font-weight: 600;
}

.app-nav-item.active {
    color: var(--primary);
}

/* Background Ring Behind Mockup */
.mockup-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 102, 255, 0.08);
    background-color: rgba(0, 102, 255, 0.01);
    border-radius: var(--radius-full);
    z-index: 1;
    pointer-events: none;
}

/* Solution Features Grid */
.features-column {
    display: flex;
    flex-direction: column;
}

.feature-card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-100);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-box i {
    width: 22px;
    height: 22px;
}

.feature-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-info p {
    font-size: 13px;
    color: var(--neutral-500);
    line-height: 1.5;
}

/* --- Page 4: Business Model Section --- */
.business-section {
    background-color: var(--neutral-50);
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.revenue-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.revenue-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.revenue-icon-holder {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.revenue-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.revenue-value {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.revenue-desc {
    font-size: 13px;
    color: var(--neutral-500);
    line-height: 1.5;
}

.revenue-card-wide {
    grid-column: span 4;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
}

.revenue-card-wide .revenue-icon-holder {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.wide-revenue-info h3 {
    margin-bottom: 4px;
}

/* Traction Timeline */
.traction-timeline-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.timeline {
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 70%, var(--neutral-200) 100%);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -41px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background-color: var(--white);
    border: 3px solid var(--neutral-300);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--primary);
    transform: scale(1.2);
}

.timeline-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 255, 0.1);
}

.timeline-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-500);
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13.5px;
    color: var(--neutral-500);
    line-height: 1.5;
}

/* Timeline Highlight node */
.timeline-item.highlight .timeline-dot {
    background-color: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(to right, var(--white) 60%, var(--primary-light) 100%);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.timeline-item.highlight .timeline-date {
    color: var(--primary);
}

/* --- Page 5: Founder & Vision Section styles migrated to end of file --- */

    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.vision-mission-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 0;
}

.vision-mission-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-gradient {
    background-color: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card-gradient:hover {
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

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

.card-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon-box i {
    width: 24px;
    height: 24px;
}

.card-gradient h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-gradient p {
    font-size: 14.5px;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* --- Page 6: Contact Section --- */
.contact-section {
    border-bottom: 1px solid var(--neutral-100);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(0,123,255,0.05) 0%, rgba(0,200,150,0.05) 100%);
    border: 1px solid rgba(0,123,255,0.12);
    border-radius: 16px;
    width: fit-content;
}

.contact-logo {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.contact-brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.contact-brand-name span {
    color: var(--primary);
}

.contact-info-panel h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-tagline {
    font-size: 16px;
    color: var(--neutral-500);
    margin-bottom: 40px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--neutral-100);
    background: #fff;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.channel:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0,123,255,0.04) 0%, rgba(0,200,150,0.04) 100%);
    box-shadow: 0 4px 16px rgba(0,123,255,0.12);
    transform: translateY(-2px);
}

.channel-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,200,150,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.channel:hover .channel-icon-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, #00c896 100%);
}

.channel-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: color 0.25s ease;
}

.channel:hover .channel-icon {
    color: #fff;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.channel-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--neutral-400);
}

.channel-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-800);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.channel-arrow {
    margin-left: auto;
    width: 18px;
    height: 18px;
    color: var(--neutral-300);
    flex-shrink: 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.channel:hover .channel-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* Contact Form styling */
.contact-form-panel {
    background-color: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-premium);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-desc {
    font-size: 14px;
    color: var(--neutral-500);
    margin-bottom: 30px;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--neutral-900);
    outline: none;
    transition: border var(--transition-fast);
    background-color: var(--neutral-50);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Success Form screen */
.success-screen {
    text-align: center;
    padding: 40px 10px;
    animation: appScreenFade 0.4s ease-in-out;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #dcfce7;
    color: #22c55e;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    width: 32px;
    height: 32px;
}

.success-screen h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.success-screen p {
    font-size: 14.5px;
    color: var(--neutral-500);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hidden {
    display: none !important;
}

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

.form-error-msg {
    background: #fff1f1;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--neutral-900);
    color: var(--white);
    padding: 60px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.footer-name span {
    color: var(--primary);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(120deg, #38bdf8 0%, #0066ff 40%, #00c3ff 60%, #38bdf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
    display: inline-block;
    letter-spacing: 0.5px;
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--neutral-500);
    border-top: 1px solid var(--neutral-800);
    padding-top: 24px;
    width: 100%;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--neutral-400);
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #00c896 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

/* ==========================================================================
   Media Queries for Responsiveness
   ========================================================================== */

/* Laptop Viewport (up to 1024px) */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-container {
        gap: 32px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .problem-card-wide {
        grid-column: span 2;
    }
    
    .solution-content-grid {
        gap: 40px;
    }
    
    .revenue-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .revenue-card-wide {
        grid-column: span 2;
    }
    
    .founders-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Viewport (up to 768px) */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 30px;
    }
    
    .solution-content-grid {
        grid-template-columns: 1fr;
    }
    
    .mockup-column {
        order: 2; /* Move mockup below feature cards on tablet */
    }
    
    .founders-team-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Mobile Viewport (up to 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 34px;
        letter-spacing: -1px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .problem-container {
        padding: 40px 20px;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    .problem-card-wide {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .feature-card-wrapper {
        grid-template-columns: 1fr;
    }
    
    .revenue-grid {
        grid-template-columns: 1fr;
    }
    .revenue-card-wide {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    .timeline-dot {
        left: -29px;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- Splash Screen Overlay --- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    opacity: 1;
    visibility: visible;
}

.splash-screen.hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.splash-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: splashScaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
    padding: 10px;
    border-radius: var(--radius-xl);
}

/* Glass gleam shimmer sweep across the logo */
.splash-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: logoShine 2.8s infinite ease-in-out;
    z-index: 3;
}

@keyframes logoShine {
    0% { left: -150%; }
    100% { left: 200%; }
}

.splash-logo {
    max-width: 320px;
    width: 75vw;
    height: auto;
    object-fit: contain;
    z-index: 2;
}


/* --- Splash Queue Visualizer --- */
.splash-queue-visual {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
    position: relative;
    width: 320px;
    height: 72px;
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 8px 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 102, 255, 0.06), inset 0 0 20px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

/* Floating background bubbles for graphic depth */
.splash-bubble {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(12px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.bubble-a {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    top: -15px;
    left: 15%;
    animation: floatBubbleA 5s infinite alternate ease-in-out;
}

.bubble-b {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    bottom: -20px;
    right: 25%;
    animation: floatBubbleB 7s infinite alternate ease-in-out;
}

@keyframes floatBubbleA {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15px, 8px) scale(1.15); }
}

@keyframes floatBubbleB {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20px, -10px) scale(1.1); }
}

.queue-track {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 102, 255, 0.03) 0%, rgba(0, 102, 255, 0.3) 70%, rgba(0, 102, 255, 0.6) 100%);
    z-index: 1;
}

.queue-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
    top: 50%;
    margin-top: -2px;
    z-index: 1;
    opacity: 0;
    animation: flowParticle 1.4s infinite linear;
}

.queue-particle:nth-child(3) { animation-delay: 0s; left: 20px; }
.queue-particle:nth-child(4) { animation-delay: 0.45s; left: 20px; }
.queue-particle:nth-child(5) { animation-delay: 0.9s; left: 20px; }

@keyframes flowParticle {
    0% { left: 20px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 220px; opacity: 0; }
}

.queue-station {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    margin-left: auto;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
    flex-shrink: 0;
}

.queue-station::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(0, 102, 255, 0.2);
    animation: stationPulse 2s infinite ease-out;
}

@keyframes stationPulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.station-icon {
    width: 18px;
    height: 18px;
    color: var(--white);
    margin-bottom: 1px;
}

.queue-line {
    display: flex;
    position: relative;
    flex: 1;
    height: 100%;
    align-items: center;
    z-index: 2;
}

.patient-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--neutral-500);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    
    /* Gentle bobbing effect so avatars look organic and alive */
    animation: avatarBob 2s infinite ease-in-out;
}

.patient-avatar:nth-child(1) { animation-delay: 0s; }
.patient-avatar:nth-child(2) { animation-delay: 0.3s; }
.patient-avatar:nth-child(3) { animation-delay: 0.6s; }
.patient-avatar:nth-child(4) { animation-delay: 0.9s; }

@keyframes avatarBob {
    0%, 100% { transform: translateY(0) scale(var(--scale, 1)); }
    50% { transform: translateY(-4px) scale(var(--scale, 1)); }
}

.avatar-initial {
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.token-lbl {
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    margin-top: -1px;
}

/* Avatar states based on queue index positions with individual colorful gradient themes */
.patient-avatar.pos-0 {
    left: 140px;
    opacity: 1;
    --scale: 1.1;
    border-color: #0066ff;
    color: #0066ff;
    background-color: #e6f0ff;
    box-shadow: 0 8px 16px -4px rgba(0, 102, 255, 0.25);
}
.patient-avatar.pos-0 .token-lbl { color: #0066ff; }

.patient-avatar.pos-enter {
    left: 200px;
    opacity: 0;
    --scale: 0.5;
}

.patient-avatar.pos-1 {
    left: 80px;
    opacity: 0.85;
    --scale: 0.9;
    border-color: #00c3ff;
    color: #00c3ff;
    background-color: #e0f7ff;
}
.patient-avatar.pos-1 .token-lbl { color: #00c3ff; }

.patient-avatar.pos-2 {
    left: 25px;
    opacity: 0.6;
    --scale: 0.8;
    border-color: #10b981;
    color: #10b981;
    background-color: #e6fbf4;
}
.patient-avatar.pos-2 .token-lbl { color: #10b981; }

.patient-avatar.pos-3 {
    left: -25px;
    opacity: 0;
    --scale: 0.7;
}

.splash-queue-status {
    height: 20px;
    display: flex;
    align-items: center;
}

#splash-queue-text {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--neutral-800);
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes splashScaleIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes splashGlowPulse {
    0% { transform: scale(0.9); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes pulseText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}


/* ==========================================================================
   Founder Cards — Premium Dark Glassmorphism UI
   ========================================================================== */

.founders-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
    align-items: end;
}

.founder-card-box {
    display: flex;
    justify-content: center;
}

/* ── Base card ── */
.founder-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 28px;
    padding: 2.8rem 1.75rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 102, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s ease, border-color 0.38s ease;
    overflow: visible;
}

/* Subtle top-edge highlight */
.founder-card::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.2), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.founder-card:hover {
    transform: translateY(-14px);
    border-color: rgba(0, 102, 255, 0.25);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 60px -10px rgba(0, 102, 255, 0.12), 0 0 0 1px rgba(0, 102, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ── Featured (center) card ── */
.founder-card--featured {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 102, 255, 0.15);
    transform: translateY(-18px);
    box-shadow: 0 30px 70px -10px rgba(0, 102, 255, 0.15), 0 0 0 1px rgba(0, 102, 255, 0.1);
    padding-top: 3.25rem;
}

.founder-card--featured::after {
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.4), transparent);
}

.founder-card--featured:hover {
    transform: translateY(-28px);
    box-shadow: 0 45px 90px -15px rgba(0, 102, 255, 0.25), 0 0 0 1px rgba(0, 102, 255, 0.15);
}

/* ── Badge (featured only) ── */
.founder-badge {
    display: none;
}

.founder-card--featured .founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #0066ff, #00c3ff);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

/* ── Photo container & ring ── */
.founder-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.founder-photo-ring {
    position: relative;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #0066ff 0%, #00c3ff 50%, #7c3aed 100%);
    background-size: 200% 200%;
    animation: ringGradient 4s ease infinite;
    box-shadow: 0 0 28px rgba(0, 102, 255, 0.25);
    flex-shrink: 0;
}

.founder-photo-ring--featured {
    width: 172px;
    height: 172px;
    padding: 4px;
    background: linear-gradient(135deg, #00c3ff 0%, #0066ff 35%, #7c3aed 65%, #00c3ff 100%);
    background-size: 300% 300%;
    animation: ringGradient 3s ease infinite;
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.35), 0 0 100px rgba(0, 195, 255, 0.1);
}

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

/* ── Photo image ── */
.founder-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    /* Light border matches the card bg — white studio style */
    border: 4px solid #ffffff;
    display: block;
    background: #ffffff;
    mix-blend-mode: normal;
}

/* ── Photo placeholder ── */
.founder-photo-placeholder-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-avatar-icon {
    width: 54px;
    height: 54px;
    color: #cbd5e1;
}

/* ── Online dot ── */
.founder-glow-dot {
    position: absolute;
    bottom: 6px;
    right: calc(50% - 74px + 10px);
    width: 15px;
    height: 15px;
    background: #22c55e;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
    z-index: 2;
}

.founder-photo-ring--featured ~ .founder-glow-dot,
.founder-photo-container:has(.founder-photo-ring--featured) .founder-glow-dot {
    right: calc(50% - 86px + 10px);
    bottom: 7px;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.4); }
    50%       { box-shadow: 0 0 16px rgba(34, 197, 94, 0.8); transform: scale(1.15); }
}

/* ── Name & role ── */
.founder-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.founder-card--featured .founder-name {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-role {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0099ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.founder-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0066ff, #00c3ff);
    border-radius: 99px;
    margin-top: 6px;
    opacity: 0.7;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.founder-card:hover .founder-divider {
    width: 64px;
    opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .founders-team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: center;
    }

    .founder-card--featured {
        transform: none;
    }

    .founder-card--featured:hover {
        transform: translateY(-14px);
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .founders-team-grid { gap: 1.25rem; }

    .founder-photo-ring { width: 120px; height: 120px; }
    .founder-photo-ring--featured { width: 142px; height: 142px; }
}


/* ==========================================================================
   FAQ Section Accordion Design — Premium Minimalist Light UI
   ========================================================================== */

.faq-section {
    background-color: #f5f5f3; /* Light warm-grey matching the screenshot */
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-accordion-container {
    max-width: 850px;
    margin: 3.5rem auto 0;
    padding: 0 1rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.faq-category-title .category-icon {
    width: 20px;
    height: 20px;
    color: #0066ff;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.4rem 0.5rem;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.faq-trigger:hover {
    background-color: rgba(0, 102, 255, 0.015);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
    padding-right: 1.5rem;
    line-height: 1.4;
}

.faq-trigger:hover .faq-question {
    color: #0066ff;
}

.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #0f172a;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-icon {
    width: 20px;
    height: 20px;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    padding: 0 0.5rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.96rem;
    line-height: 1.6;
    color: #475569;
}

/* Active State (Rotates plus into cross) */
.faq-item.active .faq-icon-wrapper {
    transform: rotate(45deg);
    color: #0066ff;
}

.faq-item.active .faq-question {
    color: #0066ff;
}


/* ==========================================================================
   Interactive App Mockup Premium Screen Styles
   ========================================================================== */

/* Home Dashboard Styles */
.app-home-hero {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #0066ff 0%, #0033aa 100%);
    padding: 16px 14px;
    border-radius: var(--radius-md);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.app-home-welcome {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.app-home-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin: 2px 0 0 0;
}

.app-home-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.app-home-status-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.status-icon-glow {
    width: 32px;
    height: 32px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon-glow i {
    width: 16px;
    height: 16px;
}

.status-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 9px;
    color: var(--neutral-400);
    font-weight: 600;
    text-transform: uppercase;
}

.status-value {
    font-size: 11px;
    font-weight: 700;
    color: var(--neutral-800);
}

.status-action-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-home-status-card:hover .status-action-btn {
    background: var(--primary);
    color: #ffffff;
}

.app-section-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--neutral-100);
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    width: 16px;
    height: 16px;
}

.fill-blue { background: rgba(0, 102, 255, 0.08); color: var(--primary); }
.fill-green { background: rgba(34, 197, 94, 0.08); color: #22c55e; }
.fill-orange { background: rgba(249, 115, 22, 0.08); color: #f97316; }

.service-item span {
    font-size: 9px;
    font-weight: 600;
    color: var(--neutral-700);
}

.health-tip-card {
    background: #f8fafc;
    border: 1px solid var(--neutral-200);
    border-left: 3px solid var(--primary);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}

.tip-tag {
    font-size: 8px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.tip-text {
    font-size: 9.5px;
    color: var(--neutral-600);
    line-height: 1.4;
    margin: 0;
}

/* Profile Screen Styles */
.app-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.profile-avatar-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    padding: 2px;
    background: #ffffff;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
}

.profile-app-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--neutral-800);
    margin: 0;
}

.profile-id {
    font-size: 9px;
    color: #22c55e;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-top: 4px;
}

.profile-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 10px 0;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.profile-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--neutral-100);
}

.profile-stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--neutral-800);
}

.stat-lbl {
    font-size: 8px;
    color: var(--neutral-400);
    font-weight: 600;
    text-transform: uppercase;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}

.profile-menu-item:hover {
    background: #f8fafc;
}

.profile-menu-item i:first-child {
    width: 14px;
    height: 14px;
    color: var(--neutral-600);
}

.profile-menu-item span {
    flex: 1;
    font-size: 10px;
    font-weight: 600;
    color: var(--neutral-700);
}

.menu-arrow {
    width: 12px;
    height: 12px;
    color: var(--neutral-400);
}

/* Booking inner steps transition */
.app-booking-inner {
    display: none;
    animation: appScreenFade 0.3s ease-in-out forwards;
}

.app-booking-inner.active {
    display: block;
}

/* Mockup Profile Avatar Placeholder */
.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.profile-avatar-icon {
    width: 32px;
    height: 32px;
    color: #64748b;
}

.profile-avatar-placeholder:hover {
    background: #cbd5e1;
}



