/* ========================================
   EasyMedSource Landing Page - Design System
   ======================================== */

/* CSS Custom Properties */
:root {
    /* ===== BRAND COLORS ===== */
    --color-primary: #16254a;
    --color-primary-dark: #0d1529;
    --color-primary-light: #1e3463;
    --color-accent: #119fdc;
    --color-accent-light: #2fb4ed;
    --color-accent-dark: #0879a5;

    /* ===== NAVY SCALE ===== */
    --color-navy-900: #0d1529;
    --color-navy-800: #121d38;
    --color-navy-700: #16254a;
    --color-navy-600: #1e3463;
    --color-navy-500: #2a4a8a;
    --color-navy-400: #3d62a8;
    --color-navy-300: #6b8cc7;
    --color-navy-200: #a3b8dc;
    --color-navy-100: #d1dced;
    --color-navy-50: #eef2f8;

    /* ===== CYAN SCALE ===== */
    --color-cyan-900: #065a7d;
    --color-cyan-800: #0879a5;
    --color-cyan-700: #0b8fc5;
    --color-cyan-600: #119fdc;
    --color-cyan-500: #2fb4ed;
    --color-cyan-400: #5cc5f2;
    --color-cyan-300: #8ad6f6;
    --color-cyan-200: #b8e6fa;
    --color-cyan-100: #dcf2fd;
    --color-cyan-50: #f0f9fe;

    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* ===== GRADIENTS ===== */
    --gradient-hero: linear-gradient(135deg, #0d1529 0%, #16254a 50%, #1e3463 100%);
    --gradient-accent: linear-gradient(135deg, #119fdc 0%, #0879a5 100%);
    --gradient-text: linear-gradient(135deg, #119fdc 0%, #2fb4ed 50%, #119fdc 100%);
    --gradient-sidebar: linear-gradient(180deg, #0d1529 0%, #16254a 50%, #1e3463 100%);
    --gradient-brand: linear-gradient(135deg, #16254a 0%, #119fdc 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --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;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* 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.25);
    --shadow-glow: 0 0 40px rgba(17, 159, 220, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   Typography
   ======================================== */

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.section-tag {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-gray-500);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-icon {
    width: 1.25em;
    height: 1.25em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-md), 0 0 20px rgba(20, 184, 166, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-3) 0;
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Alternative navigation structure (used by about.html, etc.) */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-links a {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-white);
}

.nav-links a.active {
    color: var(--color-white);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    color: white;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-4);
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-3);
    font-size: var(--font-size-base);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    display: none;
    /* Hidden - logo image already contains branding */
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link.active {
    color: var(--color-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.nav-cta {
    background: var(--gradient-accent);
    color: var(--color-white) !important;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Utility for Hospital Dashboard Mockup */
.mock-grid {
    grid-template-columns: 1fr;
}

/* ========================================
   Index Page - Inline Styles Extracted
   ======================================== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    /* Slight fill for presence */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 100;
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.lang-dropdown>a:first-child {
    border-radius: 0;
}

.lang-dropdown>a:last-child {
    border-radius: 0;
}

.lang-selector:hover .lang-dropdown {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: #1e293b !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
    position: relative;
    background: white;
}

/* Flag icon containers */
.lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
}

.lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-option:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

.lang-dropdown .lang-option.active {
    background: #16254a !important;
    color: white !important;
    font-weight: 500;
}

.lang-dropdown .lang-option.active:hover {
    background: #0f172a !important;
    color: white !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Exit Intent Modal
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    max-width: 480px;
    margin: 2rem;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray-400);
}

.modal-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray-900);
}

.modal-text {
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-btn-primary {
    flex: 1;
    min-width: 140px;
    background: var(--color-secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.modal-btn-secondary {
    flex: 1;
    min-width: 140px;
    background: var(--color-gray-100);
    color: var(--color-gray-900);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.modal-note {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    margin-top: 1rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

/* Inventory Upload Tweaks */
.drop-file-name {
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.drop-file-instruction {
    color: var(--color-gray-500);
    font-size: 0.9em;
}

.spin-animation {
    animation: spin 1s linear infinite;
}

.loading-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.loading-desc {
    color: var(--color-gray-500);
}

@media (max-width: 768px) {
    .mobile-search {
        display: flex !important;
        align-items: center;
        color: white !important;
    }

    /* Hide nav-links on mobile, show hamburger */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Show and style mobile menu when opened */
    .mobile-menu.open {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--space-4);
        flex-direction: column;
        gap: var(--space-4);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: var(--space-3);
        font-size: var(--font-size-base);
    }

    .nav-menu .lang-selector {
        width: 100%;
        padding: var(--space-3) 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hamburger {
        display: flex;
    }
}

/* Mobile Language Selector */
.mobile-lang-selector {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-2);
}

.mobile-lang-option {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: var(--font-size-sm);
    padding: var(--space-2) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.mobile-lang-option:hover {
    color: var(--color-white) !important;
}

.mobile-lang-option.active {
    color: var(--color-accent-light) !important;
    font-weight: 600;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: var(--space-24) 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 95, 0.3) 0%, transparent 50%);
}

.hero-gradient-blur {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    filter: blur(80px);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    color: var(--color-white);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-accent-light);
    margin-bottom: 0;
}

.hero-badge-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
    border: none;
    color: var(--color-white);
    font-weight: 600;
}

.badge-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.hero-trust-line {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-6);
}

.hero-trust-line strong {
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.trusted-by {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
}



.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-accent-light);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual / Dashboard Preview */
.hero-visual {
    position: relative;
}

/* ========================================
   Dark Hero Variant (EzBot / Premium)
   ======================================== */

.hero-dark {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    overflow: hidden;
    padding: var(--space-20) 0;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-dark .hero-container {
    position: relative;
    z-index: 1;
}

.hero-dark .hero-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.hero-dark .hero-title {
    color: white;
}

.hero-dark .hero-subtitle {
    color: #94a3b8;
}

.hero-dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-dark .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.check-list {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.check-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: #e2e8f0;
    font-size: var(--font-size-base);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent-light);
    flex-shrink: 0;
}

/* Stat Cards for Hero */
.hero-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hero-stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-white);
}

.hero-stat-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-400);
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.preview-dots span:first-child {
    background: #ff5f56;
}

.preview-dots span:nth-child(2) {
    background: #ffbd2e;
}

.preview-dots span:last-child {
    background: #27c93f;
}

.preview-title {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.preview-content {
    display: flex;
    padding: var(--space-4);
    gap: var(--space-4);
    min-height: 300px;
}

.preview-sidebar {
    width: 60px;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sidebar-item {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.sidebar-item.active {
    background: var(--color-accent);
}

.preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.preview-card {
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

.preview-table {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.table-row {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

/* ========================================
   Trusted By Section
   ======================================== */

.trusted-by {
    background: var(--color-gray-50);
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.trusted-label {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.logo-placeholder {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-gray-300);
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--space-24) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    padding: var(--space-8);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-3);
}

.feature-desc {
    font-size: var(--font-size-base);
    color: var(--color-gray-700);
    line-height: 1.7;
}

/* ========================================
   Hospitals Section
   ======================================== */

.hospitals {
    padding: var(--space-24) 0;
    background: var(--color-gray-50);
}

.hospitals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hospitals-desc {
    font-size: var(--font-size-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-8);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.benefit-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.benefit-check svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-white);
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.benefit-text strong {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-gray-900);
}

.benefit-text span {
    font-size: var(--font-size-sm);
    color: var(--color-gray-700);
}

.hospitals-visual {
    position: relative;
}

.portal-mockup {
    position: relative;
}

.mockup-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.mockup-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

/* ========================================
   Vendors Section
   ======================================== */

.vendors {
    padding: var(--space-24) 0;
}

.vendors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.cmms-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.cmms-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.cmms-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.cmms-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08) 0%, rgba(20, 184, 166, 0.08) 100%);
    border-radius: var(--radius-lg);
}

.cmms-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.cmms-card span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-700);
}

.vendors-desc {
    font-size: var(--font-size-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-8);
}

.vendor-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.vendor-feature h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-1);
}

.vendor-feature p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing {
    padding: var(--space-24) 0;
    background: var(--gradient-hero);
}

.pricing-content {
    text-align: center;
    color: var(--color-white);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
}

.pricing-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
}

.pricing-desc {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: left;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
    background: var(--color-white);
    color: var(--color-gray-900);
    border-color: var(--color-accent);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--color-white);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card-header {
    margin-bottom: var(--space-6);
}

.pricing-card-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.price {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 800;
}

.pricing-card.featured .price-amount {
    color: var(--color-accent);
}

.price-period {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.pricing-features {
    margin-bottom: var(--space-6);
}

.pricing-features li {
    padding: var(--space-2) 0;
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.pricing-card.featured .pricing-features li {
    color: var(--color-gray-600);
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    padding: var(--space-24) 0;
    background: var(--color-gray-50);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

.cta-desc {
    font-size: var(--font-size-lg);
    color: var(--color-gray-500);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.cta .btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-700);
    border: 1px solid var(--color-gray-300);
}

.cta .btn-secondary:hover {
    background: var(--color-gray-100);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer-col h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: var(--space-8);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--color-accent-light);
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-title {
        font-size: var(--font-size-5xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hospitals-grid,
    .vendors-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .vendors-visual {
        order: 2;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-gray-900);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-20) var(--space-6);
        gap: var(--space-6);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: var(--space-20) 0 var(--space-16);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-8);
    }

    .cmms-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .pricing-title {
        font-size: var(--font-size-4xl);
    }

    .logo {
        position: relative;
        z-index: 1002;
        padding-right: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-stats {
        gap: var(--space-4);
    }

    .stat-divider {
        display: none;
    }

    .cmms-features {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    /* Utility for Hospital Dashboard Mockup */
    .mock-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Vendor Checkout Styles
   ======================================== */
.checkout-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--bg-surface);
    min-height: 100vh;
}

.checkout-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-8);
}

.checkout-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.checkout-header {
    margin-bottom: var(--space-6);
}

.checkout-title {
    font-size: var(--font-size-2xl);
    color: var(--text-heading);
    margin-bottom: var(--space-2);
}

.checkout-subtitle {
    color: var(--text-body);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--text-heading);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-100);
    outline: none;
}

.card-element-container {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
}

.btn-pay {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-6);
}

.btn-pay:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.order-summary {
    background: var(--color-gray-50);
    border-radius: 16px;
    padding: var(--space-8);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--entry-border);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-4);
    margin-top: var(--space-4);
    border-top: 2px solid var(--border);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-heading);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-4);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .order-summary {
        order: -1;
        position: static;
    }
}


/* ========================================
   Inventory Upload Styles
   ======================================== */
.upload-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--bg-surface);
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.upload-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-200);
}

.step-dot.active {
    background: var(--color-secondary);
}

.drop-zone {
    border: 2px dashed var(--color-gray-300);
    border-radius: 12px;
    padding: var(--space-12);
    margin: var(--space-8) 0;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--color-gray-50);
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--color-secondary);
    background: var(--color-secondary-light);
}

.drop-icon {
    font-size: 3rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-4);
}

.upload-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
}

.progress-container {
    display: none;
    margin-top: var(--space-8);
    text-align: left;
}

.progress-bar {
    height: 8px;
    background: var(--color-gray-100);
    border-radius: 4px;
    overflow: hidden;
    margin-top: var(--space-2);
}

.progress-fill {
    height: 100%;
    background: var(--color-secondary);
    width: 0%;
    transition: width 0.3s ease;
}

/* ========================================
   Language Selector Fix
   ======================================== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    z-index: 100;
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

.lang-option {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.lang-option:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

.lang-option.active {
    background: var(--color-primary-light);
    color: white;
    font-weight: 500;
}

.lang-option.active:hover {
    background: var(--color-primary);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Index Page - Content & Mockup Styles
   ======================================== */

/* Hero Demo Link */
.hero-demo-wrapper {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-400);
}

.hero-demo-link {
    color: var(--color-accent-light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.hero-demo-note {
    font-size: 0.9em;
    opacity: 0.6;
}

/* Dashboard Mockup System */
.dashboard-preview {
    display: block;
    width: 100%;
}

.preview-content {
    display: flex;
    background: #0f172a;
    padding: 0.75rem;
    gap: 0.5rem;
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    width: 70px;
    gap: 0.3rem;
}

.preview-sidebar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.preview-sidebar-item.active {
    color: white;
    background: rgba(20, 184, 166, 0.4);
}

.preview-dot {
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.preview-sidebar-item.active .preview-dot {
    background: #2dd4bf;
}

.preview-main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.preview-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.preview-stat-card {
    padding: 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.preview-stat-card.highlight {
    background: rgba(20, 184, 166, 0.15);
}

.preview-stat-label {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.preview-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
}

.stat-value-teal {
    color: #2dd4bf;
}

.stat-value-amber {
    color: #f59e0b;
}

.stat-value-emerald {
    color: #10b981;
}

.preview-orders-table {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.preview-table-header {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.2rem;
}

.preview-order-row {
    display: flex;
    justify-content: space-between;
    padding: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-order-row:last-child {
    border-bottom: none;
}

.preview-order-text {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.8);
}

.preview-status-badge {
    font-size: 0.45rem;
    padding: 1px 6px;
    border-radius: 3px;
}

.status-active-teal {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.status-progress-amber {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

/* Trusted By Grid */
.trusted-logos-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trusted-stat-item {
    text-align: center;
}

.trusted-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.trusted-stat-label {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* Compliance Section */
.compliance-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-card) 100%);
    border-top: 1px solid var(--border);
}

.compliance-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.badge-text-primary {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.85rem;
}

.badge-text-secondary {
    font-size: 0.7rem;
    color: #64748b;
}

/* Shipping Callout */
.shipping-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.shipping-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

.shipping-item {
    flex: 1;
    min-width: 280px;
}

.shipping-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.shipping-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
}

.shipping-desc {
    color: var(--text-body);
    font-size: 0.9rem;
    margin: 0;
}

/* Vendor Banner */
.vendor-banner {
    padding: 2rem 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vendor-banner-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.vendor-banner-link {
    color: #5eead4;
    text-decoration: underline;
    font-weight: 500;
}

/* How It Works Grid */
.how-it-works-section {
    background: var(--bg-card);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
}

@media (min-width: 900px) {
    .step-card {
        position: relative;
    }

    .step-card:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 32px;
        right: -50px;
        width: 100px;
        height: 2px;
        background: #cbd5e1;
        z-index: 1;
    }

    .step-card:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 27px;
        right: -55px;
        width: 10px;
        height: 10px;
        border-top: 2px solid #cbd5e1;
        border-right: 2px solid #cbd5e1;
        transform: rotate(45deg);
        z-index: 2;
        background: transparent;
    }
}

.step-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon-primary {
    background: var(--color-primary-100);
    color: var(--color-primary);
}

.step-icon-accent {
    background: var(--color-accent-100);
    color: var(--color-accent);
}

.step-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-body);
}

/* ========================================
   Checkout & Upload Page Specifics
   ======================================== */

/* Checkout Header */
.checkout-header {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-back-link {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.checkout-back-link:hover {
    color: var(--color-primary);
}

.checkout-divider {
    color: var(--color-gray-200);
}

.checkout-title {
    font-weight: 600;
    color: var(--color-gray-900);
}

.payment-method-title {
    margin-top: 40px;
}

/* Card Input Fields */
.checkout-input-card {
    border: none;
    padding: 0;
    background: transparent;
    flex: 1;
    font-size: inherit;
    font-family: inherit;
    outline: none;
}

.checkout-input-card::placeholder {
    color: var(--color-gray-400);
}

.checkout-input-expiry {
    border: none;
    padding: 0;
    background: transparent;
    width: 80px;
    font-size: inherit;
    font-family: inherit;
    outline: none;
}

.checkout-input-cvc {
    border: none;
    padding: 0;
    background: transparent;
    width: 60px;
    font-size: inherit;
    font-family: inherit;
    outline: none;
}

/* Secure Footer */
.secure-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.secure-icon {
    margin-right: 4px;
    vertical-align: middle;
}

.legal-text {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

.legal-link {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Order Summary */
.trial-badge {
    background: #ecfdf5;
    color: #065f46;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    display: inline-block;
}

.testimonial-wrapper {
    margin-top: 24px;
    text-align: center;
    color: var(--color-gray-500);
    font-size: 0.9rem;
}


.testimonial-author {
    color: var(--color-gray-900);
    display: block;
    margin-top: 8px;
    font-weight: 600;
}

/* Utility Classes for Index Page Refactor */
.delay-500 {
    animation-delay: 0.5s;
}

.preview-sidebar-styled {
    width: 85px;
    gap: 0.4rem;
}

.preview-main-styled {
    flex: 1;
    gap: 0.75rem;
}

.text-teal {
    color: #2dd4bf;
}

.text-amber {
    color: #f59e0b;
}

.text-emerald {
    color: #10b981;
}

.preview-orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.badge-icon-teal {
    stroke: #14b8a6;
}


/* Feedback Widget */
.feedback-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.feedback-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feedback-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.5);
}

/* Cookie Consent Banner */
#cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    color: white;
    padding: 1rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}

.cookie-link {
    color: #14b8a6;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn-accept {
    background: #14b8a6;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}


/* How It Works Section */
.how-it-works-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.how-it-works-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.how-it-works-subtitle {
    color: var(--text-body);
    font-size: 1.1rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.step-desc {
    color: var(--text-body);
}

.records-callout {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.records-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.records-text {
    color: var(--text-body);
    margin: 0.5rem 0 0;
}

.claim-account-container {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-surface);
}

.testimonials-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.quote-mark {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.quote-mark-primary {
    color: var(--color-primary);
}

.quote-mark-accent {
    color: var(--color-accent);
}

.testimonial-text {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-emerald {
    background: #dcfce7;
    color: #16a34a;
}

.avatar-indigo {
    background: #e0e7ff;
    color: #4f46e5;
}

.avatar-pink {
    background: #fce7f3;
    color: #db2777;
}

.avatar-teal {
    background: var(--color-primary-100);
    color: var(--color-primary);
}

.avatar-blue {
    background: #dbeafe;
    color: #2563eb;
}

.avatar-amber {
    background: #fef3c7;
    color: #d97706;
}

.author-info-name {
    font-weight: 600;
    color: var(--text-heading);
}

.author-info-org {
    font-size: 0.85rem;
    color: var(--text-body);
}

.survey-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-body);
    font-size: 0.9rem;
}

/* Email Signup */
.email-signup-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.signup-content {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-title {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.signup-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.signup-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.form-field-group {
    margin-bottom: 1.5rem;
}

.form-label-light {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.form-input-dark {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

.role-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.role-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.role-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #14b8a6;
}

.btn-subscribe {
    width: 100%;
    padding: 0.875rem;
    background: #14b8a6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-surface);
}

.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-styled {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-item-styled[open] .faq-summary .faq-icon {
    transform: rotate(45deg);
}

.faq-item-styled summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.badge-icon-indigo {
    stroke: #6366f1;
}

/* --- Language Selector --- */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--bg-surface);
    border-color: var(--color-primary);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    z-index: 100;
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.lang-option:hover {
    background: var(--bg-surface);
}

.lang-option.active {
    background: var(--color-primary-100);
    color: var(--color-primary);
    font-weight: 500;
}

/* Inventory Upload Page */
.upload-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.step-dot.active {
    background: var(--color-primary);
}

.upload-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.upload-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.upload-header p {
    color: var(--text-body);
    margin-bottom: 2rem;
}

.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 3rem;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 2rem;
}

.drop-zone:hover {
    border-color: var(--color-primary);
    background: rgba(20, 184, 166, 0.05);
}

.drop-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.drop-file-name {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.drop-file-instruction {
    color: var(--text-body);
    font-size: 0.9rem;
}

.sample-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.loading-state {
    display: none;
    text-align: center;
    padding: 3rem;
}

.loading-title {
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.loading-desc {
    color: var(--text-body);
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.3s;
}

.spin-animation {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Mobile Navigation
   ======================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--color-white);
    }

    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    /* Adjust standard header height/padding for mobile */
    .header {
        padding: 0.5rem 0;
    }

    .logo-img {
        height: 36px;
    }

    /* Hamburger Animation State */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ========================================
   Vendor Page Specifics
   ======================================== */

.hero-content-max {
    max-width: 600px;
}

.hero-timeline-box {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.timeline-icon {
    font-size: 1.1rem;
}

.timeline-title {
    color: #2dd4bf;
    font-weight: 700;
}

.timeline-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.timeline-highlight {
    color: white;
    font-weight: 700;
}

.hero-btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.mockup-3d-rotate {
    width: 100%;
    max-width: 550px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
}

.portal-mockup-gradient-blue {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 1.5rem;
    border-radius: 16px;
}

.portal-mockup-gradient-green {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    padding: 1.5rem;
    border-radius: 16px;
}

.portal-mockup-gradient-orange {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    padding: 1.5rem;
    border-radius: 16px;
}

.portal-mockup-gradient-purple {
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
    padding: 1.5rem;
    border-radius: 16px;
}

.portal-ui-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.portal-ui-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.portal-header-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.portal-badge {
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.portal-badge-blue {
    background: #3b82f6;
}

.portal-badge-orange {
    background: #f97316;
}

.portal-badge-purple {
    background: #8b5cf6;
}

.portal-badge-green {
    background: #10b981;
}

.portal-list-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portal-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
}

.portal-item-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e293b;
}

.portal-item-meta {
    font-size: 0.7rem;
    color: #64748b;
}

.portal-status-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.bg-amber-100 {
    background: #fef3c7;
}

.text-amber-700 {
    color: #d97706;
}

.bg-green-100 {
    background: #dcfce7;
}

.text-green-700 {
    color: #16a34a;
}

.portal-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.portal-stat-box {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.portal-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.portal-stat-label {
    font-size: 0.7rem;
    color: #64748b;
}

.portal-highlight-box {
    background: #f0fdf4;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.portal-icon-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fef3c7;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
}

.portal-icon-box.green {
    background: #dcfce7;
}

.portal-icon-amber {
    width: 24px;
    height: 24px;
    background: #f59e0b;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
}

.portal-icon-green {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
}

.portal-invoice-box {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.portal-invoice-total {
    font-size: 1rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-top: 0.5rem;
}

.portal-btn-group {
    display: flex;
    gap: 0.5rem;
}

.portal-btn-purple {
    flex: 1;
    padding: 0.5rem;
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.portal-btn-outline {
    flex: 1;
    padding: 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.demo-req-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: white;
}

.demo-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.demo-badge {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.demo-title {
    font-size: 2.5rem;
    margin: 1.5rem 0;
    line-height: 1.2;
    color: white;
}

.demo-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.demo-feature-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.demo-check {
    color: #2dd4bf;
}

.demo-form-card {
    flex: 1 1 350px;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.demo-form-title {
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.form-group-mb {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input-std {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.form-select-std {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
}

.form-footer {
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.faq-section {
    padding: 5rem 0;
    background: var(--bg-surface);
}

.faq-container-width {
    max-width: 800px;
}

.faq-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-text {
    margin-top: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ========================================
   Mobile UI/UX Improvements (Cycle 18)
   ======================================== */

/* Mobile Button Stacking */
@media (max-width: 500px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-btn-group {
        flex-direction: column;
    }

    .hero-btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reduce Glow Effects on Mobile */
@media (max-width: 768px) {

    .hero-dark::before,
    .hero-dark::after {
        opacity: 0.3;
    }

    /* Tighten Persona Card Gaps */
    .persona-grid {
        gap: 1rem;
    }

    /* Reduce excessive card padding */
    .feature-card {
        padding: 1.5rem;
    }
}

/* Network Icons Grid (Hospital Signup) */
.network-icons-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.network-icon-item {
    text-align: center;
}

.network-icon-emoji {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.network-icon-label {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .network-icons-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ========== Mobile Check-list Alignment Fix ========== */
@media (max-width: 768px) {
    .check-list {
        text-align: left;
    }

    .check-item {
        align-items: flex-start;
        text-align: left;
    }

    .check-item span {
        flex: 1;
    }

    .check-icon {
        margin-top: 2px;
    }
}

/* ========================================
   About Page & Stats Grid Styles
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Testimonial Fixes
   ======================================== */
.testimonial-card {
    position: relative;
    padding-top: 3rem;
    /* Add space for the quote mark */
}

.quote-mark {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    opacity: 0.2;
    font-family: serif;
    pointer-events: none;
    /* Prevent overlap interaction issues */
}

.testimonial-text {
    position: relative;
    z-index: 1;
    /* Ensure text is above quote mark */
}

/* ========================================
   About Page: Manifesto / Our Story
   ======================================== */
.manifesto-section {
    padding: var(--space-16) var(--space-4);
    background: var(--color-white);
}

.manifesto-container {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-text p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: var(--space-6);
}

.manifesto-text p:last-child {
    margin-bottom: 0;
}

.manifesto-tagline {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-top: var(--space-8);
    color: var(--color-primary);
}

.manifesto-signature {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    text-align: center;
    color: var(--color-gray-900);
    margin-top: var(--space-4);
}