/* ============================================================
   ALLWAYS INTERNATIONAL — public site
   Ink navy ground, brushed-silver type, the logo's road as the
   recurring motif. No frameworks, no video: everything animates
   with CSS + one small canvas, so the page loads in one round trip.
   ============================================================ */
:root {
  --ink: #070c16; --ink-2: #0b1220; --ink-3: #111a2b; --ink-4: #16223a;
  --silver: #e6eaf1; --silver-2: #c9d1dc; --steel: #8b96a8; --steel-2: #5b6779;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --accent: #5b8fd0; --accent-2: #8fb6e8; --glow: rgba(91,143,208,.35);
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--ink); color: var(--silver); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 48px); margin: 0 auto; }
.silver { background: linear-gradient(100deg, #fff 0%, #cfd6e0 35%, #8d97a7 50%, #e9edf3 65%, #b8c1cd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--steel); font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--steel-2); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.lead { color: var(--silver-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 620px; margin: 18px 0 0; }
section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.grain::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .045; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 15px; cursor: pointer; background: transparent; color: var(--silver); transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.btn--primary { background: linear-gradient(135deg, #f3f5f8, #b9c2ce); color: #0b1220; border-color: transparent; box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); }
.btn--primary:hover { background: #fff; box-shadow: 0 16px 40px -12px rgba(255,255,255,.5); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7,12,22,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 38px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; letter-spacing: .32em; font-size: 15px; color: #fff; }
.brand__sub { font-weight: 600; letter-spacing: .3em; font-size: 8.5px; color: var(--steel); margin-top: 5px; }
.nav__links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--silver-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--silver); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { background: transparent; border: 0; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--steel); cursor: pointer; transition: background .2s, color .2s; }
.lang button.active { background: var(--silver); color: var(--ink); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav__burger svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 140px 0 90px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 62%, rgba(91,143,208,.20), transparent 60%),
    radial-gradient(40% 30% at 20% 20%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(7,12,22,.2) 0%, rgba(7,12,22,0) 30%, rgba(7,12,22,.85) 100%); }
.hero__mark { position: absolute; right: -6vw; top: 50%; width: min(46vw, 620px); transform: translateY(-52%); opacity: .12; z-index: -1; pointer-events: none; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-49%) rotate(-1.5deg); } }
.hero__eyebrow { animation: rise .9s var(--ease) both; }
.hero h1 { font-size: clamp(42px, 7vw, 96px); max-width: 12ch; animation: rise .9s .1s var(--ease) both; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { animation: rise .9s .2s var(--ease) both; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; animation: rise .9s .3s var(--ease) both; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--steel); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--steel), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: #fff; animation: drop 2s var(--ease) infinite; }
@keyframes drop { to { top: 44px; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: rgba(255,255,255,.015); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; color: var(--steel); }
.marquee__track span::before { content: '◆'; font-size: 7px; margin-right: 48px; vertical-align: 2px; color: var(--steel-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s } .rv[data-d="2"] { transition-delay: .2s } .rv[data-d="3"] { transition-delay: .3s } .rv[data-d="4"] { transition-delay: .4s } .rv[data-d="5"] { transition-delay: .5s }

/* ---------- strip (3 claims) ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: -40px; position: relative; z-index: 2; }
.strip > div { background: var(--ink-2); padding: 26px 28px; }
.strip b { display: block; font-size: 17px; color: #fff; margin-bottom: 6px; letter-spacing: -.01em; }
.strip p { margin: 0; color: var(--steel); font-size: 14px; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.card { position: relative; grid-column: span 2; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; min-height: 250px; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.card::before { content: ''; position: absolute; inset: -1px; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.10), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.card--wide { grid-column: span 3; min-height: 320px; }
.card__ic { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: auto; background: rgba(255,255,255,.03); }
.card__ic svg { width: 22px; height: 22px; fill: none; stroke: var(--silver); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 26px; }
.card p { color: var(--steel); margin: 10px 0 0; font-size: 15px; }
.card .tag { position: absolute; right: 22px; top: 22px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--ink); background: var(--silver); padding: 5px 10px; border-radius: 999px; }
.card--wide .card__road { position: absolute; right: -40px; bottom: -30px; width: 260px; opacity: .10; pointer-events: none; }

/* ---------- process ---------- */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 60px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--steel-2) 0 14px, transparent 14px 26px); opacity: .6; }
.step { position: relative; padding-top: 68px; }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .05em; color: #fff; background: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 0 0 8px var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.step.in::before { background: var(--silver); color: var(--ink); }
.step h3 { font-size: 18px; }
.step p { color: var(--steel); font-size: 14.5px; margin: 8px 0 0; }

/* ---------- platform (system showcase) ---------- */
.platform { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%); }
.platform__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--silver-2); font-size: 15.5px; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--ink-4) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23e6eaf1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat; border: 1px solid var(--line-2); }
.mock { border: 1px solid var(--line-2); border-radius: 20px; background: #0d1526; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset; overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.mock__body { display: grid; grid-template-columns: 120px 1fr; }
.mock__rail { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 6px; align-content: start; }
.mock__rail i { display: block; height: 10px; border-radius: 4px; background: var(--ink-4); }
.mock__rail i:first-child { background: var(--silver); opacity: .85; }
.mock__main { padding: 16px; display: grid; gap: 12px; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock__kpi { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock__kpi small { display: block; font-size: 9.5px; color: var(--steel); letter-spacing: .04em; }
.mock__kpi b { display: block; font-size: 20px; margin-top: 4px; color: #fff; letter-spacing: -.02em; }
.mock__kpi.red b { color: #ff7b85; } .mock__kpi.amber b { color: #ffb86b; } .mock__kpi.green b { color: #8fd18a; }
.mock__rows { display: grid; gap: 5px; }
.mock__row { display: grid; grid-template-columns: 90px 1fr 70px 60px; gap: 10px; align-items: center; font-size: 11px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.025); color: var(--silver-2); font-variant-numeric: tabular-nums; }
.mock__row i { height: 7px; border-radius: 3px; background: var(--ink-4); display: block; }
.mock__row.red { background: rgba(255,90,100,.14); color: #ffb0b6; } .mock__row.amber { background: rgba(255,170,80,.14); color: #ffd3a3; } .mock__row.green { background: rgba(120,200,110,.14); color: #bfe8b8; }
.mock__row b { font-weight: 700; }
.mock__row .pill { font-size: 9.5px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.1); text-align: center; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.why > div { padding: 28px 0 0; border-top: 1px solid var(--line-2); }
.why b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.why h3 { font-size: 17px; }
.why p { color: var(--steel); font-size: 14.5px; margin: 8px 0 0; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.contact__list small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; font-weight: 700; }
.contact__list a, .contact__list span { font-size: 18px; color: #fff; font-weight: 600; }
.form { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: rgba(255,255,255,.02); }
.form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--steel); font-weight: 700; letter-spacing: .04em; }
.form input, .form textarea { font: inherit; color: #fff; background: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 6px; }
.form small { color: var(--steel-2); font-size: 12px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 13px; color: var(--steel); }
.footer__in { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer__legal { margin-right: auto; line-height: 1.6; }
.footer__legal b { color: var(--silver); letter-spacing: .2em; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .card, .card--wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .steps::before { display: none; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .platform__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
}
@media (max-width: 820px) {
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: rgba(7,12,22,.96); border-bottom: 1px solid var(--line); padding: 10px 24px 18px; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__burger { display: inline-flex; }
  .nav .btn--login { display: none; }
  .hero { padding-top: 120px; }
  .hero__mark { right: -30vw; width: 80vw; opacity: .08; }
  .strip { grid-template-columns: 1fr; margin-top: 0; }
  .services, .steps, .why { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- tracking box (hero) ---------- */
.trackbox { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; max-width: 470px; animation: rise .9s .45s var(--ease) both; }
.trackbox label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.trackbox__row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.trackbox input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 600 18px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .12em; padding: 0 12px; text-transform: uppercase; }
.trackbox input::placeholder { color: rgba(217,222,230,.35); }
.trackbox input:focus { outline: none; }

/* ---------- Arabic / Kurdish (right to left) ---------- */
html[dir="rtl"] body { font-family: 'Noto Sans Arabic', 'Manrope', system-ui, sans-serif; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .trackbox label { letter-spacing: 0; }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .brand, html[dir="rtl"] .lang { direction: ltr; }
