/* ==========================================================================
   VL Telemedicine — Homepage Design System & Stylesheet (Mobile-First)
   Compatible with modern browsers, responsive across 360px - 1920px
   ========================================================================== */

:root {
    --brand-primary: #0284c7;
    --brand-primary-hover: #0369a1;
    --brand-primary-light: #e0f2fe;
    --brand-teal: #0d9488;
    --brand-teal-light: #ccfbf1;
    --brand-emerald: #10b981;
    --brand-emerald-light: #d1fae5;
    --brand-amber: #f59e0b;
    --brand-amber-light: #fef3c7;
    --brand-danger: #ef4444;
    --brand-danger-light: #fee2e2;
    --text-dark: #0f172a;
    --text-sub: #475569;
    --text-muted: #64748b;
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --border-light: #e2e8f0;
    --border-subtle: #f1f5f9;
    --shadow-soft: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
    --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-elevated: 0 20px 35px -8px rgba(2, 132, 199, 0.12), 0 10px 15px -6px rgba(2, 132, 199, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;
    --header-height: 72px;
}

/* Global Reset & Typography */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body.home-page-body {
    background-color: var(--bg-page);
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 72px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 1024px) {
    body.home-page-body {
        padding-bottom: 0;
    }
}

/* Base Container */
.home-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .home-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. Header Component (Sticky, Modern, Clean)
   ========================================================================== */
.home-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s ease;
}

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

@media (min-width: 768px) {
    .home-header-container {
        padding: 0 32px;
    }
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.brand-name span {
    color: var(--brand-primary);
    font-weight: 600;
}

/* Desktop Nav Links */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 28px;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--text-sub);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 6px 0;
    position: relative;
}

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

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

.btn-text {
    display: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 8px 14px;
    transition: color 0.15s ease;
}

.btn-text:hover {
    color: var(--brand-primary);
}

.btn-outline {
    display: none;
    border: 1.5px solid var(--border-light);
    background: #ffffff;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    transition: all 0.15s ease;
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.btn-header-cta {
    display: none;
    padding: 9px 20px;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .btn-text, .btn-outline {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .btn-header-cta {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .home-header {
        height: 60px;
    }
    .home-header-container {
        padding: 0 14px;
    }
    .brand-logo {
        gap: 8px;
    }
    .logo-icon-wrap {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    .logo-icon-wrap svg {
        width: 18px;
        height: 18px;
    }
    .brand-name {
        font-size: 1.1rem;
    }
    .header-actions .nav-link {
        display: none !important;
    }
}

/* Notification Bell Button */
.notification-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    background: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.15s ease;
}

.notification-btn:hover {
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}

.badge-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--brand-danger);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

/* Hamburger Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 4px;
    transition: all 0.2s ease;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ==========================================================================
   Mobile Navigation Drawer (Slide-out)
   ========================================================================== */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 340px;
    background: #ffffff;
    z-index: 110;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
    background: var(--border-subtle);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    color: var(--text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--brand-primary-light);
}

.drawer-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    background: var(--brand-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.drawer-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.drawer-user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.drawer-nav {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-link {
    display: block;
    padding: 10px 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
}

.drawer-link:hover {
    background: var(--border-subtle);
    color: var(--brand-primary);
}

.drawer-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 8px 0;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 36px;
    padding-bottom: 48px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 54px;
        padding-bottom: 64px;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 68px;
        padding-bottom: 84px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 60px;
    }
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--brand-teal-light);
    color: var(--brand-teal);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-teal);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
    animation: pulse-teal 2s infinite;
}

@keyframes pulse-teal {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 18px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.1rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.6rem;
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-sub);
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

@media (min-width: 480px) {
    .hero-cta-group {
        flex-direction: row;
        align-items: center;
    }
}

.btn-hero-primary {
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: center;
}

.btn-hero-secondary {
    padding: 13px 26px;
    font-size: 1.05rem;
    font-weight: 600;
    justify-content: center;
}

.hero-trust-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.trust-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-sub);
}

.trust-check {
    color: var(--brand-emerald);
    font-weight: 800;
}

/* Hero Visual Composition & Floating Elements */
.hero-visual-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-backdrop-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(13, 148, 136, 0.08) 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.hero-illustration-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: var(--shadow-elevated);
    border: 1px solid rgba(2, 132, 199, 0.12);
    width: 100%;
    max-width: 420px;
}

.hero-doctor-display {
    text-align: center;
}

.display-avatar-halo {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px auto;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-teal-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(2, 132, 199, 0.15);
}

.display-avatar-icon {
    font-size: 2.8rem;
}

.display-doc-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.display-doc-spec {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.display-doc-rating {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-amber);
    margin-bottom: 18px;
}

.display-doc-rating span {
    color: var(--text-muted);
    font-weight: 500;
}

.display-doc-btn {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    z-index: 3;
    animation: float-badge 4s ease-in-out infinite alternate;
}

@keyframes float-badge {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.badge-top-left {
    top: -12px;
    left: -15px;
}

.badge-top-right {
    top: 20px;
    right: -25px;
    animation-delay: 1.5s;
}

.badge-bottom-left {
    bottom: 25px;
    left: -30px;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    animation-delay: 0.8s;
}

.badge-bottom-right {
    bottom: -15px;
    right: -15px;
    animation-delay: 2.2s;
}

.mini-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mini-text {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .badge-top-right, .badge-bottom-left {
        display: none !important;
    }
    .badge-top-left {
        left: 0;
    }
    .badge-bottom-right {
        right: 0;
    }
}

@media (max-width: 480px) {
    .badge-bottom-left, .badge-top-right {
        display: none !important;
    }
    .badge-top-left {
        left: 4px;
        top: -10px;
    }
    .badge-bottom-right {
        right: 4px;
        bottom: -10px;
    }
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
}

.status-online {
    background: var(--brand-emerald-light);
    color: var(--brand-emerald);
}

.status-busy {
    background: var(--brand-amber-light);
    color: var(--brand-amber);
}

.status-offline {
    background: var(--border-subtle);
    color: var(--text-muted);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.status-ping {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: ping-dot 1.8s infinite;
}

@keyframes ping-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   3. Quick Action Section
   ========================================================================== */
.quick-actions-section {
    padding: 10px 0 40px 0;
}

.quick-actions-header {
    text-align: center;
    margin-bottom: 24px;
}

.quick-actions-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.quick-actions-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.quick-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--brand-primary);
}

.quick-card.highlight-card {
    border-color: var(--brand-primary);
    background: linear-gradient(to bottom right, #ffffff, var(--brand-primary-light));
}

.quick-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-icon-blue { background: var(--brand-primary-light); color: var(--brand-primary); }
.quick-icon-teal { background: var(--brand-teal-light); color: var(--brand-teal); }
.quick-icon-amber { background: var(--brand-amber-light); color: var(--brand-amber); }

.quick-body {
    flex: 1;
}

.quick-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quick-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.4;
}

.quick-arrow {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-primary);
    transition: transform 0.15s ease;
}

.quick-card:hover .quick-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Sections Common Structure
   ========================================================================== */
.section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 64px 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 84px 0;
    }
}

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

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 48px;
    }
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.section-tag-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--brand-emerald-light);
    color: var(--brand-emerald);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.3rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-sub);
}

.section-footer-cta {
    text-align: center;
    margin-top: 36px;
}

/* ==========================================================================
   4. Find a Doctor by Specialty
   ========================================================================== */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 768px) {
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (min-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

.specialty-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.specialty-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-card);
}

.specialty-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.specialty-emoji {
    font-size: 1.7rem;
}

.specialty-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.specialty-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.specialty-action-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
}

/* ==========================================================================
   5. Doctors Available Now (Scalable Showcase & Carousel System)
   ========================================================================== */
.available-doctors-section {
    background: #ffffff;
}

.doctors-showcase-badge {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-sub);
}

.doctors-showcase-badge .badge-dot {
    color: var(--text-muted);
}

.doctors-showcase-badge .badge-link {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.doctors-showcase-badge .badge-link:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

/* Specialty Filter Bar */
.doctor-specialty-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 16px;
    margin-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.doctor-specialty-filter-bar::-webkit-scrollbar {
    display: none;
}

.spec-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.spec-filter-pill:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: #f0f9ff;
    transform: translateY(-1px);
}

.spec-filter-pill.active {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.spec-filter-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.spec-filter-pill .pill-count {
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: var(--border-subtle);
    color: var(--text-sub);
}

.spec-filter-more {
    background: #f8fafc;
    border-style: dashed;
    color: var(--brand-primary);
}

/* Slider Controls Header */
.doctors-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.slider-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.slider-nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-slider-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.btn-slider-nav:hover:not(:disabled) {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    transform: scale(1.05);
}

.btn-slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

.slider-counter {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-sub);
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Slider Scroll Container */
.doctors-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.doctors-slider-track {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 20px;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.doctors-slider-track::-webkit-scrollbar {
    display: none;
}

.doc-card-slider-item {
    flex: 0 0 310px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .doc-card-slider-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (min-width: 1024px) {
    .doc-card-slider-item {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

.doc-card-slider-item .doctor-card {
    height: 100%;
    margin-bottom: 0;
}

/* Discovery Card at the end of the slider */
.doc-card-slider-item.discovery-card-item {
    scroll-snap-align: end;
}

.doctor-discovery-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border: 2px dashed #0d9488;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 280px;
    position: relative;
}

.discovery-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #0d9488;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.discovery-icon-box {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.discovery-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.discovery-text {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0 0 18px;
    line-height: 1.45;
}

/* Specialty No-Match State */
.specialty-no-match {
    background: #ffffff;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    margin: 16px 0;
}

.specialty-no-match .empty-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.specialty-no-match h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.specialty-no-match p {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 16px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

.doctor-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
    position: relative;
}

.doctor-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.doctor-card.card-online {
    border-top: 3px solid var(--brand-emerald);
}

.doctor-card.card-busy {
    border-top: 3px solid var(--brand-amber);
}

.doctor-card.card-offline {
    border-top: 3px solid var(--border-light);
}

.doctor-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.doctor-specialty-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.doctor-card-body {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.doctor-avatar-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.doctor-avatar-img, .doctor-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-pill);
    object-fit: cover;
}

.doctor-avatar-initials {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal) 100%);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-online-tick {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
}

.tick-online { background: var(--brand-emerald); }
.tick-busy { background: var(--brand-amber); }
.tick-offline { background: var(--border-light); }

.doctor-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.doctor-qualifications {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.doctor-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-sub);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-rating {
    font-weight: 700;
    color: var(--brand-amber);
}

.doctor-card-footer {
    margin-top: auto;
}

.btn-doctor-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
}

.btn-disabled {
    background: var(--border-subtle);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    cursor: not-allowed;
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.busy-subtext {
    display: block;
    text-align: center;
    font-size: 0.76rem;
    color: var(--brand-amber);
    font-weight: 600;
    margin-top: 6px;
}

/* Empty State */
.empty-state-card {
    text-align: center;
    padding: 48px 24px;
    background: #ffffff;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   6. How It Works
   ========================================================================== */
.how-it-works-section {
    background: var(--bg-page);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.step-number-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* ==========================================================================
   7. Platform Features Section
   ========================================================================== */
.features-section {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

.feature-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.icon-teal { background: var(--brand-teal-light); }
.icon-blue { background: var(--brand-primary-light); }
.icon-purple { background: #f3e8ff; }
.icon-green { background: var(--brand-emerald-light); }
.icon-amber { background: var(--brand-amber-light); }
.icon-red { background: var(--brand-danger-light); }

.feature-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* ==========================================================================
   8. Secure Chat Preview Section
   ========================================================================== */
.chat-preview-section {
    background: var(--bg-page);
}

.chat-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .chat-preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 24px;
}

.preview-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preview-bullet-list li {
    font-size: 0.95rem;
    color: var(--text-sub);
    padding-left: 20px;
    position: relative;
}

.preview-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 700;
}

.preview-bullet-list strong {
    color: var(--text-dark);
}

/* Chat Mockup Frame */
.chat-mockup-frame {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.chat-mockup-header {
    background: #ffffff;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-mockup-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    background: var(--brand-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.mockup-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.mockup-status {
    font-size: 0.75rem;
    color: var(--brand-emerald);
    font-weight: 600;
}

.chat-mockup-actions {
    display: flex;
    gap: 8px;
}

.mockup-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: default;
}

.chat-mockup-messages {
    background: #f1f5f9;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
}

.mockup-msg {
    display: flex;
    flex-direction: column;
}

.msg-doctor {
    align-items: flex-start;
}

.msg-patient {
    align-items: flex-end;
}

.msg-bubble {
    max-width: 80%;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.4;
    border-radius: 14px;
    position: relative;
}

.msg-doctor .msg-bubble {
    background: #ffffff;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.msg-patient .msg-bubble {
    background: var(--brand-primary);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.msg-time {
    display: block;
    font-size: 0.68rem;
    text-align: right;
    margin-top: 4px;
    opacity: 0.75;
}

.file-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-light);
}

.file-icon {
    font-size: 1.6rem;
}

.file-meta strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dark);
}

.file-meta span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.voice-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.voice-play-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.voice-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.voice-waveform span {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--brand-primary);
    border-radius: 2px;
}

.voice-waveform span:nth-child(odd) { height: 20px; }
.voice-waveform span:nth-child(3n) { height: 10px; }

.voice-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.chat-mockup-input-bar {
    background: #ffffff;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: default;
}

.mockup-input-field {
    flex: 1;
    background: var(--border-subtle);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mockup-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   9. Medical Records Section
   ========================================================================== */
.medical-records-section {
    background: #ffffff;
}

.records-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .records-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .records-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.record-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
}

.record-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.record-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.record-text {
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.45;
}

/* ==========================================================================
   10. Audio & Video Consultation Section
   ========================================================================== */
.call-feature-section {
    background: var(--bg-page);
}

.call-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .call-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.call-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-emerald-light);
    color: var(--brand-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.benefit-item p {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin: 0;
}

/* Video Call Mockup Frame */
.call-mockup-frame {
    background: #0f172a;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    border: 4px solid #1e293b;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.video-preview-window {
    position: relative;
    height: 320px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
}

.video-doc-avatar {
    font-size: 4rem;
    margin-bottom: 8px;
}

.video-doc-tag {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.video-pip-window {
    position: absolute;
    bottom: 74px;
    right: 16px;
    width: 90px;
    height: 120px;
    background: #334155;
    border-radius: var(--radius-md);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
}

.call-overlay-header {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.call-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--brand-emerald);
    border: 1px solid var(--brand-emerald);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.call-security-tag {
    color: #ffffff;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.call-controls-bar {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.call-ctrl-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.btn-end-call {
    background: var(--brand-danger);
    font-weight: 800;
}

/* ==========================================================================
   11. Privacy & Security Section
   ========================================================================== */
.privacy-section {
    background: #ffffff;
}

.privacy-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .privacy-box {
        padding: 56px 44px;
    }
}

.privacy-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.privacy-shield-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.privacy-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.privacy-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
}

.privacy-badges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .privacy-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .privacy-badges-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

.privacy-badge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
}

.badge-icon-wrap {
    font-size: 2rem;
    margin-bottom: 14px;
}

.privacy-badge-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.privacy-badge-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   12. FAQ Section
   ========================================================================== */
.faq-section {
    background: var(--bg-page);
}

.faq-wrapper {
    max-width: 820px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    font-family: inherit;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--brand-primary);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s ease-in-out;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   13. Final CTA Section
   ========================================================================== */
.final-cta-section {
    padding: 40px 0 60px 0;
}

.final-cta-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal) 100%);
    border-radius: var(--radius-xl);
    padding: 48px 24px;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-elevated);
}

@media (min-width: 768px) {
    .final-cta-card {
        padding: 64px 40px;
    }
}

.final-cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .final-cta-title {
        font-size: 2.6rem;
    }
}

.final-cta-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px auto;
    opacity: 0.95;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

@media (min-width: 480px) {
    .final-cta-buttons {
        flex-direction: row;
        align-items: center;
    }
}

.btn-cta-large {
    padding: 15px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: center;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-pill);
    padding: 14px 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--brand-primary);
}

/* ==========================================================================
   14. Footer Component
   ========================================================================== */
.home-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding-top: 56px;
    padding-bottom: 32px;
}

.footer-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 32px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-logo strong {
    color: var(--brand-primary);
}

.footer-tagline {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-pill {
    background: var(--border-subtle);
    color: var(--text-sub);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: var(--brand-primary);
}

.footer-note {
    font-size: 0.8rem;
    color: var(--brand-danger);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.copyright-text a {
    color: var(--text-sub);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--brand-primary);
}

/* ==========================================================================
   15. Mobile Sticky Bottom Action Bar
   ========================================================================== */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 95;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 10px 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (min-width: 1024px) {
    .mobile-sticky-bar {
        display: none;
    }
}

.mobile-sticky-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 480px;
    margin: 0 auto;
}

.sticky-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: ping-dot 1.8s infinite;
    flex-shrink: 0;
}

.sticky-bar-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.sticky-bar-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.btn-sticky-cta {
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================================================
   Live Platform Statistics Section (Total Registered Patients & Finished Cases)
   ========================================================================== */
.live-stats-section {
    padding: 24px 0 36px;
    background: transparent;
}

.live-stats-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 50%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 10px 30px -8px rgba(13, 148, 136, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.live-stats-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.live-stats-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}

.live-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.live-badge-pulse .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}

.live-badge-pulse .pulse-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background-color: rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    animation: liveDotPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes liveDotPing {
    0% { transform: scale(1); opacity: 0.8; }
    75%, 100% { transform: scale(2.4); opacity: 0; }
}

.live-stats-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.live-stats-subtitle {
    font-size: 1rem;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.5;
}

.live-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

.live-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.live-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.stat-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.glow-teal {
    background: linear-gradient(90deg, #0284c7, #0d9488);
}

.glow-emerald {
    background: linear-gradient(90deg, #0d9488, #10b981);
}

.stat-card-inner {
    padding: 28px 24px 22px;
}

.stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stat-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid #e2e8f0;
}

.stat-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-teal { background: #0284c7; }
.dot-emerald { background: #10b981; }

.stat-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.live-stat-card:hover .stat-card-icon-wrap {
    transform: scale(1.08) rotate(3deg);
}

.icon-wrap-teal {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.icon-wrap-emerald {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.stat-counter-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.stat-counter-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    transition: color 0.4s ease;
}

.stat-counter-number.count-updated {
    animation: counterFlash 0.8s ease;
}

@keyframes counterFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); color: var(--brand-primary); }
    100% { transform: scale(1); }
}

.stat-counter-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-teal);
    line-height: 1;
}

.stat-card-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.stat-card-description {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0 0 20px;
    min-height: 42px;
}

.stat-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.stat-footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f766e;
    background: #f0fdfa;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid #ccfbf1;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .live-stats-banner {
        padding: 24px 16px;
        border-radius: var(--radius-lg);
    }
    .live-stats-title {
        font-size: 1.5rem;
    }
    .stat-counter-number {
        font-size: 2.35rem;
    }
    .stat-counter-plus {
        font-size: 1.6rem;
    }
    .stat-card-label {
        font-size: 1.1rem;
    }
    .stat-card-inner {
        padding: 20px 16px 16px;
    }
    .stat-card-description {
        min-height: unset;
    }
}

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