﻿:root {
    --red: #C1121F;
    --red-dark: #96000d;
    --red-soft: rgba(193,18,31,.10);
    --charcoal: #111;
    --charcoal2: #1a1a1a;
    --white: #fff;
    --off: #f8f9fb;
    --border: #e5e7eb;
    --text: #111;
    --muted: #6b7280;
    --font: 'Barlow',sans-serif;
    --fontc: 'Barlow Condensed',sans-serif;
}
body {
    padding-top: 110px; /* يعوض ارتفاع النافبار */
}
* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    overflow-x: hidden
}

section {
    padding: 5.5rem 0
}

/* NAVBAR */
.navbar {
    background: rgba(255,255,255,.95) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: .9rem 0;
    transition: box-shadow .3s;
}

    .navbar.scrolled {
        box-shadow: 0 4px 24px rgba(0,0,0,.08)
    }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none
}

.brand-logo {
    height: 92px;
    width: auto
}

.nav-link {
    font-weight: 700;
    font-size: .9rem;
    color: var(--charcoal2) !important;
    padding: .4rem .85rem !important;
    position: relative
}

    .nav-link:hover {
        color: var(--red) !important
    }

.btn-nav-cta {
    background: var(--red);
    color: #fff !important;
    font-weight: 800;
    font-size: .85rem;
    padding: .55rem 1.2rem !important;
    border-radius: 10px;
    transition: .2s;
}

    .btn-nav-cta:hover {
        background: var(--red-dark) !important;
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(193,18,31,.25)
    }

.btn-ghost {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .55rem 1rem;
    font-weight: 800;
    font-size: .85rem;
    color: var(--charcoal) !important;
}

    .btn-ghost:hover {
        border-color: rgba(193,18,31,.25);
        color: var(--red) !important
    }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,#fff 0%, #fff 60%, var(--off) 100%);
}

    .hero::before {
        content: '';
        position: absolute;
        top: -12%;
        right: -8%;
        width: 58%;
        height: 125%;
        background: linear-gradient(135deg,var(--off) 0%, #fce8ea 100%);
        clip-path: polygon(18% 0,100% 0,100% 100%,0 100%);
        z-index: 0;
    }

    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg,var(--red),var(--red-dark));
    }

    .hero .container {
        position: relative;
        z-index: 1
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(193,18,31,.08);
    border: 1px solid rgba(193,18,31,.2);
    color: var(--red);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .38rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

    .hero-badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--red);
        box-shadow: 0 0 0 0 rgba(193,18,31,.35);
        animation: pulse 1.8s infinite
    }

@keyframes pulse {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(193,18,31,.35)
    }

    50% {
        box-shadow: 0 0 0 7px rgba(193,18,31,0)
    }
}

.hero h1 {
    font-family: var(--fontc);
    font-size: clamp(2.8rem,6vw,5.2rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -.6px;
    color: var(--charcoal);
}

    .hero h1 .red {
        color: var(--red)
    }

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 560px
}

.btn-red {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: .9rem 1.6rem;
    font-weight: 900;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: .2s;
    box-shadow: 0 16px 40px rgba(193,18,31,.18);
}

    .btn-red:hover {
        background: var(--red-dark);
        transform: translateY(-2px);
        color: #fff
    }

.btn-outline-red {
    border: 2px solid var(--red);
    color: var(--red);
    border-radius: 14px;
    padding: .9rem 1.6rem;
    font-weight: 900;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: .2s;
    background: transparent;
}

    .btn-outline-red:hover {
        background: var(--red);
        color: #fff
    }

.hero-visual {
    position: relative
}

.hero-img-wrap {
    background: var(--charcoal);
    border-radius: 22px;
    padding: 2.6rem 2.4rem;
    position: relative;
    overflow: visible;
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    animation: floaty 5.2s ease-in-out infinite;
}

@keyframes floaty {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.hero-img-wrap::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193,18,31,.22), transparent 70%);
}

.hero-img-wrap::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -12%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(193,18,31,.14), transparent 70%);
}

.hero-logo-big {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 0 auto 1.4rem;
    position: relative;
    z-index: 1
}

.hero-stat-row {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1
}

.h-stat {
    flex: 1;
    text-align: center;
    padding: .85rem;
    background: rgba(255,255,255,.06);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10)
}

.h-stat-num {
    font-family: var(--fontc);
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--red);
    display: block;
    line-height: 1
}

.h-stat-lbl {
    font-size: .68rem;
    color: rgba(255,255,255,.50);
    letter-spacing: .1em;
    text-transform: uppercase
}

.float-tag {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: .65rem 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    font-weight: 800;
    color: var(--charcoal);
    animation: tag 4s ease-in-out infinite;
}

    .float-tag i {
        color: var(--red);
        font-size: 1rem
    }

.float-tag-1 {
    top: -18px;
    left: -22px
}

.float-tag-2 {
    bottom: -16px;
    right: -22px;
    animation-delay: 1s
}

@keyframes tag {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

/* Section header */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .6rem;
}

    .section-tag::before {
        content: '';
        width: 18px;
        height: 2px;
        background: var(--red);
        border-radius: 2px;
        display: block
    }

.section-title {
    font-family: var(--fontc);
    font-size: clamp(1.9rem,4vw,3.1rem);
    font-weight: 900;
    letter-spacing: -.4px;
    line-height: 1.1;
    color: var(--charcoal)
}

.section-sub {
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.85
}

/* Cards */
.cardX {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

    .cardX:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 60px rgba(0,0,0,.10);
        border-color: rgba(193,18,31,.18)
    }

    .cardX::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: linear-gradient(90deg,var(--red),var(--charcoal));
        transform: scaleX(0);
        transform-origin: left;
        transition: .4s;
    }

    .cardX:hover::after {
        transform: scaleX(1)
    }

.iconBox {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(193,18,31,.08);
    border: 1px solid rgba(193,18,31,.15);
    font-size: 1.4rem;
}

/* Inside Engine */
#inside {
    background: var(--charcoal);
    color: #fff;
    position: relative;
    overflow: hidden
}

    #inside::before {
        content: '';
        position: absolute;
        top: -40%;
        left: -12%;
        width: 520px;
        height: 520px;
        background: radial-gradient(circle, rgba(193,18,31,.22), transparent 65%);
    }

    #inside .section-title {
        color: #fff
    }

    #inside .section-sub {
        color: rgba(255,255,255,.55)
    }

.spec {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 1.6rem;
    height: 100%;
}

    .spec h6 {
        font-family: var(--fontc);
        font-weight: 900;
        letter-spacing: .02em
    }

.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(193,18,31,.14);
    border: 1px solid rgba(193,18,31,.25);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.codebox {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 1.2rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,"Liberation Mono","Courier New", monospace;
    font-size: .82rem;
    color: #e5e7eb;
    overflow: auto;
}

    .codebox .k {
        color: #fb7185
    }

    .codebox .t {
        color: #60a5fa
    }

    .codebox .g {
        color: #34d399
    }

/* Product banner */
.productBar {
    background: var(--off);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
}

.productChip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

.chip {
    border: 1px solid rgba(17,17,17,.10);
    background: #fff;
    border-radius: 999px;
    padding: .55rem .9rem;
    font-weight: 900;
    font-size: .82rem;
    color: var(--charcoal);
    text-decoration: none;
    transition: .2s;
}

    .chip:hover {
        border-color: rgba(193,18,31,.25);
        color: var(--red)
    }

    .chip i {
        color: var(--red);
        margin-right: .35rem
    }

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 3.2rem 0 2rem
}

.footlink {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700
}

    .footlink:hover {
        color: var(--red)
    }

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: .7s
}

    .reveal.show {
        opacity: 1;
        transform: none
    }

/* WF mock */
.wf-mock {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 1.5rem
}

    .wf-mock svg {
        width: 100%;
        height: auto;
        display: block
    }

/* === HERO PRODUCT CARD (clean + premium) === */
.hero-img-wrap {
    background: radial-gradient(120% 140% at 20% 20%, rgba(193,18,31,.18) 0%, transparent 55%), radial-gradient(120% 140% at 80% 30%, rgba(255,255,255,.06) 0%, transparent 55%), linear-gradient(145deg, #0f0f12 0%, #1a0e12 55%, #0b0b0e 100%);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 26px 70px rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
    position: relative;
}

    .hero-img-wrap::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(120deg, rgba(193,18,31,.22), transparent 35%, rgba(193,18,31,.10));
        opacity: .35;
        pointer-events: none;
    }

.product-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px
}

.product-top {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 14px 14px 12px;
}

    .product-top .top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

.product-pill {
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(255,255,255,.72);
    background: rgba(193,18,31,.18);
    border: 1px solid rgba(193,18,31,.22);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.product-status {
    font-size: .70rem;
    font-weight: 700;
    color: rgba(255,255,255,.55)
}

    .product-status b {
        color: #22c55e;
        font-weight: 800
    }

.workflow-strip {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.wf-step {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 10px 12px;
}

    .wf-step .t {
        font-size: .78rem;
        font-weight: 800;
        color: rgba(255,255,255,.88);
        line-height: 1.1;
    }

    .wf-step .s {
        font-size: .64rem;
        color: rgba(255,255,255,.45);
        margin-top: 3px;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

.product-mid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 2px 0;
}

.product-logo {
    height: 38px;
    width: auto;
    opacity: .95;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.h-stat {
    text-align: center;
    padding: 12px 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
}

.h-stat-num {
    font-family: var(--fontc);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--red);
    display: block;
    line-height: 1;
}

.h-stat-lbl {
    font-size: .62rem;
    color: rgba(255,255,255,.48);
    letter-spacing: .10em;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

/* floating tags refined */
.float-tag {
    border-radius: 999px;
    padding: .55rem 1rem;
    font-size: .78rem;
    font-weight: 800
}

    .float-tag i {
        font-size: 1rem
    }

.hero-badge-wrap {
    padding-top: 40px;
    margin-bottom: 24px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(193,18,31,.08);
    border: 1px solid rgba(193,18,31,.18);
    color: var(--red);
    backdrop-filter: blur(6px);
}

.hero-visual {
    position: relative
}

.float-tag {
    position: absolute;
    z-index: 5
}

.float-tag-1 {
    top: -20px;
    left: -20px
}

.float-tag-2 {
    bottom: -20px;
    right: -20px
}
/* ===== Footer (EN) ===== */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
}

    .site-footer .footer-title {
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--charcoal);
        margin-bottom: 1rem;
    }

    .site-footer .footer-link {
        display: block;
        color: var(--muted);
        text-decoration: none;
        font-weight: 700;
        margin: .45rem 0;
        transition: .2s;
    }

        .site-footer .footer-link:hover {
            color: var(--red);
        }

    .site-footer .footer-social {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        border: 1px solid var(--border);
        color: var(--muted);
        text-decoration: none;
        transition: .2s;
    }

        .site-footer .footer-social:hover {
            border-color: rgba(193,18,31,.25);
            background: var(--red);
            color: #fff;
        }