/* ============================================================
   Jodfy — جودفاي  |  Design System
   Inspired by the Lusion aesthetic, adapted for a tech brand
   Brand: purple gradient + silver, light lavender canvas
   ============================================================ */

/* ---------- Fonts ---------- */
/* Loaded via <link> in base.html (Rubik + Space Grotesk) */

/* ---------- Design Tokens ---------- */
:root {
  /* canvas */
  --bg: #ECEBF7;
  --bg-2: #F5F4FB;
  --surface: #FFFFFF;
  --surface-dark: #0E0B18;

  /* ink */
  --ink: #14101F;
  --ink-soft: #4A4458;
  --ink-faint: #63607A;
  --line: #DAD7EC;

  /* brand purple */
  --p-900: #2E0A5E;
  --p-800: #3B0A78;
  --p-700: #5B16C4;
  --p-600: #6D28D9;
  --p-500: #8B5CF6;
  --p-400: #A78BFA;
  --p-300: #C4B5FD;

  /* silver */
  --silver-1: #7D8199;
  --silver-2: #EEF1FA;

  --grad-purple: linear-gradient(160deg, #A855F7 0%, #6D28D9 45%, #3B0A78 100%);
  --grad-purple-soft: linear-gradient(160deg, #8B5CF6 0%, #5B16C4 100%);
  --grad-silver: linear-gradient(135deg, #9EA2B8, #EEF1FA 50%, #7D8199);

  /* radii & spacing */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --shadow-sm: 0 4px 20px rgba(46, 10, 94, 0.06);
  --shadow: 0 24px 60px rgba(46, 10, 94, 0.12);
  --shadow-lg: 0 40px 90px rgba(46, 10, 94, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: "Cairo", "Cairo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[dir="ltr"] { font-family: "Cairo", "Cairo", system-ui, sans-serif; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input { font: inherit; }
::selection { background: var(--p-500); color: #fff; }

/* numbers & latin display use Space Grotesk */
.font-display, .stat-num, .sec-index { font-family: "Cairo", "Cairo", sans-serif; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--p-700);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-purple);
}
.display {
  font-weight: 600; line-height: 1.02; letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 8vw, 6.6rem);
}
.h-xl { font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; font-size: clamp(2rem, 5.2vw, 4rem); }
.h-lg { font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.h-md { font-weight: 600; line-height: 1.2; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.grad-text { background: var(--grad-purple); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .lead { margin-top: 22px; }

.sec-index {
  position: absolute; inset-inline-end: var(--gutter); top: clamp(40px, 6vw, 72px);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-faint);
}

/* ---------- Buttons / Pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 100px; font-weight: 600; font-size: 0.98rem;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); will-change: transform; }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .9; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--p-700); box-shadow: 0 16px 40px rgba(91,22,196,.35); }
.btn--light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--p-500); color: var(--p-700); }
.btn--grad { background: var(--grad-purple-soft); color: #fff; }
.btn--grad:hover { box-shadow: 0 18px 44px rgba(109,40,217,.4); }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Registration + marks ---------- */
.marks { position: absolute; inset-inline: var(--gutter); display: flex; justify-content: space-between; pointer-events: none; color: var(--ink-faint); opacity: .5; }
.marks span { font-size: 18px; line-height: 1; }
.marks--top { top: 18px; }
.marks--bottom { bottom: 18px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--gutter);
  transition: transform .5s var(--ease), background-color .4s, backdrop-filter .4s, box-shadow .4s, padding .4s;
}
.header.is-scrolled {
  background: rgba(236, 235, 247, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(46,10,94,.06);
  padding-block: 12px;
}
.header.is-hidden { transform: translateY(-120%); }

.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { width: 34px; height: auto; }
.brand .brand-name { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand .brand-name span { color: var(--p-700); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 100px; font-weight: 500; font-size: 0.96rem;
  color: var(--ink); transition: color .3s, background-color .3s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--grad-purple); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--p-700); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 46px; height: 46px; padding: 0 14px; border-radius: 100px;
  background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px; transition: transform .3s, box-shadow .3s;
}
.lang-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile nav sheet */
.mobile-nav {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 90px var(--gutter) 40px; transform: translateY(-100%); transition: transform .55s var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .m-actions { display: flex; gap: 12px; margin-top: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(40px, 7vw, 90px); padding-top: 140px; }
.hero .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }

.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-logo { display: inline-flex; align-items: center; }
.hero-logo img { height: clamp(50px, 6.5vw, 78px); width: auto; filter: drop-shadow(0 10px 30px rgba(124,77,255,.5)); }
.hero-title { font-weight: 600; line-height: 0.98; letter-spacing: -0.03em; font-size: clamp(3rem, 9vw, 7rem); }
.hero-title .word { display: block; }
/* clear breathing space between the stacked hero words */
.hero-title .word + .word { margin-block-start: clamp(6px, .8vw, 18px); }
/* the last word is gradient-clipped text; give its deep descender (ق) room so
   -webkit-background-clip:text doesn't slice it flat against the padding box */
.hero-title .grad-text { padding-block-end: .16em; }
.hero-sub { margin-top: 28px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* hero visual (dark canvas card with animated pixels) */
.hero-visual {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 120% at 70% 10%, #23134d 0%, #0E0B18 55%, #060410 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual .glyph {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.hero-visual .glyph svg { width: 46%; filter: drop-shadow(0 20px 50px rgba(139,92,246,.5)); }
.hero-visual .badge {
  position: absolute; inset-block-end: 20px; inset-inline-start: 20px; z-index: 3;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12);
  color: #fff; padding: 10px 16px; border-radius: 100px; font-size: .82rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-visual .badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.5)} 70%{box-shadow:0 0 0 10px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }

.scroll-hint { position: absolute; inset-inline: 0; bottom: 22px; display: flex; justify-content: center; }
.scroll-hint span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint .arr { width: 1px; height: 26px; background: linear-gradient(var(--ink-faint), transparent); position: relative; overflow: hidden; }
.scroll-hint .arr::after { content:""; position:absolute; inset-inline:0; top:-100%; height:100%; background: var(--p-600); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0%{top:-100%} 60%,100%{top:100%} }

/* ============================================================
   Reusable cards & grids
   ============================================================ */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(139,92,246,.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }

.card-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(160deg, rgba(139,92,246,.16), rgba(109,40,217,.08)); color: var(--p-700);
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; }

.card-arrow { position: absolute; inset-block-start: clamp(24px,2.6vw,34px); inset-inline-end: clamp(24px,2.6vw,34px); color: var(--p-600); opacity: 0; transform: translate(8px,-8px); transition: opacity .4s, transform .4s; }
body[dir="rtl"] .card-arrow { transform: translate(-8px,-8px) scaleX(-1); }
.card:hover .card-arrow { opacity: 1; transform: translate(0,0); }
body[dir="rtl"] .card:hover .card-arrow { transform: translate(0,0) scaleX(-1); }

/* Services — larger feature cards */
.service-card { min-height: 240px; display: flex; flex-direction: column; }
.service-card p { flex: 1; }

/* Sectors */
.sector-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.sector-card .card-ico { margin-bottom: 0; width: 48px; height: 48px; border-radius: 14px; }
.sector-card h3 { margin: 0; font-size: 1.05rem; }
.sector-card p { font-size: .86rem; }

/* ============================================================
   WHY JODFY — process steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,22px); counter-reset: step; }
.step {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num { counter-increment: step; font-family: "Cairo", sans-serif; font-size: 3.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--p-300); }
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 1.15rem; font-weight: 600; margin: 18px 0 8px; }
.step p { color: var(--ink-soft); font-size: .94rem; }
.step .step-ico { position: absolute; inset-block-start: 26px; inset-inline-end: 26px; color: var(--p-500); opacity: .9; }
.step .step-ico svg { width: 26px; height: 26px; }

/* ============================================================
   LIVE LABS
   ============================================================ */
.labs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px,2vw,26px); }
.lab {
  position: relative; isolation: isolate; border-radius: var(--r-xl); overflow: hidden; min-height: 320px; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: radial-gradient(120% 120% at 80% 0%, #2a1660, #0E0B18 70%);
  box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s;
}
.lab:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
/* bottom scrim keeps the heading + paragraph readable over the live demo */
.lab::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, #0E0B18 2%, rgba(14,11,24,.62) 26%, rgba(14,11,24,0) 56%); }
.lab .lab-live { z-index: 2; position: absolute; inset-block-start: 24px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 100px; }
.lab .lab-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
.lab canvas { position:absolute; inset:0; z-index: 0; width:100%; height:100%; opacity:.95; }
.lab h3 { z-index: 2; font-size: 1.5rem; font-weight: 600; position: relative; }
.lab p { z-index: 2; color: rgba(255,255,255,.72); font-size: .95rem; position: relative; margin-top: 8px; }
.lab .lab-cta { position: relative; margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }

/* ============================================================
   TEAM / CERTIFICATIONS
   ============================================================ */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .4s var(--ease); }
.cert:hover { transform: translateY(-5px); }
.cert .cert-badge { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(139,92,246,.16), rgba(109,40,217,.06)); color: var(--p-700); }
.cert h4 { font-size: 1rem; font-weight: 600; }
.cert p { font-size: .82rem; color: var(--ink-faint); margin-top: 4px; }

.team-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.team-fact { background: linear-gradient(160deg, #1a1030, #0E0B18); color:#fff; border-radius: var(--r); padding: 26px; }
.team-fact .k { font-family:"Cairo",sans-serif; font-size: 2.4rem; font-weight: 700; }
.team-fact .v { color: rgba(255,255,255,.7); font-size:.9rem; margin-top:4px; }

/* ============================================================
   PARTNERS marquee
   ============================================================ */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; color: var(--ink-faint); opacity: .7; white-space: nowrap; transition: color .3s, opacity .3s; }
.marquee-item svg { width: 26px; height: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }
body[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee-item:hover { color: var(--p-700); opacity: 1; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,28px); }
.stats--dense { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.stats--dense .stat { min-width: 0; padding-inline: clamp(6px, 1vw, 14px); }
.stats--dense .stat-num { font-size: clamp(2.25rem, 3.7vw, 3.65rem); }
.stats--dense .stat-label { font-size: clamp(.78rem, .85vw, .9rem); line-height: 1.65; }
.stat { position: relative; padding: 34px 6px; text-align: center; }
.stat + .stat::before { content:""; position:absolute; inset-inline-start:0; top:20%; height:60%; width:1px; background: var(--line); }
body[dir="rtl"] .stat + .stat::before { inset-inline-start:auto; inset-inline-end:0; }
.stat-num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stat-num .suffix { -webkit-text-fill-color: var(--p-500); }
.stat .stat-label { margin-top: 12px; color: var(--ink-soft); font-size: .96rem; }

.stats-band { background: linear-gradient(160deg, #17102e, #0E0B18); border-radius: var(--r-xl); color:#fff; padding: clamp(28px,4vw,54px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.stats-band .stat-num { color:#fff; }
.stats-band .stat .stat-label { color: rgba(255,255,255,.66); }
.stats-band .stat + .stat::before { background: rgba(255,255,255,.14); }
.stats-band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 100% 0%, rgba(139,92,246,.4), transparent 60%); pointer-events:none; }

/* ============================================================
   SECURITY LAYERS
   ============================================================ */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
.layers { display: grid; gap: 12px; }
.layer {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
  border-inline-start: 3px solid var(--p-500);
}
.layer:hover { transform: translateX(-6px); box-shadow: var(--shadow); }
body[dir="ltr"] .layer:hover { transform: translateX(6px); }
.layer .layer-n { font-family:"Cairo",sans-serif; font-weight:700; color: var(--p-400); font-size: 1.1rem; min-width: 34px; }
.layer .layer-ico { width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; background: linear-gradient(160deg, rgba(139,92,246,.16), rgba(109,40,217,.06)); color: var(--p-700); flex: none; }
.layer h4 { font-size: 1.02rem; font-weight: 600; }
.layer p { font-size: .86rem; color: var(--ink-soft); }
.security-visual { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); background: radial-gradient(circle at 50% 45%, #23134d, #0E0B18 70%); overflow: hidden; box-shadow: var(--shadow-lg); display:grid; place-items:center; }
.shield-rings { position:absolute; inset:0; display:grid; place-items:center; }
.shield-rings i { position:absolute; border:1px solid rgba(139,92,246,.28); border-radius:50%; animation: ringPulse 4s var(--ease) infinite; }
.shield-rings i:nth-child(1){ width:40%; height:40%; } .shield-rings i:nth-child(2){ width:62%; height:62%; animation-delay:.6s;} .shield-rings i:nth-child(3){ width:84%; height:84%; animation-delay:1.2s;}
@keyframes ringPulse { 0%,100%{opacity:.3; transform:scale(.98)} 50%{opacity:.8; transform:scale(1.02)} }
.security-visual svg.shield { width: 34%; color: #fff; filter: drop-shadow(0 10px 30px rgba(139,92,246,.6)); position:relative; z-index:2; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px,4vw,64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; text-align: start; font-weight: 600; font-size: 1.05rem; }
.faq-q .plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; inset-inline:0; top:50%; height:2px; background: var(--p-700); border-radius:2px; transition: transform .35s var(--ease); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q .plus::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a .faq-a-inner { padding: 0 26px 24px; color: var(--ink-soft); }

/* ============================================================
   CTA (playful)
   ============================================================ */
.cta { position: relative; }
.cta-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden; text-align: center;
  padding: clamp(50px,8vw,110px) var(--gutter);
  background: radial-gradient(120% 140% at 50% 0%, #2a1660 0%, #0E0B18 60%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-card canvas { position:absolute; inset:0; width:100%; height:100%; }
.cta-card .eyebrow { color: var(--p-300); position: relative; }
.cta-card .eyebrow::before { background: var(--p-300); }
.cta-title { position: relative; font-weight: 600; line-height: 1.02; letter-spacing: -.02em; font-size: clamp(2.4rem, 7vw, 5.5rem); margin: 22px 0 34px; }
.cta-card .hero-cta { position: relative; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--surface); padding-block: clamp(56px,7vw,96px) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px,3vw,48px); }
.footer .brand { margin-bottom: 20px; }
.footer-col h5 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.footer-col a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--ink-soft); transition: color .3s, transform .3s; }
.footer-col a:hover { color: var(--p-700); }
body[dir="rtl"] .footer-col a:hover { transform: translateX(-4px); }
body[dir="ltr"] .footer-col a:hover { transform: translateX(4px); }
.newsletter { margin-top: 14px; }
.newsletter .field { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 100px; padding: 6px 6px 6px 20px; margin-top: 12px; }
body[dir="rtl"] .newsletter .field { padding: 6px 20px 6px 6px; }
.newsletter input { flex: 1; background: none; border: none; outline: none; color: var(--ink); padding: 10px 0; }
.newsletter button { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color:#fff; display:grid; place-items:center; transition: background .3s, transform .3s; flex:none; }
body[dir="ltr"] .newsletter button svg { transform: scaleX(-1); }
.newsletter button:hover { background: var(--p-700); transform: scale(1.05); }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }

/* contact column: icon + text lines */
.footer-col .contact-line { gap: 10px; }
.footer-col .contact-line svg { width: 17px; height: 17px; flex: 0 0 auto; opacity: .75; }
.footer-col .contact-line span { direction: ltr; }
body[dir="rtl"] .footer-col .contact-line { justify-content: flex-start; }

/* official license badges */
.footer-licenses { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin-top: clamp(32px,4vw,52px); padding-top: 30px; border-top: 1px solid var(--line); }
.footer-licenses .lic-caption { font-weight: 700; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.15rem); letter-spacing: normal; }
.lic-badges { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.license-badge { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 17px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.license-badge:hover { transform: translateY(-3px); border-color: var(--p-300); box-shadow: var(--shadow); }
.license-logo { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.license-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.32; }
.license-text b { font-size: .84rem; font-weight: 700; color: var(--ink); max-width: 30ch; }
.license-no { font-size: .77rem; color: var(--ink-faint); }
.license-no bdi { font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
@media (max-width: 680px) { .footer-licenses { justify-content: center; text-align: center; } .lic-badges { justify-content: center; } .license-text b { max-width: none; } }

/* made-with logo lockup */
.footer-bottom .made-by { display: inline-flex; align-items: center; gap: 8px; }
.made-by-logo { width: 19px; height: auto; flex: 0 0 auto; }

/* accepted payment methods strip */
.footer-pay { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin-top: clamp(40px,5vw,64px); padding-top: 30px; border-top: 1px solid var(--line); }
.footer-pay .pay-caption { font-weight: 700; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: normal; }
.pay-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; direction: ltr; list-style: none; margin: 0; padding: 0; }
body[dir="rtl"] .pay-badges { justify-content: flex-start; }
.pay-badge { height: 46px; min-width: 62px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.pay-badge:hover { transform: translateY(-3px); border-color: var(--p-300); box-shadow: var(--shadow); }
.pay-badge svg { height: 22px; width: auto; display: block; }
@media (max-width: 640px) { .footer-pay { justify-content: center; text-align: center; } .pay-badges { justify-content: center; } body[dir="rtl"] .pay-badges { justify-content: center; } }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(40px,5vw,64px); padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: .88rem; }
.footer-bottom .policies { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .policies a:hover { color: var(--p-700); }

.to-top { position: fixed; inset-block-end: 26px; inset-inline-end: 26px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color:#fff; display:grid; place-items:center; z-index: 80; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .4s, transform .4s, background .3s; }
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--p-700); }

/* ============================================================
   Flowing ribbon divider
   ============================================================ */
.ribbon { position: absolute; inset-inline: 0; height: 200px; pointer-events: none; z-index: 0; overflow: visible; }
.ribbon path { fill: none; stroke-width: 26px; stroke-linecap: round; }
.ribbon .rb-purple { stroke: url(#rbPurple); opacity: .9; }
.ribbon .rb-cyan { stroke: url(#rbCyan); opacity: .55; }

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: normal; }
.cursor-dot { width: 7px; height: 7px; background: var(--p-700); transform: translate(-50%,-50%); }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid var(--p-500); transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s, opacity .3s; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(139,92,246,.12); border-color: transparent; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   Reveal animations (gated by .js-ready to avoid FOUC)
   ============================================================ */
.js-ready .reveal { opacity: 0; transform: translateY(42px); }
.js-ready .reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js-ready .reveal-stagger > * { opacity: 0; transform: translateY(36px); }
.js-ready .reveal-stagger.in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js-ready .reveal-stagger.in > *:nth-child(2){ transition-delay:.07s; }
.js-ready .reveal-stagger.in > *:nth-child(3){ transition-delay:.14s; }
.js-ready .reveal-stagger.in > *:nth-child(4){ transition-delay:.21s; }
.js-ready .reveal-stagger.in > *:nth-child(5){ transition-delay:.28s; }
.js-ready .reveal-stagger.in > *:nth-child(6){ transition-delay:.35s; }
.js-ready .reveal-stagger.in > *:nth-child(7){ transition-delay:.42s; }
.js-ready .reveal-stagger.in > *:nth-child(8){ transition-delay:.49s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .js-ready .reveal, .js-ready .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader { position: fixed; inset: 0; z-index: 9998; background: var(--surface-dark); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.preloader[hidden] { display: none !important; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader .pl-count { position: absolute; inset-block-end: 6vw; inset-inline-start: 6vw; font-family:"Cairo",sans-serif; font-size: clamp(4rem,14vw,12rem); font-weight: 700; color: #fff; line-height: .8; }
.preloader .pl-bar { width: min(320px, 60vw); height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; }
.preloader .pl-bar i { display:block; height:100%; width:0; background: var(--grad-purple); }
.preloader .pl-logo { position:absolute; top: 6vw; inset-inline-start: 6vw; display:flex; align-items:center; gap:10px; color:#fff; font-weight:700; font-size:1.2rem; opacity:.9;}
.preloader .pl-logo img{ width:28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .certs { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stats--dense .stat:nth-child(odd)::before { display: none; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero { align-items: flex-start; padding-top: clamp(104px, 20vw, 130px); min-height: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-actions .desktop-only { display: none; }
  .burger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .labs-grid, .security, .faq-wrap { grid-template-columns: 1fr; }
  .team-strip { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stats { gap: 24px 12px; }
  .sec-index { display: none; }
}
@media (max-width: 560px) {
  .grid-4, .certs, .stats, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ENHANCEMENTS — a11y, Lusion motion, polish (v2)
   ============================================================ */

/* Focus visibility (keyboard only) */
:focus-visible { outline: 3px solid var(--p-600); outline-offset: 3px; border-radius: 8px; }
.lab :focus-visible, .cta-card :focus-visible, .stats-band :focus-visible,
.lab:focus-visible, .layer:focus-visible { outline-color: #fff; }
.newsletter .field:focus-within { box-shadow: 0 0 0 2px var(--p-500); }
.newsletter input:focus-visible { outline: none; }

/* Scroll lock while preloader / mobile nav open */
html.is-loading, body.is-loading, body.nav-open { overflow: hidden; }

/* Header offset for anchor targets (native scroll path) */
section[id] { scroll-margin-top: 96px; }

/* Ribbon dividers */
.section { position: relative; overflow: visible; }
.section > .wrap { position: relative; z-index: 2; }
.section-head, .steps, .grid, .labs-grid, .security, .faq-wrap, .stats-band, .marquee { position: relative; z-index: 2; }
.ribbon { top: -110px; height: 230px; z-index: 0; opacity: .85; }

/* Hero title word entrance (i18n-safe: animates .word spans) */
.hero-title .word { display: block; transform: translateY(70px); opacity: 0; transition: transform 1s var(--ease-out), opacity 1s var(--ease-out); }
.hero-title.in .word { transform: none; opacity: 1; }
.hero-title.in .word:nth-child(2) { transition-delay: .09s; }
.hero-title.in .word:nth-child(3) { transition-delay: .18s; }

/* Word-mask reveal for headings */
.rw { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.08; padding-bottom: .06em; }
.rw > i { display: inline-block; font-style: normal; transform: translateY(115%); transition: transform .95s var(--ease-out); }
.rw-split.in .rw > i { transform: none; }

/* Lab CTA arrow (mirrors in RTL) */
.lab-cta-arrow { display: inline-block; margin-inline-start: 4px; transition: transform .3s var(--ease); }
body[dir="rtl"] .lab-cta-arrow { transform: scaleX(-1); }
.lab:hover .lab-cta-arrow { transform: translateX(4px); }
body[dir="rtl"] .lab:hover .lab-cta-arrow { transform: scaleX(-1) translateX(4px); }

/* Clickable cards */
[data-link] { cursor: pointer; }

/* Clip-path reveal (premium wipe) */
.js-ready .clip-reveal { clip-path: inset(0 0 100% 0 round 36px); }
.js-ready .clip-reveal.in { clip-path: inset(0 0 0 0 round 36px); transition: clip-path 1.15s var(--ease-out); }

/* Magnetic controls */
.magnetic { transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.magnetic:hover { transition-duration: .18s; }

/* Page-wide fluid cursor overlay (screen-blended) */
#fluidCanvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; mix-blend-mode: screen; }

/* ============================================================
   SHOWREEL (PLAY REEL)
   ============================================================ */
.showreel-sec { padding-block: clamp(30px, 5vw, 80px); }
.showreel { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: radial-gradient(120% 150% at 50% -10%, #2a1660 0%, #0E0B18 60%, #060310 100%); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; }
.showreel .reel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-overlay { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(16px, 4vw, 60px); color: #fff; }
.reel-word { font-size: clamp(2.4rem, 9vw, 7rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.reel-play { width: clamp(56px, 7vw, 100px); height: clamp(56px, 7vw, 100px); border-radius: 50%; background: #fff; color: #0E0B18; display: grid; place-items: center; transition: transform .45s var(--ease); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.reel-play svg { width: 40%; margin-inline-start: 8%; }
.showreel:hover .reel-play { transform: scale(1.1); }
.reel-eyebrow { position: absolute; top: clamp(18px,3vw,30px); inset-inline-start: clamp(18px,3vw,30px); z-index: 3; color: var(--p-300); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.showreel .marks { color: rgba(255,255,255,.35); opacity: 1; inset-inline: clamp(18px,3vw,30px); }
.showreel .marks--top { top: 14px; } .showreel .marks--bottom { bottom: 14px; }

/* ============================================================
   ROLLING PRELOADER DIGITS
   ============================================================ */
.pl-count { display: flex; gap: .02em; line-height: 1; direction: ltr; }
.pl-digit { height: 1em; overflow: hidden; }
.pl-reel { display: flex; flex-direction: column; transition: transform .35s var(--ease); will-change: transform; }
.pl-reel > span { height: 1em; line-height: 1; display: flex; align-items: center; }

/* ============================================================
   CURSOR LABEL
   ============================================================ */
.cursor-label { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; transform: translate(-50%,-50%); color: #fff; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .3s var(--ease); }
.cursor-label.show { opacity: 1; }
.cursor-ring.is-label { width: 90px; height: 90px; background: var(--p-600); border-color: transparent; }
@media (hover: none) { .cursor-label { display: none; } }

/* Section rhythm — differentiate Sectors from adjacent white-card sections */
.sector-card { background: var(--bg-2); border: 1px solid var(--line); box-shadow: none; }
.sector-card:hover { box-shadow: var(--shadow-sm); border-color: transparent; }

/* Stat suffix color fallback */
.stat-num .suffix { color: var(--p-500); -webkit-text-fill-color: var(--p-500); }
.stats-band .stat-num .suffix { color: var(--p-300); -webkit-text-fill-color: var(--p-300); }

/* Extend stagger delays */
.js-ready .reveal-stagger.in > *:nth-child(9) { transition-delay: .56s; }
.js-ready .reveal-stagger.in > *:nth-child(10) { transition-delay: .63s; }

/* Bigger, more cinematic reveal */
.js-ready .reveal { opacity: 0; transform: translateY(56px); }

/* sec-index kept on mobile (in-flow) */
@media (max-width: 860px) {
  .sec-index { position: static; display: block; margin: 0 0 16px; font-size: .8rem; }
  .section > .sec-index { padding-inline: 0; }
}

/* Hero visual footprint on phones */
@media (max-width: 640px) {
  .hero-visual { max-width: 100%; aspect-ratio: 4 / 3.6; max-height: 58svh; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(2.7rem, 13vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .word, .hero-title .sep, .rw > i { transform: none !important; opacity: 1 !important; }
  .ribbon path { stroke-dashoffset: 0 !important; }
}

/* ============================================================
   LUSION-GRADE COMPOSITION PASS
   ============================================================ */
.header {
  align-items: flex-start;
}

.header-line {
  flex: 1;
  justify-content: center;
  max-width: min(52vw, 690px);
  padding: 9px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}

.header-line::after {
  display: none;
}

.header-actions {
  align-items: flex-start;
}

.sound-pill,
.talk-pill,
.burger {
  min-height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.sound-pill {
  width: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
}

.sound-wave {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.sound-wave::before,
.sound-wave::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .45;
}

.sound-wave::before {
  top: -6px;
  transform: scaleX(.62);
  transform-origin: left center;
}

.sound-wave::after {
  top: 6px;
  transform: scaleX(.8);
  transform-origin: right center;
}

.talk-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}

.talk-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.talk-pill:hover {
  background: var(--p-700);
  box-shadow: 0 16px 40px rgba(91,22,196,.32);
}

.burger {
  display: inline-flex;
  width: auto;
  padding: 0 18px;
  align-items: center;
  gap: 10px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}

.burger:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.burger .burger-label {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.burger .burger-dots {
  display: inline-grid;
  grid-template-columns: repeat(2, 5px);
  gap: 4px;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  transition: transform .32s var(--ease);
}

.burger .burger-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.burger.is-open .burger-dots {
  transform: rotate(90deg);
}

.burger.is-open .burger-label,
.burger.is-open span:nth-child(1),
.burger.is-open span:nth-child(2),
.burger.is-open span:nth-child(3) {
  transform: none;
  opacity: 1;
}

.mobile-nav {
  inset-block-start: 82px;
  inset-block-end: auto;
  inset-inline-start: var(--gutter);
  inset-inline-end: auto;
  width: min(390px, calc(100vw - (var(--gutter) * 2)));
  height: auto;
  min-height: 0;
  display: grid;
  justify-content: stretch;
  gap: 8px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(20, 16, 31, .08);
  box-shadow: 0 28px 90px rgba(20, 16, 31, .18);
  backdrop-filter: blur(22px);
  transform: translateY(-14px) scale(.96);
  transform-origin: top left;
  opacity: 0;
}

body[dir="ltr"] .mobile-nav {
  inset-inline-start: auto;
  inset-inline-end: var(--gutter);
  transform-origin: top right;
}

.mobile-nav.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 235, 247, .78);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.mobile-nav a:hover {
  background: var(--ink);
  color: #fff;
}

.mobile-nav .m-actions {
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.hero {
  min-height: 100svh;
  align-items: flex-start;
  padding-top: clamp(104px, 9vw, 132px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.2vw, 46px);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .48fr);
  align-items: end;
  gap: clamp(22px, 4vw, 70px);
}

.hero-copy .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.hero-title {
  max-width: 9ch;
  font-size: 7.6rem;
}

.hero-sub {
  margin-top: 0;
  max-width: 39ch;
  font-size: clamp(1rem, 1.35vw, 1.24rem);
}

.hero-cta {
  grid-column: 2;
  margin-top: -20px;
}

.hero-visual {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 7;
  min-height: min(56svh, 560px);
  border-radius: clamp(26px, 3vw, 40px);
  background:
    radial-gradient(60% 95% at 54% 28%, rgba(56,214,232,.18), transparent 58%),
    radial-gradient(90% 140% at 45% -10%, #2a1660 0%, #0E0B18 58%, #030207 100%);
}

.hero-visual .badge {
  inset-block-end: clamp(18px, 2.4vw, 32px);
  inset-inline-start: clamp(18px, 2.4vw, 32px);
}

.intro-lusion {
  overflow: hidden;
  padding-block: clamp(86px, 12vw, 180px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: end;
}

.intro-title,
.intro-copy,
.intro-media {
  position: relative;
  z-index: 2;
}

.intro-heading {
  margin-top: 22px;
  max-width: 10ch;
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.03em;
  font-size: 8rem;
}

.intro-copy {
  display: grid;
  gap: 26px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
}

.intro-media {
  grid-column: 1 / 2;
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(120% 120% at 75% 0%, #1534e8 0%, #1c1162 45%, #060410 100%);
  box-shadow: var(--shadow-lg);
}

.intro-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-chip {
  position: absolute;
  inset-block-end: 20px;
  inset-inline-start: 20px;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: .82rem;
}

.intro-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.intro-arc .flow-line {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 13;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 9px rgba(90, 100, 255, .55));
}

.intro-arc .flow-pix rect {
  fill: url(#flowGrad);
  transform-box: fill-box;
  transform-origin: center;
  animation: pixTwinkle 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes pixTwinkle { 0%, 100% { opacity: .22; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .intro-arc .flow-pix rect { animation: none; } }

.showreel-sec .wrap {
  max-width: none;
}

.showreel {
  aspect-ratio: 16 / 7.2;
  border-radius: clamp(26px, 3vw, 42px);
}

.reel-canvas {
  opacity: .95;
}

.reel-overlay {
  direction: ltr;
}

@media (max-width: 1080px) {
  .header-line {
    max-width: 44vw;
  }
  .hero-title {
    font-size: 5.8rem;
  }
  .intro-heading {
    font-size: 6rem;
  }
  .hero-copy {
    grid-template-columns: 1fr;
  }
  .hero-title {
    max-width: 10ch;
  }
  .hero-cta {
    grid-column: 1;
    margin-top: 6px;
  }
  .hero-visual {
    aspect-ratio: 4 / 3;
    min-height: 420px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-media {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .header-line,
  .header-actions .desktop-only {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .hero {
    padding-top: 102px;
  }
  .hero-title,
  .intro-heading {
    font-size: 4.5rem;
  }
}

@media (max-width: 700px) {
  .mobile-nav {
    inset: 0;
    width: auto;
    height: auto;
    min-height: 100svh;
    border-radius: 0;
    display: flex;
    justify-content: center;
    padding: 96px var(--gutter) 38px;
    transform: translateY(-100%);
    transform-origin: top center;
    opacity: 1;
  }
  body[dir="ltr"] .mobile-nav {
    inset-inline: 0;
    transform-origin: top center;
  }
  .mobile-nav.is-open {
    transform: translateY(0);
  }
  .mobile-nav a {
    min-height: 58px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-size: clamp(1.55rem, 7vw, 2.4rem);
  }
  .hero-visual {
    aspect-ratio: 4 / 3.7;
    min-height: 0;
  }
  .intro-media {
    aspect-ratio: 1 / .82;
  }
  .showreel {
    aspect-ratio: 4 / 4.5;
  }
  .hero-title,
  .intro-heading {
    font-size: 3.5rem;
  }
  .reel-overlay {
    flex-direction: column;
    gap: 18px;
  }
}

/* ============================================================
   EDITORIAL LIST (Services) — Lusion "Featured Work" style
   ============================================================ */
.edito { display: grid; gap: clamp(10px, 1.15vw, 16px); border-top: 0; }
.edito-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: clamp(14px, 3vw, 44px);
  padding: clamp(20px, 3.2vw, 42px) clamp(8px, 1.5vw, 20px);
  border: 1px solid transparent; border-radius: clamp(16px, 1.8vw, 24px); color: var(--ink); overflow: hidden;
  background:
    linear-gradient(rgba(245,244,251,.72), rgba(236,235,247,.6)) padding-box,
    linear-gradient(112deg, rgba(91,22,196,.38), rgba(34,211,238,.82) 36%, rgba(255,255,255,.98) 52%, rgba(139,92,246,.72) 72%, rgba(91,22,196,.34)) border-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 0 18px rgba(34,211,238,.08), 0 8px 26px rgba(46,10,94,.035);
  isolation: isolate;
  transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.edito-row::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, var(--g1, #8b5cf6), var(--g2, #5b16c4)); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.edito-row::after {
  content: ""; position: absolute; z-index: 3; inset-block-start: 0; inset-inline-start: -24%;
  width: 24%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.9), #fff 58%, rgba(167,139,250,.9), transparent);
  box-shadow: 0 0 7px rgba(34,211,238,.9), 0 0 14px rgba(139,92,246,.42);
  animation: editoMatrixSweep 5.8s linear infinite;
}
.edito-row:nth-child(2n)::after { animation-delay: -2.9s; }
@keyframes editoMatrixSweep { to { inset-inline-start: 100%; } }
.edito-row > * { position: relative; z-index: 1; }
.edito-row:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 26px rgba(34,211,238,.2), 0 18px 42px rgba(46,10,94,.12); }
.edito-row:hover::before { transform: translateY(0); }
.edito-num { font-size: 1rem; font-weight: 700; color: var(--ink-faint); transition: color .45s; }
.edito-row:hover .edito-num { color: rgba(255,255,255,.85); }
.edito-title { font-size: clamp(1.5rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.04; }
.edito-tags { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; transition: color .45s; }
.edito-row:hover .edito-tags { color: rgba(255,255,255,.9); }
.edito-arrow { opacity: 0; transform: translateX(-10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
body[dir="rtl"] .edito-arrow svg { transform: scaleX(-1); }
.edito-row:hover .edito-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 720px) {
  .edito-row { grid-template-columns: auto 1fr auto; padding-inline: 14px; border-radius: 16px; }
  .edito-tags { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .edito-row::after { animation: none; inset-inline-start: 38%; opacity: .7; }
}

/* Floating hover preview (follows cursor) */
.hover-preview { position: fixed; top: 0; left: 0; z-index: 9998; width: clamp(180px, 18vw, 260px); aspect-ratio: 4 / 3; border-radius: 18px; pointer-events: none; transform: translate(-50%,-50%) scale(.55); opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--ease); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.hover-preview.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.hover-preview svg { width: 32%; height: auto; }
@media (hover: none) { .hover-preview { display: none; } }

/* ============================================================
   SECTORS — giant marquee (Lusion big-type motion)
   ============================================================ */
.sector-marquee { display: grid; gap: clamp(2px, 0.6vw, 10px); }
.sm-viewport { overflow: hidden; direction: ltr; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sm-track { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); width: max-content; will-change: transform; direction: ltr; }
.sm-item span { unicode-bidi: plaintext; }
.sm-track[data-dir="1"] { animation: smMove 42s linear infinite; }
.sm-track[data-dir="-1"] { animation: smMoveRev 48s linear infinite; }
@keyframes smMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes smMoveRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.sm-item { display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 64px); font-size: clamp(2rem, 6.4vw, 5.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); white-space: nowrap; transition: color .35s var(--ease); }
.sm-item b { color: var(--p-400); font-weight: 400; font-size: .48em; }
@media (hover: hover) and (pointer: fine) {
  .sector-marquee:hover .sm-track { animation-play-state: paused; }
  .sm-item:hover { color: transparent; -webkit-text-stroke: 1.5px var(--p-600); }
}
@media (hover: none), (pointer: coarse) {
  .marquee-track,
  .sm-track { animation-play-state: running !important; }
  .marquee,
  .sm-viewport { touch-action: pan-y pinch-zoom; }
  .sm-item { -webkit-tap-highlight-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .sm-track { animation: none !important; transform: none !important; }
  .marquee,
  .sm-viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    -webkit-mask: none;
    mask: none;
  }
  .marquee::-webkit-scrollbar,
  .sm-viewport::-webkit-scrollbar { display: none; }
  .marquee-item,
  .sm-item { scroll-snap-align: center; }
}

/* ============================================================
   PLAYFUL CTA STICKERS (Lusion "Let's work together" vibe)
   ============================================================ */
.cta-card > .eyebrow, .cta-card > .cta-title, .cta-card > .hero-cta { position: relative; z-index: 3; }
.cta-stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cta-stickers span { position: absolute; left: var(--x); top: var(--y); font-size: calc(clamp(1.1rem, 2.4vw, 2rem) * var(--s, 1)); color: var(--c, var(--p-300)); opacity: .5; line-height: 1; transform: translate(-50%, -50%); animation: floatSticker 6s ease-in-out infinite; animation-delay: var(--d, 0s); text-shadow: 0 0 16px rgba(124, 77, 255, .5); }
@keyframes floatSticker {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-7deg); }
  50% { transform: translate(-50%, -50%) translateY(-16px) rotate(7deg); }
}
@media (prefers-reduced-motion: reduce) { .cta-stickers span { animation: none; } }
@media (max-width: 640px) { .cta-stickers span:nth-child(even) { display: none; } }

/* ============================================================
   FULL-BLEED HERO — 3D scene as full-width background
   ============================================================ */
.hero--full { position: relative; min-height: 100svh; background: #0a0616; overflow: hidden; display: flex; align-items: center; padding: 150px 0 96px; }
.hero--full .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero--full .hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: translateX(-24%); }
body[dir="ltr"] .hero--full .hero-bg canvas { transform: translateX(24%); }
@media (max-width: 900px) { .hero--full .hero-bg canvas, body[dir="ltr"] .hero--full .hero-bg canvas { transform: none; } }
/* readability scrim on the text (inline-start) side */
.hero--full .hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(130% 120% at 100% 45%, rgba(10,6,22,.82) 0%, rgba(10,6,22,.35) 42%, transparent 62%); }
body[dir="ltr"] .hero--full .hero-bg::after { background: radial-gradient(130% 120% at 0% 45%, rgba(10,6,22,.82) 0%, rgba(10,6,22,.35) 42%, transparent 62%); }

.hero--full .hero-inner { position: relative; z-index: 2; width: 100%; }
.hero--full .hero-copy { max-width: 680px; color: #fff; }
.hero--full .hero-title { color: #fff; font-size: clamp(3rem, 8vw, 7rem); }
.hero--full .hero-sub { color: rgba(255,255,255,.74); }
.hero--full .eyebrow { color: var(--p-300); }
.hero--full .eyebrow::before { background: var(--p-300); }
.hero--full .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.hero--full .btn--ghost:hover { border-color: var(--p-300); color: var(--p-300); }

.hero--full .hero-badge { position: absolute; inset-block-end: 26px; inset-inline-start: var(--gutter); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; font-size: .82rem; font-weight: 500; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.hero--full .hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
.hero--full .scroll-hint span { color: rgba(255,255,255,.6); }
.hero--full .scroll-hint .arr { background: linear-gradient(rgba(255,255,255,.5), transparent); }
.hero--full .scroll-hint .arr::after { background: var(--p-300); }
.hero--full .marks { color: rgba(255,255,255,.35); opacity: 1; }

@media (max-width: 640px) {
  .hero--full { padding: 120px 0 80px; min-height: 92svh; }
  .hero--full .hero-copy { max-width: 100%; }
}

/* Pin hero copy firmly to the inline-start (text side) + unified alignment */
.hero--full .hero-inner { display: flex; justify-content: flex-start; }
.hero--full .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.4vw, 30px); width: min(600px, 92%); max-width: none; margin: 0; text-align: start; }
body[dir="ltr"] .hero--full .hero-copy { align-items: flex-start; }
.hero--full .hero-copy > * { opacity: 1 !important; transform: none !important; width: auto !important; max-width: 100% !important; margin: 0 !important; align-self: stretch; }

/* Mobile hero: stack — content on top, 3D scene below (no overlap) */
@media (max-width: 860px) {
  .hero--full { display: flex; flex-direction: column; justify-content: flex-start; min-height: auto; padding: 104px 0 56px; }
  .hero--full .hero-inner { order: 1; display: block; }
  .hero--full .hero-copy { width: 100%; align-items: center; text-align: center; }
  .hero--full .hero-copy > * { align-self: center; }
  .hero--full .hero-cta { justify-content: center !important; }
  .hero--full .hero-bg { order: 2; position: relative; inset: auto; width: 100%; height: min(56vh, 440px); margin-top: 30px; }
  .hero--full .hero-bg::after { display: none; }
  .hero--full .hero-bg canvas,
  body[dir="ltr"] .hero--full .hero-bg canvas { transform: none; }
  .hero--full .hero-badge { order: 3; position: static; margin: 22px auto 0; }
  .hero--full .scroll-hint, .hero--full .marks { display: none; }
}
.hero--full .hero-copy .hero-title { display: block; }
.hero--full .hero-title .word, .hero--full .hero-title .sep { opacity: 1 !important; transform: none !important; }
.hero--full .hero-cta { display: flex; justify-content: flex-start !important; flex-wrap: wrap; }
/* stronger readability scrim on the text side */
.hero--full .hero-bg::after { background: radial-gradient(140% 130% at 100% 45%, rgba(10,6,22,.92) 0%, rgba(10,6,22,.5) 40%, transparent 66%); }
body[dir="ltr"] .hero--full .hero-bg::after { background: radial-gradient(140% 130% at 0% 45%, rgba(10,6,22,.92) 0%, rgba(10,6,22,.5) 40%, transparent 66%); }
@media (max-width: 900px) {
  .hero--full .hero-inner { justify-content: center; }
  .hero--full .hero-copy { width: 100%; text-align: center; }
  .hero--full .hero-cta { justify-content: center; }
  .hero--full .hero-bg::after { background: linear-gradient(to top, rgba(10,6,22,.85) 0%, rgba(10,6,22,.4) 45%, transparent 75%); }
}

/* ============================================================
   FULL-SCREEN MENU OVERLAY (elegant, desktop + mobile)
   ============================================================ */
.mobile-nav {
  position: fixed !important; inset: 0 !important; inset-inline: 0 !important; inset-block: 0 !important;
  width: 100vw !important; height: 100vh; height: 100dvh; max-width: none !important;
  z-index: 110; display: flex !important; flex-direction: column;
  background: none !important; border: none !important; border-radius: 0 !important;
  box-shadow: none !important; backdrop-filter: none !important; padding: 0 !important;
  visibility: hidden; opacity: 0; pointer-events: none; transform: none !important;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-nav a:not(.btn) { background: transparent !important; border-radius: 0 !important; min-height: 0; }

.mobile-nav .menu-bg {
  position: fixed; inset: 0; z-index: 0;
  background: radial-gradient(120% 120% at 12% 6%, #2a1554 0%, #140a2e 45%, #0a0616 100%);
  clip-path: circle(0% at 12% 6%);
  transition: clip-path .8s var(--ease);
}
.mobile-nav.is-open .menu-bg { clip-path: circle(160% at 12% 6%); }
body[dir="ltr"] .mobile-nav .menu-bg { clip-path: circle(0% at 88% 6%); }
body[dir="ltr"] .mobile-nav.is-open .menu-bg { clip-path: circle(160% at 88% 6%); }

.menu-top {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter); flex: none;
}
.menu-top .brand-name { color: #fff; font-weight: 700; font-size: 1.35rem; }
.menu-top .brand-name span { color: var(--p-300); }
.menu-top .brand img { width: 32px; }
.menu-close { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); position: relative; transition: background-color .3s, transform .3s; }
.menu-close:hover { background: rgba(255,255,255,.1); transform: rotate(90deg); }
.menu-close span { position: absolute; inset-inline: 15px; top: calc(50% - 1px); height: 2px; background: #fff; border-radius: 2px; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }

.menu-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: clamp(10px, 3vh, 40px) var(--gutter) clamp(28px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 46px);
  flex: 1 0 auto; color: #fff;
}
.menu-eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--p-300); opacity: 0; transition: opacity .5s .2s; }
.mobile-nav.is-open .menu-eyebrow { opacity: 1; }

.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  position: relative; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  padding: clamp(10px, 1.7vh, 20px) 4px; border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff; font-weight: 600; letter-spacing: -.02em; line-height: 1.05;
  font-size: clamp(1.9rem, 5.6vw, 4rem);
  opacity: 0; transform: translateY(34px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.mobile-nav.is-open .menu-links a { opacity: 1; transform: none; }
.mobile-nav.is-open .menu-links a:nth-child(1) { transition-delay: .14s; }
.mobile-nav.is-open .menu-links a:nth-child(2) { transition-delay: .2s; }
.mobile-nav.is-open .menu-links a:nth-child(3) { transition-delay: .26s; }
.mobile-nav.is-open .menu-links a:nth-child(4) { transition-delay: .32s; }
.mobile-nav.is-open .menu-links a:nth-child(5) { transition-delay: .38s; }
.menu-links a .menu-i { font-size: .32em; font-weight: 700; color: var(--p-400); min-width: 2.2em; }
.menu-links a .menu-t { transition: transform .35s var(--ease); }
.menu-links a .menu-ar { margin-inline-start: auto; font-size: .5em; opacity: 0; transform: translateX(12px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
body[dir="rtl"] .menu-links a .menu-ar { transform: translateX(-12px) scaleX(-1); }
.menu-links a:hover { color: var(--p-300); }
.menu-links a:hover .menu-t { transform: translateX(-10px); }
body[dir="rtl"] .menu-links a:hover .menu-t { transform: translateX(10px); }
.menu-links a:hover .menu-ar { opacity: 1; transform: none; }
body[dir="rtl"] .menu-links a:hover .menu-ar { transform: scaleX(-1); }

.menu-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: clamp(20px, 4vw, 56px);
  padding-top: clamp(18px, 3vh, 32px); border-top: 1px solid rgba(255,255,255,.1);
  opacity: 0; transform: translateY(16px); transition: opacity .5s .42s, transform .5s .42s;
}
.mobile-nav.is-open .menu-foot { opacity: 1; transform: none; }
.menu-col .menu-label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.menu-col > a { color: #fff; font-size: 1.05rem; transition: color .3s; }
.menu-col > a:hover { color: var(--p-300); }
.menu-social { display: flex; flex-direction: column; gap: 6px; }
.menu-social a { color: rgba(255,255,255,.78); font-size: .95rem; transition: color .3s; }
.menu-social a:hover { color: #fff; }
.menu-actions { display: flex; align-items: center; gap: 12px; }
.menu-actions .lang-toggle { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.menu-actions .lang-toggle:hover { background: rgba(255,255,255,.18); }

@media (max-width: 640px) {
  .menu-inner { justify-content: flex-start; padding-top: clamp(16px, 4vh, 40px); }
  .menu-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .menu-actions { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav .menu-bg { transition: none; clip-path: none; }
  .mobile-nav .menu-links a, .mobile-nav .menu-foot, .mobile-nav .menu-eyebrow { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   BLUEPRINT GRID BG + GRADIENT SECTION DIVIDERS + FAINT SECTION NUMBERS
   ============================================================ */
/* Faint blueprint squares behind everything (shows on all light sections) */
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(91, 22, 196, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 22, 196, .05) 1px, transparent 1px);
  background-size: 62px 62px;
}
/* keep the grid visible on the white footer too */
.footer {
  position: relative;
  background-image:
    linear-gradient(rgba(91, 22, 196, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 22, 196, .05) 1px, transparent 1px);
  background-size: 62px 62px;
}

/* Gradient divider between every section (and before the footer) */
.section + .section::before,
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, .7) 22%, rgba(56, 214, 232, .9) 50%, rgba(139, 92, 246, .7) 78%, transparent 100%);
}

/* Big faint numbering per section (right for odd, left for even) */
.section[data-num]::after {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  inset-inline-end: 3vw;
  transform: translateY(-50%);
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  font-size: clamp(120px, 20vw, 300px);
  color: var(--p-700);
  opacity: .05;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.section[data-num="02"]::after,
.section[data-num="04"]::after,
.section[data-num="06"]::after,
.section[data-num="08"]::after {
  inset-inline-end: auto;
  inset-inline-start: 3vw;
}
/* dark-surface sections: lighten the faint number so it stays visible */
#stats[data-num]::after, #security[data-num]::after { color: #fff; opacity: .04; }
@media (max-width: 640px) {
  .section[data-num]::after { font-size: 42vw; opacity: .045; inset-inline-end: 0; inset-inline-start: auto; }
  body, .footer { background-size: 48px 48px; }
}

/* ============================================================
   SHOWREEL VIDEO PLAYBACK
   ============================================================ */
.showreel .reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #0E0B18;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease);
  z-index: 1; pointer-events: none;
}
.showreel.is-playing .reel-video { opacity: 1; visibility: visible; pointer-events: auto; }
.showreel .reel-canvas,
.showreel .reel-overlay,
.showreel .reel-eyebrow,
.showreel .marks { transition: opacity .35s var(--ease); }
.showreel.is-playing .reel-canvas,
.showreel.is-playing .reel-overlay,
.showreel.is-playing .reel-eyebrow,
.showreel.is-playing .marks { opacity: 0; visibility: hidden; pointer-events: none; }
/* small pause hint while playing */
.showreel .reel-pause { position: absolute; z-index: 3; inset-block-end: 18px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); color: #fff; display: none; place-items: center; }
.showreel.is-playing .reel-pause { display: grid; }
.showreel .reel-pause svg { width: 16px; height: 16px; }
.showreel.is-loading .reel-play { animation: reelPulse 1s ease-in-out infinite; }
.showreel.is-loading .reel-word::after { content: "..."; }
.showreel .reel-status {
  position: absolute; z-index: 4; inset-inline: 24px; inset-block-end: 24px;
  display: none; width: fit-content; max-width: calc(100% - 48px);
  margin-inline: auto; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: .88rem; text-align: center; backdrop-filter: blur(8px);
}
.showreel.is-error .reel-status { display: block; }
@keyframes reelPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ============================================================
   INTERNAL PAGES (services / sectors / detail / contact)
   Same visual identity as the homepage.
   ============================================================ */
.page-hero { padding-top: clamp(120px, 16vh, 200px); }
.back-link { display:inline-flex; align-items:center; gap:8px; color:var(--ink-soft); font-weight:600; margin-bottom:22px; transition:color .3s var(--ease); }
.back-link:hover { color:var(--p-600); }

/* card grid (service/sector listings) */
.card-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:clamp(16px,2.2vw,28px); }
.card-grid--compact { grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); }
.pcard { position:relative; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.pcard:hover { transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--p-300); }
.pcard-media { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--bg-2); }
.pcard-media img { width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform:scale(1.06); }
.pcard-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(20,16,31,.28)); opacity:0; transition:opacity .5s var(--ease); }
.pcard:hover .pcard-media::after { opacity:1; }
.pcard-emoji { position:absolute; inset-inline-start:12px; inset-block-start:12px; font-size:1.5rem; filter:drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.pcard-body { padding:20px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.pcard-num { color:var(--p-400); font-size:.85rem; letter-spacing:.05em; }
.pcard-body h3 { font-size:1.18rem; line-height:1.35; color:var(--ink); }
.pcard-body p { color:var(--ink-soft); font-size:.95rem; line-height:1.7; margin:0; }
.pcard-cta { margin-top:auto; padding-top:6px; color:var(--p-600); font-weight:700; display:inline-flex; gap:4px; }

/* detail hero */
.detail-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(24px,4vw,56px); align-items:center; }
.detail-copy { min-width: 0; }
/* neutralize the stale homepage-grid .hero-cta rule (grid-column:2; margin-top:-20px) that
   otherwise pulls the buttons up into the paragraph on detail-page heroes */
.page-hero .hero-cta { grid-column: auto; margin-top: clamp(28px, 3.4vw, 44px); }
.page-hero .detail-copy .lead { margin-top: 18px; }
.detail-media { border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); aspect-ratio:4/3; }
.detail-media img { width:100%; height:100%; object-fit:cover; }
@media (max-width:860px){ .detail-grid { grid-template-columns:1fr; } .detail-media { order:-1; aspect-ratio:16/10; } }

/* feature / includes grid */
.feature-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:14px; }
.feature-item { display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px 18px; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease), border-color .4s var(--ease); color:var(--ink); font-weight:500; }
.feature-item:hover { transform:translateY(-3px); border-color:var(--p-300); }
.fi-check { flex:0 0 auto; width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:var(--grad-purple-soft); color:#fff; font-size:.8rem; font-weight:700; }

/* contact form */
.contact-grid { display:grid; grid-template-columns:1.4fr .8fr; gap:clamp(24px,3vw,44px); align-items:start; }
@media (max-width:860px){ .contact-grid { grid-template-columns:1fr; } }
.lead-form { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:clamp(22px,3vw,40px); box-shadow:var(--shadow); display:flex; flex-direction:column; gap:16px; }
.lf-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .lf-row { grid-template-columns:1fr; } }
.lf-field { display:flex; flex-direction:column; gap:7px; }
.lf-field > span { font-size:.9rem; font-weight:600; color:var(--ink-soft); }
.lf-field input, .lf-field select, .lf-field textarea { font:inherit; color:var(--ink); background:var(--bg-2); border:1px solid var(--line); border-radius:var(--r-sm); padding:13px 15px; outline:none; transition:border-color .3s var(--ease), box-shadow .3s var(--ease); }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus { border-color:var(--p-500); box-shadow:0 0 0 3px rgba(139,92,246,.18); }
.lead-form .btn { align-self:flex-start; margin-top:6px; }
.form-note { border-radius:var(--r-sm); padding:12px 16px; font-weight:600; font-size:.95rem; }
.form-note--success { background:rgba(52,211,153,.14); color:#0f7a53; border:1px solid rgba(52,211,153,.4); }
.form-note--error { background:rgba(239,68,68,.12); color:#b42318; border:1px solid rgba(239,68,68,.35); }
.contact-aside { background:var(--grad-purple); color:#fff; border-radius:var(--r-xl); padding:clamp(22px,3vw,36px); box-shadow:var(--shadow); }
.contact-aside h3 { color:#fff; margin-bottom:18px; }
.ca-item { display:flex; flex-direction:column; gap:2px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.16); }
.ca-item span { font-size:.82rem; opacity:.8; }
.ca-item b { font-size:1.02rem; }
.ca-socials { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:16px; }
.ca-socials a { color:#fff; opacity:.85; font-size:.9rem; font-weight:600; }
.ca-socials a:hover { opacity:1; text-decoration:underline; }

/* newsletter feedback note */
.nl-note { margin-top: 8px; font-size: .85rem; font-weight: 600; }
.nl-note.is-ok { color: #34D399; }
.nl-note.is-err { color: #fca5a5; }

/* ============================================================
   LEARN / ARTICLES (تعلم معنا)
   ============================================================ */
.wrap--narrow { max-width: 820px; }
.learn-filter { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.chip { display:inline-flex; align-items:center; padding:8px 16px; border-radius:999px; background:var(--surface); border:1px solid var(--line); color:var(--ink-soft); font-weight:600; font-size:.9rem; transition:all .3s var(--ease); }
.chip:hover { border-color:var(--p-300); color:var(--p-600); }
.chip.is-on { background:var(--grad-purple-soft); border-color:transparent; color:#fff; }
.pcard-chip { position:absolute; inset-block-start:12px; inset-inline-start:12px; z-index:2; padding:5px 12px; border-radius:999px; background:rgba(14,11,24,.55); backdrop-filter:blur(6px); color:#fff; font-size:.78rem; font-weight:600; }
.pcard-chip--static { position:static; display:inline-flex; margin-bottom:16px; background:var(--grad-purple-soft); }
.article-meta { display:flex; flex-wrap:wrap; gap:6px; color:var(--ink-faint); font-size:.85rem; font-weight:500; }
.pcard-body .article-meta { margin-bottom:2px; }

.article-head { text-align:center; margin-bottom:28px; }
.article-head .article-meta { justify-content:center; margin-top:14px; }
.article-cover { border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); aspect-ratio:16/8; margin-bottom:36px; }
.article-cover img { width:100%; height:100%; object-fit:cover; }
.article-body { font-size:1.12rem; line-height:2; color:var(--ink-soft); }
.article-body p { margin:0 0 1.3em; }
.article-cta { margin-top:44px; padding:28px 32px; border-radius:var(--r-lg); background:var(--bg-2); border:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.article-cta h3 { color:var(--ink); margin-bottom:4px; }

/* ============================================================
   CHATBOT — Jodfy Ai
   ============================================================ */
.jbot { position: fixed; inset-block-end: 26px; inset-inline-start: 26px; z-index: 85; }
.jbot-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-purple); color: #fff; box-shadow: 0 14px 34px rgba(91,22,196,.45), 0 2px 8px rgba(0,0,0,.18);
  display: grid; place-items: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.jbot-fab:hover { transform: translateY(-3px) scale(1.04); }
.jbot-fab .jic { position: absolute; width: 26px; height: 26px; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.jic-x { opacity: 0; transform: rotate(-45deg) scale(.5); }
.jbot.is-open .jic-chat { opacity: 0; transform: rotate(45deg) scale(.5); }
.jbot.is-open .jic-x { opacity: 1; transform: rotate(0) scale(1); }
.jbot-ping { position: absolute; inset-block-start: -3px; inset-inline-end: -3px; width: 14px; height: 14px; border-radius: 50%; background: #34D399; border: 2px solid #fff; }
.jbot-ping::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34D399; animation: jping 1.8s var(--ease) infinite; }
@keyframes jping { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(1.9); opacity: 0 } }

.jbot-win { position: absolute; inset-block-end: 78px; inset-inline-start: 0;
  width: min(384px, calc(100vw - 32px)); height: min(600px, 76vh); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(46,10,94,.28), 0 6px 20px rgba(46,10,94,.14);
  transform: translateY(18px) scale(.96); transform-origin: bottom var(--_o, left); opacity: 0; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease); }
html[dir="rtl"] .jbot-win { transform-origin: bottom right; }
html[dir="ltr"] .jbot-win { transform-origin: bottom left; }
.jbot-win.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.jbot-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--grad-purple); color: #fff; }
.jbot-ava { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: 0 0 auto; }
.jbot-ava img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.jbot-id { display: flex; flex-direction: column; line-height: 1.35; flex: 1; }
.jbot-id b { font-size: 1rem; }
.jbot-live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .9; font-style: normal; }
.jbot-live em { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: jdot 1.6s infinite; }
@keyframes jdot { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.5) } 50% { box-shadow: 0 0 0 5px rgba(52,211,153,0) } }
.jbot-x { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s var(--ease); }
.jbot-x:hover { background: rgba(255,255,255,.28); }
.jbot-x svg { width: 16px; height: 16px; }

.jbot-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, var(--bg-2), var(--surface)); scroll-behavior: smooth; }
.jmsg { max-width: 82%; padding: 11px 15px; font-size: .95rem; line-height: 1.6; border-radius: 18px; white-space: pre-line; animation: jrise .35s var(--ease) both; }
@keyframes jrise { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.jmsg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-start-start-radius: 6px; box-shadow: var(--shadow-sm); }
.jmsg--me { align-self: flex-end; background: var(--grad-purple-soft); color: #fff; border-start-end-radius: 6px; }
.jtyping { display: inline-flex; gap: 4px; align-items: center; }
.jtyping i { width: 7px; height: 7px; border-radius: 50%; background: var(--p-400); animation: jtb 1s infinite; }
.jtyping i:nth-child(2) { animation-delay: .15s } .jtyping i:nth-child(3) { animation-delay: .3s }
@keyframes jtb { 0%,60%,100% { transform: translateY(0); opacity: .5 } 30% { transform: translateY(-4px); opacity: 1 } }

.jbot-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding .3s var(--ease); }
.jbot-chips.has { max-height: 220px; padding: 4px 16px 12px; }
.jchip { border: 1px solid var(--p-300); background: var(--surface); color: var(--p-700); font: inherit; font-weight: 600; font-size: .88rem; padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.jchip:hover { background: var(--grad-purple-soft); border-color: transparent; color: #fff; transform: translateY(-2px); }
.jchip--ghost { border-style: dashed; border-color: var(--line); color: var(--ink-faint); }

.jbot-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.jbot-bar input { flex: 1; font: inherit; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; outline: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.jbot-bar input:focus { border-color: var(--p-500); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.jbot-bar input:disabled { opacity: .55; }
.jbot-bar button { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; background: var(--grad-purple); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s; }
.jbot-bar button:hover:not(:disabled) { transform: scale(1.08); }
.jbot-bar button:disabled { opacity: .4; cursor: default; }
.jbot-bar button svg { width: 18px; height: 18px; }
html[dir="rtl"] .jbot-bar button svg { transform: scaleX(-1); }

@media (max-width: 520px) {
  .jbot { inset-block-end: 18px; inset-inline-start: 16px; }
  .jbot-win { inset-block-end: 74px; width: calc(100vw - 32px); height: min(74vh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .jbot-ping::after, .jbot-live em, .jtyping i { animation: none; } }

/* ============================================================
   CHATBOT — embedded variant (homepage "live lab" box)
   ============================================================ */
/* wide landscape card: full-width, split into a brand aside + the chat */
.intro-media.has-chat { grid-column: 1 / -1; width: 100%; aspect-ratio: auto; height: clamp(370px, 46vh, 452px); }
.jbot--embed { position: absolute; inset: 0; z-index: 2; display: flex; }
.jbot--embed .jbot-aside { flex: 0 0 40%; max-width: 392px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; border-inline-end: 1px solid rgba(255,255,255,.12); }
.jbot-aside-logo { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.jbot-aside-logo img { width: 27px; height: 27px; filter: brightness(0) invert(1); }
.jbot-aside-title { color: #fff; font-size: 1.4rem; }
.jbot-aside-sub { color: rgba(255,255,255,.72); font-size: .97rem; line-height: 1.8; max-width: 34ch; margin: 0; }
.jbot-aside-live { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 600; }
.jbot-aside-live em { width: 8px; height: 8px; border-radius: 50%; background: #34D399; animation: jdot 1.6s infinite; }
.jbot--embed .jbot-win {
  position: static; inset: auto; flex: 1; width: auto; height: 100%;
  border: none; border-radius: 0; box-shadow: none; background: transparent;
  opacity: 1; transform: none; pointer-events: auto; transition: none;
}
.jbot--embed .jbot-head { display: none; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.jbot--embed .jbot-ava { background: rgba(255,255,255,.14); }
.jbot--embed .jbot-log { background: transparent; }
.jbot--embed .jmsg--bot { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.16); color: #EAF2FF; box-shadow: none; }
.jbot--embed .jtyping i { background: var(--p-300); }
.jbot--embed .jchip { background: rgba(255,255,255,.10); border-color: rgba(196,181,253,.45); color: #EAF2FF; }
.jbot--embed .jchip:hover { background: var(--grad-purple-soft); border-color: transparent; color: #fff; }
.jbot--embed .jchip--ghost { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.6); }
.jbot--embed .jbot-bar { background: rgba(255,255,255,.05); border-top-color: rgba(255,255,255,.12); }
.jbot--embed .jbot-bar input { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); color: #fff; }
.jbot--embed .jbot-bar input::placeholder { color: rgba(255,255,255,.5); }
.jbot--embed .jbot-log::-webkit-scrollbar { width: 6px; }
.jbot--embed .jbot-log::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
@media (max-width: 860px) {
  .intro-media.has-chat { grid-column: auto; width: 100%; height: clamp(460px, 72vh, 560px); }
  .jbot--embed { flex-direction: column; }
  .jbot--embed .jbot-aside { display: none; }
  .jbot--embed .jbot-head { display: flex; }
}

/* ============================================================
   LEGAL / POLICY PAGES
   ============================================================ */
.legal-body { color: var(--ink-soft); line-height: 1.95; font-size: 1.02rem; }
.legal-body h3 { color: var(--ink); font-size: 1.22rem; margin: 1.9em 0 .55em; }
.legal-body p { margin: 0 0 1.05em; }
.legal-body ul { margin: 0 0 1.2em; padding-inline-start: 1.4em; display: grid; gap: .45em; }
.legal-body li { list-style: disc; }
.legal-body a { color: var(--p-600); font-weight: 600; }
.legal-body a:hover { text-decoration: underline; }
/* CSS-based bilingual swap for rich (HTML) blocks — driven by <html lang> */
html[lang="en"] [data-only="ar"] { display: none; }
html:not([lang="en"]) [data-only="en"] { display: none; }

/* ============================================================
   FLOATING WHATSAPP + footer socials
   ============================================================ */
.wa-fab { position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 82;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.42), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .35s var(--ease); }
.wa-fab:hover { transform: translateY(-3px) scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waping 2.2s var(--ease) infinite; }
@keyframes waping { 0% { transform: scale(1); opacity: .6 } 100% { transform: scale(1.55); opacity: 0 } }
/* stack back-to-top above the WhatsApp button */
.to-top { inset-block-end: 92px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .wa-ping { animation: none; } }
@media (max-width: 520px) { .wa-fab { width: 50px; height: 50px; inset-inline-end: 16px; } .to-top { inset-block-end: 84px; inset-inline-end: 16px; } }

/* ============================================================
   AUTH + CLIENT DASHBOARD
   ============================================================ */
.auth-card { max-width: 460px; margin-inline: auto; }
.auth-alt { text-align: center; font-size: .92rem; color: var(--ink-soft); margin: 4px 0 0; }
.auth-alt a { color: var(--p-600); font-weight: 700; }
.auth-alt a:hover { text-decoration: underline; }
.auth-check { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: .92rem; cursor: pointer; }
.auth-check input { position: absolute; opacity: 0; pointer-events: none; }
.auth-check-box { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; display: inline-grid; place-items: center; background: var(--surface); color: transparent; font-size: .82rem; font-weight: 800; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.auth-check input:checked + .auth-check-box { background: var(--p-600); border-color: var(--p-600); color: #fff; }
.auth-check input:focus-visible + .auth-check-box { outline: 3px solid color-mix(in srgb, var(--p-500) 28%, transparent); outline-offset: 2px; }
.menu-logout-form { display: inline-flex; margin: 0; }
.menu-logout { gap: 7px; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.dash-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dash-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s var(--ease); }
.dash-item:hover { transform: translateY(-3px); border-color: var(--p-300); }
.dash-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dash-top b { color: var(--ink); font-size: 1.05rem; }
.dash-date { color: var(--ink-faint); font-size: .82rem; white-space: nowrap; }
.dash-item p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 12px; font-size: .95rem; }
.dash-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .82rem; color: var(--ink-soft); }
.dash-src { margin-inline-start: auto; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; }
.dash-empty { padding: 30px 0; }
.account-danger { margin-top: 42px; padding: 20px 22px; border: 1px solid rgba(225,29,72,.24); border-radius: var(--r); background: rgba(225,29,72,.045); }
.account-danger h2 { margin: 0 0 7px; color: #be123c; font-size: 1.05rem; }
.account-danger p { margin: 0 0 14px; color: var(--ink-soft); line-height: 1.7; }
.btn--danger { background: #be123c; color: #fff; border-color: #be123c; }
.btn--danger:hover { background: #9f1239; border-color: #9f1239; transform: translateY(-2px); }

/* ============================================================
   SCOPE 2026 — accessible navigation, service universe & consent
   ============================================================ */
.skip-link {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 10001;
  padding: 10px 16px; border-radius: 999px; background: #0a0612; color: #fff;
  font-weight: 800; transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.scope-scroll-progress { position: fixed; inset: 0 0 auto; z-index: 9998; height: 3px; pointer-events: none; }
.scope-scroll-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,#7c3aed,var(--page-accent,#22d3ee)); transform: scaleX(0); transform-origin: right center; box-shadow: 0 0 18px var(--page-accent,#22d3ee); }
html[dir="ltr"] .scope-scroll-progress i { transform-origin: left center; }

.menu-service-map {
  width:min(1280px,100%); margin:clamp(24px,4vh,44px) auto 0; padding:clamp(18px,2.4vw,30px);
  border:1px solid rgba(255,255,255,.12); border-radius:clamp(22px,2.4vw,32px);
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 24px 70px rgba(0,0,0,.18);
}
.menu-service-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-block-end:20px; }
.menu-service-head .menu-label { color:#fff; font-size:clamp(.9rem,1.1vw,1.05rem); font-weight:800; }
.mobile-nav .menu-service-head > a {
  min-height:38px; display:inline-flex; align-items:center; padding:7px 13px;
  border:1px solid rgba(255,255,255,.14); border-radius:999px !important;
  color:rgba(255,255,255,.78); background:rgba(255,255,255,.055) !important;
  font-size:.78rem; font-weight:700; text-decoration:none; white-space:nowrap;
}
.mobile-nav .menu-service-head > a:hover,.mobile-nav .menu-service-head > a:focus-visible { color:#fff; border-color:rgba(34,211,238,.45); }
.menu-service-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.mobile-nav a.menu-service-card {
  position:relative; isolation:isolate; min-width:0; min-height:90px;
  display:grid; grid-template-columns:42px minmax(0,1fr) 20px; align-items:center; gap:11px;
  padding:14px; overflow:hidden; border:1px solid rgba(255,255,255,.11);
  border-radius:18px !important; color:#f5f3ff;
  background:linear-gradient(135deg,color-mix(in srgb,var(--menu-accent,#7c3aed) 13%,transparent),rgba(255,255,255,.035)) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.045);
  text-align:start; transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.mobile-nav a.menu-service-card::before {
  content:""; position:absolute; z-index:-1; inset-block:0; inset-inline-start:0; width:2px;
  background:linear-gradient(var(--menu-accent,#7c3aed),#22d3ee); box-shadow:0 0 15px var(--menu-accent,#7c3aed);
}
.mobile-nav a.menu-service-card:hover,.mobile-nav a.menu-service-card:focus-visible {
  transform:translateY(-3px); border-color:color-mix(in srgb,var(--menu-accent,#7c3aed) 66%,white 14%);
  background:linear-gradient(135deg,color-mix(in srgb,var(--menu-accent,#7c3aed) 23%,transparent),rgba(255,255,255,.065)) !important;
  box-shadow:0 15px 34px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08);
}
.menu-service-icon {
  width:42px; height:42px; display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--menu-accent,#7c3aed) 35%,transparent);
  border-radius:13px; direction:ltr; color:color-mix(in srgb,var(--menu-accent,#a78bfa) 72%,white 28%);
  background:color-mix(in srgb,var(--menu-accent,#7c3aed) 14%,transparent); font-size:.72rem; font-weight:900; letter-spacing:.04em;
}
.menu-service-card__copy { min-width:0; }
.menu-service-card b,.menu-service-card small { display:block; overflow-wrap:anywhere; }
.menu-service-card b { color:#fff; font-size:.84rem; line-height:1.55; }
.menu-service-card small { margin-block-start:3px; color:rgba(255,255,255,.54); font-size:.67rem; line-height:1.45; }
.menu-service-card__arrow { color:var(--menu-accent,#a78bfa); font-size:.92rem; opacity:.72; transition:transform .25s ease,opacity .25s ease; }
html[dir="rtl"] .menu-service-card__arrow { transform:scaleX(-1); }
.menu-service-card:hover .menu-service-card__arrow { opacity:1; transform:translate(-2px,-2px); }
html[dir="rtl"] .menu-service-card:hover .menu-service-card__arrow { transform:translate(2px,-2px) scaleX(-1); }
.menu-child-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-block-start:12px; }
.mobile-nav a.menu-child-link {
  min-height:42px; display:flex; align-items:center; justify-content:center; padding:9px 12px;
  border:1px solid rgba(255,255,255,.1); border-radius:13px !important; color:rgba(255,255,255,.7);
  background:rgba(255,255,255,.035) !important; font-size:.72rem; line-height:1.5; text-align:center;
  transition:color .2s,border-color .2s,background .2s,transform .2s;
}
.mobile-nav a.menu-child-link:hover,.mobile-nav a.menu-child-link:focus-visible { color:#fff; border-color:rgba(34,211,238,.5); background:rgba(34,211,238,.09) !important; transform:translateY(-2px); }

@media (max-width:1080px) {
  .menu-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .menu-child-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .menu-service-map { margin-block-start:18px; padding:14px; border-radius:21px; }
  .menu-service-head { align-items:center; gap:10px; margin-block-end:13px; }
  .menu-service-head .menu-label { font-size:.82rem; }
  .mobile-nav .menu-service-head > a { min-height:34px; padding:6px 10px; font-size:.68rem; }
  .menu-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .mobile-nav a.menu-service-card { min-height:78px; grid-template-columns:34px minmax(0,1fr); gap:8px; padding:10px; border-radius:15px !important; }
  .menu-service-icon { width:34px; height:34px; border-radius:10px; font-size:.64rem; }
  .menu-service-card b { font-size:.75rem; line-height:1.5; }
  .menu-service-card small { font-size:.6rem; }
  .menu-service-card__arrow { display:none; }
  .menu-child-links {
    display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(190px,80%);
    overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:inline mandatory;
    padding-block-end:5px; scrollbar-width:thin;
  }
  .mobile-nav a.menu-child-link { min-height:44px; scroll-snap-align:start; }
  .jbot-win { max-height:min(78dvh,680px); padding-bottom:env(safe-area-inset-bottom); }
}
@media (max-width:440px) {
  .menu-service-grid { grid-template-columns:1fr; }
  .mobile-nav a.menu-service-card { min-height:70px; }
}
@media (prefers-reduced-motion:reduce) {
  .skip-link,.menu-service-card { transition:none !important; }
}

/* WhatsApp CTA button (in hero + final CTA groups) */
.btn--wa { display: inline-flex; align-items: center; gap: 9px; background: #25D366; color: #fff; border: none; }
.btn--wa:hover { background: #1eb858; transform: translateY(-2px); }
.btn--wa svg { width: 19px; height: 19px; flex: 0 0 auto; }


/* ============================================================
   TYPOGRAPHY SPACING FIX (Arabic-friendly line-heights;
   remove negative letter-spacing that breaks Arabic joining)
   ============================================================ */
.hero-title { line-height: 1.14; }
.h-xl { line-height: 1.22; }
.h-lg { line-height: 1.3; }
.h-md { line-height: 1.35; }
.cta-title { line-height: 1.16; }
.intro-heading { line-height: 1.1; }
.lead { line-height: 1.85; }
.intro-copy p, .step p, .lab p, .cert p, .faq-a-inner, .sm-item, .layer p { line-height: 1.9; }
[dir="rtl"] .hero-title, [dir="rtl"] .h-xl, [dir="rtl"] .h-lg, [dir="rtl"] .h-md,
[dir="rtl"] .cta-title, [dir="rtl"] .intro-heading { letter-spacing: normal; }
.section-head > * + * { margin-top: 14px; }
.step h3, .lab h3, .cert h4, .layer h4 { line-height: 1.35; margin-bottom: 6px; }

/* ============================================================
   CERTIFICATION LOGOS (real badges)
   ============================================================ */
.cert-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cert-logo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); height: 120px; display: grid; place-items: center; padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.cert-logo:hover { transform: translateY(-4px); border-color: var(--p-300); box-shadow: var(--shadow); }
.cert-logo img { max-width: 100%; max-height: 78px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 520px) { .cert-logos { grid-template-columns: repeat(2, 1fr); } }


/* ============================================================
   HAIFAA-style bold geometric type (Cairo, heavy headings)
   ============================================================ */
.hero-title, .h-xl, .h-lg, .h-md, .cta-title, .intro-heading,
.font-display, .sec-index, .stat-num, .stat-num .count, .team-fact .k, .brand-name {
  font-weight: 800;
}
.hero-title, .cta-title, .intro-heading { font-weight: 900; letter-spacing: normal; }

/* ============================================================
   PREVIEW BEFORE PAYMENT — reusable trust experience
   ============================================================ */
#project-request { scroll-margin-top: 110px; }
.preview-before-payment {
  --preview-space: #090611;
  --preview-night: #141024;
  --preview-text: #f7f5ff;
  --preview-muted: #bbb5cf;
  --preview-line: rgba(255,255,255,.13);
  --preview-violet: #8b5cf6;
  --preview-cyan: #22d3ee;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(78px, 9vw, 136px) var(--gutter);
  color: var(--preview-text);
  color-scheme: dark;
  background:
    radial-gradient(circle at 82% 8%, rgba(124,58,237,.3), transparent 34%),
    radial-gradient(circle at 6% 88%, rgba(34,211,238,.13), transparent 28%),
    linear-gradient(145deg, var(--preview-space), var(--preview-night));
  border-block: 1px solid rgba(255,255,255,.08);
}
.preview-before-payment *, .preview-before-payment *::before, .preview-before-payment *::after { box-sizing: border-box; }
.preview-before-payment__inner { position: relative; z-index: 2; width: min(100%, var(--maxw)); margin-inline: auto; }
.preview-before-payment__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .42; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(135deg, #000, transparent 78%);
}
.preview-before-payment__glow { position: absolute; z-index: -1; width: min(48vw, 680px); aspect-ratio: 1; border-radius: 50%; filter: blur(105px); opacity: .17; pointer-events: none; animation: previewGlow 10s ease-in-out infinite alternate; }
.preview-before-payment__glow--one { inset-block-start: -32%; inset-inline-end: -12%; background: var(--preview-violet); }
.preview-before-payment__glow--two { inset-block-end: -38%; inset-inline-start: -15%; background: var(--preview-cyan); animation-delay: -5s; }
@keyframes previewGlow { to { transform: translate3d(5%, 4%, 0) scale(1.08); } }

.preview-before-payment__head { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 18px clamp(38px, 7vw, 110px); align-items: end; margin-block-end: clamp(42px, 6vw, 78px); }
.preview-before-payment__eyebrow { grid-column: 1 / -1; display: inline-flex; align-items: center; width: fit-content; gap: 10px; color: var(--preview-cyan); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.preview-before-payment__eyebrow > i { width: 26px; height: 1px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.preview-before-payment .preview-before-payment__title { max-width: 14ch; margin: 0; color: var(--preview-text); font-size: clamp(2.25rem, 5.6vw, 5rem); font-weight: 900; line-height: 1.18; letter-spacing: normal; text-wrap: balance; }
.preview-before-payment .preview-before-payment__lead { max-width: 46ch; margin: 0; color: var(--preview-muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.9; }

.preview-before-payment__showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(24px, 4vw, 54px); align-items: stretch; }
.preview-before-payment__mockup { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--preview-line); border-radius: clamp(25px, 3.5vw, 42px); background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: 0 38px 100px rgba(0,0,0,.38); }
.preview-before-payment__browser { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: clamp(18px, 2.5vw, 32px); background: #f3f1fb; }
.preview-before-payment__browser-bar { min-height: 54px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px; border-block-end: 1px solid rgba(46,10,94,.11); color: #4a4458; background: rgba(255,255,255,.86); }
.preview-before-payment__browser-dots { display: flex; gap: 5px; }
.preview-before-payment__browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c4b5fd; }
.preview-before-payment__browser-dots i:nth-child(2) { background: #67e8f9; }
.preview-before-payment__browser-dots i:nth-child(3) { background: #6ee7b7; }
.preview-before-payment__browser-url { min-width: 0; padding: 6px 12px; border: 1px solid rgba(46,10,94,.08); border-radius: 999px; overflow: hidden; color: #746d84; background: #f7f6fc; font: 600 .68rem/1.2 "JetBrains Mono", monospace; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.preview-before-payment__browser-live { display: inline-flex; align-items: center; gap: 6px; color: #087a5b; font: 800 .62rem/1 "JetBrains Mono", monospace; }
.preview-before-payment__browser-live i { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px rgba(16,185,129,.12); }
.preview-before-payment__screen { position: relative; min-height: clamp(330px, 38vw, 500px); padding: clamp(20px, 3vw, 34px); overflow: hidden; color: #14101f; background: radial-gradient(circle at 88% 18%, rgba(34,211,238,.17), transparent 28%), linear-gradient(145deg, #f8f7fc, #e8e5f4); }
.preview-before-payment__screen::before { content: ""; position: absolute; width: 48%; aspect-ratio: 1; inset-block-start: 7%; inset-inline-end: -12%; border: 1px solid rgba(124,58,237,.16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(124,58,237,.035), 0 0 0 74px rgba(34,211,238,.025); }
.preview-before-payment__screen-nav { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.preview-before-payment__screen-nav b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #7c3aed, #22d3ee); }
.preview-before-payment__screen-nav span { width: 36px; height: 5px; border-radius: 99px; background: rgba(46,10,94,.14); }
.preview-before-payment__screen-nav i { width: 62px; height: 24px; margin-inline-start: auto; border-radius: 99px; background: #7c3aed; }
.preview-before-payment__screen-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(16px, 3vw, 34px); align-items: center; padding-block: clamp(28px, 5vw, 66px) 28px; }
.preview-before-payment__screen-hero > div { display: grid; gap: 10px; }
.preview-before-payment__screen-hero > div > span { width: 34%; height: 6px; border-radius: 99px; background: #22b8cf; }
.preview-before-payment__screen-hero strong { display: block; width: 94%; height: clamp(22px, 3.1vw, 42px); border-radius: 9px; background: #20172f; }
.preview-before-payment__screen-hero strong:nth-of-type(2) { width: 70%; background: linear-gradient(90deg, #7c3aed, #22d3ee); }
.preview-before-payment__screen-hero p { width: 82%; height: 8px; margin: 4px 0 0; border-radius: 99px; background: rgba(46,10,94,.16); }
.preview-before-payment__screen-hero > div > i { width: 104px; height: 34px; margin-block-start: 8px; border-radius: 99px; background: #7c3aed; box-shadow: 0 10px 28px rgba(124,58,237,.24); }
.preview-before-payment__screen-hero figure { position: relative; aspect-ratio: 1; border: 1px solid rgba(46,10,94,.12); border-radius: 42% 58% 57% 43%; background: radial-gradient(circle at 52% 46%, #22d3ee, #7c3aed 46%, #26173c 72%); box-shadow: 0 22px 48px rgba(46,10,94,.2); }
.preview-before-payment__screen-hero figure span { position: absolute; inset: 24%; border: 1px solid rgba(255,255,255,.48); border-radius: 28%; transform: rotate(28deg); }
.preview-before-payment__screen-hero figure i { position: absolute; width: 12%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 18px #fff; }
.preview-before-payment__screen-hero figure i:nth-of-type(1) { inset-block-start: 16%; inset-inline-start: 19%; }
.preview-before-payment__screen-hero figure i:nth-of-type(2) { inset-block-end: 18%; inset-inline-end: 16%; }
.preview-before-payment__screen-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.preview-before-payment__screen-cards i { min-height: 56px; border: 1px solid rgba(46,10,94,.1); border-radius: 13px; background: rgba(255,255,255,.68); }
.preview-before-payment__approval { position: absolute; z-index: 2; inset-inline-end: 5%; inset-block-end: 7%; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: #10b981; box-shadow: 0 18px 36px rgba(16,185,129,.28); }
.preview-before-payment__approval svg { width: 23px; }
.preview-before-payment__mockup figcaption { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 20px clamp(12px, 2vw, 24px) 12px; }
.preview-before-payment__shield { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(34,211,238,.28); border-radius: 15px; color: var(--preview-cyan); background: rgba(34,211,238,.08); }
.preview-before-payment__shield svg { width: 24px; }
.preview-before-payment .preview-before-payment__mockup figcaption p { margin: 0; color: var(--preview-text); font-size: clamp(.92rem, 1.25vw, 1.05rem); font-weight: 650; line-height: 1.75; }

.preview-before-payment__journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.preview-before-payment__journey li { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(20px, 2.3vw, 28px); overflow: hidden; border: 1px solid var(--preview-line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); transition: transform .35s var(--ease), border-color .35s ease, background-color .35s ease; }
.preview-before-payment__journey li::after { content: ""; position: absolute; width: 100px; height: 100px; inset-block-start: -64px; inset-inline-end: -48px; border-radius: 50%; background: var(--preview-violet); filter: blur(34px); opacity: .2; }
.preview-before-payment__journey li:nth-child(even)::after { background: var(--preview-cyan); }
.preview-before-payment__journey li:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.36); background: rgba(255,255,255,.07); }
.preview-before-payment__step-no { color: var(--preview-cyan); font: 700 .72rem/1 "JetBrains Mono", monospace; }
.preview-before-payment__journey b { display: block; margin-block-end: 8px; color: var(--preview-text); font-size: 1rem; }
.preview-before-payment .preview-before-payment__journey p { margin: 0; color: var(--preview-muted); font-size: .88rem; line-height: 1.8; }

.preview-before-payment__closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(26px, 5vw, 70px); align-items: center; margin-block-start: clamp(28px, 4vw, 52px); padding: clamp(26px, 4vw, 48px); border: 1px solid rgba(124,58,237,.18); border-radius: clamp(24px, 3vw, 36px); color: #14101f; background: radial-gradient(circle at 92% 10%, rgba(34,211,238,.17), transparent 28%), linear-gradient(135deg, #fff, #ece9f8); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.preview-before-payment__closing-label { display: block; margin-block-end: 8px; color: #6d28d9; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.preview-before-payment .preview-before-payment__closing p { max-width: 82ch; margin: 0; color: #4a4458; font-size: clamp(.95rem, 1.25vw, 1.08rem); line-height: 1.85; }
.preview-before-payment__cta { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 24px; border-radius: 999px; color: #fff; background: linear-gradient(115deg, #4c1d95, #7c3aed 55%, #22d3ee); box-shadow: 0 15px 38px rgba(124,58,237,.32); font-weight: 750; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s ease, background-position .3s ease; }
.preview-before-payment__cta:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 48px rgba(124,58,237,.42); }
.preview-before-payment__cta:focus-visible { outline: 3px solid var(--preview-cyan); outline-offset: 4px; }
.preview-before-payment__cta svg { width: 19px; flex: 0 0 auto; }
html[dir="rtl"] .preview-before-payment__cta svg { transform: scaleX(-1); }

/* Compact placement for catalog and contact pages. */
.preview-before-payment--compact { padding-block: clamp(42px, 6vw, 78px); }
.preview-before-payment__compact { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(22px, 4vw, 52px); align-items: center; padding: clamp(22px, 3.8vw, 46px); border: 1px solid var(--preview-line); border-radius: clamp(26px, 4vw, 44px); background: linear-gradient(125deg, rgba(124,58,237,.17), rgba(255,255,255,.05) 48%, rgba(34,211,238,.08)); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.preview-before-payment__compact-mark { position: relative; width: clamp(92px, 10vw, 138px); aspect-ratio: 1; display: grid; place-items: center; }
.preview-before-payment__compact-mark > span { position: relative; z-index: 2; width: 62%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 30%; color: #fff; background: linear-gradient(145deg, var(--preview-violet), var(--preview-cyan)); box-shadow: 0 0 54px rgba(124,58,237,.48); transform: rotate(-8deg); }
.preview-before-payment__compact-mark svg { width: 48%; }
.preview-before-payment__compact-mark > i { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; animation: previewPulse 3s ease-out infinite; }
.preview-before-payment__compact-mark > i:nth-of-type(2) { animation-delay: 1.5s; }
@keyframes previewPulse { from { transform: scale(.55); opacity: .8; } to { transform: scale(1.2); opacity: 0; } }
.preview-before-payment__compact-copy { min-width: 0; }
.preview-before-payment__compact-copy .preview-before-payment__eyebrow { margin-block-end: 10px; }
.preview-before-payment .preview-before-payment__compact-copy .preview-before-payment__title { max-width: 22ch; font-size: clamp(1.7rem, 3.5vw, 3rem); }
.preview-before-payment .preview-before-payment__compact-copy .preview-before-payment__lead { max-width: 68ch; margin-block-start: 10px; font-size: clamp(.9rem, 1.15vw, 1rem); line-height: 1.75; }

@media (max-width: 1040px) {
  .preview-before-payment__showcase { grid-template-columns: 1fr; }
  .preview-before-payment__mockup { width: min(100%, 780px); margin-inline: auto; }
  .preview-before-payment__journey { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .preview-before-payment__journey li { min-height: 230px; }
  .preview-before-payment__compact { grid-template-columns: auto minmax(0,1fr); }
  .preview-before-payment__compact .preview-before-payment__cta { grid-column: 1 / -1; justify-self: end; }
}
@media (max-width: 820px) {
  .preview-before-payment__head { grid-template-columns: 1fr; align-items: start; }
  .preview-before-payment .preview-before-payment__title { max-width: 18ch; }
  .preview-before-payment__journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-before-payment__journey li { min-height: 205px; }
  .preview-before-payment__closing { grid-template-columns: 1fr; }
  .preview-before-payment__closing .preview-before-payment__cta { justify-self: start; }
}
@media (max-width: 640px) {
  .preview-before-payment { padding: 68px 16px; }
  .preview-before-payment--compact { padding-block: 38px; }
  .preview-before-payment__head { margin-block-end: 34px; }
  .preview-before-payment .preview-before-payment__title { max-width: none; font-size: clamp(2rem, 10vw, 3.25rem); }
  .preview-before-payment__browser-bar { grid-template-columns: auto 1fr; }
  .preview-before-payment__browser-live { display: none; }
  .preview-before-payment__screen { min-height: 310px; padding: 18px; }
  .preview-before-payment__screen-hero { grid-template-columns: 1.15fr .85fr; padding-block: 34px 24px; }
  .preview-before-payment__screen-hero strong { height: 24px; }
  .preview-before-payment__screen-cards i { min-height: 42px; }
  .preview-before-payment__mockup figcaption { grid-template-columns: 1fr; }
  .preview-before-payment__journey { grid-template-columns: 1fr; }
  .preview-before-payment__journey li { min-height: 0; }
  .preview-before-payment__closing { padding: 24px 20px; }
  .preview-before-payment__closing .preview-before-payment__cta { width: 100%; }
  .preview-before-payment__compact { grid-template-columns: 1fr; text-align: center; }
  .preview-before-payment__compact-mark { width: 100px; margin-inline: auto; }
  .preview-before-payment__compact-copy .preview-before-payment__eyebrow { margin-inline: auto; }
  .preview-before-payment .preview-before-payment__compact-copy .preview-before-payment__title,
  .preview-before-payment .preview-before-payment__compact-copy .preview-before-payment__lead { margin-inline: auto; }
  .preview-before-payment__compact .preview-before-payment__cta { grid-column: auto; width: 100%; justify-self: stretch; white-space: normal; }
}
@media (max-width: 390px) {
  .preview-before-payment__screen { min-height: 278px; }
  .preview-before-payment__screen-nav span:nth-of-type(3) { display: none; }
  .preview-before-payment__screen-hero figure { border-radius: 30%; }
  .preview-before-payment__approval { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .preview-before-payment__glow,
  .preview-before-payment__compact-mark > i { animation: none !important; }
  .preview-before-payment__journey li,
  .preview-before-payment__cta { transition: none !important; }
}

/* Persistent footer assurance: the offer remains discoverable on every page. */
.footer-preview-guarantee {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-block-end: clamp(38px, 5vw, 64px);
  padding: clamp(22px, 3.5vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, .24);
  border-radius: clamp(24px, 3vw, 38px);
  color: #f7f5ff;
  background:
    radial-gradient(circle at 92% 4%, rgba(34, 211, 238, .2), transparent 28%),
    linear-gradient(128deg, #0d0817, #1b1130 58%, #101422);
  box-shadow: 0 28px 76px rgba(46, 10, 94, .18);
}
.footer-preview-guarantee::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #22d3ee, transparent);
  box-shadow: 0 0 20px rgba(34, 211, 238, .55);
}
.footer-preview-guarantee__icon {
  width: clamp(58px, 6vw, 76px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, .25);
  border-radius: 24px;
  color: #67e8f9;
  background: rgba(34, 211, 238, .08);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 0 34px rgba(34, 211, 238, .09);
}
.footer-preview-guarantee__icon svg { width: 46%; }
.footer-preview-guarantee__copy { min-width: 0; }
.footer-preview-guarantee__label {
  display: block;
  margin-block-end: 7px;
  color: #67e8f9;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-preview-guarantee__copy strong {
  display: block;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.4;
}
.footer-preview-guarantee__copy p {
  max-width: 78ch;
  margin: 7px 0 0;
  color: #bbb5cf;
  font-size: clamp(.84rem, 1vw, .95rem);
  line-height: 1.75;
}
.footer-preview-guarantee__cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(115deg, #6d28d9, #7c3aed 54%, #0891b2);
  box-shadow: 0 14px 34px rgba(124,58,237,.28);
  font-weight: 750;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.footer-preview-guarantee__cta:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 42px rgba(124,58,237,.38); }
.footer-preview-guarantee__cta:focus-visible { outline: 3px solid #22d3ee; outline-offset: 4px; }
html[dir="rtl"] .footer-preview-guarantee__cta > span:last-child { transform: scaleX(-1); }

.preview-request-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid rgba(16,185,129,.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16,185,129,.1), rgba(34,211,238,.07));
}
.preview-request-note > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #10b981;
  font-weight: 800;
}
.preview-request-note b { display: block; color: var(--ink); line-height: 1.5; }
.preview-request-note p { margin: 3px 0 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.7; }

/* A single, compact promise inside every customer-facing hero. */
.hero-preview-promise {
  --hpp-bg: rgba(255,255,255,.78);
  --hpp-line: rgba(91,22,196,.18);
  --hpp-text: var(--ink);
  --hpp-muted: var(--p-700);
  --hpp-accent: var(--p-600);
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: min(100%, 650px);
  min-height: 54px;
  margin-block-start: 22px;
  padding: 9px 12px 9px 10px;
  overflow: hidden;
  border: 1px solid var(--hpp-line);
  border-radius: 18px;
  color: var(--hpp-text);
  background: var(--hpp-bg);
  box-shadow: 0 12px 34px rgba(46,10,94,.1), inset 0 1px rgba(255,255,255,.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: start;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.hero-preview-promise::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(#8b5cf6, #22d3ee);
  box-shadow: 0 0 13px rgba(34,211,238,.55);
}
html[dir="rtl"] .hero-preview-promise::before { inset: 0 0 0 auto; }
.hero-preview-promise:hover {
  color: var(--hpp-text);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--hpp-accent) 42%, transparent);
  box-shadow: 0 17px 42px rgba(46,10,94,.16), inset 0 1px rgba(255,255,255,.5);
}
.hero-preview-promise:focus-visible { outline: 3px solid #22d3ee; outline-offset: 4px; }
.hero-preview-promise__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--hpp-accent) 24%, transparent);
  border-radius: 12px;
  color: var(--hpp-accent);
  background: color-mix(in srgb, var(--hpp-accent) 10%, transparent);
}
.hero-preview-promise__mark svg { width: 20px; }
.hero-preview-promise__copy { min-width: 0; display: grid; gap: 2px; }
.hero-preview-promise__copy small {
  color: var(--hpp-muted);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-preview-promise__copy strong {
  color: var(--hpp-text);
  font-size: clamp(.78rem, .95vw, .92rem);
  font-weight: 750;
  line-height: 1.6;
}
.hero-preview-promise__arrow { color: var(--hpp-accent); font-size: 1rem; font-weight: 800; }
html[dir="rtl"] .hero-preview-promise__arrow { transform: scaleX(-1); }
.hero-preview-promise--center { margin-inline: auto; }

.hero--full .hero-preview-promise,
.sx .hero-preview-promise {
  --hpp-bg: rgba(10,6,18,.7);
  --hpp-line: rgba(255,255,255,.17);
  --hpp-text: #f7f5ff;
  --hpp-muted: #67e8f9;
  --hpp-accent: var(--sx-accent, #a78bfa);
  box-shadow: 0 18px 46px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.09);
}
.hero--full .hero-copy > .hero-preview-promise {
  width: fit-content !important;
  max-width: min(100%,650px) !important;
  align-self: flex-start;
}
.sx-hero__copy > .hero-preview-promise,
.sx-catalog-hero__copy > .hero-preview-promise { margin-block-start: 22px; }
.hero-preview-promise + .sx-actions { margin-block-start: 24px; }
.section-head > .hero-preview-promise { margin-block-start: 22px; }
.article-head > .hero-preview-promise { margin-block-start: 20px; }

@media (max-width: 680px) {
  .hero--full .hero-copy > .hero-preview-promise { align-self: center; }
}
@media (max-width: 480px) {
  .hero-preview-promise {
    width: 100%;
    max-width: 100%;
    grid-template-columns: auto minmax(0,1fr);
    padding: 10px 12px;
    border-radius: 17px;
  }
  .hero-preview-promise__arrow { display: none; }
  .hero-preview-promise__copy strong { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-preview-promise { transition: none !important; }
}

@media (max-width: 900px) {
  .footer-preview-guarantee { grid-template-columns: auto minmax(0, 1fr); }
  .footer-preview-guarantee__cta { grid-column: 1 / -1; justify-self: end; }
}
@media (max-width: 620px) {
  .footer-preview-guarantee { grid-template-columns: 1fr; text-align: center; }
  .footer-preview-guarantee__icon { margin-inline: auto; }
  .footer-preview-guarantee__cta { grid-column: auto; width: 100%; justify-self: stretch; white-space: normal; }
}

/* ============================================================
   EDITORIAL EXPERIENCE — OUR STORY / LEARN / ARTICLES
   Dedicated namespaces keep these pages independent from the
   homepage, services, and sector card systems.
   ============================================================ */

/* The editorial pages open on a dark canvas, so keep the transparent header legible. */
body:has(.about-page) .header:not(.is-scrolled) .brand-name,
body:has(.learn-page) .header:not(.is-scrolled) .brand-name,
body:has(.article-page) .header:not(.is-scrolled) .brand-name,
body:has(.about-page) .header:not(.is-scrolled) .header-line,
body:has(.learn-page) .header:not(.is-scrolled) .header-line,
body:has(.article-page) .header:not(.is-scrolled) .header-line { color: #fff; }
body:has(.about-page) .header:not(.is-scrolled) .brand-name span,
body:has(.learn-page) .header:not(.is-scrolled) .brand-name span,
body:has(.article-page) .header:not(.is-scrolled) .brand-name span { color: #c4b5fd; }

.about-kicker,
.learn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--p-700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.about-kicker::before,
.learn-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* ---------- OUR STORY ---------- */
.about-page { overflow: hidden; background: #f3f2fa; }
.about-hero {
  position: relative;
  isolation: isolate;
  min-height: min(940px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(150px, 16vh, 195px) clamp(78px, 9vw, 130px);
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(124,58,237,.26), transparent 30%),
    radial-gradient(circle at 15% 82%, rgba(34,211,238,.09), transparent 28%),
    #0b0714;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}
.about-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 5% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.76), rgba(34,211,238,.58), transparent);
  box-shadow: 0 0 22px rgba(124,58,237,.55);
}
.about-hero__glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.about-hero__glow--one { width: 420px; height: 420px; inset: -210px -100px auto auto; background: rgba(124,58,237,.16); }
.about-hero__glow--two { width: 330px; height: 330px; inset: auto auto -160px 2%; background: rgba(8,145,178,.1); }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr); gap: clamp(50px, 7vw, 110px); align-items: center; }
.about-hero__copy { min-width: 0; }
.about-hero .about-kicker { color: #67e8f9; }
.about-hero h1 {
  max-width: 11ch;
  margin-block-start: 24px;
  color: #fff;
  font-size: clamp(3.15rem, 6.4vw, 6.3rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.02;
}
body[dir="ltr"] .about-hero h1 { max-width: 12ch; letter-spacing: -.045em; }
.about-hero__lead { max-width: 60ch; margin-block-start: 28px; color: #c7c2d6; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.95; }
.about-hero .hero-preview-promise,
.learn-hero .hero-preview-promise,
.article-hero .hero-preview-promise {
  --hpp-bg: rgba(255,255,255,.06);
  --hpp-line: rgba(255,255,255,.15);
  --hpp-text: #fff;
  --hpp-muted: #67e8f9;
  --hpp-accent: #a78bfa;
  box-shadow: 0 20px 50px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.08);
}
.about-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-block-start: 30px; }
.about-text-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 2px; color: #d7d2e5; font-weight: 700; }
.about-text-link span:last-child { color: #67e8f9; transition: transform .3s var(--ease); }
.about-text-link:hover { color: #fff; }
.about-text-link:hover span:last-child { transform: translate(-4px, 4px); }
html[dir="ltr"] .about-text-link span:last-child { transform: scaleX(-1); }
html[dir="ltr"] .about-text-link:hover span:last-child { transform: translate(4px, 4px) scaleX(-1); }

.about-hero__visual {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(124,58,237,.22), transparent 29%),
    radial-gradient(circle at 34% 28%, rgba(34,211,238,.12), transparent 20%),
    rgba(255,255,255,.018);
  box-shadow: inset 0 0 90px rgba(124,58,237,.08), 0 45px 100px rgba(0,0,0,.26);
}
.about-hero__visual::before,
.about-hero__visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.about-hero__visual::before { inset: 8%; }
.about-hero__visual::after { inset: 29%; border-color: rgba(103,232,249,.2); box-shadow: 0 0 35px rgba(34,211,238,.08); }
.about-orbit { position: absolute; inset: 15%; border: 1px dashed rgba(167,139,250,.25); border-radius: 50%; animation: aboutOrbit 34s linear infinite; }
.about-orbit--inner { inset: 22%; border-style: solid; border-color: rgba(103,232,249,.13); animation-duration: 24s; animation-direction: reverse; }
.about-orbit--outer::before,
.about-orbit--inner::before { content: ""; position: absolute; width: 10px; aspect-ratio: 1; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 22px #7c3aed; }
.about-orbit--outer::before { inset: 9% 15% auto auto; }
.about-orbit--inner::before { inset: auto auto 8% 18%; background: #67e8f9; box-shadow: 0 0 18px #22d3ee; }
.about-orbit__core {
  position: absolute;
  z-index: 3;
  inset: 36%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 32%;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
  box-shadow: 0 24px 60px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
}
.about-orbit__core img { width: 43%; max-height: 70px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(124,58,237,.4)); }
.about-orbit__core strong { color: #fff; font: 800 clamp(.9rem, 1.5vw, 1.2rem)/1 "Space Grotesk", sans-serif; }
.about-orbit__core small { color: #9d96ae; font: 600 clamp(.36rem, .55vw, .5rem)/1.3 "JetBrains Mono", monospace; letter-spacing: .09em; }
.about-orbit__word {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 98px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: #fff;
  background: rgba(11,7,20,.72);
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
  font-size: .84rem;
  font-weight: 750;
}
.about-orbit__word i { color: #8f889f; font: 600 .55rem/1.2 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.about-orbit__word--idea { inset: 8% auto auto 17%; }
.about-orbit__word--design { inset: 33% -3% auto auto; }
.about-orbit__word--build { inset: auto auto 14% 7%; }
.about-orbit__word--impact { inset: auto 10% 9% auto; }

.about-story,
.about-team,
.about-process { padding-block: clamp(90px, 11vw, 160px); }
.about-story { background: #f7f6fc; }
.about-story__grid { display: grid; grid-template-columns: minmax(270px, .74fr) minmax(0, 1.26fr); gap: clamp(50px, 9vw, 140px); align-items: start; }
.about-story__aside { position: sticky; top: 130px; padding-inline-end: clamp(28px, 4vw, 60px); border-inline-end: 1px solid rgba(91,22,196,.16); }
.about-section-no { display: block; margin-block-end: clamp(45px, 7vw, 90px); color: var(--p-400); font-size: .85rem; letter-spacing: .14em; }
.about-story__aside blockquote { margin-block-start: 30px; color: var(--ink); font-size: clamp(1.35rem, 2.35vw, 2.15rem); font-weight: 700; line-height: 1.65; }
.about-story__aside blockquote::before { content: "“"; display: block; height: .7em; color: var(--p-500); font: 800 4.5rem/.8 Georgia, serif; }
.about-story__content h2,
.about-section-head h2,
.about-final h2 { color: var(--ink); font-size: clamp(2.35rem, 4.5vw, 4.65rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.15; }
.about-story__content > p { max-width: 64ch; margin-block-start: 26px; color: var(--ink-soft); font-size: clamp(1.03rem, 1.3vw, 1.2rem); line-height: 2.05; }
.about-story__content > p:first-of-type { color: var(--ink); font-size: clamp(1.16rem, 1.55vw, 1.38rem); font-weight: 600; }

.about-values { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 150px); color: #fff; background: #100a1d; }
.about-values::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(34,211,238,.1), transparent 25%), radial-gradient(circle at 88% 72%, rgba(124,58,237,.18), transparent 30%); pointer-events: none; }
.about-section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: clamp(36px, 8vw, 130px); align-items: end; margin-block-end: clamp(45px, 7vw, 78px); }
.about-section-head > div { min-width: 0; }
.about-section-head .about-kicker { margin-block-end: 18px; }
.about-section-head > p { color: var(--ink-soft); font-size: 1rem; line-height: 1.9; }
.about-section-head--light .about-kicker { color: #67e8f9; }
.about-section-head--light h2 { color: #fff; }
.about-section-head--light > p { color: #a9a2b8; }
.about-values__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-start: 1px solid rgba(255,255,255,.12); }
.about-value { min-height: 310px; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 52px); border-inline-start: 1px solid rgba(255,255,255,.12); transition: background .4s var(--ease), transform .4s var(--ease); }
.about-value:last-child { border-inline-end: 1px solid rgba(255,255,255,.12); }
.about-value:hover { transform: translateY(-5px); background: rgba(255,255,255,.035); }
.about-value__no { color: #67e8f9; font-size: .72rem; letter-spacing: .12em; }
.about-value h3 { margin-block: auto 14px; color: #fff; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.45; }
.about-value p { color: #a9a2b8; font-size: .94rem; line-height: 1.9; }

.about-team { background: #efedf8; }
.about-team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-team__grid article { min-height: 190px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; padding: clamp(27px, 3.5vw, 42px); overflow: hidden; border: 1px solid rgba(91,22,196,.12); border-radius: 28px; background: rgba(255,255,255,.7); box-shadow: 0 18px 45px rgba(46,10,94,.06); transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.about-team__grid article:hover { transform: translateY(-5px); border-color: rgba(124,58,237,.34); box-shadow: 0 26px 58px rgba(46,10,94,.11); }
.about-team__grid article > span { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(124,58,237,.16); border-radius: 15px; color: var(--p-700); background: rgba(124,58,237,.07); font: 800 .7rem/1 "JetBrains Mono", monospace; }
.about-team__grid h3 { color: var(--ink); font-size: clamp(1.15rem, 1.65vw, 1.5rem); line-height: 1.5; }
.about-team__grid p { max-width: 42ch; margin-block-start: 12px; color: var(--ink-soft); font-size: .93rem; line-height: 1.8; }

.about-process { background: #f8f7fc; }
.about-process__grid { counter-reset: story-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; border-radius: 32px; background: rgba(91,22,196,.14); list-style: none; overflow: hidden; }
.about-process__grid li { min-height: 260px; display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 42px); background: #f8f7fc; transition: background .35s ease; }
.about-process__grid li:hover { background: #fff; }
.about-process__grid li > span { color: var(--p-500); font: 800 .68rem/1 "JetBrains Mono", monospace; letter-spacing: .12em; }
.about-process__grid h3 { margin-block: auto 11px; color: var(--ink); font-size: clamp(1.4rem, 2vw, 1.8rem); }
.about-process__grid p { color: var(--ink-soft); font-size: .9rem; line-height: 1.8; }

.about-final { padding-block: clamp(70px, 10vw, 130px); background: #efedf8; }
.about-final__card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(42px, 7vw, 88px); border: 1px solid rgba(255,255,255,.12); border-radius: clamp(30px, 4vw, 52px); color: #fff; background: radial-gradient(circle at 80% 25%, rgba(34,211,238,.16), transparent 27%), radial-gradient(circle at 15% 88%, rgba(124,58,237,.32), transparent 38%), #0e0918; box-shadow: 0 35px 90px rgba(46,10,94,.16); }
.about-final__card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.035) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(255,255,255,.035) 50%, transparent 50.2%); background-size: 70px 70px; }
.about-final .about-kicker { color: #67e8f9; }
.about-final h2 { max-width: 12ch; margin-block-start: 20px; color: #fff; }
.about-final p { max-width: 58ch; margin-block-start: 20px; color: #bbb5ca; font-size: 1.05rem; line-height: 1.9; }
.about-final__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 32px; }
.about-final .btn--ghost { border-color: rgba(255,255,255,.2); color: #fff; }
.about-final .btn--ghost:hover { border-color: #67e8f9; color: #67e8f9; }

/* ---------- LEARN LIBRARY ---------- */
.learn-page { overflow: hidden; background: #f3f2fa; }
.learn-hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 92svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(150px, 16vh, 195px) clamp(75px, 9vw, 120px);
  color: #fff;
  background: radial-gradient(circle at 15% 85%, rgba(34,211,238,.11), transparent 28%), radial-gradient(circle at 82% 17%, rgba(124,58,237,.3), transparent 33%), #0c0815;
}
.learn-hero__grid-lines { position: absolute; z-index: -1; inset: 0; opacity: .55; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.learn-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: clamp(45px, 7vw, 110px); align-items: center; }
.learn-hero .learn-kicker { color: #67e8f9; }
.learn-hero h1 { max-width: 11ch; margin-block-start: 24px; color: #fff; font-size: clamp(3rem, 6vw, 5.9rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.04; }
body[dir="ltr"] .learn-hero h1 { max-width: 12ch; }
.learn-hero__lead { max-width: 58ch; margin-block-start: 28px; color: #c2bccf; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.95; }
.learn-hero__visual { position: relative; width: min(100%, 540px); min-height: 470px; justify-self: end; border: 1px solid rgba(255,255,255,.11); border-radius: 42px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); box-shadow: 0 45px 100px rgba(0,0,0,.26); backdrop-filter: blur(18px); }
.learn-hero__visual::before { content: "KNOWLEDGE"; position: absolute; inset: auto 24px 20px; color: rgba(255,255,255,.055); font: 800 clamp(2.4rem, 5vw, 4.4rem)/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; text-align: center; }
.learn-hero__signal { position: absolute; inset: 15% 12%; display: flex; align-items: center; justify-content: center; gap: 6px; transform: rotate(-7deg); }
.learn-hero__signal i { width: 24%; height: 1px; background: linear-gradient(90deg, transparent, #a78bfa, #67e8f9); box-shadow: 0 0 12px rgba(103,232,249,.45); }
.learn-hero__signal i:nth-child(2) { transform: translateY(-20px); }
.learn-hero__signal i:nth-child(3) { transform: translateY(18px); }
.learn-hero__card { position: absolute; width: 47%; min-height: 145px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 25px; color: #fff; background: rgba(13,8,23,.78); box-shadow: 0 22px 55px rgba(0,0,0,.28); backdrop-filter: blur(16px); transition: transform .45s var(--ease), border-color .35s ease; }
.learn-hero__card:hover { border-color: rgba(103,232,249,.46); }
.learn-hero__card > span { position: absolute; inset: 18px 18px auto auto; color: #67e8f9; font: 700 .62rem/1 "JetBrains Mono", monospace; }
html[dir="ltr"] .learn-hero__card > span { inset: 18px auto auto 18px; }
.learn-hero__card strong { font: 800 clamp(1.25rem, 2vw, 1.7rem)/1.1 "Space Grotesk", sans-serif; letter-spacing: .03em; }
.learn-hero__card small { margin-block-start: 8px; color: #928b9f; font-size: .72rem; }
.learn-hero__card--one { inset: 9% auto auto 8%; transform: rotate(-4deg); }
.learn-hero__card--two { inset: 34% 7% auto auto; transform: rotate(4deg); }
.learn-hero__card--three { inset: auto auto 8% 25%; transform: rotate(-1deg); }
.learn-hero__card--one:hover { transform: rotate(-4deg) translateY(-7px); }
.learn-hero__card--two:hover { transform: rotate(4deg) translateY(-7px); }
.learn-hero__card--three:hover { transform: rotate(-1deg) translateY(-7px); }

.learn-library { padding-block: clamp(85px, 11vw, 155px); background: #f4f3fa; }
.learn-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.learn-toolbar .learn-kicker { margin-block-end: 16px; }
.learn-toolbar h2,
.learn-grid-head h2,
.article-related__head h2 { color: var(--ink); font-size: clamp(2rem, 3.8vw, 3.75rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
.learn-toolbar__count { display: flex; align-items: baseline; gap: 8px; color: var(--ink-soft); font-size: .85rem; }
.learn-toolbar__count strong { color: var(--p-700); font: 800 2.1rem/1 "Space Grotesk", sans-serif; }
.learn-filter { display: flex; flex-wrap: nowrap; gap: 9px; margin-block: clamp(30px, 4vw, 48px) clamp(45px, 6vw, 78px); overflow-x: auto; padding-block-end: 7px; scrollbar-width: none; scroll-snap-type: x proximity; }
.learn-filter::-webkit-scrollbar { display: none; }
.learn-filter__chip { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 19px; border: 1px solid rgba(91,22,196,.14); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.64); font-size: .86rem; font-weight: 750; scroll-snap-align: start; transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s var(--ease); }
.learn-filter__chip:hover { transform: translateY(-2px); border-color: rgba(124,58,237,.4); color: var(--p-700); }
.learn-filter__chip.is-on { border-color: transparent; color: #fff; background: linear-gradient(115deg, #6d28d9, #7c3aed 60%, #0891b2); box-shadow: 0 12px 25px rgba(109,40,217,.2); }
.learn-filter__chip:focus-visible,
.learn-card:focus-visible,
.learn-featured:focus-visible { outline: 3px solid #22d3ee; outline-offset: 5px; }

.learn-featured { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); min-height: 500px; overflow: hidden; border: 1px solid rgba(91,22,196,.14); border-radius: clamp(28px, 4vw, 46px); color: var(--ink); background: #fff; box-shadow: 0 30px 75px rgba(46,10,94,.1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.learn-featured:hover { transform: translateY(-7px); box-shadow: 0 40px 90px rgba(46,10,94,.15); }
.learn-featured__media { position: relative; min-height: 430px; overflow: hidden; background: #171021; }
.learn-featured__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,7,20,.42)); pointer-events: none; }
.learn-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.learn-featured:hover .learn-featured__media img { transform: scale(1.045); }
.learn-featured__badge { position: absolute; z-index: 2; inset: 22px 22px auto auto; padding: 8px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(11,7,20,.56); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 750; }
html[dir="ltr"] .learn-featured__badge { inset: 22px auto auto 22px; }
.learn-featured__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 68px); }
.learn-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--ink-faint); font-size: .76rem; font-weight: 650; }
.learn-card__meta i { font-style: normal; }
.learn-featured h2 { margin-block-start: 20px; color: var(--ink); font-size: clamp(2rem, 3.6vw, 3.6rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.25; }
.learn-featured__body > p { margin-block-start: 20px; color: var(--ink-soft); font-size: .98rem; line-height: 1.9; }
.learn-card__cta { display: inline-flex; align-items: center; gap: 10px; margin-block-start: auto; padding-block-start: 28px; color: var(--p-700); font-size: .84rem; font-weight: 800; }
.learn-card__cta > span:last-child { transition: transform .3s var(--ease); }
.learn-featured:hover .learn-card__cta > span:last-child,
.learn-card:hover .learn-card__cta > span:last-child { transform: translate(-4px, 4px); }
html[dir="ltr"] .learn-card__cta > span:last-child { transform: scaleX(-1); }
html[dir="ltr"] .learn-featured:hover .learn-card__cta > span:last-child,
html[dir="ltr"] .learn-card:hover .learn-card__cta > span:last-child { transform: translate(4px, 4px) scaleX(-1); }
.learn-grid-head { display: flex; align-items: center; gap: 24px; margin-block: clamp(60px, 8vw, 100px) 30px; }
.learn-grid-head h2 { flex: 0 1 auto; font-size: clamp(1.75rem, 3vw, 2.9rem); }
.learn-grid-head > span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(91,22,196,.18), transparent); }
html[dir="ltr"] .learn-grid-head > span { background: linear-gradient(-90deg, rgba(91,22,196,.18), transparent); }
.learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.learn-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(91,22,196,.13); border-radius: 27px; color: var(--ink); background: rgba(255,255,255,.76); box-shadow: 0 16px 42px rgba(46,10,94,.055); transition: transform .45s var(--ease), border-color .35s ease, box-shadow .45s var(--ease); }
.learn-card:hover { transform: translateY(-7px); border-color: rgba(124,58,237,.34); box-shadow: 0 30px 65px rgba(46,10,94,.11); }
.learn-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #171021; }
.learn-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(11,7,20,.37)); pointer-events: none; }
.learn-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.learn-card:hover .learn-card__media img { transform: scale(1.06); }
.learn-card__category { position: absolute; z-index: 2; inset: 14px 14px auto auto; padding: 6px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(11,7,20,.58); backdrop-filter: blur(10px); font-size: .65rem; font-weight: 750; }
html[dir="ltr"] .learn-card__category { inset: 14px auto auto 14px; }
.learn-card__body { flex: 1; display: flex; flex-direction: column; padding: 24px 25px 27px; }
.learn-card h3 { margin-block-start: 14px; color: var(--ink); font-size: clamp(1.15rem, 1.5vw, 1.38rem); line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.learn-card__body > p { margin-block-start: 12px; color: var(--ink-soft); font-size: .85rem; line-height: 1.85; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.learn-card__body .learn-card__cta { margin-block-start: auto; }
.learn-empty { display: grid; place-items: center; min-height: 360px; padding: 45px 24px; border: 1px dashed rgba(91,22,196,.22); border-radius: 32px; text-align: center; background: rgba(255,255,255,.54); }
.learn-empty > span { width: 58px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 18px; color: var(--p-700); background: rgba(124,58,237,.09); font-size: 1.35rem; }
.learn-empty h2 { margin-block-start: 18px; color: var(--ink); font-size: 1.65rem; }
.learn-empty p { margin-block: 8px 24px; color: var(--ink-soft); }

/* ---------- ARTICLE READING EXPERIENCE ---------- */
.article-page { overflow: hidden; background: #f4f3fa; }
.article-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(145px, 16vh, 190px) 0; color: #fff; background: radial-gradient(circle at 78% 10%, rgba(124,58,237,.28), transparent 31%), radial-gradient(circle at 9% 70%, rgba(34,211,238,.1), transparent 25%), #0c0815; }
.article-hero__mesh { position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #8f899c; font-size: .78rem; font-weight: 650; }
.article-breadcrumb a { display: inline-flex; align-items: center; gap: 8px; color: #c7c2d2; }
.article-breadcrumb a:hover { color: #67e8f9; }
html[dir="ltr"] .article-breadcrumb a > span:first-child { transform: scaleX(-1); }
.article-hero__copy { max-width: 990px; margin: clamp(45px, 7vw, 78px) auto clamp(45px, 6vw, 72px); text-align: center; }
.article-category { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 15px; border: 1px solid rgba(103,232,249,.25); border-radius: 999px; color: #67e8f9; background: rgba(34,211,238,.07); font-size: .72rem; font-weight: 750; }
.article-hero h1 { margin-block-start: 22px; color: #fff; font-size: clamp(2.7rem, 5.7vw, 5.8rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.12; }
.article-hero__excerpt { max-width: 68ch; margin: 24px auto 0; color: #bcb6c9; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.9; }
.article-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-block-start: 25px; color: #918a9f; font-size: .78rem; }
.article-hero__meta i { font-style: normal; }
.article-author-mark { width: 28px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: #fff; background: linear-gradient(145deg, #7c3aed, #0891b2); font: 800 .69rem/1 "Space Grotesk", sans-serif; }
.article-hero__cover { position: relative; max-width: 1160px; aspect-ratio: 16 / 8.3; margin: 0 auto -9vw; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: clamp(28px, 4vw, 50px); background: #171021; box-shadow: 0 45px 110px rgba(0,0,0,.34); }
.article-hero__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 66%, rgba(11,7,20,.46)); pointer-events: none; }
.article-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__cover-index { position: absolute; z-index: 2; inset: auto 22px 18px auto; color: rgba(255,255,255,.72); font-size: .58rem; letter-spacing: .14em; }
html[dir="ltr"] .article-hero__cover-index { inset: auto auto 18px 22px; }
.article-reading { padding-block: calc(9vw + clamp(75px, 9vw, 120px)) clamp(80px, 10vw, 145px); background: #f4f3fa; }
.article-reading__grid { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 760px); justify-content: center; gap: clamp(38px, 7vw, 100px); align-items: start; }
.article-reading__aside { min-width: 0; }
.article-rail { position: sticky; top: 115px; padding: 24px; border: 1px solid rgba(91,22,196,.13); border-radius: 24px; background: rgba(255,255,255,.66); box-shadow: 0 16px 38px rgba(46,10,94,.05); backdrop-filter: blur(14px); }
.article-rail__kicker { display: block; padding-block-end: 14px; border-block-end: 1px solid rgba(91,22,196,.11); color: var(--p-700); font-size: .7rem; font-weight: 800; }
.article-rail dl { display: grid; gap: 0; }
.article-rail dl > div { display: grid; gap: 3px; padding-block: 14px; border-block-end: 1px solid rgba(91,22,196,.09); }
.article-rail dt { color: var(--ink-faint); font-size: .68rem; }
.article-rail dd { color: var(--ink); font-size: .8rem; font-weight: 750; }
.article-rail__back { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 17px; color: var(--p-700); font-size: .78rem; font-weight: 800; }
html[dir="ltr"] .article-rail__back > span:first-child { transform: scaleX(-1); }
.article-prose { min-width: 0; padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(91,22,196,.1); border-radius: clamp(25px, 3vw, 36px); color: var(--ink-soft); background: rgba(255,255,255,.78); box-shadow: 0 24px 65px rgba(46,10,94,.065); font-size: clamp(1rem, 1.24vw, 1.12rem); line-height: 2.08; }
.article-prose p { margin: 0 0 1.45em; }
.article-prose p:last-child { margin-bottom: 0; }
.article-prose > [data-only] > p:first-child:not(.article-language-note),
.article-prose > [data-only] > div > p:first-child { color: var(--ink); font-size: 1.11em; font-weight: 600; }
.article-language-note { padding: 14px 16px; border-inline-start: 3px solid #22d3ee; border-radius: 12px; color: var(--ink-soft); background: rgba(34,211,238,.075); font-size: .82rem; }
.article-action { padding-block: 0 clamp(85px, 10vw, 140px); background: #f4f3fa; }
.article-action__card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 45px; align-items: end; padding: clamp(36px, 6vw, 72px); border-radius: clamp(28px, 4vw, 46px); color: #fff; background: radial-gradient(circle at 80% 20%, rgba(34,211,238,.15), transparent 26%), radial-gradient(circle at 8% 110%, rgba(124,58,237,.4), transparent 43%), #0e0918; box-shadow: 0 32px 80px rgba(46,10,94,.15); }
.article-action__card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.035) 50%, transparent 50.2%); background-size: 70px 70px; }
.article-action__card > * { position: relative; }
.article-action__kicker { color: #67e8f9; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-action h2 { max-width: 16ch; margin-block-start: 15px; color: #fff; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.045em; line-height: 1.22; }
.article-action p { max-width: 62ch; margin-block-start: 16px; color: #b8b1c6; line-height: 1.85; }
.article-action__buttons { display: flex; flex-wrap: wrap; gap: 11px; justify-content: flex-end; }
.article-action__buttons .btn { justify-content: center; }
.article-action__buttons .btn--wa { color: #fff; background: #16a765; box-shadow: 0 16px 35px rgba(22,167,101,.2); }
.article-action__buttons .btn--wa svg { width: 19px; }
.article-related { padding-block: clamp(85px, 10vw, 145px); border-block-start: 1px solid rgba(91,22,196,.08); background: #efedf8; }
.article-related__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-block-end: 38px; }
.article-related__head .learn-kicker { margin-block-end: 15px; }
.article-related__head > a { display: inline-flex; align-items: center; gap: 9px; color: var(--p-700); font-size: .83rem; font-weight: 800; }
html[dir="ltr"] .article-related__head > a span:last-child { transform: scaleX(-1); }

/* ---------- Editorial responsive rules ---------- */
@media (max-width: 1080px) {
  .about-hero__grid,
  .learn-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 45px; }
  .about-hero h1,
  .learn-hero h1 { font-size: clamp(3.1rem, 6.5vw, 5.1rem); }
  .learn-featured { grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); }
  .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-action__card { grid-template-columns: 1fr; align-items: start; }
  .article-action__buttons { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .about-hero,
  .learn-hero { min-height: auto; }
  .about-hero__grid,
  .learn-hero__grid { grid-template-columns: 1fr; }
  .about-hero__copy,
  .learn-hero__copy { text-align: center; }
  .about-hero h1,
  .learn-hero h1,
  body[dir="ltr"] .about-hero h1,
  body[dir="ltr"] .learn-hero h1,
  .about-hero__lead,
  .learn-hero__lead { margin-inline: auto; }
  .about-hero .about-kicker,
  .learn-hero .learn-kicker { justify-content: center; }
  .about-hero .hero-preview-promise,
  .learn-hero .hero-preview-promise { margin-inline: auto; }
  .about-hero__actions { justify-content: center; }
  .about-hero__visual { width: min(100%, 520px); justify-self: center; }
  .learn-hero__visual { width: min(100%, 540px); justify-self: center; }
  .about-story__grid { grid-template-columns: 1fr; gap: 44px; }
  .about-story__aside { position: relative; top: auto; padding: 0 0 30px; border-inline-end: 0; border-block-end: 1px solid rgba(91,22,196,.15); }
  .about-section-no { margin-block-end: 28px; }
  .about-story__aside blockquote { max-width: 28ch; }
  .about-section-head { grid-template-columns: 1fr; gap: 22px; }
  .about-section-head > p { max-width: 62ch; }
  .about-values__grid { grid-template-columns: 1fr; }
  .about-value { min-height: 230px; border-inline-end: 1px solid rgba(255,255,255,.12); border-block-end: 1px solid rgba(255,255,255,.12); }
  .about-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learn-featured { grid-template-columns: 1fr; }
  .learn-featured__media { min-height: 390px; }
  .article-reading__grid { grid-template-columns: 1fr; gap: 25px; }
  .article-rail { position: relative; top: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; }
  .article-rail__kicker { padding: 0; border: 0; }
  .article-rail dl { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
  .article-rail dl > div { display: flex; align-items: baseline; gap: 6px; padding: 0; border: 0; }
  .article-rail__back { margin: 0; }
}

@media (max-width: 680px) {
  .about-hero,
  .learn-hero { padding-block: 125px 70px; }
  .about-hero h1,
  .learn-hero h1 { max-width: 11ch; font-size: clamp(2.7rem, 12.5vw, 4rem); line-height: 1.08; }
  .about-hero__lead,
  .learn-hero__lead { font-size: .96rem; line-height: 1.85; }
  .about-hero__visual { width: min(100%, 430px); }
  .about-orbit__word { min-width: 78px; padding: 9px 10px; font-size: .7rem; }
  .about-orbit__word i { font-size: .44rem; }
  .about-orbit__core small { display: none; }
  .about-story,
  .about-team,
  .about-process,
  .about-values { padding-block: 78px; }
  .about-story__content h2,
  .about-section-head h2,
  .about-final h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .about-story__aside blockquote { font-size: 1.35rem; }
  .about-story__content > p { font-size: .97rem; line-height: 1.95; }
  .about-team__grid { grid-template-columns: 1fr; }
  .about-process__grid { grid-template-columns: 1fr; border-radius: 25px; }
  .about-process__grid li { min-height: 210px; }
  .about-final__card { text-align: center; }
  .about-final .about-kicker { justify-content: center; }
  .about-final h2,
  .about-final p { margin-inline: auto; }
  .about-final__actions { justify-content: center; }
  .learn-hero__visual { min-height: 400px; border-radius: 30px; }
  .learn-hero__card { min-height: 125px; padding: 17px; }
  .learn-toolbar { grid-template-columns: 1fr; align-items: start; }
  .learn-toolbar__count { justify-self: start; }
  .learn-toolbar h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .learn-featured__media { min-height: 300px; }
  .learn-featured__body { padding: 30px 25px 34px; }
  .learn-featured h2 { font-size: 2rem; }
  .learn-grid { grid-template-columns: 1fr; }
  .learn-grid-head { align-items: flex-end; }
  .learn-grid-head h2 { font-size: 1.75rem; }
  .article-hero { padding-block-start: 125px; }
  .article-hero__copy { margin-block: 38px 44px; }
  .article-hero h1 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .article-hero__excerpt { font-size: .94rem; }
  .article-hero__cover { aspect-ratio: 4 / 3; margin-bottom: -14vw; border-radius: 28px; }
  .article-reading { padding-block-start: calc(14vw + 65px); }
  .article-rail { grid-template-columns: 1fr auto; }
  .article-rail dl { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .article-prose { padding: 28px 23px; line-height: 2; }
  .article-action__card { gap: 30px; padding: 34px 25px; text-align: center; }
  .article-action h2,
  .article-action p { margin-inline: auto; }
  .article-action__buttons { justify-content: center; }
  .article-related__head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .about-hero__actions,
  .about-final__actions,
  .article-action__buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  .about-hero__actions .btn,
  .about-final__actions .btn,
  .article-action__buttons .btn { width: 100%; justify-content: center; }
  .about-text-link { justify-content: center; }
  .about-orbit__word--design { inset-inline-end: 0; }
  .about-team__grid article { grid-template-columns: 1fr; gap: 18px; }
  .learn-hero__visual { min-height: 350px; }
  .learn-hero__card { width: 52%; min-height: 110px; }
  .learn-hero__card strong { font-size: 1rem; }
  .learn-featured__media { min-height: 250px; }
  .learn-featured h2 { font-size: 1.65rem; }
  .learn-card__body { padding: 22px 20px 24px; }
  .article-hero__meta { gap: 6px; }
  .article-rail { grid-template-columns: 1fr; }
  .article-rail__back { grid-row: auto; }
  .article-rail dl { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

@keyframes aboutOrbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .about-orbit { animation: none !important; }
  .about-value,
  .about-team__grid article,
  .learn-hero__card,
  .learn-featured,
  .learn-card { transition: none !important; }
}
