@import "../../fonts/tajawal/stylesheet.css";

* {
    font-family: 'Tajawal', sans-serif;
}



html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

@media (max-width: 991px) {
    html {
        scroll-padding-top: 350px
    }
}



:root {
    --scan-cyan: #22D3EE;
    --scan-teal: #14B8A6;
    --amber: #F5B14C;
    --danger: #F87171;
}

[data-bs-theme="dark"] {
    --bg: #0A1424;
    --bg-elev: #101E33;
    --bg-elev-2: #152740;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --ink: #EAF1F9;
    --ink-dim: #93A6C0;
    --brand: #2DD4E6;
    --brand-soft: rgba(45, 212, 230, .12);
    --grid: rgba(45, 212, 230, .07);
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}

[data-bs-theme="light"] {
    --bg: #F3F7FC;
    --bg-elev: #FFFFFF;
    --bg-elev-2: #EAF1F9;
    --line: rgba(10, 22, 40, .10);
    --line-strong: rgba(10, 22, 40, .18);
    --ink: #0C1B30;
    --ink-dim: #54657E;
    --brand: #0B93AE;
    --brand-soft: rgba(11, 147, 174, .10);
    --grid: rgba(11, 147, 174, .06);
    --shadow: 0 24px 50px -30px rgba(12, 27, 48, .35);
}

* {
    scroll-margin-top: 84px
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
    overflow-x: hidden;
}

.mono {
    font-family: "IBM Plex Mono", monospace
}

h1, h2, h3, h4, .fw-head {
    font-weight: 700;
    letter-spacing: -.01em
}

.eyebrow {
     font-size: 22px;
    letter-spacing: .14em;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brand);
    display: inline-block
}

.text-dim {
    color: var(--ink-dim) !important
}

.section {
    padding: clamp(64px, 8vw, 34px) 0
}

.divider-line {
    height: 1px;
    background: var(--line);
    border: 0;
    margin: 0
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(140deg, var(--brand), var(--scan-teal));
    display: grid;
    place-items: center;
    color: #04121b;
    font-size: 1.1rem;
    box-shadow: 0 0 0 1px var(--line-strong), 0 8px 22px -10px var(--brand);
}

.brand-name {
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -.02em
}

.brand-name b {
    color: var(--brand)
}

.navbar .nav-link {
    color: var(--ink-dim);
    font-weight: 500;
    font-size: .95rem
}

.navbar .nav-link:hover, .navbar .nav-link:focus {
    color: var(--ink)
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    color: var(--ink);
    display: grid;
    place-items: center;
    transition: .2s;
    font-size: 1.05rem;
}

.icon-btn:hover {
    border-color: var(--brand);
    color: var(--brand)
}

.lang-btn {
    min-width: 52px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    color: var(--ink);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-size: .82rem;
    transition: .2s;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.lang-btn:hover {
    border-color: var(--brand);
    color: var(--brand)
}

.btn-brand {
    background: linear-gradient(140deg, var(--brand), var(--scan-teal));
    color: #04121b;
    font-weight: 600;
    border: 0;
    border-radius: 11px;
    padding: .62rem 1.25rem;
}

.btn-brand:hover {
    filter: brightness(1.07);
    color: #04121b
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    font-weight: 600;
    padding: .62rem 1.25rem;
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand)
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(60px, 8vw, 110px);
    padding-bottom: clamp(40px, 6vw, 80px)
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 78%);
}

.hero > .container {
    position: relative;
    z-index: 2
}

.hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.15
}

.hero .lead-sub {
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    color: var(--ink-dim);
    max-width: 44ch
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--brand-soft);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .8rem;
    color: var(--brand);
    font-weight: 600;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
    animation: pulse 2.4s infinite
}

@keyframes pulse {
    0%, 100% {
        opacity: 1
    }
    50% {
        opacity: .4
    }
}

/* radar / scan visual */
.radar {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1/1;
    margin-inline: auto
}

.radar-glow {
    position: absolute;
    inset: -14%;
    z-index: 0;
    filter: blur(14px);
    background: radial-gradient(circle at 52% 46%, rgba(45, 212, 230, .20), transparent 62%);
}

.radar-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    background: radial-gradient(circle at 50% 46%, #0e2236 0%, #0a1a2b 55%, #081321 100%);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, .55), 0 0 0 1px var(--line-strong), var(--shadow);
    transform: translateZ(0);      /* عزل الطبقة */
    backface-visibility: hidden;
    contain: layout paint;          /* يمنع تأثير إعادة التخطيط الخارجي */
}

.ring {


    position: absolute;
    inset: 0;
    margin: auto;                 /* يوسّط العنصر داخل .radar-face تلقائياً */
    border: 1px solid rgba(140,190,215,.14);
    border-radius: 50%;


}

.r1 {
    width: 100%;
    height: 100%
}

.r2 {
    width: 74%;
    height: 74%
}

.r3 {
    width: 48%;
    height: 48%
}

.r4 {
    width: 22%;
    height: 22%
}


.r1{ width:100%;  height:100%;  }
.r2{ width:74%;   height:74%;   }
.r3{ width:48%;   height:48%;   }
.r4{ width:22%;   height:22%;   }

.axis {
    position: absolute;
    background: rgba(140, 190, 215, .12)
}

.ax-v {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%)
}

.ax-h {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%)
}

.ax-d1, .ax-d2 {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px
}

.ax-d1 {
    transform: translateY(-50%) rotate(45deg)
}

.ax-d2 {
    transform: translateY(-50%) rotate(-45deg)
}

.beam {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(45, 212, 230, .28), rgba(45, 212, 230, .06) 42deg, transparent 64deg);
    animation: radar-spin 5s linear infinite;
}

.beam::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 50%;
    transform: translateX(-50%);
    background: linear-gradient(var(--scan-cyan), transparent);
    box-shadow: 0 0 12px var(--scan-cyan);
}

@keyframes radar-spin {
    to {
        transform: rotate(360deg)
    }
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--scan-cyan);
    box-shadow: 0 0 14px var(--scan-cyan);
    z-index: 2
}

.blip {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: #4ade80;
    box-shadow: 0 0 16px #4ade80;
    animation: blip-pulse 5s ease-in-out infinite;
}

.blip.faint {
    background: rgba(74, 222, 128, .55);
    box-shadow: 0 0 9px rgba(74, 222, 128, .4)
}

.b1 {
    top: 27%;
    left: 46%;
    animation-delay: .2s
}

.b2 {
    top: 39%;
    left: 63%;
    animation-delay: 1.4s
}

.b3 {
    top: 60%;
    left: 35%;
    animation-delay: 3.2s
}

@keyframes blip-pulse {
    0%, 100% {
        opacity: .35;
        transform: translate(-50%, -50%) scale(.85)
    }
    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15)
    }
    42% {
        opacity: .55;
        transform: translate(-50%, -50%) scale(1)
    }
}

.lbl {
    position: absolute;
    font-size: .66rem;
    color: #8fb2c8;
    font-style: normal;
    letter-spacing: .06em;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 2
}

.l1 {
    top: 21%;
    left: 46%;
    opacity: .6
}

.l2 {
    top: 33%;
    left: 66%
}

.l3 {
    top: 54%;
    left: 33%
}

.radar-readout {
    position: absolute;
    bottom: 5%;
    left: -2%;
    z-index: 3;
    max-width: 72%;
    background: rgba(8, 18, 32, .86);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    padding: .7rem 1.05rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: .74rem;
    color: #8fb2c8;
    box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .7);
}

.radar-readout .scr {
    color: var(--scan-cyan);
    font-weight: 600
}

.radar-readout b {
    color: var(--scan-cyan)
}

.radar-readout .warn {
    color: var(--amber);
    margin-top: .25rem
}

.radar-readout .warn i {
    font-size: .6rem
}

.stat-row {
    border-top: 1px solid var(--line);
    margin-top: 2.6rem;
    padding-top: 1.6rem
}

.stat .n {
    font-family: "IBM Plex Mono", monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand)
}

.stat .l {
    font-size: .82rem;
    color: var(--ink-dim)
}

/* brief intro band */
.intro-band {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    position: relative;
    overflow: hidden;
}

.intro-band::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 4px;
    background: linear-gradient(var(--brand), var(--scan-teal));
}

.intro-text {
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.75;
    color: var(--ink)
}

.intro-text b {
    color: var(--brand)
}

/* scroll-to-top */
#toTop {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-end: 24px;
    z-index: 1030;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(140deg, var(--brand), var(--scan-teal));
    color: #04121b;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 12px 30px -12px var(--brand);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: .28s;
}

#toTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

#toTop:hover {
    filter: brightness(1.08)
}

/* demo video modal */
.demo-modal {
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    color: var(--ink);
    box-shadow: var(--shadow)
}

.demo-modal .modal-title {
    font-weight: 700
}

.demo-video {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line)
}

.demo-video iframe, .demo-video video {
    border: 0;
    width: 100%;
    height: 100%;
    display: block
}

[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(1) brightness(1.6)
}

/* ---------- CARDS ---------- */
.card-x {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    transition: .22s;
    position: relative;
    overflow: hidden;
}

.card-x:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.card-x .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--line);
    margin-bottom: 1rem;
}

.card-x h3 {
    font-size: 1.12rem;
    margin-bottom: .85rem
}

.feat-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.feat-list li {
    position: relative;
    padding-inline-start: 1.4rem;
    margin-bottom: .55rem;
    color: var(--ink-dim);
    font-size: .94rem;
    line-height: 1.5
}

.feat-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--brand);
    transform: rotate(45deg);
}

/* problem chips */
.chip {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .85rem 1rem;
    height: 100%;
}

.chip i {
    color: var(--danger);
    font-size: 1.1rem;
    flex-shrink: 0
}

.chip.why i {
    color: var(--brand)
}

.chip span {
    font-size: .95rem
}

/* about */
.panel {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(1.4rem, 3vw, 2.4rem);
}

.vision-panel {
    background: linear-gradient(140deg, var(--brand-soft), transparent);
    border: 1px solid var(--line-strong);
}

.obj li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: .9rem;
    color: var(--ink-dim)
}

.obj li .num {
    font-family: "IBM Plex Mono", monospace;
    color: var(--brand);
    font-weight: 600;
    flex-shrink: 0;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: .82rem;
}


.obj li i {
     color: var(--brand);
    font-weight: 600;
    flex-shrink: 0;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: .82rem;
}

/* sectors */
.sector {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.8rem;
    height: 100%;
    transition: .22s;
    position: relative;
    overflow: hidden;
}

.sector::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: linear-gradient(var(--brand), var(--scan-teal));
    opacity: 0;
    transition: .22s
}

.sector:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.sector:hover::after {
    opacity: 1
}

.sector .ic {
    font-size: 2rem;
    color: var(--brand);
    margin-bottom: 1rem
}

/* integration */
.sys-pill {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: .7rem .95rem;
    font-size: .92rem;
    transition: .2s;
    height: 100%;
}

.sys-pill:hover {
    border-color: var(--brand);
    color: var(--brand)
}

.sys-pill i {
    color: var(--brand)
}

/* security */
.sec-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.sec-item .ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.note {
    background: var(--bg-elev-2);
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-size: .9rem;
    color: var(--ink-dim);
}

/* CTA */
.cta {
    background: linear-gradient(140deg, var(--bg-elev-2), var(--bg-elev));
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    padding: clamp(2rem, 5vw, 3.4rem);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .6;
}

.cta > * {
    position: relative
}

/* footer */
footer {
    border-top: 1px solid var(--line);
    background: var(--bg-elev);
    padding: 2.4rem 0
}

.kafeel-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .86rem;
    color: var(--ink-dim);
}

.kafeel-badge b {
    color: var(--ink)
}

.section-head {
    max-width: 720px
}

/* forms */
.form-label {
    color: var(--ink-dim);
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: .35rem
}

.form-control {
    background: var(--bg-elev-2);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    border-radius: 11px;
    padding: .7rem .9rem;
}

.form-control:focus {
    background: var(--bg-elev-2);
    color: var(--ink);
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem var(--brand-soft);
}

.form-control::placeholder {
    color: var(--ink-dim);
    opacity: .75
}

.sec-item .fw-head {
    font-size: .98rem
}

/* ---------- GALLERY ---------- */
.gallery-item {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    transition: .22s;
    text-decoration: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow)
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/10
}

.gallery-cap {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: .8rem 1rem;
    color: #eaf1f9;
    font-weight: 600;
    font-size: .95rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(6, 14, 24, .94), rgba(6, 14, 24, .3) 70%, transparent);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.gallery-cap i {
    color: var(--scan-cyan)
}

.gallery-item .zoom {
    position: absolute;
    top: .75rem;
    inset-inline-end: .75rem;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    z-index: 3;
    background: rgba(6, 14, 24, .6);
    backdrop-filter: blur(4px);
    color: var(--scan-cyan);
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(.85);
    transition: .2s;
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
}

.gallery-item:hover .zoom {
    opacity: 1;
    transform: scale(1)
}

/* mock screenshot component (استبدلها بـ <img> عند توفر لقطات حقيقية) */
.shot {
    --s-bg: #0c1a2b;
    --s-panel: #132a44;
    --s-line: rgba(255, 255, 255, .09);
    --s-ink: #dbe7f3;
    --s-dim: #8299b3;
    --s-cyan: #2dd4e6;
    --s-green: #4ade80;
    --s-amber: #f5b14c;
    --s-red: #f87171;
    aspect-ratio: 16/10;
    background: var(--s-bg);
    color: var(--s-ink);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shot .bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    border-bottom: 1px solid var(--s-line);
    background: rgba(255, 255, 255, .02)
}

.shot .bar > i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #37485c
}

.shot .bar > i:first-child {
    background: #f87171
}

.shot .bar > i:nth-child(2) {
    background: #f5b14c
}

.shot .bar > i:nth-child(3) {
    background: #4ade80
}

.shot .bar b {
    margin-inline-start: auto;
    font-size: .62rem;
    color: var(--s-dim);
    font-weight: 500;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: .05em
}

.shot .body {
    flex: 1;
    display: flex;
    min-height: 0
}

.shot .side {
    width: 15%;
    border-inline-end: 1px solid var(--s-line);
    padding: .7rem .3rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    align-items: center
}

.shot .side span {
    width: 62%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .08)
}

.shot .side span.on {
    background: var(--s-cyan)
}

.shot .main {
    flex: 1;
    padding: .7rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    min-width: 0
}

.shot .title {
    font-size: .66rem;
    color: var(--s-dim);
    font-weight: 600
}

.shot .kpis {
    display: flex;
    gap: .5rem
}

.shot .kpi {
    flex: 1;
    background: var(--s-panel);
    border: 1px solid var(--s-line);
    border-radius: 8px;
    padding: .45rem .5rem
}

.shot .kpi .v {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    color: var(--s-cyan);
    font-size: .8rem
}

.shot .kpi .k {
    font-size: .55rem;
    color: var(--s-dim);
    margin-top: .15rem
}

.shot .chart {
    flex: 1;
    background: var(--s-panel);
    border: 1px solid var(--s-line);
    border-radius: 8px;
    padding: .5rem;
    display: flex;
    align-items: flex-end;
    gap: .32rem
}

.shot .chart span {
    flex: 1;
    background: linear-gradient(var(--s-cyan), rgba(45, 212, 230, .2));
    border-radius: 3px 3px 0 0;
    opacity: .85
}

.shot .rows {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.shot .row {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--s-panel);
    border: 1px solid var(--s-line);
    border-radius: 7px;
    padding: .4rem .55rem
}

.shot .row .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--s-green);
    flex-shrink: 0
}

.shot .row .dot.a {
    background: var(--s-amber)
}

.shot .row .dot.r {
    background: var(--s-red)
}

.shot .row .ln {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .11)
}

.shot .row .ln.g {
    flex: 1
}

.shot .row .ln.s {
    width: 20%;
    background: rgba(255, 255, 255, .18)
}

.shot .row.flag {
    border-color: rgba(245, 177, 76, .4);
    background: rgba(245, 177, 76, .08)
}

.shot .pill {
    margin-inline-start: auto;
    font-size: .55rem;
    color: var(--s-cyan);
    border: 1px solid var(--s-line);
    border-radius: 6px;
    padding: .08rem .4rem;
    white-space: nowrap
}

.shot .pill.amber {
    color: var(--s-amber);
    border-color: rgba(245, 177, 76, .4)
}

.shot .pill.mono {
    font-family: "IBM Plex Mono", monospace;
    color: var(--s-dim)
}

.shot .panel-s {
    background: var(--s-panel);
    border: 1px solid var(--s-line);
    border-radius: 8px;
    padding: .65rem;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.shot .txt {
    height: 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .13)
}

.shot .txt.sm {
    height: 6px;
    width: 45%;
    background: rgba(255, 255, 255, .08)
}

.shot .score {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .10);
    overflow: hidden
}

.shot .score i {
    display: block;
    height: 100%;
    width: 82%;
    background: linear-gradient(90deg, var(--s-amber), var(--s-red))
}

.shot .stat-pill {
    align-self: flex-start;
    font-size: .58rem;
    color: var(--s-amber);
    border: 1px solid rgba(245, 177, 76, .4);
    background: rgba(245, 177, 76, .1);
    border-radius: 6px;
    padding: .12rem .45rem
}

.shot .gauge {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: conic-gradient(var(--s-amber) 0 68%, rgba(255, 255, 255, .08) 0)
}

.shot .gauge {
    display: grid;
    place-items: center
}

.shot .gauge::after {
    content: "68";
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--s-bg);
    display: grid;
    place-items: center;
    font-family: "IBM Plex Mono", monospace;
    color: var(--s-amber);
    font-weight: 600;
    font-size: .85rem
}

.shot .fbar {
    display: flex;
    align-items: center;
    gap: .5rem
}

.shot .fbar .ln.g {
    flex: 1
}

/* ---------- LIGHTBOX ---------- */
.lb {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 11, 20, .93);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px
}

.lb.open {
    display: flex
}

.lb-stage {
    width: min(960px, 94vw);
    display: flex;
    flex-direction: column;
    gap: .85rem
}

.lb-media {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 80px -30px #000
}

.lb-media .shot {
    aspect-ratio: 16/10
}

.lb-media img {
    width: 100%;
    display: block
}

.lb-cap {
    color: #eaf1f9;
    font-weight: 600;
    text-align: center;
    font-size: 1.02rem
}

.lb-close {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: #eaf1f9;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: #eaf1f9;
    font-size: 1.2rem;
    cursor: pointer;
    display: grid;
    place-items: center
}

.lb-prev { inset-inline-start: 18px }   /* بدل right */
.lb-next { inset-inline-end: 18px } /* بدل left */

.lb-close:hover, .lb-nav:hover {
    background: var(--brand);
    color: #04121b;
    border-color: transparent
}

@media (max-width: 560px) {
    .lb-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem
    }
}

/* ---------- MOTION ---------- */
.has-js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--rd, 0ms);
    will-change: opacity, transform
}

.has-js .reveal.in {
    opacity: 1;
    transform: none
}

.has-js .reveal .eyebrow::before {
    width: 0;
    transition: width .6s ease .15s
}

.has-js .reveal.in .eyebrow::before {
    width: 26px
}

/* hero entrance */
.has-js .hero-left > * {
    animation: heroIn .85s cubic-bezier(.2, .7, .2, 1) both
}

.has-js .hero-left > *:nth-child(1) {
    animation-delay: .05s
}

.has-js .hero-left > *:nth-child(2) {
    animation-delay: .14s
}

.has-js .hero-left > *:nth-child(3) {
    animation-delay: .23s
}

.has-js .hero-left > *:nth-child(4) {
    animation-delay: .32s
}

.has-js .hero-left > *:nth-child(5) {
    animation-delay: .41s
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(24px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.has-js .radar {
    animation: radarIn 1.1s ease both .15s
}

@keyframes radarIn {
    from {
        opacity: 0;
        transform: scale(.9)
    }
    to {
        opacity: 1;
        transform: none
    }
}

/* hover micro-interactions */
.card-x .ic {
    transition: transform .28s cubic-bezier(.2, .7, .2, 1), background .25s, color .25s
}

.card-x:hover .ic {
    transform: translateY(-3px) scale(1.07)
}

.sector .ic {
    transition: transform .3s cubic-bezier(.2, .7, .2, 1)
}

.sector:hover .ic {
    transform: translateY(-3px) rotate(-6deg)
}

.btn-brand {
    background-size: 180% 180%;
    background-position: 0 50%;
    transition: background-position .45s ease, filter .2s, transform .2s
}

.btn-brand:hover {
    background-position: 100% 50%;
    transform: translateY(-1px)
}

.navbar .nav-link {
    position: relative
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    inset-inline: .4rem;
    bottom: .15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease
}

.navbar .nav-link:hover::after {
    transform: scaleX(1)
}

.brand-mark {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1)
}

.navbar-brand:hover .brand-mark {
    transform: rotate(90deg)
}

.sys-pill {
    transition: transform .2s ease, border-color .2s, color .2s
}

.sys-pill:hover {
    transform: translateY(-2px)
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .has-js .reveal, .has-js .hero-left > *, .has-js .radar {
        opacity: 1 !important;
        transform: none !important
    }
}




