    :root {
        --primary: #6c757d;
        --secondary: #adb5bd;
        --accent: #f97316;
        --accent-light: #fff7ed;
        --accent-hover: #ea6c0a;
        --bg: #f8f9fa;
        --white: #ffffff;
        --text-dark: #1a1d23;
        --text-body: #4a5568;
        --text-muted: #718096;
        --border: #e2e8f0;
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
        --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --radius-xl: 20px;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Cairo', sans-serif;
        background: var(--bg);
        color: var(--text-dark);
        line-height: 1.7;
        font-size: 15px;
        overflow-x: hidden;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        list-style: none;
    }

    img {
        max-width: 100%;
    }

    /* ─── UTILITIES ─── */
    .container {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .section {
        padding: 35px 0;
    }

    .section-sm {
        padding: 64px 0;
    }

    .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--accent-light);
        color: var(--accent);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 5px 14px;
        border-radius: 100px;
        border: 1px solid rgba(249, 115, 22, 0.2);
        text-transform: uppercase;
    }

    .section-label {
        text-align: center;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(26px, 3.5vw, 40px);
        font-weight: 800;
        line-height: 1.25;
        color: var(--text-dark);
        text-align: center;
        margin-bottom: 16px;
    }

    .section-sub {
        font-size: 16px;
        color: var(--text-muted);
        text-align: center;
        max-width: 560px;
        margin: 0 auto 56px;
        line-height: 1.8;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 28px;
        border-radius: var(--radius-md);
        font-family: 'Cairo', sans-serif;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        border: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .btn-primary {
        background: var(--accent);
        color: white;
    }

    .btn-primary:hover {
        background: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
    }

    .btn-secondary {
        background: white;
        color: var(--text-dark);
        border: 1.5px solid var(--border);
    }

    .btn-secondary:hover {
        background: var(--bg);
        border-color: var(--secondary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn-outline {
        background: transparent;
        color: var(--accent);
        border: 1.5px solid var(--accent);
    }

    .btn-outline:hover {
        background: var(--accent-light);
        transform: translateY(-2px);
    }

    .card {
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border);
        transition: all 0.25s ease;
    }

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    /* ─── NAVBAR ─── */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 0 24px;
    }

    .navbar-inner {
        /* max-width: 1180px; */
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 68px;
    }

    /* /////////////////////////////////////// */
    .gallery-box {
        max-width: 900px;
        margin: auto;
    }

    .gallery-main {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    }

    .gallery-main img {
        width: 100%;
        display: block;
    }

    .gallery-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
    }

    .gallery-btn.prev {
        right: 10px;
    }

    .gallery-btn.next {
        left: 10px;
    }

    .gallery-thumbs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-top: 10px;
    }

    .gallery-thumbs img {
        width: 80px;
        height: 60px;
        object-fit: cover;
        flex-shrink: 0;
        cursor: pointer;
        border-radius: 6px;
        opacity: 0.6;
        transition: 0.3s;
    }

    .gallery-thumbs img.active {
        opacity: 1;
        border: 2px solid var(--accent);
    }

    /* /////////////////////////////////////// */
    .hero-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 1.4;
        height: 100%;

        /* تكبير مساحة الصورة */
    }

    /* /////////////////////////////////////// */

    .real-dashboard {
        max-width: 700px;
        margin: auto;
    }

    .navbar-logo {
        font-size: 22px;
        font-weight: 900;
        color: var(--text-dark);
        letter-spacing: -0.5px;
    }

    .navbar-logo span {
        color: var(--accent);
    }

    .navbar-links {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .navbar-links a {
        padding: 7px 14px;
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 600;
        color: var(--text-body);
        transition: all 0.18s;
    }

    .navbar-links a:hover {
        background: var(--bg);
        color: var(--text-dark);
    }

    .navbar-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* ─── HERO ─── */
    .hero {
        background: var(--white);
        padding: 100px 0 80px;
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent) 0%, #fb923c 50%, var(--accent) 100%);
    }

    .hero-bg-pattern {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-image:
            radial-gradient(circle at 15% 85%, rgba(249, 115, 22, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 85% 15%, rgba(108, 117, 125, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }

    .hero-inner {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
    }

    .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 20px;
    }

    .hero-eyebrow::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        animation: pulse 2s infinite;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: 0.5;
            transform: scale(1.5);
        }
    }

    .hero-title {
        font-size: clamp(30px, 4vw, 50px);
        font-weight: 700;
        line-height: 1.2;
        color: var(--text-dark);
        margin-bottom: 8px;
    }

    .hero-title .highlight {
        color: var(--accent);
        position: relative;
    }

    .hero-subtitle {
        font-size: 17px;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 15px;
        color: var(--text-muted);
        line-height: 1.9;
        margin-bottom: 36px;
        max-width: 440px;
    }

    .hero-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero-stats {
        display: flex;
        gap: 24px;
        margin-top: 48px;
        padding-top: 32px;
        border-top: 1px solid var(--border);
    }

    .hero-stat-item {
        text-align: center;
    }

    .hero-stat-num {
        font-size: 26px;
        font-weight: 900;
        color: var(--text-dark);
        display: block;
    }

    .hero-stat-label {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 500;
    }

    /* Hero Dashboard Preview */
    .hero-dashboard {
        background: var(--bg);
        border-radius: var(--radius-xl);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
    }

    .dashboard-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

    .dot-red {
        background: #fc5c65;
    }

    .dot-yellow {
        background: #fed330;
    }

    .dot-green {
        background: #26de81;
    }

    .dashboard-title-bar {
        flex: 1;
        background: white;
        border-radius: 6px;
        height: 28px;
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        padding: 0 12px;
        font-size: 11px;
        color: var(--text-muted);
    }

    .stat-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 16px;
    }

    .stat-card {
        background: white;
        border-radius: var(--radius-md);
        padding: 16px;
        border: 1px solid var(--border);
    }

    .stat-card-icon {
        width: 36px;
        height: 36px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .icon-blue {
        background: #eff6ff;
    }

    .icon-green {
        background: #f0fdf4;
    }

    .icon-orange {
        background: var(--accent-light);
    }

    .stat-card-num {
        font-size: 22px;
        font-weight: 800;
        color: var(--text-dark);
        display: block;
        margin-bottom: 2px;
    }

    .stat-card-label {
        font-size: 11px;
        color: var(--text-muted);
        font-weight: 500;
    }

    .stat-card-change {
        font-size: 11px;
        font-weight: 700;
        margin-top: 6px;
        display: block;
    }

    .change-up {
        color: #16a34a;
    }

    .change-down {
        color: #dc2626;
    }

    .dash-table {
        background: white;
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
        overflow: hidden;
    }

    .dash-table-header {
        display: grid;
        grid-template-columns: 1fr 80px 80px;
        padding: 10px 14px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
    }

    .dash-table-row {
        display: grid;
        grid-template-columns: 1fr 80px 80px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--border);
        font-size: 12px;
        align-items: center;
    }

    .dash-table-row:last-child {
        border-bottom: none;
    }

    .patient-name {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .avatar {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        color: white;
    }

    .av-1 {
        background: #6366f1;
    }

    .av-2 {
        background: #0ea5e9;
    }

    .av-3 {
        background: #10b981;
    }

    .av-4 {
        background: #f59e0b;
    }

    .status-badge {
        display: inline-flex;
        padding: 2px 8px;
        border-radius: 100px;
        font-size: 10px;
        font-weight: 700;
    }

    .status-confirmed {
        background: #dcfce7;
        color: #15803d;
    }

    .status-waiting {
        background: #fef9c3;
        color: #a16207;
    }

    .status-completed {
        background: #e0f2fe;
        color: #0369a1;
    }

    /* ─── OVERVIEW ─── */
    .overview {
        background: var(--bg);
    }

    .overview-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: center;
    }

    .overview-features {
        display: flex;
        flex-direction: column;
    }

    .overview-feature {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
        background: white;
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
        transition: all 0.2s;
    }

    .overview-feature:hover {
        border-color: rgba(249, 115, 22, 0.3);
        box-shadow: var(--shadow-md);
    }

    /* ICON */
    .feature-icon-wrap {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        border-radius: var(--radius-sm);
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-icon-wrap i {
        font-size: 18px;
        color: #f97316;
    }

    /* FEATURE TEXT */
    .feature-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 4px;
    }

    .feature-desc {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.6;
    }

    /* FEATURE ITEM */
    .overview-feature {
        display: flex;
        gap: 12px;
        margin-bottom: 18px;
        transition: 0.3s ease;
    }

    .overview-feature:hover {
        transform: translateY(-5px);
    }

    /* VISUAL CARD */
    .overview-visual {
        background: #fff;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
        overflow: hidden;
        transition: 0.3s ease;
    }

    .overview-visual:hover {
        transform: translateY(-5px);
    }

    /* TABLE HEADER */
    .ov-table-head {
        background: var(--bg);
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
        font-weight: 700;
        color: var(--text-dark);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ov-table-head i {
        margin-left: 6px;
        color: #0d6efd;
    }

    /* TABLE BODY */
    .ov-table-body {
        padding: 10px 0;
    }

    /* ROW */
    .ov-row {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        align-items: center;
        padding: 10px 20px;
        font-size: 13px;
        border-bottom: 1px solid var(--border);
        transition: 0.2s;
    }

    .ov-row:last-child {
        border-bottom: none;
    }

    .ov-row:hover {
        background: #f9fafb;
    }

    /* AVATAR */
    .avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #f97316;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 600;
    }

    /* STATUS */
    .status-badge {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 20px;
        font-weight: 600;
        text-align: center;
    }

    .status-confirmed {
        background: #e6f4ea;
        color: #1e7e34;
    }

    .status-waiting {
        background: #fff3cd;
        color: #856404;
    }

    .status-completed {
        background: #e7f1ff;
        color: #0d6efd;
    }

    .ov-table-body {
        padding: 8px 0;
    }

    .ov-row {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        padding: 12px 20px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
        align-items: center;
        transition: background 0.15s;
    }

    .ov-row:hover {
        background: var(--bg);
    }

    .ov-row:last-child {
        border-bottom: none;
    }

    .ov-label {
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
        padding: 12px 20px;
    }

    /* /////////////////////////////////////////////// */
    /* ─── FEATURES GRID ─── */
    .features {
        background: var(--white);
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .feat-card {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 20px;
        transition: 0.3s ease;
    }

    .feat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .feat-card-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .feat-card-icon i {
        font-size: 18px;
        color: #f97316;
    }

    .feat-card-title {
        font-weight: 700;
        margin-bottom: 6px;
        font-size: 15px;
    }

    .feat-card-desc {
        font-size: 13px;
        color: #666;
        line-height: 1.6;
    }

    .feat-wide {
        grid-column: span 2;
    }

    /* ///////////////////////////////////////////////////////// */
    /* ─── JOURNEY ─── */
    /* SECTION */
    .journey {
        background: var(--bg);
    }

    /* STEPS CONTAINER */
    .journey-steps {
        display: flex;
        align-items: center;
        gap: 0;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
        height: 200px;
    }

    .journey-steps::-webkit-scrollbar {
        display: none;
    }

    /* STEP */
    .journey-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 130px;
        flex: 1;
        position: relative;
        text-align: center;
    }

    /* LINES */
    .journey-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: var(--border);
        z-index: 0;
    }

    .journey-step:not(:first-child)::before {
        content: '';
        position: absolute;
        top: 30px;
        right: 50%;
        width: 100%;
        height: 2px;
        background: var(--border);
        z-index: 0;
    }

    /* ACTIVE / DONE LINE */
    .journey-step.active::after,
    .journey-step.active::before,
    .journey-step.done::after,
    .journey-step.done::before {
        background: var(--accent);
    }

    /* CIRCLE */
    .step-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        font-size: 18px;
        color: var(--accent);
        z-index: 1;
        transition: 0.3s ease;
    }

    /* NUMBER */
    .step-num {
        position: absolute;
        bottom: -5px;
        right: -5px;
        background: var(--accent);
        color: #fff;
        font-size: 10px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* LABEL */
    .step-label {
        font-weight: 700;
        margin-top: 10px;
        font-size: 14px;
        color: var(--text-dark);
    }

    /* SUBLABEL */
    .step-sublabel {
        font-size: 12px;
        color: var(--text-muted);
    }

    /* STATES */
    .journey-step.done .step-circle {
        background: #e6f4ea;
        color: #1e7e34;
    }

    .journey-step.active .step-circle {
        background: #e7f1ff;
        color: var(--accent);
        transform: scale(1.1);
    }

    /* HOVER EFFECT */
    .journey-step:hover .step-circle {
        transform: scale(1.1);
    }

    /* ///////////////////////////////////////////////////////// */

    .step-circle {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: white;
        border: 2px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin-bottom: 12px;
        position: relative;
        z-index: 1;
        transition: all 0.2s;
    }

    .journey-step.done .step-circle {
        background: var(--accent-light);
        border-color: var(--accent);
    }

    .journey-step.active .step-circle {
        background: #f9731600;
        border-color: #f97316fc;
        box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
    }

    .step-num {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--accent);
        color: white;
        font-size: 10px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid white;
    }

    .step-label {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-dark);
    }

    .step-sublabel {
        font-size: 11px;
        color: var(--text-muted);
        margin-top: 2px;
        text-align: center;
    }

    /* ////////////////////////////////////////////////////// */
    /* ─── EMR / AI ─── */
    .emr-ai {
        background: var(--white);
    }

    .emr-ai-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* PANEL */
    .emr-panel {
        background: #fff;
        border-radius: var(--radius-xl);
        padding: 25px;
        border: 1px solid var(--border);
        transition: 0.3s ease;
    }

    .emr-panel:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    }

    /* HEADER */
    .panel-head {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-bottom: 20px;
    }

    .panel-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .panel-icon i {
        font-size: 20px;
    }

    .panel-icon-emr {
        background: #e7f1ff;
        color: #0d6efd;
    }

    .panel-icon-ai {
        background: #f3e8ff;
        color: #7c3aed;
    }

    /* TITLES */
    .panel-title {
        font-weight: 700;
        font-size: 16px;
    }

    .panel-sub {
        font-size: 13px;
        color: #666;
    }

    /* LIST */
    .emr-item,
    .ai-item {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }

    .emr-item-check {
        color: #16a34a;
        margin-top: 2px;
    }

    .ai-item-icon {
        color: #7c3aed;
        margin-top: 2px;
    }

    /* TEXT */
    .emr-item-title,
    .ai-item-title {
        font-weight: 600;
        font-size: 14px;
    }

    .emr-item-desc,
    .ai-item-desc {
        font-size: 13px;
        color: #666;
    }

    /* ─── DASHBOARD PREVIEW ─── */
    .dash-preview {
        background: var(--bg);
    }

    .analytics-ui {
        background: white;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
        overflow: hidden;
    }

    .analytics-header {
        padding: 20px 28px;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .analytics-title {
        font-size: 16px;
        font-weight: 800;
        color: var(--text-dark);
    }

    .analytics-date {
        font-size: 12px;
        color: var(--text-muted);
    }

    .analytics-body {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 0;
    }

    .analytics-main {
        padding: 24px;
        border-left: 1px solid var(--border);
    }

    .kpi-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-bottom: 28px;
    }

    .kpi-card {
        background: var(--bg);
        border-radius: var(--radius-md);
        padding: 16px;
        border: 1px solid var(--border);
    }

    .kpi-value {
        font-size: 22px;
        font-weight: 900;
        color: var(--text-dark);
    }

    .kpi-label {
        font-size: 11px;
        color: var(--text-muted);
        margin-top: 2px;
    }

    .kpi-trend {
        font-size: 11px;
        font-weight: 700;
        margin-top: 6px;
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .trend-up {
        color: #16a34a;
    }

    .trend-down {
        color: #dc2626;
    }

    /* Simple Bar Chart */
    .chart-wrap {
        background: var(--bg);
        border-radius: var(--radius-md);
        padding: 20px;
        border: 1px solid var(--border);
    }

    .chart-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 16px;
    }

    .bar-chart {
        display: flex;
        align-items: flex-end;
        gap: 8px;
        height: 100px;
    }

    .bar-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
    }

    .bar {
        width: 100%;
        border-radius: 4px 4px 0 0;
        background: var(--accent);
        transition: all 0.3s;
        cursor: pointer;
    }

    .bar:hover {
        background: var(--accent-hover);
        transform: scaleY(1.05);
        transform-origin: bottom;
    }

    .bar-secondary {
        background: #e2e8f0;
    }

    .bar-secondary:hover {
        background: var(--secondary);
    }

    .bar-label {
        font-size: 10px;
        color: var(--text-muted);
        font-weight: 600;
    }

    .analytics-sidebar {
        padding: 24px;
    }

    .sidebar-title {
        font-size: 13px;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 16px;
    }

    .doctor-schedule {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .doctor-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: var(--radius-sm);
        background: var(--bg);
        border: 1px solid var(--border);
    }

    .doctor-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        color: white;
        flex-shrink: 0;
    }

    .dr-purple {
        background: #8b5cf6;
    }

    .dr-blue {
        background: #0ea5e9;
    }

    .dr-teal {
        background: #14b8a6;
    }

    .dr-rose {
        background: #f43f5e;
    }

    .doctor-name {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-dark);
    }

    .doctor-time {
        font-size: 11px;
        color: var(--text-muted);
    }

    .doctor-count {
        margin-right: auto;
        font-size: 11px;
        font-weight: 700;
        background: var(--accent-light);
        color: var(--accent);
        padding: 2px 8px;
        border-radius: 100px;
    }

    /* ─── PRICING ─── */
    .pricing {
        background: var(--white);
    }

    .pricing-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: center;
        margin-bottom: 48px;
    }

    .toggle-label {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-muted);
    }

    .toggle-label.active {
        color: var(--text-dark);
    }

    .toggle-switch {
        width: 52px;
        height: 28px;
        background: var(--accent);
        border-radius: 100px;
        position: relative;
        cursor: pointer;
        transition: all 0.2s;
    }

    .toggle-thumb {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: white;
        position: absolute;
        top: 3px;
        right: 3px;
        transition: all 0.2s;
        box-shadow: var(--shadow-sm);
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        align-items: start;
    }

    .price-card {
        background: white;
        border-radius: var(--radius-xl);
        padding: 36px 28px;
        border: 1.5px solid var(--border);
        position: relative;
        transition: all 0.25s;
    }

    .price-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }

    .price-card.featured {
        border-color: var(--accent);
        box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12);
    }

    .featured-badge {
        position: absolute;
        top: -14px;
        right: 50%;
        transform: translateX(50%);
        background: var(--accent);
        color: white;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 16px;
        border-radius: 100px;
        white-space: nowrap;
    }

    .price-plan {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 8px;
    }

    .price-value {
        font-size: 40px;
        font-weight: 900;
        color: var(--text-dark);
        display: flex;
        align-items: baseline;
        gap: 4px;
    }

    .price-currency {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-muted);
    }

    .price-period {
        font-size: 14px;
        color: var(--text-muted);
        font-weight: 500;
    }

    .price-desc {
        font-size: 13px;
        color: var(--text-muted);
        margin: 12px 0 24px;
        line-height: 1.7;
    }

    .price-divider {
        height: 1px;
        background: var(--border);
        margin: 20px 0;
    }

    .price-features {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 28px;
    }

    .price-feature {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13.5px;
        color: var(--text-body);
    }

    .price-feature-icon {
        font-size: 14px;
        flex-shrink: 0;
        color: #16a34a;
    }

    .price-feature-x {
        color: var(--secondary);
    }

    /* ─── PARTNERS ─── */
    .partners {
        background: var(--bg);
        padding: 56px 0;
    }

    .partners-label {
        text-align: center;
        font-size: 13px;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 36px;
    }

    .partners-logos {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 48px;
        flex-wrap: wrap;
    }

    .partner-logo {
        font-size: 18px;
        font-weight: 900;
        color: var(--secondary);
        letter-spacing: -0.5px;
        opacity: 0.7;
        transition: all 0.2s;
    }

    .partner-logo:hover {
        opacity: 1;
        color: var(--primary);
    }

    /* ─── TESTIMONIALS ─── */
    .testimonials {
        background: var(--white);
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .testimonial-card {
        background: var(--bg);
        border-radius: var(--radius-xl);
        padding: 28px;
        border: 1px solid var(--border);
        transition: all 0.25s;
    }

    .testimonial-card:hover {
        background: white;
        border-color: rgba(249, 115, 22, 0.2);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

    .stars {
        color: #f59e0b;
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .testimonial-quote {
        font-size: 14px;
        color: var(--text-body);
        line-height: 1.8;
        margin-bottom: 20px;
        font-style: italic;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .author-avatar {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 800;
        color: white;
    }

    .author-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-dark);
    }

    .author-role {
        font-size: 12px;
        color: var(--text-muted);
    }

    /* ─── FINAL CTA ─── */
    .final-cta {
        background: var(--text-dark);
        padding: 96px 0;
        text-align: center;
    }

    .final-cta .section-title {
        color: white;
    }

    .final-cta .section-sub {
        color: rgba(255, 255, 255, 0.6);
        max-width: 480px;
    }

    .cta-actions {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-bottom: 24px;
    }

    .cta-trial {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
    }

    .cta-trial span {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
    }

    .btn-white {
        background: white;
        color: var(--text-dark);
    }

    .btn-white:hover {
        background: var(--bg);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
    }

    .btn-ghost {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 1.5px solid rgba(255, 255, 255, 0.2);
    }

    .btn-ghost:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }

    /* ─── FOOTER ─── */
    .footer {
        background: #111318;
        color: var(--white);
        padding: 2.5rem 3rem;
        border-top: 1px solid #f97316;
        width: 100%;
    }

    .footer-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        flex-wrap: wrap;
    }

    /* اللوجو */
    .footer-logo {
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        color: var(--white);
    }

    .footer-logo span {
        color: var(--accent);
    }

    .footer-copy {
        font-size: 0.75rem;
        color: var(--white);
    }

    /* التواصل */
    .footer-contact {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer-contact a {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--white);
        text-decoration: none;
        font-size: 0.9rem;
        transition: 0.3s;
    }

    .footer-contact a i {
        color: var(--accent);
        transition: 0.3s;
    }

    .footer-contact a:hover {
        color: var(--white);
    }

    .footer-contact a:hover i {
        color: var(--accent-hover);
    }

    /* السوشيال */
    .footer-socials {
        display: flex;
        gap: 10px;
    }

    .social-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .social-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--white);
        transform: translateY(-3px);
    }

    /* موبايل */
    @media (max-width: 680px) {
        .footer-inner {
            flex-direction: column;
            align-items: stretch;
            gap: 1.5rem;
        }

        .footer-socials,
        .footer-contact,
        .footer-brand {
            width: 100%;
        }

        .footer-socials {
            justify-content: flex-start;
        }

        .footer-contact {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

    @media (max-width: 680px) {
        .footer-inner {
            text-align: center;
            align-items: center;
        }

        .footer-contact,
        .footer-socials {
            align-items: center;
            justify-content: center;
        }
    }

    /* ////////////////////////////////////////////// */


    @media (max-width: 680px) {
        .footer {
            padding: 2rem 1.5rem;
        }

        .footer-inner {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }

        .footer-contact {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.9rem;
        }
    }

    /* ////////////////////////////////////// */
    .whatsapp-float {
        position: fixed;
        bottom: 20px;
        left: 20px;
        background: #25D366;
        color: white;
        font-size: 22px;
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        z-index: 9999;
    }

    /* الدواير */
    .whatsapp-float::before,
    .whatsapp-float::after {
        content: "";
        position: absolute;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background: #25D366;
        z-index: -1;
        pointer-events: none;
        animation: pulse 2s infinite;
    }

    .whatsapp-float::after {
        animation-delay: 1s;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.6;
        }

        70% {
            transform: scale(1.8);
            opacity: 0;
        }

        100% {
            transform: scale(1.8);
            opacity: 0;
        }
    }

    /* //////////////////////////////////////////// */
    .social-icon {
        width: 34px;
        height: 34px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.07);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.55);
        transition: all 0.2s;
        cursor: pointer;
    }

    .social-icon:hover {
        background: var(--accent);
        color: white;
    }

    /* ─── SCROLL ANIMATIONS ─── */
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
        .features-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .kpi-row {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {

        .hero-inner,
        .overview-grid,
        .emr-ai-grid,
        .analytics-body {
            grid-template-columns: 1fr;
        }

        .pricing-grid,
        .testimonials-grid {
            grid-template-columns: 1fr;
        }

        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-grid {
            grid-template-columns: 1fr 1fr;
        }

        .navbar-links {
            display: none;
        }

        .stat-cards {
            grid-template-columns: 1fr;
        }

        .journey-steps {
            flex-direction: column;
            gap: 16px;
        }

        .journey-step::after,
        .journey-step::before {
            display: none;
        }

        .hero-stats {
            flex-wrap: wrap;
            gap: 16px;
        }

        .analytics-main {
            border-left: none;
            border-top: 1px solid var(--border);
        }
    }