/* ============================================================
   Unit Pilot — Styles
   Design: Light & clean, Stripe/Notion quality
   Specific to hospitality operations identity
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-light: #dbeafe;
    --brand-soft: rgba(37,99,235,.07);
    --ink: #0f172a;
    --ink-2: #1e293b;
    --ink-3: #475569;
    --ink-4: #94a3b8;
    --bg: #ffffff;
    --bg-2: #f8fafc;
    --bg-3: #f1f5f9;
    --line: #e2e8f0;
    --line-2: #cbd5e1;
    --green: #059669;
    --green-soft: rgba(5,150,105,.10);
    --amber: #d97706;
    --amber-soft: rgba(217,119,6,.10);
    --red: #dc2626;
    --red-soft: rgba(220,38,38,.09);
    --dark: #0c1220;
    --dark-2: #060d18;
    --dark-line: rgba(255,255,255,.07);
    --dark-line-s: rgba(255,255,255,.04);
    --r6: 4px;
    --r8: 8px;
    --r10: 10px;
    --r12: 12px;
    --r16: 16px;
    --r20: 20px;
    --s1: 0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
    --s2: 0 4px 16px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04);
    --s3: 0 12px 40px rgba(0,0,0,.09),0 2px 8px rgba(0,0,0,.04);
    --ease: .15s cubic-bezier(.4,0,.2,1);
    --font: 'Inter',sans-serif
}

/* ── BASE ────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

html[lang=ar] {
    direction: rtl
}

    html[lang=ar] body {
        font-family: 'Tajawal',sans-serif
    }

a {
    color: inherit;
    text-decoration: none
}

button, input, select, textarea {
    font-family: inherit
}

button {
    border: 0;
    background: none;
    cursor: pointer
}

.skip {
    position: absolute;
    left: -999px;
    top: auto
}

    .skip:focus {
        left: 16px;
        top: 12px;
        z-index: 999;
        background: #fff;
        color: #000;
        padding: 8px 12px;
        border-radius: var(--r8);
        box-shadow: var(--s2)
    }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    height: 58px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav-in {
    width: min(1180px, 92%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}



.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    direction: ltr;
}

    .logo img {
        height: 70px;
        width: auto;
        display: block;
    }



.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none
}

    .menu a {
        font-size: 13px;
        font-weight: 500;
        color: var(--ink-3);
        transition: color var(--ease);
        white-space: nowrap
    }

        .menu a:hover {
            color: var(--ink)
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.lang {
    display: flex;
    background: var(--bg-3);
    border-radius: 999px;
    padding: 3px;
    gap: 2px
}

    .lang button {
        font-size: 11px;
        font-weight: 700;
        padding: 5px 11px;
        border-radius: 999px;
        color: var(--ink-4);
        line-height: 1;
        transition: all var(--ease)
    }

        .lang button.on {
            background: #fff;
            color: var(--brand);
            box-shadow: var(--s1)
        }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--r8);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: background var(--ease),transform var(--ease),box-shadow var(--ease);
    white-space: nowrap;
    cursor: pointer
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    padding: 11px 22px
}

    .btn-primary:hover {
        background: var(--brand-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(37,99,235,.28)
    }

    .btn-primary:active {
        transform: none;
        box-shadow: none
    }

.btn-nav {
    padding: 8px 16px;
    font-size: 13px
}

.btn-dark {
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.1);
    padding: 11px 18px
}

    .btn-dark:hover {
        background: rgba(255,255,255,.1);
        color: #fff
    }


/* ── BACK TO TOP ───────────────────────────────── */

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(15,23,42,.88);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
    backdrop-filter: blur(10px);
    transition: all .2s ease;
}

    .back-top:hover {
        transform: translateY(-3px);
        background: #2563eb;
        border-color: #2563eb;
    }

html[lang="ar"] .back-top {
    right: auto;
    left: 22px;
}



/* ── HERO COMMAND CENTER ───────────────────────────────────── */

.hero-command {
    position: relative;
    overflow: hidden;
    background: #020817;
    padding: 95px 0 85px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom,rgba(0,0,0,.95),transparent);
}

.hero-orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .42;
    pointer-events: none;
}

.hero-orb-1 {
    top: -160px;
    right: 8%;
    background: rgba(37,99,235,.34);
}

.hero-orb-2 {
    bottom: -190px;
    left: 3%;
    background: rgba(14,165,233,.18);
}

.hero-command-in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(96,165,250,.16);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.hero-command h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px,5vw,64px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 900;
    color: #fff;
    max-width: 620px;
}

.hero-lead {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,.68);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-secondary {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    padding: 11px 22px;
}

    .btn-secondary:hover {
        background: rgba(255,255,255,.1);
    }

/* FLOATING SIGNALS */

.signal-stage {
    position: relative;
    min-height: 390px;
}

.signal-card {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 16px;
    background: rgba(15,23,42,.72);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #fff;
}

    .signal-card b {
        display: block;
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .signal-card small {
        display: block;
        font-size: 11px;
        color: rgba(255,255,255,.44);
        line-height: 1.45;
    }

.signal-main {
    top: 72px;
    right: 82px;
    width: 260px;
    padding: 22px;
    display: block;
}

    .signal-main .signal-label {
        display: block;
        font-size: 11px;
        color: rgba(255,255,255,.45);
        margin-bottom: 10px;
    }

    .signal-main strong {
        display: block;
        font-size: 44px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -.04em;
    }

.signal-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
    margin: 16px 0 10px;
}

    .signal-bar span {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg,#2563eb,#60a5fa);
    }

.signal-risk {
    top: 8px;
    left: 40px;
    width: 220px;
    padding: 15px;
}

.signal-ok {
    top: 220px;
    left: 20px;
    width: 240px;
    padding: 15px;
}

.signal-alert {
    right: 10px;
    bottom: 22px;
    width: 235px;
    padding: 15px;
}

.signal-blue {
    right: 230px;
    bottom: 0;
    width: 210px;
    padding: 15px;
}

.signal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(255,255,255,.04);
}

    .signal-dot.green {
        background: #10b981;
    }

    .signal-dot.amber {
        background: #f59e0b;
    }

    .signal-dot.red {
        background: #ef4444;
    }

    .signal-dot.blue {
        background: #3b82f6;
    }

/* RTL */

html[lang="ar"] .hero-copy {
    text-align: right;
}

html[lang="ar"] .hero-command-in {
    direction: rtl;
}

html[lang="ar"] .signal-stage {
    direction: ltr;
}

html[lang="ar"] .signal-card {
    direction: rtl;
    text-align: right;
}

/* MOBILE */

@media(max-width:980px) {

    .hero-command-in {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .signal-stage {
        min-height: 360px;
    }
}

@media(max-width:720px) {

    .hero-command {
        padding: 85px 0 65px;
    }

        .hero-command h1 {
            font-size: 38px;
        }

    .hero-lead {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .signal-stage {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .signal-card,
    .signal-main,
    .signal-risk,
    .signal-ok,
    .signal-alert,
    .signal-blue {
        position: relative;
        inset: auto;
        width: 100%;
    }
}

/* ── PROOF BAR ─────────────────────────────────────────────────── */

.proof {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.proof-in {
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    padding: 18px 24px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
    line-height: 1.5;
}

    .proof-item b {
        color: var(--ink);
        font-weight: 700;
    }

.proof-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(59,130,246,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

html[lang="ar"] .proof-item {
    direction: rtl;
    text-align: right;
}

html[lang="en"] .proof-item {
    direction: ltr;
    text-align: left;
}

@media(max-width:900px) {
    .proof-in {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:640px) {
    .proof-in {
        grid-template-columns: 1fr;
    }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
section {
    padding: 88px 2rem
}

.section-in {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section-soft {
    background: var(--bg-2)
}

.section-dark {
    background: var(--dark)
}

    .section-dark h2 {
        color: #f1f5f9
    }

    .section-dark .lead {
        color: rgba(255,255,255,.4);
        font-weight: 300
    }

    .section-dark .tagline {
        color: rgba(255,255,255,.3)
    }

.tagline {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
    opacity: .9
}

h2 {
    font-size: clamp(24px,3vw,40px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.028em;
    color: var(--ink);
    margin-bottom: 14px
}

html[lang=ar] h2 {
    font-size: clamp(21px,2.8vw,36px);
    line-height: 1.28;
    letter-spacing: 0
}

.lead {
    font-size: 16px;
    color: var(--ink-3);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 48px
}

html[lang=ar] .lead {
    line-height: 1.92
}



/* ── WORKFLOW ────────────────────────────────────────────────── */
.flow {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 0;
    position: relative
}

    .flow::before {
        content: '';
        position: absolute;
        top: 26px;
        left: calc(100%/12);
        right: calc(100%/12);
        height: 1px;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,.12) 15%,rgba(255,255,255,.12) 85%,transparent);
        z-index: 0
    }

.flow-card {
    text-align: center;
    padding: 0 8px;
    position: relative;
    z-index: 1
}

.flow-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 18px;
    font-weight: 800;
    color: #60a5fa;
    transition: all var(--ease)
}

.flow-card:hover .flow-icon {
    background: rgba(37,99,235,.2);
    border-color: rgba(59,130,246,.4);
    box-shadow: 0 0 0 4px rgba(37,99,235,.08)
}

.flow-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
    line-height: 1.3
}

.flow-sub {
    font-size: 10.5px;
    color: rgba(255,255,255,.28);
    line-height: 1.5
}


/* ── CAPABILITIES ────────────────────────────────────────────── */

.cards3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.card {
    padding: 28px;
    border-radius: var(--r16);
    background: var(--bg);
    border: 1px solid var(--line);
    transition: border-color var(--ease),box-shadow var(--ease),transform var(--ease);
    position: relative;
    overflow: hidden;
}

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--brand);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .22s cubic-bezier(.4,0,.2,1);
    }

html[lang="ar"] .card::before {
    transform-origin: right;
}

.card:hover {
    border-color: var(--line-2);
    box-shadow: var(--s2);
    transform: translateY(-2px);
}

    .card:hover::before {
        transform: scaleX(1);
    }

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r10);
    background: var(--brand-soft);
    border: 1px solid rgba(37,99,235,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--brand);
    font-weight: 800;
    font-size: 16px;
}

    .card-icon svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }

.card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
    line-height: 1.5;
}

.card p {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.95;
    margin: 0;
    max-width: none;
}

.card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 18px 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card li {
    list-style: none !important;
    position: relative;
    width: 100%;
    font-size: 12px;
    color: var(--ink-3);
    line-height: 1.9;
}

    .card li::marker {
        content: '' !important;
        display: none !important;
    }

    .card li::before {
        content: '';
        position: absolute;
        top: 12px;
        width: 5px;
        height: 1.5px;
        border-radius: 999px;
        background: var(--brand);
        opacity: .8;
    }



html[lang="en"] .card {
    direction: ltr;
    text-align: left;
}

    html[lang="en"] .card li {
        padding-left: 16px;
        padding-right: 0;
        text-align: left;
    }

        html[lang="en"] .card li::before {
            left: 0;
            right: auto;
        }

html[lang="en"] .card-icon {
    margin-left: 0;
    margin-right: 0;
}

html[lang="ar"] .card {
    direction: rtl;
    text-align: right;
}

    html[lang="ar"] .card h3,
    html[lang="ar"] .card p,
    html[lang="ar"] .card ul,
    html[lang="ar"] .card li {
        text-align: right;
    }

    html[lang="ar"] .card p {
        line-height: 2.15;
    }

    html[lang="ar"] .card li {
        padding-right: 16px;
        padding-left: 0;
    }

        html[lang="ar"] .card li::before {
            right: 0;
            left: auto;
        }

html[lang="ar"] .card-icon {
    margin-right: auto;
    margin-left: 0;
}



@media(max-width:1100px) {
    .cards3 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:700px) {
    .cards3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px;
    }
}







/* ── OPS VISIBILITY ──────────────────────────────────────────── */
.ops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.ops-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--dark-line);
    border-radius: var(--r16);
    overflow: hidden
}

.ops-head {
    padding: 12px 16px;
    border-bottom: 1px solid var(--dark-line-s);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.ops-title {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: 1.2px
}

.feed {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    display: flex;
    gap: 11px;
    transition: background var(--ease)
}

    .feed:last-child {
        border-bottom: none
    }

    .feed:hover {
        background: rgba(255,255,255,.03)
    }

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: var(--brand);
    flex-shrink: 0;
    margin-top: 1px
}

.feed p {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    line-height: 1.5
}

.feed strong {
    color: #e2e8f0;
    font-weight: 600
}

.feed small {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,.22);
    margin-top: 3px;
    font-variant-numeric: tabular-nums
}

/* ── OPERATIONAL VISIBILITY ───────────────────────────────────────── */

.ops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 34px;
}

.ops-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r20);
    overflow: hidden;
}

.ops-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.ops-title {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}

.feed {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

    .feed:last-child {
        border-bottom: 0;
    }

    .feed p {
        font-size: 13px;
        line-height: 1.65;
        color: #e2e8f0;
        margin-bottom: 4px;
    }

    .feed small {
        font-size: 11px;
        color: rgba(255,255,255,.38);
    }

.avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #2563eb;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

    .pill.green {
        background: rgba(16,185,129,.14);
        color: #34d399;
    }

    .pill.amber {
        background: rgba(245,158,11,.14);
        color: #f59e0b;
    }

html[lang="ar"] .ops-card,
html[lang="ar"] .feed,
html[lang="ar"] .ops-head {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .feed {
    flex-direction: row-reverse;
}

    html[lang="ar"] .feed small {
        display: block;
        text-align: right;
    }

html[lang="ar"] .ops-title {
    text-align: right;
}


.feed > div:last-child {
    flex: 1;
}

html[lang="ar"] .feed > div:last-child {
    text-align: right;
}

html[lang="en"] .feed > div:last-child {
    text-align: left;
}

@media(max-width:900px) {
    .ops-grid {
        grid-template-columns: 1fr;
    }
}


/* ── PRODUCT PRINCIPLES ──────────────────────────────────────────────────────── */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.trust {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r12);
    padding: 20px;
    transition: border-color var(--ease),box-shadow var(--ease);
}

    .trust:hover {
        border-color: var(--line-2);
        box-shadow: var(--s1);
    }

    .trust b {
        display: block;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 6px;
        letter-spacing: -.01em;
    }

    .trust p {
        font-size: 12.5px;
        color: var(--ink-3);
        line-height: 1.65;
    }

/* ── OPERATION FOUNDATION ────────────────────────────────────────────── */
.integrations {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 10px
}

.integration {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r12);
    padding: 18px 10px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-2);
    transition: all var(--ease)
}

    .integration:hover {
        border-color: var(--brand);
        box-shadow: var(--s1);
        color: var(--brand)
    }

    .integration span {
        display: block;
        font-size: 10px;
        color: var(--ink-4);
        font-weight: 600;
        margin-top: 3px
    }

    .integration > span:first-child {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 4px;
    }

    .integration > span:last-child {
        display: block;
        font-size: 10px;
        font-weight: 600;
        color: var(--ink-4);
    }

/* ── FORM ────────────────────────────────────────────────────── */
.form-wrap {
   
    margin: auto;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r20);
    padding: 28px
}

.plans {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-bottom: 18px
}

.plan input {
    display: none
}

.plan span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 12px 8px;
    border-radius: var(--r8);
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,.08);
    transition: border-color var(--ease),background var(--ease);
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9
}

    .plan span:hover {
        border-color: rgba(255,255,255,.2)
    }

.plan small {
    font-size: 10px;
    color: rgba(255,255,255,.3);
    font-weight: 400
}

.plan input:checked + span {
    border-color: var(--brand);
    background: rgba(37,99,235,.12);
    color: #93c5fd
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px
}

    .field.full {
        grid-column: 1/-1
    }

label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.38)
}

input, select, textarea {
    font-size: 13px;
    padding: 10px 13px;
    border-radius: var(--r8);
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    color: #f1f5f9;
    outline: none;
    width: 100%;
    transition: border-color var(--ease),background var(--ease)
}

    input::placeholder, textarea::placeholder {
        color: rgba(255,255,255,.2)
    }

    input:focus, select:focus, textarea:focus {
        border-color: rgba(37,99,235,.5);
        background: rgba(255,255,255,.06)
    }

    select option {
        background: #1e293b;
        color: #fff
    }

.form-note {
    font-size: 11px;
    color: rgba(255,255,255,.22);
    text-align: center;
    margin-top: 10px;
    line-height: 1.55
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.faq {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r12);
    padding: 20px 22px;
    transition: border-color var(--ease),box-shadow var(--ease)
}

    .faq:hover {
        border-color: var(--line-2);
        box-shadow: var(--s1)
    }

    .faq h3 {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 8px;
        letter-spacing: -.01em
    }

    .faq p {
        font-size: 13px;
        color: var(--ink-3);
        line-height: 1.68
    }

/* ── FOOTER ───────────────────────────────────── */



.footer {
    background: #020817;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 52px 0 24px;
}

.footer-in {
    width: min(1180px,92%);
    margin: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 38px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

    .footer-logo img {
        height: 46px;
        width: auto;
        display: block;
        filter: brightness(0) invert(1);
    }

.footer-p {
    max-width: 420px;
    color: rgba(255,255,255,.56);
    line-height: 1.9;
    font-size: 14px;
}

.footer-contact-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

    .footer-contact-mini span {
        color: rgba(255,255,255,.18);
    }

    .footer-contact-mini a {
        color: #93c5fd;
        text-decoration: none;
        font-size: 13px;
    }

.foot-title {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: .02em;
}

.foot-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .foot-links a {
        color: rgba(255,255,255,.56);
        text-decoration: none;
        font-size: 14px;
        transition: all .2s ease;
    }

        .foot-links a:hover {
            color: #fff;
            transform: translateX(2px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.38);
    font-size: 13px;
}

.footer-contact-block {
    min-width: 260px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    transition: color .2s ease;
}

    .contact-row i {
        width: 16px;
        color: #60a5fa;
        font-size: 14px;
        flex-shrink: 0;
    }

    .contact-row:hover {
        color: #fff;
    }

html[lang="ar"] .contact-row {
    direction: rtl;
    justify-content: flex-start;
    text-align: right;
}

/* RTL */

html[lang="ar"] .footer {
    direction: rtl;
}

html[lang="ar"] .foot-links a:hover {
    transform: translateX(-2px);
}

/* MOBILE */

@media(max-width:920px) {

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:640px) {

    .footer {
        padding: 42px 0 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ── MOBILE STICKY CTA ───────────────────────────────────────── */
.mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    padding: 10px 16px 16px;
    background: rgba(6,13,24,.96);
    border-top: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px)
}

    .mobile-cta a {
        display: block;
        text-align: center;
        background: var(--brand);
        color: #fff;
        padding: 13px;
        border-radius: var(--r8);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -.01em;
        transition: background var(--ease)
    }

        .mobile-cta a:hover {
            background: var(--brand-dark)
        }

/* ── RTL ─────────────────────────────────────────────────────── */
html[lang=ar] .nav {
    flex-direction: row-reverse
}


html[lang=ar] .nav-actions {
    flex-direction: row-reverse
}

html[lang=ar] .hero-in {
    direction: rtl
}

html[lang=ar] .hero-actions {
    direction: rtl
}

html[lang=ar] .eyebrow,
html[lang=ar] .proof-item,
html[lang=ar] .pain-head,
html[lang=ar] .pain-list li,
html[lang=ar] .feed,
html[lang=ar] .side-item,
html[lang=ar] .task,
html[lang=ar] .panel-head,
html[lang=ar] .ops-head {
    flex-direction: row-reverse;
    text-align: right
}

html[lang=ar] .section-in,
html[lang=ar] .card,
html[lang=ar] .persona,
html[lang=ar] .trust,
html[lang=ar] .faq {
    text-align: right
}

html[lang=ar] .cards3,
html[lang=ar] .persona-grid,
html[lang=ar] .ops-grid,
html[lang=ar] .trust-grid,
html[lang=ar] .integrations,
html[lang=ar] .pain-grid,
html[lang=ar] .dash-grid,
html[lang=ar] .kpis,
html[lang=ar] .dash-panels,
html[lang=ar] .readiness,
html[lang=ar] .form-grid,
html[lang=ar] .plans,
html[lang=ar] .faq-grid {
    direction: rtl
}

html[lang=ar] .side {
    border-inline-start: 1px solid rgba(255,255,255,.05);
    border-inline-end: 0
}

html[lang=ar] .task-text,
html[lang=ar] input,
html[lang=ar] textarea,
html[lang=ar] select {
    text-align: right;
    direction: rtl
}



html[lang=ar] .persona {
    border-inline-end: 0;
    border-inline-start: 1px solid var(--line)
}

    html[lang=ar] .persona:last-child {
        border-inline-start: 0
    }

html[lang=ar] .flow::before {
    background: linear-gradient(270deg,transparent,rgba(255,255,255,.12) 15%,rgba(255,255,255,.12) 85%,transparent)
}

html[lang=ar] .footer-top {
    direction: rtl;
    text-align: right
}

html[lang=ar] .footer-logo {
    font-family: 'Tajawal',sans-serif
}

html[lang=ar] .footer-bottom {
    flex-direction: row-reverse
}

/* ── RESPONSIVE 900px ────────────────────────────────────────── */
@media(max-width:900px) {
    .nav {
        height: 54px;
        padding: 0 1.25rem
    }

    .menu {
        display: none
    }

    .hero {
        padding: 72px 1.25rem 44px
    }

    .dash-wrap {
        padding: 18px 1.25rem 0
    }

    .dash-grid {
        grid-template-columns: 1fr
    }

    .side {
        display: none
    }

    .kpis {
        grid-template-columns: repeat(2,1fr)
    }

    .dash-panels, .pain-grid, .ops-grid, .faq-grid, .form-grid {
        grid-template-columns: 1fr
    }

    .cards3, .trust-grid {
        grid-template-columns: 1fr
    }

    .persona-grid {
        grid-template-columns: 1fr
    }

    .persona, .persona:last-child {
        border-inline: 0;
        border-bottom: 1px solid var(--line)
    }

        .persona:last-child {
            border-bottom: 0
        }

    .flow {
        grid-template-columns: repeat(3,1fr)
    }

        .flow::before {
            display: none
        }

    .integrations {
        grid-template-columns: repeat(3,1fr)
    }

    section {
        padding: 56px 1.25rem
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

        .footer-top > :first-child {
            grid-column: 1/-1
        }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start
    }

    html[lang=ar] .footer-bottom {
        align-items: flex-end
    }

    .mobile-cta {
        display: block
    }

    body {
        padding-bottom: 66px
    }

    .proof-in {
        justify-content: flex-start
    }

    .lead {
        margin-bottom: 32px
    }
}

/* ── RESPONSIVE 520px ────────────────────────────────────────── */
@media(max-width:520px) {
    h1 {
        font-size: clamp(26px,8vw,36px)
    }

    html[lang=ar] h1 {
        font-size: clamp(23px,7.5vw,32px)
    }

    .btn-dark {
        display: none
    }

    .flow {
        grid-template-columns: repeat(2,1fr)
    }

    .plans {
        grid-template-columns: 1fr
    }

    .integrations {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-top {
        grid-template-columns: 1fr
    }

    .form-wrap {
        padding: 18px
    }

    .trust-grid {
        grid-template-columns: repeat(2,1fr)
    }
}
