:root {
    --bg: #f8fbff;
    --card: rgba(255,255,255,.82);
    --text: #0f172a;
    --muted: #475569;
    --border: rgba(15, 23, 42, .08);
    --primary: #0f172a;
    --soft: #eff6ff;
    --accent: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, .08);
    --shadow-md: 0 14px 40px rgba(15, 23, 42, .06);
}

html[dir="rtl"] body {
    font-family: "Tajawal", "Inter", sans-serif;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    color: var(--text);
}

a { text-decoration: none; }

.site-bg-glow {
    position: fixed;
    inset: -20% 0 auto 0;
    height: 540px;
    background:
        radial-gradient(circle at 18% 20%, rgba(14, 165, 233, .16), transparent 30%),
        radial-gradient(circle at 78% 15%, rgba(16, 185, 129, .12), transparent 26%),
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, .10), transparent 34%);
    filter: blur(26px);
    pointer-events: none;
    z-index: 0;
}

.site-header {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.navbar, .hero-section, section { position: relative; z-index: 1; }
.section-space { padding: 88px 0; }

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: var(--shadow-md);
}

.brand-title { display: block; font-weight: 800; color: var(--text); }
.brand-subtitle { color: #64748b; font-size: .775rem; }

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(14, 165, 233, .16);
    color: #0369a1;
    box-shadow: var(--shadow-md);
    font-size: .95rem;
    font-weight: 600;
}

.hero-title {
    margin-top: 24px;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
}

.hero-subtitle,
.section-heading p,
.content-text,
.cta-text {
    color: var(--muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.hero-subtitle { max-width: 780px; margin-top: 22px; }

.arrow-icon {
    transition: transform .25s ease;
    margin-left: 10px;
}
html[dir="rtl"] .arrow-icon {
    margin-left: 0;
    margin-right: 10px;
    transform: rotate(180deg);
}
.btn:hover .arrow-icon { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arrow-icon { transform: rotate(180deg) translateX(3px); }

.trust-list { display: grid; gap: 14px; }
.trust-item,
.service-item,
.contact-item,
.dashboard-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.trust-item i,
.service-item i {
    color: var(--success);
    font-size: 1.15rem;
    margin-top: 2px;
}

.dashboard-card,
.glass-card,
.contact-card,
.risk-card,
.solution-card,
.process-card,
.segment-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: var(--shadow-lg);
}

.dashboard-card { overflow: hidden; }
.dashboard-head {
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 34px;
}
.dashboard-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7dd3fc;
    font-size: .95rem;
    font-weight: 600;
}
.stat-box {
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    padding: 18px;
    height: 100%;
}
.stat-box h3 {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.stat-box p {
    color: #cbd5e1;
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.dashboard-body { padding: 28px; background: rgba(255,255,255,.9); }
.dashboard-feature {
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: #fff;
}
.dashboard-feature + .dashboard-feature { margin-top: 14px; }
.dashboard-feature .left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dashboard-feature .icon-box,
.solution-card .icon-box,
.risk-card .icon-box,
.segment-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dashboard-feature .icon-box {
    background: #eef6ff;
    color: #0369a1;
}
.dashboard-feature .arrow { color: #94a3b8; }

.section-heading { max-width: 860px; }
.section-heading h2,
.cta-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 0;
}
.section-heading p { margin-top: 18px; }

.risk-card,
.solution-card,
.process-card,
.segment-card,
.glass-card,
.contact-card { padding: 28px; height: 100%; }
.risk-card .icon-box { background: #fff1f2; color: #be123c; }
.solution-card .icon-box { background: #111827; color: #fff; }
.segment-card .icon-box { background: rgba(125, 211, 252, .12); color: #7dd3fc; }
.risk-card p,
.solution-card p,
.process-card p,
.segment-card p { color: var(--muted); line-height: 1.85; margin-bottom: 0; }
.solution-card h3,
.process-card h3,
.segment-card h3,
.contact-card h3 { font-size: 1.25rem; font-weight: 700; margin: 16px 0 10px; }
.risk-card p { margin-top: 16px; }

.section-soft {
    background: rgba(248, 250, 252, .85);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-number {
    color: #0369a1;
    font-weight: 800;
    font-size: .95rem;
}

.section-dark {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
}
.section-dark .section-heading p,
.section-dark .segment-card p { color: #cbd5e1; }
.section-dark .segment-card {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
}

.service-list, .value-tags { display: grid; gap: 14px; }
.value-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.value-tag {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: #334155;
    font-weight: 600;
    font-size: .95rem;
}
.note-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    line-height: 1.8;
}

.cta-panel {
    border-radius: 34px;
    padding: 42px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
    box-shadow: 0 24px 60px rgba(14, 116, 144, .18);
}
.cta-text { color: #dbeafe; margin-top: 20px; max-width: 760px; }
.contact-card {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
}
.contact-items { display: grid; gap: 16px; }
.contact-item { color: #e2e8f0; font-size: 1rem; }
.contact-item i { width: 18px; color: #7dd3fc; margin-top: 2px; }

html[dir="rtl"] .navbar-brand,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .glass-card,
html[dir="rtl"] .contact-card,
html[dir="rtl"] .risk-card,
html[dir="rtl"] .solution-card,
html[dir="rtl"] .process-card,
html[dir="rtl"] .segment-card,
html[dir="rtl"] .note-box,
html[dir="rtl"] .cta-panel {
    text-align: right;
}

html[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
html[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }

@media (max-width: 991.98px) {
    .section-space { padding: 70px 0; }
    .dashboard-head, .dashboard-body, .risk-card, .solution-card, .process-card, .segment-card, .glass-card, .contact-card { padding: 24px; }
    .cta-panel { padding: 30px 24px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2.25rem; }
    .section-heading h2, .cta-title { font-size: 1.8rem; }
    .brand-subtitle { display: none !important; }
    .dashboard-head { padding: 24px; }
}
