/* =====================================================================
   WebDonya — Design System
   Brand: Navy #0D1B3D · Blue #0D5BFF · Orange #FF6B00 (60 / 25 / 15)
   Type:  Estedad (fa) · Geist (en / numerals)
   ===================================================================== */

@font-face { font-family: "Estedad"; src: url("../fonts/Estedad-VF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-VF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-VF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    /* brand */
    --navy: #0D1B3D;
    --navy-950: #040a1a;
    --navy-900: #071230;
    --navy-850: #0a1838;
    --navy-700: #15295a;
    --blue: #0D5BFF;
    --blue-500: #2f6dff;
    --blue-400: #5b8cff;
    --blue-300: #93b3ff;
    --orange: #FF6B00;
    --orange-400: #ff8a33;
    --orange-300: #ffb27a;
    --logo-blue: #325AA6;
    --logo-orange: #EA581C;

    /* semantic (dark default) */
    --bg: var(--navy-950);
    --bg-2: var(--navy-900);
    --fg: #eef3ff;
    --fg-2: #c5d1ef;
    --muted: #8a9bc4;
    --line: rgba(147, 179, 255, .12);
    --line-2: rgba(147, 179, 255, .22);
    --card: rgba(18, 36, 82, .38);
    --card-2: rgba(22, 44, 98, .55);
    --glass: rgba(10, 22, 52, .55);
    --success: #22c38e;
    --danger: #ff5a5f;

    --grad-brand: linear-gradient(120deg, var(--blue) 0%, #6a5cff 45%, var(--orange) 100%);
    --grad-orange: linear-gradient(135deg, #ff8a33 0%, var(--orange) 50%, #e94e00 100%);
    --grad-blue: linear-gradient(135deg, #3b7bff 0%, var(--blue) 55%, #0842c4 100%);

    --font-fa: "Geist", "Estedad", system-ui, Tahoma, sans-serif;
    --font-en: "Geist", "Estedad", system-ui, sans-serif;
    --font-mono: "Geist Mono", ui-monospace, monospace;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 20px 60px -20px rgba(0, 8, 30, .7);
    --shadow-glow-o: 0 10px 40px -8px rgba(255, 107, 0, .55);
    --shadow-glow-b: 0 10px 40px -8px rgba(13, 91, 255, .55);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.on-light {
    --bg: #f4f6fb;
    --bg-2: #ffffff;
    --fg: #0D1B3D;
    --fg-2: #2b3a5e;
    --muted: #5B6B84;
    --line: #dce3ef;
    --line-2: #c7d2e6;
    --card: #ffffff;
    --card-2: #ffffff;
    --glass: rgba(255, 255, 255, .8);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* No global smooth scrolling: page changes must not animate from the old position (ui.js smooths in-page anchors). */
body {
    margin: 0;
    font-family: var(--font-fa);
    font-size: 16px;
    line-height: 1.85;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; letter-spacing: -.005em; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -.03em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .ltr-num { font-family: var(--font-en); font-feature-settings: "tnum"; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 999; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 10px; border: 2px solid var(--navy-950); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); background: var(--bg); color: var(--fg); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section + .section:not(.on-light):not(.section--flush) { padding-top: clamp(40px, 6vw, 90px); }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: var(--stack, 16px); }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ typography */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em;
    color: var(--orange-400);
    padding: 6px 14px 6px 16px;
    border: 1px solid rgba(255, 107, 0, .3);
    background: rgba(255, 107, 0, .08);
    border-radius: 100px;
}
.on-light .eyebrow { color: #e05e00; background: rgba(255, 107, 0, .08); }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; clip-path: var(--hex); }
.h-display { font-size: clamp(40px, 7.2vw, 96px); font-weight: 900; line-height: 1.12; }
html[lang="en"] .h-display { line-height: 1; font-weight: 800; }
.h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 900; }
.h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 850; }
.h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 800; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-2); max-width: 640px; }
.on-light .lead { color: var(--muted); }
.text-grad {
    background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
    background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate;
}
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue-400); }
.on-light .text-blue { color: var(--blue); }
@keyframes gradShift { to { background-position: 100% 0; } }

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { align-items: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div:first-child { display: flex; flex-direction: column; gap: 18px; }

/* --------------------------------------------------------------- buttons */
.btn {
    --b-bg: var(--card-2); --b-fg: var(--fg); --b-bd: var(--line-2);
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding-inline: 26px;
    font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
    color: var(--b-fg); background: var(--b-bg);
    border: 1px solid var(--b-bd); border-radius: 14px;
    transition: transform .35s var(--ease-spring), box-shadow .3s, background .3s, border-color .3s, color .3s;
    overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(var(--arrow-x, -4px)); }
html[dir="ltr"] .btn { --arrow-x: 4px; }
.btn:active { transform: scale(.97); }
.btn--primary { --b-bg: var(--grad-orange); --b-fg: #fff; --b-bd: transparent; box-shadow: var(--shadow-glow-o); }
.btn--primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 50px -8px rgba(255, 107, 0, .75); }
.btn--blue { --b-bg: var(--grad-blue); --b-fg: #fff; --b-bd: transparent; box-shadow: var(--shadow-glow-b); }
.btn--ghost { --b-bg: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); }
.btn--ghost:hover { --b-bd: var(--blue-400); --b-bg: rgba(13, 91, 255, .12); }
.on-light .btn--ghost { --b-bg: #fff; --b-bd: var(--line-2); --b-fg: var(--navy); }
.on-light .btn--ghost:hover { --b-bd: var(--blue); --b-fg: var(--blue); }
.btn--sm { height: 42px; padding-inline: 18px; font-size: 14px; border-radius: 12px; }
.btn--lg { height: 60px; padding-inline: 34px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange-400); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(var(--arrow-x, -4px)); }
html[dir="ltr"] .link-arrow { --arrow-x: 4px; }

/* ---------------------------------------------------------- hex & icons */
.hex-icon {
    --s: 56px; --c: var(--orange);
    width: var(--s); height: calc(var(--s) * 1.1547);
    display: grid; place-items: center; flex: none;
    background: var(--c); color: #fff;
    clip-path: var(--hex);
    transition: transform .5s var(--ease-spring);
}
.hex-icon svg { width: 46%; height: 46%; }
.hex-icon--blue { --c: var(--grad-blue); }
.hex-icon--outline { background: linear-gradient(var(--c), var(--c)); position: relative; }
.hex-icon--soft { --c: rgba(255, 107, 0, .14); color: var(--orange-400); }
.hex-icon--soft-blue { --c: rgba(13, 91, 255, .16); color: var(--blue-300); }
.on-light .hex-icon--soft-blue { color: var(--blue); }

/* ----------------------------------------------------------------- cards */
.card {
    position: relative; isolation: isolate;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 2.4vw, 34px);
    transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .4s;
}
.on-light .card { box-shadow: 0 1px 0 rgba(13, 27, 61, .02), 0 12px 40px -24px rgba(13, 27, 61, .25); }
/* pointer spotlight (uses --mx/--my set by site.js) */
.spot::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(13, 91, 255, .18), transparent 45%);
    transition: opacity .4s;
}
.spot::after {
    content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 51, .9), rgba(13, 91, 255, .6) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.on-light .spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(13, 91, 255, .07), transparent 45%); }
.lift:hover { transform: translateY(-6px); }

.glass {
    background: var(--glass);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 30px; padding-inline: 12px; border-radius: 100px;
    font-size: 12.5px; font-weight: 600; color: var(--fg-2);
    background: rgba(147, 179, 255, .08); border: 1px solid var(--line);
}
.on-light .chip { background: #eef2fa; color: var(--fg-2); }
.chip--orange { color: var(--orange-300); background: rgba(255, 107, 0, .1); border-color: rgba(255, 107, 0, .25); }

/* ------------------------------------------------------------------ forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--fg-2); }
.field .req { color: var(--orange); }
.input, .select, .textarea {
    width: 100%; height: 52px; padding-inline: 16px;
    background: rgba(4, 10, 26, .55); color: var(--fg);
    border: 1px solid var(--line-2); border-radius: 14px;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.on-light .input, .on-light .select, .on-light .textarea { background: #fff; }
.textarea { height: auto; min-height: 130px; padding-block: 14px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238a9bc4' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-end: 40px; }
html[dir="ltr"] .select { background-position: right 16px center; }
.select option { background: var(--navy-900); color: #fff; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .7; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(13, 91, 255, .2); }
.input.invalid, .textarea.invalid, .select.invalid { border-color: var(--danger); }
.validation-message { color: #ff8a8e; font-size: 12.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding-inline: 16px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--fg-2); transition: .25s; }
.choice input:checked + span { background: rgba(255, 107, 0, .14); border-color: var(--orange); color: var(--fg); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; font-size: 14.5px; border: 1px solid; }
.alert--success { background: rgba(34, 195, 142, .1); border-color: rgba(34, 195, 142, .4); color: #8ff0cf; }
.alert--error { background: rgba(255, 90, 95, .1); border-color: rgba(255, 90, 95, .4); color: #ffb3b5; }
.on-light .alert--success { color: #0b7a55; }
.on-light .alert--error { color: #b3261e; }

/* =================================================================== HEADER */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 100;
    height: var(--header-h);
    transition: background .4s, border-color .4s, height .4s var(--ease), backdrop-filter .4s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    --header-h: 66px;
    background: rgba(4, 10, 26, .72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform .45s var(--ease), background .4s, border-color .4s, height .4s var(--ease); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; direction: ltr; flex: none; }
.brand svg { width: 38px; height: auto; transition: transform .6s var(--ease-spring); }
.brand:hover svg { transform: rotate(-8deg) scale(1.05); }
.brand-word { font-family: var(--font-en); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.brand-word b { color: var(--orange); font-weight: 800; }
.brand-word span { color: #fff; }
.on-light .brand-word span { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 18px; }
.nav > a, .nav-item > a {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    height: 42px; padding-inline: 14px; border-radius: 10px;
    font-size: 14.5px; font-weight: 600; color: var(--fg-2);
    transition: color .25s, background .25s;
}
.nav > a:hover, .nav-item:hover > a { color: #fff; background: rgba(147, 179, 255, .08); }
.nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; bottom: 4px; inset-inline: 40%; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-item { position: relative; }
.nav-item > a svg { width: 14px; height: 14px; transition: transform .3s; }
.nav-item:hover > a svg, .nav-item:focus-within > a svg { transform: rotate(180deg); }
.mega {
    position: absolute; top: calc(100% + 10px); inset-inline-start: 50%;
    width: min(860px, 92vw); padding: 18px;
    border-radius: 24px;
    display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; gap: 10px;
    opacity: 0; visibility: hidden; transform: translate(50%, 10px);
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
    box-shadow: var(--shadow);
}
html[dir="ltr"] .mega { transform: translate(-50%, 10px); }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(50%, 0); }
html[dir="ltr"] .nav-item:hover .mega, html[dir="ltr"] .nav-item:focus-within .mega { transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
.mega-col h6 { margin: 6px 12px 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.mega-link { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background .25s; }
.mega-link:hover { background: rgba(147, 179, 255, .08); }
.mega-link .hex-icon { --s: 36px; }
.mega-link b { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.5; }
.mega-link small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.mega-promo {
    border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
    background: radial-gradient(120% 120% at 100% 0%, rgba(255, 107, 0, .35), transparent 50%), linear-gradient(160deg, var(--navy-700), var(--navy-900));
    border: 1px solid var(--line-2);
}
.mega-promo p { font-size: 13px; color: var(--fg-2); line-height: 1.8; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-switch {
    display: inline-grid; place-items: center; width: 44px; height: 42px; border-radius: 12px;
    font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--fg-2);
    border: 1px solid var(--line-2); transition: .25s;
}
.lang-switch:hover { color: #fff; border-color: var(--orange); }
html[lang="en"] .lang-switch { font-family: "Estedad"; font-size: 14px; }
.burger { display: none; width: 46px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; position: relative; }
.burger span { position: absolute; inset-inline-start: 13px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 20px; width: 12px; } .burger span:nth-child(3) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
    background: radial-gradient(100% 60% at 100% 0%, rgba(13, 91, 255, .25), transparent 60%), var(--navy-950);
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
    clip-path: circle(0 at calc(100% - 40px) 36px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
}
html[dir="rtl"] .mobile-menu { clip-path: circle(0 at 40px 36px); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
html[dir="rtl"] .menu-open .mobile-menu { clip-path: circle(150% at 40px 36px); }
.mobile-menu a.m-link { font-size: 26px; font-weight: 800; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(16px); transition: .5s var(--ease); }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mobile-menu .m-foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1080px) {
    .nav, .header-actions .btn { display: none; }
    .burger { display: block; }
    .header-actions { margin-inline-start: auto; }
}
body.menu-open { overflow: hidden; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 101; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad-brand); }
html[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* ===================================================================== HERO */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; overflow: hidden;
    background:
        radial-gradient(60% 50% at 85% 20%, rgba(13, 91, 255, .28), transparent 70%),
        radial-gradient(40% 40% at 10% 90%, rgba(255, 107, 0, .16), transparent 70%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 200px; background: linear-gradient(transparent, var(--navy-950)); z-index: 1; pointer-events: none; }
.hero-noise { position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * .12s); }
@keyframes lineUp { to { transform: none; } }
.hero-sub { opacity: 0; animation: fadeUp 1s var(--ease) .75s forwards; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s var(--ease) .9s forwards; }
.hero-proof { display: flex; align-items: center; gap: 16px; opacity: 0; animation: fadeUp 1s var(--ease) 1.05s forwards; color: var(--muted); font-size: 14px; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--navy-950); margin-inline-start: -10px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; }
.avatars span:first-child { margin-inline-start: 0; }
.stars { color: #ffb020; letter-spacing: 2px; font-size: 13px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; perspective: 1200px; }
.hero-3d { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.orbit { position: absolute; inset: 0; margin: auto; clip-path: var(--hex); }
.orbit-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(147, 179, 255, .2); animation: spin 60s linear infinite; }
.orbit-ring.r2 { inset: 18%; border-style: solid; border-color: rgba(147, 179, 255, .1); animation-duration: 40s; animation-direction: reverse; }
.orbit-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px var(--orange); }
.orbit-ring.r2::before { background: var(--blue-400); box-shadow: 0 0 20px var(--blue); top: auto; bottom: -5px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo { position: absolute; inset: 22%; transform: translateZ(60px); filter: drop-shadow(0 30px 60px rgba(13, 91, 255, .45)); }
.hero-logo svg { width: 100%; height: 100%; overflow: visible; }
.hero-logo .lp-o { animation: pieceIn 1.4s var(--ease) .3s both; }
.hero-logo .lp-b { animation: pieceIn2 1.4s var(--ease) .45s both; }
@keyframes pieceIn { from { opacity: 0; transform: translate(-80px, -40px) rotate(-12deg); } }
@keyframes pieceIn2 { from { opacity: 0; transform: translate(80px, 40px) rotate(12deg); } }
.hero-logo-float { width: 100%; height: 100%; animation: float 7s ease-in-out 1.8s infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.hex-glow { position: absolute; inset: 14%; clip-path: var(--hex); background: radial-gradient(circle at 50% 40%, rgba(13, 91, 255, .35), transparent 65%); filter: blur(8px); transform: translateZ(10px); }
.hex-frame { position: absolute; inset: 10%; transform: translateZ(20px); }
.hex-frame svg { width: 100%; height: 100%; }
.hex-frame path { fill: none; stroke: url(#hexStroke); stroke-width: 1.2; stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }

.float-card {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 18px; min-width: 170px;
    transform: translateZ(120px);
    animation: fadeUp 1s var(--ease) both, float 6s ease-in-out infinite;
    box-shadow: var(--shadow);
}
.float-card b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; font-family: var(--font-en); }
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.float-card .hex-icon { --s: 38px; }
.float-card.fc1 { top: 6%; inset-inline-end: -4%; animation-delay: 1.2s, 1.2s; }
.float-card.fc2 { bottom: 18%; inset-inline-end: -8%; animation-delay: 1.4s, 2s; }
.float-card.fc3 { bottom: 4%; inset-inline-start: 0; animation-delay: 1.6s, 3s; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.spark i { width: 5px; border-radius: 3px; background: var(--grad-orange); height: var(--h); animation: grow 1.2s var(--ease) both; animation-delay: calc(1.6s + var(--d) * .08s); }
@keyframes grow { from { height: 2px; } }

.scroll-cue { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--orange); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 380px; margin-top: 8px; }
    .float-card.fc1 { inset-inline-end: 0; } .float-card.fc2 { inset-inline-end: -2%; }
    .hero { min-height: auto; padding-bottom: 100px; }
    .scroll-cue { display: none; }
}
@media (max-width: 520px) { .float-card { min-width: 0; padding: 10px 12px; } .float-card b { font-size: 16px; } .float-card.fc3 { display: none; } }

/* ================================================================ MARQUEE */
.marquee-wrap { position: relative; z-index: 2; padding-block: 28px; border-block: 1px solid var(--line); background: var(--navy-950); }
.marquee-label { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.marquee-track { display: flex; gap: 64px; padding-inline-end: 64px; flex: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.client-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: rgba(197, 209, 239, .5); white-space: nowrap; transition: color .3s; }
.client-logo:hover { color: #fff; }
.client-logo i { width: 22px; height: 25px; clip-path: var(--hex); background: currentColor; opacity: .6; }
.client-logo img { height: 34px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .6; }

/* ================================================================ SERVICES */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento > * { grid-column: span 4; }
.bento > .span-6 { grid-column: span 6; }
.bento > .span-8 { grid-column: span 8; }
@media (max-width: 1024px) { .bento > *, .bento > .span-6, .bento > .span-8 { grid-column: span 6; } }
@media (max-width: 680px) { .bento > *, .bento > .span-6, .bento > .span-8 { grid-column: span 12; } }
.svc-card { display: flex; flex-direction: column; gap: 18px; min-height: 290px; overflow: hidden; }
.svc-card h3 { font-size: 21px; }
.svc-card p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.svc-card .svc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.svc-card .svc-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.svc-card .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: .4s var(--ease); }
.svc-card .go svg { width: 18px; height: 18px; }
.svc-card:hover .go { background: var(--orange); border-color: var(--orange); transform: rotate(var(--go-rot, 45deg)); }
html[dir="ltr"] .svc-card { --go-rot: -45deg; }
.svc-card:hover .hex-icon { transform: rotate(30deg) scale(1.06); }
.svc-card .bg-hex { position: absolute; inset-inline-end: -60px; bottom: -70px; width: 220px; height: 254px; clip-path: var(--hex); background: linear-gradient(160deg, rgba(13, 91, 255, .14), transparent 70%); z-index: -1; transition: transform .8s var(--ease); }
.svc-card:hover .bg-hex { transform: rotate(30deg) scale(1.1); }
.svc-card.featured { background: radial-gradient(120% 100% at 0% 0%, rgba(255, 107, 0, .22), transparent 55%), linear-gradient(160deg, var(--navy-700), var(--navy-850)); border-color: rgba(255, 107, 0, .3); }
.svc-card .feat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(147, 179, 255, .04); }
.tabs button { height: 40px; padding-inline: 18px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; transition: .3s; }
.tabs button.on { background: var(--card-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.on-light .tabs button.on { background: var(--navy); }
[data-filter-item].is-hidden { display: none; }

/* =================================================================== STATS */
.stats-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); background: radial-gradient(80% 140% at 100% 0%, rgba(255, 107, 0, .35), transparent 60%), linear-gradient(120deg, #0b3fd0, var(--blue) 50%, #2a1fa8); box-shadow: 0 40px 100px -30px rgba(13, 91, 255, .6); }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23fff' stroke-opacity='.08'/%3E%3C/svg%3E"); opacity: .9; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 22px; border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.stat b { font-family: var(--font-en); font-size: clamp(40px, 5vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #fff; }
.stat b sup { font-size: .45em; color: #ffd0ad; vertical-align: top; margin-inline-start: 2px; }
.stat span { color: rgba(255, 255, 255, .78); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ================================================================= PROCESS */
.process { position: relative; }
.process-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.process-path .track { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.process-path .draw { fill: none; stroke: url(#procGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: calc(var(--y, 0) * 1px); }
.step-num { width: 64px; height: 74px; clip-path: var(--hex); display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: 20px; color: #fff; background: var(--navy); position: relative; transition: .5s var(--ease-spring); }
.step.is-active .step-num { background: var(--grad-orange); transform: scale(1.08); }
.step h3 { font-size: 18px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }
@media (max-width: 1024px) {
    .steps { grid-template-columns: 1fr; gap: 28px; padding-inline-start: 24px; }
    .step { padding-top: 0 !important; flex-direction: row; align-items: flex-start; gap: 18px; }
    .step-num { flex: none; }
    .process-path { display: none; }
    .steps::before { content: ""; position: absolute; inset-inline-start: 55px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--orange), var(--blue)); opacity: .5; }
}

/* ==================================================================== WORK */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.work-card:hover { transform: translateY(-8px); border-color: var(--line-2); }
.work-grid .work-card:nth-child(4n+2), .work-grid .work-card:nth-child(4n+3) { --tall: 1; }
.cover { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; isolation: isolate; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .cover img, .work-card:hover .cover .cover-art { transform: scale(1.06); }
.cover-art { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.cover-art .hx { position: absolute; clip-path: var(--hex); }
.cover-art .ttl { position: absolute; inset-inline-start: 8%; bottom: 12%; font-family: var(--font-en); font-weight: 800; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.04em; color: rgba(255, 255, 255, .92); line-height: 1; direction: ltr; }
.cover-art .metric { position: absolute; inset-inline-end: 8%; top: 12%; padding: 12px 16px; border-radius: 16px; text-align: center; }
.cover-art .metric b { display: block; font-family: var(--font-en); font-size: 28px; font-weight: 800; line-height: 1.1; color: #fff; }
.cover-art .metric small { font-size: 11.5px; color: var(--fg-2); }
.theme-0 { background: radial-gradient(70% 90% at 80% 10%, #ff8a33 0%, transparent 55%), linear-gradient(140deg, #0b3fd0, #091f63 60%, #050d2b); }
.theme-1 { background: radial-gradient(70% 90% at 20% 0%, #2f6dff 0%, transparent 60%), linear-gradient(160deg, #0d1b3d, #0a2f7a 70%, #ff6b00 140%); }
.theme-2 { background: radial-gradient(60% 80% at 90% 90%, #ff6b00 0%, transparent 60%), linear-gradient(200deg, #1a0f5c, #0d1b3d 60%); }
.theme-3 { background: radial-gradient(80% 80% at 10% 90%, #5b8cff 0%, transparent 60%), linear-gradient(120deg, #ff6b00 -20%, #3a1a6b 40%, #0d1b3d 90%); }
.theme-4 { background: radial-gradient(70% 70% at 50% 0%, #0D5BFF 0%, transparent 70%), linear-gradient(180deg, #071230, #040a1a); }
.theme-5 { background: radial-gradient(70% 100% at 0% 0%, #ff8a33, transparent 55%), radial-gradient(70% 100% at 100% 100%, #0D5BFF, transparent 60%), #0d1b3d; }
.work-body { padding: 26px clamp(22px, 2.4vw, 32px) 30px; display: flex; flex-direction: column; gap: 12px; }
.work-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.work-body h3 { font-size: clamp(19px, 1.8vw, 23px); }
.work-body p { color: var(--muted); font-size: 15px; }

/* =============================================================== AUDIT CTA */
.audit-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 0% 100%, rgba(255, 107, 0, .25), transparent 55%), radial-gradient(60% 100% at 100% 0%, rgba(13, 91, 255, .35), transparent 60%), var(--navy-900); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .audit-cta { grid-template-columns: 1fr; } }
.gauge { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: rgba(147, 179, 255, .12); stroke-width: 14; }
.gauge .g-val { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v, 0)); transition: stroke-dashoffset 1.6s var(--ease); }
.gauge-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-label b { font-family: var(--font-en); font-size: clamp(54px, 7vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.gauge-label span { color: var(--muted); font-size: 14px; }

/* ================================================================== VALUES */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value .idx { font-family: var(--font-mono); color: var(--orange); font-size: 13px; font-weight: 600; }
.value h3 { font-size: 19px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14.5px; }

/* ============================================================ TESTIMONIALS */
.t-slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 86%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.t-slider::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 22px; }
.t-card blockquote { margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.95; color: var(--fg); }
.t-card .q { width: 44px; height: 44px; color: var(--orange); opacity: .9; }
.t-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-avatar { width: 52px; height: 60px; clip-path: var(--hex); display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-blue); flex: none; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-person b { display: block; font-size: 16px; }
.t-person small { color: var(--muted); font-size: 13px; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: .3s; }
.slider-nav button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.slider-nav svg { width: 20px; height: 20px; }

/* ==================================================================== BLOG */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; }
.post-card .cover { aspect-ratio: 16 / 9.5; }
.post-card .cover-art .ttl { font-size: clamp(22px, 2.4vw, 30px); inset-inline-end: 8%; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-body h3 { font-size: 18.5px; line-height: 1.6; transition: color .3s; }
html[lang="en"] .post-body h3 { line-height: 1.3; }
.post-card:hover h3 { color: var(--orange-400); }
.on-light .post-card:hover h3 { color: #e05e00; }
.post-body p { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.post-meta svg { width: 15px; height: 15px; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }

/* ===================================================================== FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(255, 107, 0, .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: .4s var(--ease); }
.faq summary i { position: relative; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); line-height: 1.95; }

/* ================================================================ CTA BAND */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: radial-gradient(70% 100% at 100% 100%, rgba(255, 107, 0, .45), transparent 60%), radial-gradient(70% 100% at 0% 0%, rgba(13, 91, 255, .5), transparent 60%), var(--navy); border: 1px solid var(--line-2); }
.cta-band::before { content: ""; position: absolute; inset-inline-end: -10%; top: -30%; width: 60%; aspect-ratio: .866; clip-path: var(--hex); border: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .08), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band .form-card { background: rgba(4, 10, 26, .55); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(20px, 3vw, 32px); backdrop-filter: blur(14px); }
@media (max-width: 960px) { .cta-band { grid-template-columns: 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; }
.contact-list .hex-icon { --s: 42px; }
.contact-list small { display: block; color: var(--muted); font-size: 12.5px; }
.contact-list b { font-weight: 700; }

/* ================================================================== FOOTER */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .25s; }
.footer-col a:hover { color: var(--orange-400); }
.footer-about p { color: var(--muted); font-size: 14.5px; margin-block: 18px 24px; max-width: 360px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 50px; clip-path: var(--hex); display: grid; place-items: center; background: rgba(147, 179, 255, .08); color: var(--fg-2); transition: .35s var(--ease); }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter .input { height: 48px; }
.newsletter .btn { height: 48px; }
.newsletter-msg { font-size: 13px; margin-top: 10px; min-height: 20px; color: var(--success); }
.newsletter-msg.err { color: var(--danger); }
.footer-mega { font-family: var(--font-en); font-weight: 900; font-size: clamp(64px, 17vw, 260px); line-height: .8; letter-spacing: -.06em; text-align: center; direction: ltr; margin-top: 60px; background: linear-gradient(180deg, rgba(147, 179, 255, .16), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; position: relative; z-index: 1; margin-top: -2vw; background: var(--navy-950); }
.to-top { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: transparent; transition: .3s; }
.to-top:hover { background: var(--orange); border-color: var(--orange); }
.to-top svg { width: 18px; height: 18px; }

/* floating action */
.fab { position: fixed; z-index: 80; bottom: 22px; inset-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-orange); box-shadow: var(--shadow-glow-o); transition: transform .35s var(--ease-spring); }
.fab a:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 24px; height: 24px; }
.fab a::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2.4s ease-out infinite; }
.fab a { position: relative; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ============================================================== PAGE HERO */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); background: radial-gradient(60% 80% at 90% 0%, rgba(13, 91, 255, .3), transparent 65%), radial-gradient(40% 60% at 0% 100%, rgba(255, 107, 0, .15), transparent 70%), var(--navy-900); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.page-hero .hex-deco { position: absolute; inset-inline-end: -80px; top: 50%; transform: translateY(-50%); width: min(520px, 50vw); opacity: .35; pointer-events: none; }
.page-hero .hex-deco path { fill: none; stroke: url(#heroDecoGrad); stroke-width: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
html[dir="ltr"] .breadcrumb svg { transform: scaleX(-1); }

/* ==================================================================== PROSE */
.prose { font-size: 17px; line-height: 2.05; color: var(--fg-2); }
html[lang="en"] .prose { line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--fg); margin-top: 1.8em; position: relative; padding-inline-start: 22px; }
.prose h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 10px; height: 11.5px; background: var(--orange); clip-path: var(--hex); }
.prose h3 { font-size: 20px; color: var(--fg); margin-top: 1.5em; }
.prose a { color: var(--blue-400); text-decoration: underline; text-underline-offset: 4px; }
.on-light .prose a { color: var(--blue); }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin-inline: 0; padding: 18px 22px; border-inline-start: 3px solid var(--orange); background: rgba(255, 107, 0, .06); border-radius: 12px; color: var(--fg); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: .9em; padding: 2px 6px; border-radius: 6px; background: rgba(147, 179, 255, .1); }
.prose pre { padding: 18px; border-radius: 14px; background: var(--navy-950); overflow-x: auto; direction: ltr; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; }
.prose img { border-radius: 16px; }
.prose .task-list-item { list-style: none; margin-inline-start: -1.2em; }
.prose .task-list-item input { accent-color: var(--orange); margin-inline-end: 8px; }

/* layout helpers for detail pages */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-grid > aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1024px) { .detail-grid { grid-template-columns: 1fr; } .detail-grid > aside { position: static; } }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: rgba(255, 107, 0, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ff8a33' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.metric-box { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.metric-box b { display: block; font-family: var(--font-en); font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; }
html[dir="rtl"] .metric-box b { text-align: right; }
.metric-box span { color: var(--muted); font-size: 14px; }
.toc { display: flex; flex-direction: column; gap: 4px; }
.toc a { padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); border-inline-start: 2px solid transparent; transition: .25s; }
.toc a:hover, .toc a.on { color: var(--fg); background: rgba(147, 179, 255, .06); border-color: var(--orange); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 700; font-family: var(--font-en); }
.pagination .on { background: var(--orange); border-color: var(--orange); color: #fff; }
.pagination a:hover { border-color: var(--orange); }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* team */
.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.team-photo { width: 132px; height: 152px; clip-path: var(--hex); background: var(--grad-blue); display: grid; place-items: center; font-size: 40px; font-weight: 900; color: #fff; margin-bottom: 8px; transition: transform .6s var(--ease-spring); }
.team-card:hover .team-photo { transform: rotate(-6deg) scale(1.04); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; }
.team-card .role { color: var(--orange-400); font-size: 14px; font-weight: 600; }
.on-light .team-card .role { color: #e05e00; }
.team-card p { color: var(--muted); font-size: 14px; }

/* timeline (about) */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 31px; inset-inline: 10%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .5; }
.tl-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.tl-item .hex-icon { --s: 54px; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }

/* personality sliders (about) */
.trait { display: grid; grid-template-columns: 90px 1fr 90px; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); }
.trait .bar { position: relative; height: 4px; border-radius: 4px; background: var(--line-2); }
.trait .bar i { position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; margin-inline-start: -8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 107, 0, .2); inset-inline-start: var(--v); }
.trait span:last-child { text-align: end; }

/* audit page */
.audit-shell { max-width: 860px; margin-inline: auto; }
.audit-progress { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 28px; }
.audit-progress i { display: block; height: 100%; background: var(--grad-brand); border-radius: 6px; transition: width .6s var(--ease); }
.audit-q { animation: fadeUp .6s var(--ease); }
.audit-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
@media (max-width: 600px) { .audit-options { grid-template-columns: 1fr; } }
.audit-opt { text-align: start; display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); color: var(--fg); font-weight: 600; transition: .3s var(--ease); }
.audit-opt:hover { border-color: var(--orange); transform: translateY(-2px); }
.audit-opt.sel { border-color: var(--orange); background: rgba(255, 107, 0, .12); }
.audit-opt .k { flex: none; width: 34px; height: 38px; clip-path: var(--hex); display: grid; place-items: center; background: var(--navy-700); font-family: var(--font-en); font-size: 13px; }
.audit-opt.sel .k { background: var(--orange); }
.score-bars { display: flex; flex-direction: column; gap: 14px; }
.score-row { display: grid; grid-template-columns: 150px 1fr 48px; gap: 12px; align-items: center; font-size: 14px; }
.score-row .bar { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.score-row .bar i { display: block; height: 100%; border-radius: 10px; background: var(--grad-brand); }
.score-row b { font-family: var(--font-en); text-align: end; }

/* map */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--navy-900); position: relative; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* ================================================================= REVEAL */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }


/* page enter (enhanced navigation) */
main { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }

/* =============================================================== PRELOADER */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--navy-950); pointer-events: none; animation: preOut .5s ease .9s forwards; }
@keyframes preOut { to { opacity: 0; visibility: hidden; } }
.preloader svg { width: 84px; }
.preloader .lp-o { animation: pre 1s var(--ease) infinite alternate; }
.preloader .lp-b { animation: pre 1s var(--ease) .2s infinite alternate; }
@keyframes pre { from { opacity: .25; transform: scale(.94); } }
.preloader.done { opacity: 0; visibility: hidden; }


/* custom cursor glow (desktop only) */
.cursor-glow { position: fixed; z-index: 0; pointer-events: none; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; background: radial-gradient(circle, rgba(13, 91, 255, .09), transparent 60%); left: 0; top: 0; transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); }
@media (hover: none) { .cursor-glow { display: none; } }

/* reconnect modal tweaks */
#components-reconnect-modal { border: 1px solid var(--line-2); border-radius: 20px; background: var(--navy-900); color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}

/* opaque mega menu so it stays legible above light sections */
.mega.glass { background: rgba(7, 16, 40, .97); }

/* mobile: filter tabs scroll horizontally instead of widening the page */
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; }
html, body { overflow-x: clip; }
html[lang="fa"] .prose ol { list-style-type: persian; }

/* default icon size (component classes override) */
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.mobile-menu a.m-link .ico { width: 22px; height: 22px; opacity: .55; }
.preloader.done { display: none; }


/* ============================================================ ACCOUNT / AUTH */
.acc-btn { width: auto; min-width: 44px; padding-inline: 12px; gap: 6px; display: inline-flex; align-items: center; justify-content: center; }
.acc-btn .ico { width: 18px; height: 18px; }
.acc-btn--text span { font-family: var(--font-fa); font-size: 13.5px; font-weight: 700; }
@media (max-width: 520px) { .acc-btn--text span { display: none; } }

.auth-wrap { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px;
    background: radial-gradient(60% 60% at 85% 10%, rgba(13, 91, 255, .28), transparent 70%), radial-gradient(40% 50% at 5% 95%, rgba(255, 107, 0, .16), transparent 70%), var(--navy-950); }
.auth-wrap .container { width: 100%; }
.auth-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.auth-side { display: flex; flex-direction: column; gap: 22px; }
.auth-side .eyebrow { align-self: flex-start; }
.auth-card { border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); background: rgba(7, 16, 40, .88); }
.auth-card .h3 { font-size: 22px; }
.auth-card .alert { margin-bottom: 16px; }
.auth-sub { font-size: 14.5px; margin: 8px 0 20px; }
.auth-tabs { display: flex; width: 100%; margin-bottom: 18px; }
.auth-tabs a { flex: 1; height: 40px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); transition: .25s; padding-inline: 8px; }
.auth-tabs a.on { background: var(--card-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.input--xl { height: 58px; font-size: 18px; letter-spacing: .04em; text-align: center; }
.input--otp { height: 64px; font-size: 30px; font-weight: 800; letter-spacing: .6em; text-align: center; font-family: var(--font-en); padding-inline-start: .6em; }
.auth-alt { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.auth-alt button { cursor: pointer; font: inherit; }
.auth-alt button[disabled] { opacity: .5; cursor: default; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: 1fr; } .auth-side { display: none; } }

.acc-wrap { padding: calc(var(--header-h) + 40px) 0 80px; min-height: 80svh; background: radial-gradient(50% 40% at 90% 0%, rgba(13, 91, 255, .2), transparent 70%), var(--navy-950); }
.acc-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
.acc-me { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.acc-me b { display: block; font-size: 15px; }
.acc-me small { color: var(--muted); font-size: 12.5px; }
.acc-nav { display: flex; flex-direction: column; gap: 4px; }
.acc-nav a { display: flex; align-items: center; gap: 10px; height: 44px; padding-inline: 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--fg-2); transition: .2s; }
.acc-nav a:hover, .acc-nav a.on { background: rgba(255, 107, 0, .12); color: #fff; }
.acc-nav a.on .ico { color: var(--orange-400); }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.acc-head .eyebrow { align-self: flex-start; }
.a-kpi-lite b { display: block; font-size: 34px; font-weight: 800; line-height: 1.2; }
.a-kpi-lite span { color: var(--muted); font-size: 14px; }
.req-card { padding: 22px 24px; }
.req-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; position: relative; padding: 0; }
.req-track li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); position: relative; text-align: center; }
.req-track li::before { content: ""; position: absolute; top: 9px; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--line-2); }
.req-track li:first-child::before { display: none; }
.req-track li.done::before { background: var(--orange); }
.req-track i { width: 18px; height: 20px; clip-path: var(--hex); background: var(--navy-700); position: relative; z-index: 1; }
.req-track li.done i { background: var(--orange); }
.req-track li.done span { color: var(--fg); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 12px; border-radius: 100px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--new { color: #ffb27a; background: rgba(255, 107, 0, .14); }
.pill--contacted, .pill--qualified { color: #93b3ff; background: rgba(13, 91, 255, .16); }
.pill--proposal { color: #ffd66b; background: rgba(255, 200, 0, .12); }
.pill--won { color: #6ff0c2; background: rgba(34, 195, 142, .14); }
.pill--lost { color: #ff9a9d; background: rgba(255, 90, 95, .12); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } .acc-side { position: static; } }

/* trust badges (e-Namad etc.) */
.trust-row { margin-top: 48px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: rgba(147, 179, 255, .03); }
.trust-title { display: inline-flex; gap: 8px; align-items: center; color: var(--fg-2); font-weight: 700; font-size: 14px; }
.trust-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust-badges img { max-height: 110px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }


/* ================================================================ LANGUAGE MENU */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--fg-2); font-family: var(--font-en); font-weight: 700; font-size: 13px; transition: .25s; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--orange); color: #fff; background: rgba(255, 107, 0, .08); }
.lang-menu summary img, .lang-item img, .lang-pill img { border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 4px 10px rgba(0, 0, 0, .35); }
.lang-caret { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }
.lang-pop { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 230px; padding: 8px; border-radius: 18px; display: flex; flex-direction: column; gap: 2px; z-index: 120;
    background: rgba(7, 16, 40, .97); box-shadow: var(--shadow); transform-origin: top; animation: langIn .35s var(--ease-spring); }
html[dir="rtl"] .lang-pop { transform-origin: top left; }
@keyframes langIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.lang-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background .2s, transform .2s; }
.lang-item:hover { background: rgba(147, 179, 255, .08); transform: translateX(var(--nudge, -3px)); }
html[dir="ltr"] .lang-item:hover { --nudge: 3px; }
.lang-item b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.4; }
.lang-item small { display: block; font-size: 11.5px; color: var(--muted); font-family: var(--font-en); }
.lang-item.on { background: rgba(255, 107, 0, .12); }
.lang-check { margin-inline-start: auto; width: 18px; height: 18px; color: var(--orange-400); }
.lang-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lang-pill { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-2); font-weight: 700; font-size: 13.5px; color: var(--fg-2); }
.lang-pill.on { border-color: var(--orange); background: rgba(255, 107, 0, .1); color: #fff; }
@media (max-width: 520px) { .lang-menu .lang-code { display: none; } .lang-menu summary { padding-inline: 10px; } }

/* Arabic tweaks */
html[lang="ar"] body { line-height: 1.9; }

.acc-project { display: flex; flex-direction: column; gap: 12px; border-color: rgba(255, 107, 0, .3); background: radial-gradient(120% 100% at 0% 0%, rgba(255, 107, 0, .16), transparent 55%), var(--card); }
.acc-project-bar { height: 8px; border-radius: 8px; background: rgba(147, 179, 255, .12); overflow: hidden; }
.acc-project-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--orange)); }

/* Persian/Arabic digits must use the Persian font (Geist would draw Latin shapes) */
html[lang="fa"] .num, html[lang="ar"] .num { font-family: var(--font-fa); font-feature-settings: normal; }
