/* ============================================================
   AIN | Marketing Site
   Theme aligned 1:1 with AIN v2 monitoring platform
   ============================================================ */

/* ---------- Local fonts ---------- */
@font-face {
  font-family: 'Tajawal';
  src: url('tajawal-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('tajawal-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('tajawal-arabic-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('jetbrains-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- Theme tokens (mirror system styles.css) ---------- */
:root {
  /* primary palette */
  --cy:      #06B6D4;
  --cy-h:    #22D3EE;
  --cy-d:    #0891B2;
  --gn:      #22C55E;
  --rd:      #EF4444;
  --am:      #F59E0B;
  --bl:      #3B82F6;
  --pp:      #8B5CF6;
  --pk:      #EC4899;

  /* background layers */
  --bg-0:    #0a0a0a;
  --bg-1:    #111;
  --bg-2:    #181818;
  --bg-3:    #1E1E1E;
  --bg-4:    #151515;

  /* borders */
  --b-cy:    rgba(6,182,212,.20);
  --b-cy-2:  rgba(6,182,212,.40);
  --b-w-1:   rgba(255,255,255,.07);
  --b-w-2:   rgba(255,255,255,.04);

  /* text */
  --t-1:     #ffffff;
  --t-2:     #e8e8e8;
  --t-3:     #888888;
  --t-4:     #4A4A4A;
  --t-5:     #333333;

  /* font stacks */
  --f-body:  'Tajawal', system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:  'JetBrains Mono', ui-monospace, "Cascadia Mono", Menlo, monospace;
}

/* ---------- Base ---------- */
html, body {
  background: var(--bg-1);
  color: var(--t-1);
  font-family: var(--f-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
body { direction: rtl; }
body.ltr { direction: ltr; }

::selection { background: var(--cy); color: #000; }

/* Scrollbar (match system) */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--cy); border-radius: 4px; }
::-webkit-scrollbar-track { background: var(--bg-3); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================================
   Background pattern — same grid + scan as system loading screen
   ============================================================ */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg,  transparent, transparent 39px, rgba(6,182,212,.035) 39px, rgba(6,182,212,.035) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(6,182,212,.035) 39px, rgba(6,182,212,.035) 40px);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.bg-scan {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-scan::before {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cy), transparent);
  opacity: .35;
  animation: scan 8s linear infinite;
}
@keyframes scan { 0% { top: -2%; } 100% { top: 102%; } }

/* faint vignette */
.bg-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,.06), transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(139,92,246,.05), transparent 50%);
}

/* All content sits above bg layers */
.site { position: relative; z-index: 1; }

/* ============================================================
   Top bar (match system #tb)
   ============================================================ */
.tb {
  position: sticky; top: 0; z-index: 100;
  height: 56px;
  display: flex; align-items: center;
  background: rgba(24,24,24,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--b-w-1);
}
.tb__logo {
  display: flex; align-items: center; gap: 12px;
  padding: 0 18px;
  border-inline-end: 1px solid var(--b-w-1);
  height: 100%;
}
.tb__logo img {
  height: 32px; width: auto; max-width: 130px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(6,182,212,.4));
}
.tb__nm {
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px; color: var(--t-1);
  text-transform: uppercase;
}
.tb__nm span { color: var(--cy); }

.tb__nav {
  display: flex; align-items: center; gap: 2px; height: 100%;
  margin-inline-start: 14px;
}
.tb__nav a {
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; height: 100%;
  font-size: 13px; font-weight: 700; letter-spacing: 0;
  color: var(--t-2);
  border-bottom: 2px solid transparent;
  transition: all .15s;
  line-height: 1;
}
.tb__nav a .lang-en {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tb__nav a:hover  { color: var(--cy); background: rgba(6,182,212,.04); }
.tb__nav a.is-on  { color: var(--cy); border-bottom-color: var(--cy); }

.tb__live {
  display: flex; align-items: center; gap: 6px;
  margin-inline-start: 14px;
  padding: 4px 10px;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.30);
  border-radius: 3px;
  font-size: 9px; font-weight: 700; color: var(--gn);
  font-family: var(--f-mono); letter-spacing: 1px;
}
.tb__live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gn);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.tb__cta {
  margin-inline-start: auto;
  padding: 0 18px;
  height: 100%;
  display: flex; align-items: center;
  gap: 10px;
  border-inline-start: 1px solid var(--b-w-1);
}
.tb__cta a {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--t-3); text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--b-w-1); border-radius: 3px;
  transition: all .15s;
}
.tb__cta a.primary {
  background: var(--cy); color: #000; border-color: var(--cy);
  box-shadow: 0 0 24px rgba(6,182,212,.30);
}
.tb__cta a:hover { color: var(--cy); border-color: var(--cy); }
.tb__cta a.primary:hover { background: var(--cy-h); color: #000; }

/* Mobile burger */
.tb__burger { display: none; padding: 0 16px; font-size: 22px; color: var(--t-2); }

/* ============================================================
   Section primitives
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--b-cy);
  border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--cy); text-transform: uppercase;
  font-family: var(--f-mono);
}
.eyebrow i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--cy);
  box-shadow: 0 0 8px var(--cy);
}

.h-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 18px 0 14px;
  color: var(--t-1);
  letter-spacing: -0.5px;
}
.h-title em {
  font-style: normal;
  color: var(--cy);
  position: relative;
}
.h-title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--cy); opacity: .35;
}

.h-sub {
  font-size: 15px; line-height: 1.75;
  color: var(--t-3);
  max-width: 720px;
}

/* ============================================================
   LANGUAGE TOGGLE — switches whole site between AR and EN
   Default: lang="ar" → shows .ar, hides .en, dir=rtl
   Switch:  lang="en" → shows .en, hides .ar, dir=ltr, EN content takes primary styling
   ============================================================ */

/* Bilingual element visibility */
html[lang="ar"] .lang-en { display: none !important; }
html[lang="en"] .lang-ar { display: none !important; }

html[lang="ar"] .bi-title .lang-en,
html[lang="ar"] .bi-lead .lang-en,
html[lang="ar"] .bi-hero-sub .lang-en {
  /* keep visible — these are subtitles in AR mode */
}
html[lang="en"] .bi-title .lang-ar,
html[lang="en"] .bi-lead .lang-ar,
html[lang="en"] .bi-hero-sub .lang-ar {
  display: none;
}

/* When in English mode, promote .en text to primary styling */
html[lang="en"] {
  direction: ltr;
}
html[lang="en"] body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html[lang="en"] .bi-title .lang-en {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--t-1);
  letter-spacing: -0.5px;
  text-transform: none;
  line-height: 1.18;
  margin: 0;
  padding: 0;
}
html[lang="en"] .bi-title .lang-en::before { display: none; }
html[lang="en"] .bi-title .lang-en em {
  font-style: normal;
  color: var(--cy);
  position: relative;
}

html[lang="en"] .bi-lead .lang-en {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--t-3);
  letter-spacing: normal;
  margin: 0;
  padding: 0;
  border: none;
  font-style: normal;
  direction: ltr;
  text-align: start;
}

html[lang="en"] .bi-hero-sub .lang-en {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--t-2);
  letter-spacing: normal;
  margin: 0;
  padding: 0;
  border: none;
}

/* Nav links: switch between AR (default) and EN (uppercase, no Arabic) */
html[lang="en"] .tb__nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
html[lang="en"] .tb__nav a .lang-en {
  display: inline;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  text-transform: inherit;
  font-family: inherit;
}

/* Hero title: replace Arabic words with English version when EN mode */
html[lang="en"] .hero__title {
  display: none;
}
html[lang="en"] .hero__title-en-big {
  display: block;
}
.hero__title-en-big { display: none; }
.hero__title-en-big {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--t-1);
  font-family: 'Inter', system-ui, sans-serif;
}
.hero__title-en-big em {
  font-style: normal;
  color: var(--cy);
  background: linear-gradient(180deg, var(--cy), var(--cy-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[lang="en"] .hero__title-en {
  font-size: 14px;
  margin-top: 14px;
}

/* Footer EN-mini badges hide in EN mode (already shown as primary) */
html[lang="en"] .ft__col h5 .en-mini { display: none; }
html[lang="en"] .ft__col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--cy);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Language toggle button */
.lang-tog {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--b-w-1);
  border-radius: 2px;
  height: 32px;
  margin-inline-start: 12px;
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.lang-tog a {
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding: 0 12px;
  color: var(--t-3);
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  background: transparent;
}
.lang-tog a + a { border-inline-start: 1px solid var(--b-w-1); }
.lang-tog a:hover { color: var(--cy); background: rgba(6,182,212,.06); }
.lang-tog a.is-on { background: var(--cy); color: #000; }

/* When in EN, swap nav direction so it reads left-to-right */
html[lang="en"] .tb__nav { flex-direction: row; }
html[lang="en"] .ft__bottom { flex-direction: row; }

/* In EN mode: hide Arabic mod name, promote English to primary */
html[lang="en"] .mod__name { display: none; }
html[lang="en"] .mod__en {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--t-1);
  letter-spacing: -0.3px;
  text-transform: none;
  margin-bottom: 12px;
}

/* hero pills layout in EN */
html[lang="en"] .hero__pill span.lang-en {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   BILINGUAL TYPOGRAPHY SYSTEM — Arabic primary + English subtitle
   ============================================================ */

/* Big title with English translation BELOW the Arabic */
.bi-title { margin: 18px 0 14px; }
.bi-title .lang-ar {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--t-1);
  letter-spacing: -0.5px;
}
.bi-title .lang-ar em {
  font-style: normal;
  color: var(--cy);
  position: relative;
}
.bi-title .lang-ar em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--cy); opacity: .35;
}
.bi-title .lang-en {
  display: block;
  font-family: var(--f-mono);
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--cy);
  text-transform: uppercase;
  margin-top: 14px;
  padding-top: 12px;
  position: relative;
  line-height: 1.5;
}
.bi-title .lang-en::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 48px;
  height: 1px;
  background: var(--cy);
  opacity: .8;
}
.bi-title.center { text-align: center; }
.bi-title.center .en::before { left: 50%; transform: translateX(-50%); }

/* Lead paragraph with English version below */
.bi-lead .lang-ar {
  display: block;
  font-size: 15px;
  line-height: 1.85;
  color: var(--t-2);
}
.bi-lead .lang-en {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--t-4);
  letter-spacing: 0.3px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--b-w-1);
  font-style: italic;
  direction: ltr;
  text-align: start;
}

/* Inline label: Arabic + English in single line (for cards) */
.bi-label .lang-ar {
  display: block;
  font-weight: 700;
  color: var(--t-1);
  font-size: 16px;
  line-height: 1.3;
}
.bi-label .lang-en {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--cy);
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .85;
}

/* Hero subtitle Arabic + English */
.bi-hero-sub {
  margin-top: 18px;
}
.bi-hero-sub .lang-ar {
  display: block;
  font-size: 17px;
  line-height: 1.85;
  color: var(--t-2);
  max-width: 600px;
}
.bi-hero-sub .lang-en {
  display: block;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--t-3);
  letter-spacing: 0.4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--b-w-1);
  max-width: 600px;
  direction: ltr;
  text-align: start;
}

/* Section overline (English) — slightly more refined eyebrow */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--cy);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.overline::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--cy);
  opacity: .6;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .h-sub { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all .2s;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--cy); color: #000;
  box-shadow: 0 0 36px rgba(6,182,212,.32);
}
.btn--primary:hover { background: var(--cy-h); transform: translateY(-1px); box-shadow: 0 8px 44px rgba(6,182,212,.46); }
.btn--ghost {
  border-color: var(--b-cy);
  color: var(--cy);
}
.btn--ghost:hover { background: rgba(6,182,212,.06); border-color: var(--cy); }
.btn--lg { padding: 14px 28px; font-size: 13px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 90px 0 80px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

.hero__pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.hero__pill {
  border: 1px solid var(--b-cy);
  color: var(--t-3);
  padding: 5px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
}
.hero__pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--cy); }

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}
.hero__title .ar-mark {
  display: inline-block;
  background: linear-gradient(135deg, var(--cy) 0%, var(--cy-h) 50%, var(--pp) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.hero__title .word {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: slideUp .7s forwards;
}
.hero__title .word:nth-child(1) { animation-delay: .05s; }
.hero__title .word:nth-child(2) { animation-delay: .15s; }
.hero__title .word:nth-child(3) { animation-delay: .25s; }
.hero__title .word:nth-child(4) { animation-delay: .35s; }
.hero__title .word:nth-child(5) { animation-delay: .45s; }

.hero__title-en {
  font-family: var(--f-mono);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--cy);
  text-transform: uppercase;
  margin-top: 18px;
  padding-top: 16px;
  position: relative;
  direction: ltr;
  text-align: start;
}
.hero__title-en::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--cy), transparent);
}
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.hero__lede {
  font-size: 17px; line-height: 1.8;
  color: var(--t-3);
  max-width: 580px;
  margin-bottom: 28px;
}
.hero__lede strong { color: var(--t-2); font-weight: 700; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  margin-top: 36px;
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--b-w-1);
}
.hero__meta-item .v {
  font-family: var(--f-mono);
  font-size: 26px; font-weight: 700; color: var(--cy);
  display: block; line-height: 1;
}
.hero__meta-item .l {
  font-size: 10px; color: var(--t-4); text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 6px; display: block;
}

/* Hero visual: mock dashboard */
.hero__viz {
  background: linear-gradient(180deg, rgba(24,24,24,.8), rgba(17,17,17,.95));
  border: 1px solid var(--b-w-1);
  border-radius: 4px;
  padding: 16px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px var(--b-cy);
  overflow: hidden;
}
.hero__viz::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cy), transparent);
  animation: scan 4s linear infinite;
}
.hero__viz-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid var(--b-w-1);
}
.hero__viz-head .label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: var(--t-4); text-transform: uppercase;
  font-family: var(--f-mono);
}
.hero__viz-head .live {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-family: var(--f-mono); color: var(--gn);
  letter-spacing: 1px;
}
.hero__viz-head .live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gn); animation: blink 1.5s infinite;
}

.hero__viz-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 12px;
}
.hero__viz-kpi {
  background: var(--bg-2); border: 1px solid var(--b-w-1);
  border-top: 2px solid var(--cy);
  border-radius: 2px;
  padding: 10px;
}
.hero__viz-kpi.gn { border-top-color: var(--gn); }
.hero__viz-kpi.am { border-top-color: var(--am); }
.hero__viz-kpi.rd { border-top-color: var(--rd); }
.hero__viz-kpi .l { font-size: 8px; color: var(--t-4); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.hero__viz-kpi .v { font-family: var(--f-mono); font-size: 22px; font-weight: 800; margin-top: 4px; line-height: 1; }
.hero__viz-kpi .s { font-size: 9px; color: var(--t-4); margin-top: 3px; font-family: var(--f-mono); }

.hero__viz-chart {
  background: var(--bg-2); border: 1px solid var(--b-w-1);
  border-radius: 2px;
  padding: 12px;
  height: 140px;
  position: relative;
}
.hero__viz-chart .l { font-size: 9px; color: var(--t-4); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 8px; font-family: var(--f-mono); }
.hero__viz-chart svg { width: 100%; height: 100px; display: block; }

.hero__viz-feed {
  background: var(--bg-2); border: 1px solid var(--b-w-1);
  border-radius: 2px;
  margin-top: 8px;
  max-height: 130px; overflow: hidden;
}
.hero__viz-feed .l { font-size: 9px; color: var(--t-4); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; padding: 8px 12px; border-bottom: 1px solid var(--b-w-1); font-family: var(--f-mono); }
.hero__viz-feed-list { padding: 6px 0; }
.hero__viz-feed-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  font-size: 10px; font-family: var(--f-mono); color: var(--t-3);
}
.hero__viz-feed-row .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hero__viz-feed-row.cr .dot { background: var(--rd); box-shadow: 0 0 6px var(--rd); }
.hero__viz-feed-row.wn .dot { background: var(--am); }
.hero__viz-feed-row.in .dot { background: var(--bl); }
.hero__viz-feed-row .ts { color: var(--t-4); margin-inline-start: auto; font-size: 9px; }

/* ============================================================
   STATS strip
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-top: 2px solid var(--cy);
  border-radius: 3px;
  padding: 24px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.stat:hover { background: var(--bg-3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,182,212,.10); }
.stat:nth-child(2) { border-top-color: var(--gn); }
.stat:nth-child(3) { border-top-color: var(--pp); }
.stat:nth-child(4) { border-top-color: var(--am); }
.stat .l {
  font-size: 9px; color: var(--t-4); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
  font-family: var(--f-mono);
}
.stat .v {
  font-family: var(--f-mono);
  font-size: 36px; font-weight: 800;
  margin-top: 8px; line-height: 1;
  color: var(--t-1);
}
.stat:nth-child(1) .v { color: var(--cy); }
.stat:nth-child(2) .v { color: var(--gn); }
.stat:nth-child(3) .v { color: var(--pp); }
.stat:nth-child(4) .v { color: var(--am); }
.stat .s { font-size: 12px; color: var(--t-3); margin-top: 8px; }

/* ============================================================
   MODULES grid
   ============================================================ */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mod {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 3px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
}
.mod::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--cy);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.mod:hover::before { transform: scaleX(1); }
.mod:hover { background: var(--bg-3); border-color: var(--b-cy); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(6,182,212,.10); }

.mod__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mod__ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,182,212,.08);
  border: 1px solid var(--b-cy);
  border-radius: 3px;
  color: var(--cy);
  flex-shrink: 0;
}
.mod__ico svg { width: 22px; height: 22px; stroke-width: 1.8; }
.mod__num {
  margin-inline-start: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-4);
  letter-spacing: 1px;
}
.mod__name {
  font-size: 16px; font-weight: 800;
  color: var(--t-1);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.mod__en {
  font-size: 10px; color: var(--cy); letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--f-mono); font-weight: 600;
  margin-bottom: 12px;
}
.mod__desc { font-size: 13px; color: var(--t-3); line-height: 1.7; }
.mod__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mod__tag {
  font-size: 9px; padding: 3px 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b-w-1);
  border-radius: 12px;
  color: var(--t-3);
  font-family: var(--f-mono); letter-spacing: 0.5px;
}

/* color variants for module icons */
.mod--gn .mod__ico { color: var(--gn); background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); }
.mod--am .mod__ico { color: var(--am); background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.25); }
.mod--rd .mod__ico { color: var(--rd); background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.25); }
.mod--bl .mod__ico { color: var(--bl); background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.25); }
.mod--pp .mod__ico { color: var(--pp); background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.25); }
.mod--pk .mod__ico { color: var(--pk); background: rgba(236,72,153,.08); border-color: rgba(236,72,153,.25); }
.mod--gn::before { background: var(--gn); }
.mod--am::before { background: var(--am); }
.mod--rd::before { background: var(--rd); }
.mod--bl::before { background: var(--bl); }
.mod--pp::before { background: var(--pp); }
.mod--pk::before { background: var(--pk); }

/* ============================================================
   FEATURE rows (alternating image + text)
   ============================================================ */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.frow:last-child { margin-bottom: 0; }
.frow--rev .frow__txt { order: 2; }

.frow__txt .eyebrow { margin-bottom: 14px; }
.frow__head {
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 16px;
}
.frow__head em { font-style: normal; color: var(--cy); }
.frow__desc { font-size: 14px; color: var(--t-3); line-height: 1.8; margin-bottom: 18px; }
.frow__list { list-style: none; }
.frow__list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--t-2);
}
.frow__list li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 6px; height: 6px;
  background: var(--cy);
  box-shadow: 0 0 6px var(--cy);
  transform: rotate(45deg);
}

.frow__img {
  position: relative;
  border: 1px solid var(--b-w-1);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px var(--b-cy);
}
.frow__img::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--cy), transparent);
  animation: scan 6s linear infinite;
}
.frow__img img { width: 100%; display: block; }
.frow__img-tag {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 3;
  font-size: 9px; font-family: var(--f-mono); color: var(--cy);
  background: rgba(0,0,0,.85);
  border: 1px solid var(--b-cy);
  padding: 4px 10px; border-radius: 2px; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ============================================================
   WHY us (cards)
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why__card {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 3px;
  padding: 30px 26px;
  position: relative;
}
.why__card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, transparent 50%, var(--b-cy) 50%);
  border-radius: 0 3px 0 0;
  opacity: .6;
}
.why__card .n {
  font-family: var(--f-mono); font-size: 12px; color: var(--cy);
  letter-spacing: 2px;
}
.why__card .h {
  font-size: 18px; font-weight: 800;
  margin: 14px 0 10px;
  letter-spacing: -0.3px;
}
.why__card .p { font-size: 13px; color: var(--t-3); line-height: 1.75; }

/* ============================================================
   Saudi map (geographic deployment)
   ============================================================ */
.geo {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 4px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.geo__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 16px; }
.geo__head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.geo__legend { display: flex; gap: 14px; }
.geo__leg { display: flex; align-items: center; gap: 6px; font-size: 10px; font-family: var(--f-mono); color: var(--t-3); letter-spacing: 1px; }
.geo__leg i { width: 8px; height: 8px; border-radius: 50%; }
.geo__map-wrap { position: relative; }
.geo__map { width: 100%; max-width: 760px; margin: 0 auto; display: block; }

/* Screenshot-based geo map */
.geo__shot-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--b-cy);
  box-shadow: 0 0 60px rgba(6,182,212,.18), inset 0 0 0 1px rgba(255,255,255,.02);
}
.geo__shot { width: 100%; display: block; }
.geo__shot-wrap::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cy), transparent);
  animation: scan 6s linear infinite;
  z-index: 2;
}
.geo__shot-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, transparent 30%, transparent 80%, rgba(6,182,212,.06) 100%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0,0,0,.04) 3px);
  pointer-events: none;
  z-index: 1;
}
.geo__corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--cy);
  z-index: 3;
}
.geo__corner.tl { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.geo__corner.tr { top: 10px; right: 10px; border-top: 2px solid; border-right: 2px solid; }
.geo__corner.bl { bottom: 10px; left: 10px; border-bottom: 2px solid; border-left: 2px solid; }
.geo__corner.br { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }

.geo__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.geo__stat {
  background: var(--bg-1);
  border: 1px solid var(--b-w-1);
  border-top: 2px solid var(--cy);
  padding: 16px;
  border-radius: 3px;
}
.geo__stat .num { font-size: 22px; font-weight: 800; color: var(--t-1); font-family: var(--f-mono); letter-spacing: -1px; }
.geo__stat .num em { font-style: normal; color: var(--cy); }
.geo__stat .lbl { font-size: 10px; color: var(--t-4); font-family: var(--f-mono); letter-spacing: 1.5px; margin-top: 4px; text-transform: uppercase; }

/* ============================================================
   Datacenter City showcase (full-width 3D image)
   ============================================================ */
.dc {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(6,182,212,.08), transparent 70%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  border-top: 1px solid var(--b-cy);
}
.dc__head {
  text-align: center;
  margin-bottom: 36px;
}
.dc__head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 14px 0 12px;
}
.dc__head h2 em { font-style: normal; color: var(--cy); }
.dc__head p {
  font-size: 15px;
  color: var(--t-3);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}
.dc__stage {
  position: relative;
  border: 1px solid var(--b-cy);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(6,182,212,.1),
    0 30px 80px rgba(0,0,0,.5),
    0 0 120px rgba(6,182,212,.18);
  background: #000;
}
.dc__img {
  width: 100%;
  display: block;
}
.dc__stage::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cy), transparent);
  animation: scan 6s linear infinite;
  z-index: 4;
}
.dc__stage::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0,0,0,.07) 3px);
  pointer-events: none;
  z-index: 2;
}
.dc__corner {
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--cy);
  z-index: 5;
}
.dc__corner.tl { top: 14px; left: 14px; border-top: 2px solid; border-left: 2px solid; }
.dc__corner.tr { top: 14px; right: 14px; border-top: 2px solid; border-right: 2px solid; }
.dc__corner.bl { bottom: 14px; left: 14px; border-bottom: 2px solid; border-left: 2px solid; }
.dc__corner.br { bottom: 14px; right: 14px; border-bottom: 2px solid; border-right: 2px solid; }
.dc__hud {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--b-cy);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cy);
  z-index: 5;
  backdrop-filter: blur(6px);
}
.dc__hud i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse 1.5s ease-in-out infinite;
}
.dc__hud span { color: var(--t-2); }
.dc__feats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dc__feat {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-top: 2px solid var(--cy);
  padding: 22px 20px;
  border-radius: 3px;
  text-align: center;
  transition: all .25s;
}
.dc__feat:hover {
  transform: translateY(-3px);
  border-top-color: var(--cy-2);
  box-shadow: 0 12px 30px rgba(6,182,212,.15);
}
.dc__feat .ico {
  width: 38px; height: 38px;
  margin: 0 auto 12px;
  background: rgba(6,182,212,.08);
  border: 1px solid var(--b-cy);
  color: var(--cy);
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
}
.dc__feat .ico svg { width: 18px; height: 18px; }
.dc__feat h4 { font-size: 14px; font-weight: 800; color: var(--t-1); margin-bottom: 4px; letter-spacing: -0.2px; }
.dc__feat p { font-size: 11px; color: var(--t-4); font-family: var(--f-mono); letter-spacing: 1.2px; }

/* ============================================================
   Gallery grid (screenshots page)
   ============================================================ */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal__item {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all .25s;
}
.gal__item:hover {
  transform: translateY(-3px);
  border-color: var(--b-cy);
  box-shadow: 0 12px 32px rgba(6,182,212,.15);
}
.gal__shot {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; object-position: top;
  display: block;
  filter: grayscale(.2) brightness(.95);
  transition: filter .3s;
}
.gal__item:hover .gal__shot { filter: grayscale(0) brightness(1); }
.gal__meta { padding: 14px 16px; border-top: 1px solid var(--b-w-1); }
.gal__meta .n { font-size: 13px; font-weight: 700; color: var(--t-2); margin-bottom: 4px; }
.gal__meta .t { font-size: 10px; color: var(--cy); letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--f-mono); }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lb.show { display: flex; }
.lb__img { max-width: 100%; max-height: calc(100vh - 80px); border: 1px solid var(--b-cy); border-radius: 4px; box-shadow: 0 0 80px rgba(6,182,212,.25); }
.lb__close { position: absolute; top: 24px; inset-inline-end: 24px; font-size: 30px; color: var(--t-2); cursor: pointer; background: none; border: 1px solid var(--b-w-1); width: 44px; height: 44px; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.lb__close:hover { color: var(--cy); border-color: var(--cy); }

/* ============================================================
   Architecture (SVG diagram on architecture page)
   ============================================================ */
.arch-wrap {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 4px;
  padding: 40px;
  margin-bottom: 40px;
  overflow-x: auto;
}
.arch-wrap svg { width: 100%; min-width: 900px; height: auto; display: block; }

.arch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.arch-card {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-inline-start: 2px solid var(--cy);
  border-radius: 3px;
  padding: 22px;
}
.arch-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; color: var(--t-1); letter-spacing: -0.2px; }
.arch-card h4 .en { color: var(--cy); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; margin-inline-start: 8px; }
.arch-card p { font-size: 12px; color: var(--t-3); line-height: 1.75; }

/* ============================================================
   Contact / footer
   ============================================================ */
.cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(6,182,212,.12), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(139,92,246,.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-top: 1px solid var(--b-cy);
  border-bottom: 1px solid var(--b-cy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cy), transparent);
  animation: scan 10s linear infinite;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.cta-band h2 em { font-style: normal; color: var(--cy); }
.cta-band p { font-size: 15px; color: var(--t-3); max-width: 580px; margin: 0 auto 28px; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 4px;
  padding: 36px;
}
.contact-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 22px; letter-spacing: -0.3px; }
.contact-form .row { margin-bottom: 14px; }
.contact-form label {
  display: block;
  font-size: 10px; font-weight: 700; color: var(--t-3);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
  font-family: var(--f-mono);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--b-w-1);
  color: var(--t-2);
  padding: 11px 14px;
  border-radius: 2px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--cy); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { margin-top: 6px; }

.contact-info { display: grid; gap: 18px; }
.contact-info-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--b-w-1);
  border-radius: 3px;
}
.contact-info-row .ico {
  width: 38px; height: 38px;
  background: rgba(6,182,212,.08);
  border: 1px solid var(--b-cy);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cy);
  flex-shrink: 0;
}
.contact-info-row .ico svg { width: 18px; height: 18px; stroke-width: 2; }
.contact-info-row .l { font-size: 10px; color: var(--t-4); text-transform: uppercase; letter-spacing: 1.5px; font-family: var(--f-mono); }
.contact-info-row .v { font-size: 14px; color: var(--t-2); font-weight: 600; margin-top: 2px; }
a.contact-info-row:hover { border-color: var(--b-cy) !important; transform: translateY(-1px); }
a.contact-info-row:hover .ico { background: rgba(6,182,212,.15); }

/* ============================================================
   FOOTER
   ============================================================ */
.ft {
  background: var(--bg-0);
  border-top: 1px solid var(--b-w-1);
  padding: 56px 0 28px;
}
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--b-w-1); }
.ft__brand img { height: 36px; mix-blend-mode: screen; margin-bottom: 12px; }
.ft__brand p { font-size: 12px; color: var(--t-3); line-height: 1.7; max-width: 280px; }
.ft__col h5 { font-size: 12px; font-weight: 800; color: var(--t-1); letter-spacing: 0.5px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; }
.ft__col h5 .en-mini { font-family: var(--f-mono); font-size: 9px; font-weight: 600; color: var(--cy); letter-spacing: 2px; opacity: .8; }
.ft__col ul { list-style: none; }
.ft__col li { padding: 5px 0; }
.ft__col a { font-size: 13px; color: var(--t-3); transition: color .15s; }
.ft__col a:hover { color: var(--cy); }
.ft__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 11px; color: var(--t-4);
  font-family: var(--f-mono); letter-spacing: 1px;
}
.ft__bottom span { color: var(--cy); }

/* ============================================================
   Loader (mimic system loading screen)
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .6s, visibility .6s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader__grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,  transparent, transparent 39px, rgba(6,182,212,.04) 39px, rgba(6,182,212,.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(6,182,212,.04) 39px, rgba(6,182,212,.04) 40px);
}
.loader__scan { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cy), transparent); animation: scan 5s linear infinite; }
.loader__logo {
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 30px rgba(6,182,212,.5));
  animation: pulseGlow 2.6s ease-in-out infinite alternate;
}
.loader__logo img { height: 110px; max-width: 280px; mix-blend-mode: screen; }
@keyframes pulseGlow {
  from { filter: drop-shadow(0 0 24px rgba(6,182,212,.30)); }
  to   { filter: drop-shadow(0 0 60px rgba(6,182,212,.70)); }
}
.loader__tag { position: relative; z-index: 1; font-size: 10px; font-weight: 600; letter-spacing: 4px; color: var(--t-4); text-transform: uppercase; font-family: var(--f-mono); margin-top: 24px; }
.loader__pills { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; justify-content: center; max-width: 600px; padding: 0 20px; }
.loader__pill { border: 1px solid var(--b-cy); color: var(--t-3); padding: 5px 12px; border-radius: 20px; font-size: 9px; font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); }
.loader__pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--cy); animation: blink 1.5s infinite; }
.loader__bar { position: relative; z-index: 1; width: 220px; height: 2px; background: var(--bg-3); margin-top: 26px; border-radius: 2px; overflow: hidden; }
.loader__bar::after { content: ''; position: absolute; left: -40%; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--cy), transparent); animation: loadbar 1.5s linear infinite; }
@keyframes loadbar { to { left: 100%; } }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .frow { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .frow--rev .frow__txt { order: 0; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dc__feats { grid-template-columns: repeat(2, 1fr); }
  .geo__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .mods { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .tb__nav { display: none; }
  .tb__nav.show {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--b-w-1);
    margin: 0; padding: 8px 0;
    height: auto;
  }
  .tb__nav.show a { height: auto; padding: 12px 18px; border-bottom: none; flex-direction: row; justify-content: space-between; gap: 12px; }
  .tb__nav.show a .en { margin-top: 0; }
  .tb__burger { display: flex; align-items: center; }
  .tb__cta { padding: 0 12px; }
  .tb__cta a:not(.primary) { display: none; }
  .tb__live { display: none; }
  .hero { padding: 60px 0; }
  .hero__title { font-size: 36px; }
  .hero__title-en { font-size: 11px; letter-spacing: 3px; }
  .stat .v { font-size: 28px; }
  .geo { padding: 20px; }
  .dc { padding: 56px 0 68px; }
  .dc__corner { width: 14px; height: 14px; }
  .dc__hud { font-size: 9px; padding: 5px 10px; letter-spacing: 1.5px; }
  .bi-title .lang-en { font-size: 10px; letter-spacing: 2.5px; }
  .bi-lead .lang-en { font-size: 11px; }