/* =====================================================================
   Mudawem marketing site
   Palette: Saudi Platforms Code (DGA) SA-green scale + gold accent,
   IBM Plex Sans Arabic, 8px grid. RTL-first with logical properties.
   ===================================================================== */
@font-face { font-family: 'Plex'; src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../fonts/IBMPlexSansArabic-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../fonts/IBMPlexSansArabic-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --sa-25: #F7FDF9; --sa-50: #F3FCF6; --sa-100: #DFF6E7; --sa-200: #B8EACB;
  --sa-300: #88D8AD; --sa-400: #54C08A; --sa-500: #25935F; --sa-600: #1B8354;
  --sa-700: #166A45; --sa-800: #14573A; --sa-900: #104631; --sa-950: #092A1E;
  --n-0: #FFFFFF; --n-25: #FCFCFD; --n-50: #F9FAFB; --n-100: #F3F4F6; --n-200: #E5E7EB;
  --n-300: #D2D6DB; --n-400: #9DA4AE; --n-500: #6C737F; --n-600: #4D5761;
  --n-700: #384250; --n-800: #1F2A37; --n-900: #111927;
  --gold: #C9A227; --gold-300: #E6C27A; --gold-50: #FBF7E8; --gold-700: #8A6D12;

  --bg: var(--n-0);
  --text: var(--n-900);
  --muted: var(--n-600);
  --line: var(--n-200);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow: 0 12px 32px -12px rgba(9, 42, 30, .18), 0 4px 8px -4px rgba(9, 42, 30, .08);
  --shadow-lg: 0 40px 80px -24px rgba(9, 42, 30, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='.8'%3E%3Cpath d='M24 6.5l5 12.5 12.5 5-12.5 5-5 12.5-5-12.5L6.5 24l12.5-5z'/%3E%3Cpath d='M11.6 11.6h24.8v24.8H11.6z'/%3E%3Ccircle cx='24' cy='24' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Plex', 'Segoe UI', Tahoma, sans-serif; font-size: 16px; line-height: 1.75;
  color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1360px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(920px, 100% - 48px); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="ltr"] .ic.flip { transform: scaleX(-1); }
.muted { color: var(--muted); }
.w-100 { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding-inline: 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 40px; padding-inline: 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 56px; padding-inline: 28px; font-size: 16px; border-radius: 14px; }
.btn-gold { background: linear-gradient(135deg, #D9B54A, var(--gold) 55%, #B08A1C); color: #1d1503; box-shadow: 0 10px 24px -10px rgba(201, 162, 39, .7); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transition: transform .8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 10px; border: 0; background: transparent; color: inherit; border-radius: 10px; font-weight: 600; font-size: 14px; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Google Play badge */
.gp-badge {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding-inline: 18px 22px;
  background: #000; color: #fff; border-radius: 12px; border: 1px solid #A6A6A6;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  direction: ltr;
}
.gp-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.gp-logo { width: 26px; height: 28px; flex: none; }
.gp-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.gp-badge small { font-size: 11px; letter-spacing: .02em; opacity: .9; }
.gp-badge b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; font-family: 'Segoe UI', Roboto, Arial, sans-serif; }
html[lang="ar"] .gp-badge small { font-size: 12px; font-family: 'Plex'; }
.gp-lg { height: 64px; padding-inline: 20px 26px; }
.gp-lg .gp-logo { width: 30px; height: 32px; }
.gp-lg b { font-size: 23px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset-inline-start: 0; top: 0; height: 3px; width: 100%; z-index: 100; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--sa-400)); }
[dir="ltr"] .scroll-progress { transform-origin: left; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h); color: #fff;
  transition: background .35s, box-shadow .35s, height .35s, color .35s;
}
.site-header.scrolled { background: rgba(9, 42, 30, .86); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.35); --header-h: 66px; height: 66px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 21px; letter-spacing: -.01em; }
.brand-text small { font-size: 11.5px; opacity: .78; font-weight: 500; }
.v2030 { width: auto; filter: brightness(1.55) contrast(.95); }
.v2030-head { height: 44px; padding-inline-start: 18px; border-inline-start: 1px solid rgba(255,255,255,.22); flex: none; }
.site-header.scrolled .v2030-head { height: 38px; }
.v2030-foot { height: 70px; margin-top: 22px; }
.vision-band { display: flex; align-items: center; gap: 28px; max-width: 920px; margin: -8px auto 64px; padding: 22px 30px; border-radius: 22px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.vision-band .v2030 { height: 92px; flex: none; padding-inline-end: 28px; border-inline-end: 1px solid rgba(255,255,255,.15); }
.vision-band h3 { font-size: 21px; margin-bottom: 6px; color: var(--gold-300); }
.vision-band p { color: rgba(255,255,255,.78); font-size: 15.5px; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; opacity: .85; position: relative; transition: opacity .2s, background .2s; }
.main-nav a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.main-nav a.active { opacity: 1; }
.main-nav a.active::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-300); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--header-h) + 56px) 0 64px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% -10%, #1F9A60 0%, var(--sa-700) 38%, var(--sa-900) 70%, var(--sa-950) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-pattern { position: absolute; inset: -96px; background-image: var(--pattern); background-size: 96px 96px; opacity: .07; animation: drift 60s linear infinite;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 80%); }
@keyframes drift { to { transform: translate(96px, 96px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 14s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; background: #2BB673; top: -120px; inset-inline-end: -80px; opacity: .35; }
.orb-2 { width: 360px; height: 360px; background: var(--gold); bottom: -160px; inset-inline-start: 10%; opacity: .18; animation-delay: -5s; }
.orb-3 { width: 260px; height: 260px; background: #57D39A; top: 40%; inset-inline-start: -100px; opacity: .16; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 0 rgba(230,194,122,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,194,122,.6); } 70% { box-shadow: 0 0 0 10px rgba(230,194,122,0); } 100% { box-shadow: 0 0 0 0 rgba(230,194,122,0); } }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.22; margin: 22px 0 18px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold-300), #F6E3A8, var(--gold-300)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.82); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--gold-300); width: 18px; height: 18px; }

.hero-visual { position: relative; perspective: 1400px; min-height: 470px; }
.tilt { position: relative; transition: transform .6s var(--ease); }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.15); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding-inline: 14px; background: linear-gradient(#F7F8FA, #EEF0F3); border-bottom: 1px solid #E4E7EB; direction: ltr; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser-bar i:nth-child(2) { background: #FEBC2E; } .browser-bar i:nth-child(3) { background: #28C840; }
.browser-bar span { margin-inline: auto; font-size: 12px; color: var(--n-500); background: #fff; border: 1px solid #E4E7EB; padding: 2px 14px; border-radius: 7px; font-family: ui-monospace, Consolas, monospace; direction: ltr; }
.hero .browser { width: 100%; animation: rise 1.1s var(--ease) .25s both; }
.hero .browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; }
.phone { position: relative; background: #0d1512; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c3a34, 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 600 / 1252; object-fit: cover; object-position: top; }
.phone-notch { position: absolute; top: 17px; left: 50%; width: 11px; height: 11px; transform: translateX(-50%); background: #0d1512; border-radius: 50%; z-index: 2; box-shadow: 0 0 0 2px rgba(13,21,18,.25), inset 0 0 0 3px #1b2a24; }
.phone-hero { position: absolute; width: 31%; bottom: -64px; inset-inline-end: -26px; z-index: 2; animation: rise 1.1s var(--ease) .45s both, bob 7s ease-in-out 1.6s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px; border-radius: 14px; color: var(--n-900);
  background: rgba(255,255,255,.95); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); backdrop-filter: blur(10px); white-space: nowrap; font-size: 13px; line-height: 1.35; }
.chip b { display: block; font-size: 13.5px; }
.chip small { color: var(--n-500); font-size: 11.5px; }
.chip-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.chip-ic.ok { background: linear-gradient(135deg, var(--sa-500), var(--sa-800)); }
.chip-ic.gold { background: linear-gradient(135deg, #D9B54A, var(--gold-700)); }
.chip-ic.blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.chip-ic .ic { width: 19px; height: 19px; }
.chip-1 { top: -28px; inset-inline-start: 6%; animation: pop .8s var(--ease) 1s both, bob 6s ease-in-out 2s infinite; z-index: 3; }
.chip-2 { bottom: 28px; inset-inline-start: -34px; animation: pop .8s var(--ease) 1.25s both, bob 7s ease-in-out 2.6s infinite; z-index: 3; }
.chip-3 { top: 30%; inset-inline-end: 22%; animation: pop .8s var(--ease) 1.5s both, bob 8s ease-in-out 3s infinite; z-index: 3; }
@keyframes pop { from { opacity: 0; scale: .85; translate: 0 14px; } }

.stats { margin-top: 84px; display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.stat { padding: 22px 16px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-block: 24%; inset-inline-start: 0; width: 1px; background: rgba(255,255,255,.14); }
.stat b { display: block; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--gold-300); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat > span { font-size: 14px; color: rgba(255,255,255,.78); }

/* ---------- Marquee ---------- */
.marquee { background: var(--sa-950); color: rgba(255,255,255,.75); overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; padding-block: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding-inline: 22px; font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; }
.marquee-track span::after { content: "✦"; position: absolute; inset-inline-end: -6px; color: var(--gold); font-size: 10px; top: 50%; translate: 0 -50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--sa-25), var(--sa-50)); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--sa-600); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }
.kicker.light { color: var(--gold-300); }
.section-head h2, .deploy h2 { font-size: clamp(28px, 3.3vw, 42px); margin: 12px 0 14px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 17.5px; }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.value-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--sa-500), var(--gold)); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sa-200); }
.value-card:hover::before { transform: scaleX(1); }
.v-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--sa-500), var(--sa-800)); box-shadow: 0 12px 24px -10px rgba(20, 87, 58, .6), inset 0 0 0 1px rgba(230,194,122,.35); transition: transform .5s var(--ease); }
.value-card:hover .v-ic { transform: rotate(-8deg) scale(1.06); }
.v-ic .ic { width: 26px; height: 26px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 15.5px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.pillar-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); }
.pillar-tabs button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent;
  text-align: start; font-weight: 600; color: var(--n-700); transition: background .3s, border-color .3s, color .3s, box-shadow .3s; }
.pillar-tabs button:hover { background: #fff; border-color: var(--line); }
.pillar-tabs button.active { background: #fff; border-color: var(--sa-200); color: var(--sa-800); box-shadow: var(--shadow-sm); }
.pillar-tabs .pt-no { font-size: 12px; color: var(--n-400); font-variant-numeric: tabular-nums; width: 20px; }
.pillar-tabs button.active .pt-no { color: var(--gold-700); }
.pillar-tabs .ic { width: 22px; height: 22px; color: var(--sa-600); }
.pillar-panels { position: relative; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; min-height: 440px; }
.pillar-panels::before { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--sa-100), transparent 70%); }
.pillar-panel { display: none; padding: 40px 44px; position: relative; }
.pillar-panel.active { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.pp-text h3 { font-size: 26px; margin-bottom: 12px; color: var(--sa-900); }
.pp-text > p { color: var(--muted); margin-bottom: 20px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 34px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--sa-50) no-repeat center / 14px;
  border: 1px solid var(--sa-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B8354' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.pillar-panel.active .ticks li { animation: panelIn .6s var(--ease) both; }
.pillar-panel.active .ticks li:nth-child(2) { animation-delay: .07s; } .pillar-panel.active .ticks li:nth-child(3) { animation-delay: .14s; } .pillar-panel.active .ticks li:nth-child(4) { animation-delay: .21s; }
.pp-chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; padding: 22px; border-radius: 18px;
  background: linear-gradient(160deg, var(--sa-800), var(--sa-950)); position: relative; overflow: hidden; }
.pp-chips::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 72px; opacity: .06; }
.pp-chips span { position: relative; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); animation: pop .5s var(--ease) both; }
.pp-chips span:nth-child(2) { animation-delay: .05s; } .pp-chips span:nth-child(3) { animation-delay: .1s; } .pp-chips span:nth-child(4) { animation-delay: .15s; }
.pp-chips span:nth-child(5) { animation-delay: .2s; } .pp-chips span:nth-child(6) { animation-delay: .25s; } .pp-chips span:nth-child(7) { animation-delay: .3s; }

/* Showcase */
.showcase { background: linear-gradient(180deg, #fff, var(--n-50)); }
.sc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.sc-tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; color: var(--n-700);
  transition: all .3s var(--ease); }
.sc-tabs button:hover { border-color: var(--sa-300); color: var(--sa-700); }
.sc-tabs button.active { background: var(--sa-700); border-color: var(--sa-700); color: #fff; box-shadow: 0 10px 22px -10px rgba(22, 106, 69, .7); }
.sc-stage { max-width: 1200px; margin: 0 auto; }
.browser-lg { border-radius: 18px; box-shadow: 0 50px 100px -40px rgba(9, 42, 30, .45), 0 0 0 1px var(--line); position: relative; }
.browser-lg .browser-bar { height: 40px; }
.sc-frames { position: relative; aspect-ratio: 1440 / 900; background: var(--n-100); cursor: zoom-in; }
.sc-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.sc-frames img.active { opacity: 1; transform: none; }
.sc-progress { position: absolute; inset: auto 0 0; height: 3px; background: transparent; }
.sc-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--sa-400)); margin-inline-start: 0; }
.sc-caption { position: relative; text-align: center; margin-top: 26px; min-height: 56px; color: var(--muted); font-size: 16.5px; }
.sc-cap { display: none; } .sc-cap.active { display: block; animation: panelIn .6s var(--ease); }

/* App section */
.app-section { color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 80% at 15% 20%, #1F9A60 0%, var(--sa-800) 45%, var(--sa-950) 100%); }
.app-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.app-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 12px 0 14px; }
.app-copy > p { color: rgba(255,255,255,.8); font-size: 17.5px; max-width: 560px; }
.app-features { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app-features li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease); }
.app-features li:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.af-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #1d1503;
  background: linear-gradient(135deg, #E9CB72, var(--gold)); }
.af-ic .ic { width: 21px; height: 21px; }
.app-features b { display: block; font-size: 15.5px; }
.app-features small { color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.5; display: block; margin-top: 2px; }
.download { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.qr-box { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.qr { width: 76px; height: 76px; border-radius: 10px; background: #fff; padding: 5px; display: grid; place-items: center; }
.qr svg, .qr img { width: 100%; height: 100%; }
.qr-box small { font-size: 13px; color: rgba(255,255,255,.85); max-width: 80px; line-height: 1.4; }

.app-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.phone-lg { width: min(330px, 78vw); z-index: 2; animation: bob 8s ease-in-out infinite; }
.phone-screens { position: relative; aspect-ratio: 600 / 1252; border-radius: 31px; overflow: hidden; background: #fff; }
.phone-screens img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .55s var(--ease), transform .8s var(--ease); }
.phone-screens img.active { opacity: 1; transform: none; }
.phone-label { margin-top: 26px; z-index: 2; }
.pl-text { display: inline-block; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 600; font-size: 14.5px; }
.pl-text.swap { animation: panelIn .5s var(--ease); }
.phone-dots { display: flex; gap: 8px; margin-top: 16px; z-index: 2; }
.phone-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.3); transition: width .4s var(--ease), background .3s; }
.phone-dots button.active { width: 28px; background: var(--gold-300); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(230,194,122,.25); top: 42%; left: 50%; translate: -50% -50%; pointer-events: none; }
.ring-1 { width: 440px; height: 440px; animation: spin 40s linear infinite; border-style: dashed; }
.ring-2 { width: 580px; height: 580px; border-color: rgba(255,255,255,.08); }
@keyframes spin { to { rotate: 360deg; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 46px; inset-inline: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sa-300) 0 10px, transparent 10px 18px); z-index: 0; }
.step { position: relative; text-align: center; padding: 0 10px; z-index: 1; }
.step-ic { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 28px; display: grid; place-items: center; color: var(--sa-700);
  background: #fff; border: 1px solid var(--sa-200); box-shadow: var(--shadow); transition: transform .5s var(--ease), background .4s, color .4s; }
.step:hover .step-ic { transform: translateY(-6px) rotate(-4deg); background: var(--sa-700); color: #fff; }
.step-ic .ic { width: 36px; height: 36px; stroke-width: 1.6; }
.step-no { position: absolute; top: -8px; inset-inline-start: calc(50% + 28px); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(135deg, #E9CB72, var(--gold)); color: #1d1503; font-weight: 700; font-size: 14px; box-shadow: 0 6px 14px -6px rgba(138,109,18,.8); }
.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Compliance */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comp-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.comp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cc-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-700); background: var(--gold-50); border: 1px solid #F0E2B4; }
.cc-ic .ic { width: 24px; height: 24px; }
.comp-card h3 { font-size: 17.5px; align-self: center; }
.comp-card p { color: var(--muted); font-size: 14.8px; }

/* Deploy */
.deploy-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.deploy p { font-size: 17.5px; }
.deploy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dc { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--n-50)); display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), border-color .4s; }
.dc:hover { transform: translateY(-4px); border-color: var(--sa-300); }
.dc .ic { width: 30px; height: 30px; color: var(--sa-600); margin-bottom: 8px; }
.dc b { font-size: 18px; }
.dc small { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.faq details[open] { border-color: var(--sa-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sa-50) no-repeat center / 14px; transition: transform .35s var(--ease), background-color .3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B8354' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sa-100); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq details[open] .faq-body { animation: panelIn .45s var(--ease); }

/* CTA */
.cta-section { padding-top: 40px; }
.cta-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px; border-radius: 32px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(100% 120% at 100% 0%, #1F9A60, var(--sa-800) 45%, var(--sa-950)); box-shadow: var(--shadow-lg); }
.cta-pattern { position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 96px; opacity: .06; }
.cta-copy h2 { font-size: clamp(28px, 3vw, 38px); margin: 12px 0 14px; }
.cta-copy p { color: rgba(255,255,255,.8); font-size: 17px; }
.cta-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.cta-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.cta-list .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(230,194,122,.18); color: var(--gold-300); stroke-width: 2.6; }
.contact-form { background: #fff; color: var(--text); border-radius: 22px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--n-700); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--n-300); background: var(--n-25); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sa-500); background: #fff; box-shadow: 0 0 0 4px rgba(37,147,95,.14); }
.field input.invalid { border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217,45,32,.1); }
.form-note { min-height: 22px; font-size: 14px; text-align: center; color: var(--sa-700); font-weight: 500; }
.form-note.err { color: #B42318; }

/* Footer */
.site-footer { background: var(--sa-950); color: rgba(255,255,255,.75); padding: 72px 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--sa-500), var(--gold), var(--sa-500)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.f-brand .brand { color: #fff; margin-bottom: 18px; }
.f-brand p { font-size: 14.5px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer .footer-grid a:not(.brand) { display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s, transform .2s; }
.site-footer .footer-grid a:not(.brand):hover { color: var(--gold-300); transform: translateX(-3px); }
[dir="ltr"] .site-footer .footer-grid a:not(.brand):hover { transform: translateX(3px); }
.made { opacity: .8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }

.to-top { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; z-index: 80;
  background: var(--sa-700); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .3s; }
.to-top .ic { transform: rotate(90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sa-600); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5, 20, 14, .88); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1440px, 100%); max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow-lg); animation: panelIn .4s var(--ease); }
.lb-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
@keyframes fadeIn { from { opacity: 0; } }

/* Reveal on scroll */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Bootstrap Icons sizing ---------- */
.bi { line-height: 1; display: inline-block; }
.bi::before { vertical-align: 0; }

/* ---------- Digital transformation ---------- */
.dt-section { color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 85% 0%, #1F9A60 0%, var(--sa-800) 40%, var(--sa-950) 100%); }
.dt-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.section-head.on-dark p { color: rgba(255,255,255,.8); }
.sub-head { text-align: center; font-size: clamp(22px, 2.2vw, 28px); margin: 88px auto 32px; max-width: 760px; }

.maturity { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; padding-top: 8px; }
.mat-line { position: absolute; top: 30px; inset-inline: 12.5%; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; }
.mat-line span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sa-400), var(--gold-300)); transition: width 2.2s var(--ease) .3s; }
[dir="rtl"] .mat-line span { margin-inline-start: 0; }
.maturity.in .mat-line span { width: 100%; }
.mat-step { text-align: center; position: relative; padding: 0 6px; }
.mat-dot { width: 48px; height: 48px; margin: 6px auto 18px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; position: relative;
  background: var(--sa-900); border: 2px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.mat-step.hot .mat-dot { background: linear-gradient(135deg, #E9CB72, var(--gold)); color: #1d1503; border-color: transparent; box-shadow: 0 0 0 8px rgba(230,194,122,.14); animation: pulse 2.6s infinite; }
.mat-step h3 { font-size: 19px; margin-bottom: 6px; }
.mat-step p { font-size: 14.5px; color: rgba(255,255,255,.7); }
.mat-step:not(.hot) h3 { color: rgba(255,255,255,.75); }
.mat-badge { grid-column: 3 / 5; grid-row: 2; justify-self: center; margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px; border-radius: 999px;
  background: rgba(230,194,122,.14); border: 1px solid rgba(230,194,122,.45); color: var(--gold-300); font-weight: 600; font-size: 15px; }

.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.req { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11);
  transition: background .35s, transform .35s var(--ease), border-color .35s; }
.req:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: rgba(230,194,122,.4); }
.req-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #1d1503; background: linear-gradient(135deg, #E9CB72, var(--gold)); }
.req h4 { font-size: 17.5px; margin-bottom: 6px; }
.req p { font-size: 14.5px; color: rgba(255,255,255,.75); }
.req-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.req-tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.1); }

.ba { margin-top: 88px; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.ba-head, .ba-row { display: grid; grid-template-columns: 200px 1fr 1fr; align-items: center; }
.ba-head > span { padding: 16px 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.ba-before { color: rgba(255,255,255,.65); background: rgba(0,0,0,.12); }
.ba-after { color: var(--gold-300); background: rgba(230,194,122,.08); }
.ba-head .bi { font-size: 20px; }
.ba-row { border-top: 1px solid rgba(255,255,255,.08); transition: background .3s; }
.ba-row:hover { background: rgba(255,255,255,.04); }
.ba-row > * { padding: 16px 24px; }
.ba-row b { font-size: 15.5px; }
.ba-row span:nth-child(2) { color: rgba(255,255,255,.6); background: rgba(0,0,0,.12); position: relative; padding-inline-start: 46px; height: 100%; display: flex; align-items: center; }
.ba-row span:nth-child(3) { font-weight: 500; position: relative; padding-inline-start: 46px; background: rgba(230,194,122,.05); height: 100%; display: flex; align-items: center; }
.ba-row span:nth-child(2)::before, .ba-row span:nth-child(3)::before { position: absolute; inset-inline-start: 18px; font-family: bootstrap-icons; font-size: 17px; }
.ba-row span:nth-child(2)::before { content: "\F622"; color: #F97066; }
.ba-row span:nth-child(3)::before { content: "\F26A"; color: var(--sa-300); }

.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.oc { text-align: center; padding: 24px 16px; border-radius: 20px; background: linear-gradient(160deg, rgba(230,194,122,.14), rgba(230,194,122,.03)); border: 1px solid rgba(230,194,122,.25); }
.oc .bi { font-size: 28px; color: var(--gold-300); }
.oc b { display: block; font-size: 20px; margin-top: 10px; }
.oc small { color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Capabilities ---------- */
.cap-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; margin-bottom: 112px; }
.cap-row:last-child { margin-bottom: 0; }
.cap-row.rev .cap-text { order: 2; }
.cap-no { display: inline-block; font-size: 15px; font-weight: 700; color: var(--gold-700); background: var(--gold-50); border: 1px solid #F0E2B4; padding: 2px 12px; border-radius: 999px; }
.cap-text h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 14px 0 12px; color: var(--sa-900); }
.cap-text > p { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.cap-visual { position: relative; }
.cap-visual .browser { border-radius: 14px; box-shadow: 0 40px 80px -36px rgba(9,42,30,.45), 0 0 0 1px var(--line); transition: transform .6s var(--ease); }
.cap-row:hover .cap-visual .browser { transform: translateY(-6px); }
.cap-visual.combo { padding-bottom: 40px; }
.cap-visual.combo .browser { width: 88%; }
.phone-sm { width: 30%; border-radius: 28px; padding: 7px; }
.phone-sm img { border-radius: 22px; }
.phone-sm .phone-notch { top: 12px; width: 8px; height: 8px; }
.combo .phone-sm { position: absolute; bottom: 0; inset-inline-end: 0; animation: bob 7s ease-in-out infinite; }

.flow-card { background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px 28px; max-width: 520px; margin-inline: auto; }
.flow-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--sa-800); padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.flow-title .bi { font-size: 20px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; position: relative; padding: 12px 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 21px; top: 56px; bottom: -12px; width: 2px; background: var(--n-200); }
.flow li.done:not(:last-child)::after { background: var(--sa-400); }
.fl-dot { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: var(--n-100); color: var(--n-500); position: relative; z-index: 1; }
.flow li.done .fl-dot { background: var(--sa-600); color: #fff; }
.flow li.now .fl-dot { background: linear-gradient(135deg, #E9CB72, var(--gold)); color: #1d1503; animation: pulse 2.4s infinite; }
.flow b { display: block; font-size: 15.5px; }
.flow small { color: var(--muted); font-size: 13px; }
.flow em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--n-100); color: var(--n-600); }
.flow li.done em { background: var(--sa-50); color: var(--sa-700); }
.flow li.now em { background: var(--gold-50); color: var(--gold-700); }

.sign-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: sf; }
.sign-flow li { position: relative; padding: 22px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.sign-flow li:hover { transform: translateY(-5px); border-color: var(--sa-300); box-shadow: var(--shadow); }
.sign-flow li span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; background: linear-gradient(140deg, var(--sa-500), var(--sa-800)); color: #fff; margin-bottom: 12px; }
.sign-flow li:nth-child(4) span, .sign-flow li:nth-child(6) span { background: linear-gradient(135deg, #E9CB72, var(--gold)); color: #1d1503; }
.sign-flow b { display: block; font-size: 16px; }
.sign-flow small { color: var(--muted); font-size: 13.5px; }

/* ---------- Roles ---------- */
.role-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.role-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--n-700); transition: all .3s var(--ease); }
.role-tabs button .bi { font-size: 18px; color: var(--sa-600); }
.role-tabs button:hover { border-color: var(--sa-300); }
.role-tabs button.active { background: var(--sa-700); border-color: var(--sa-700); color: #fff; box-shadow: 0 12px 24px -12px rgba(22,106,69,.7); }
.role-tabs button.active .bi { color: var(--gold-300); }
.role-panels { background: linear-gradient(160deg, #fff, var(--sa-25)); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.role-panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 52px; }
.role-panel.active { display: grid; animation: panelIn .6s var(--ease); }
.role-panel h3 { font-size: 28px; color: var(--sa-900); margin-bottom: 6px; }
.role-panel .muted { margin-bottom: 20px; font-size: 16.5px; }
.role-shot { display: flex; justify-content: center; }
.role-shot .phone-sm { width: 250px; animation: bob 7s ease-in-out infinite; }
.role-shot .browser { box-shadow: 0 30px 60px -30px rgba(9,42,30,.45), 0 0 0 1px var(--line); }

/* ---------- Engines ---------- */
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engine { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.engine::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; inset-inline-end: -60px; top: -60px; background: radial-gradient(circle, var(--sa-100), transparent 70%); transition: transform .6s var(--ease); }
.engine:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.engine:hover::after { transform: scale(1.4); }
.engine > .bi { font-size: 30px; color: var(--sa-600); display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--sa-50); border: 1px solid var(--sa-100); margin-bottom: 16px; position: relative; z-index: 1; }
.engine h3 { font-size: 19px; margin-bottom: 8px; position: relative; z-index: 1; }
.engine p { color: var(--muted); font-size: 15px; position: relative; z-index: 1; }

/* ---------- Modules catalogue ---------- */
.mod-tools { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 30px; }
.mod-search { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); padding: 0 18px; height: 54px; border-radius: 16px; border: 1px solid var(--n-300); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.mod-search:focus-within { border-color: var(--sa-500); box-shadow: 0 0 0 4px rgba(37,147,95,.14); }
.mod-search .bi { color: var(--n-400); font-size: 18px; }
.mod-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15.5px; background: transparent; color: var(--text); }
.mod-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mod-filters button { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--n-700); transition: all .25s; }
.mod-filters button:hover { border-color: var(--sa-300); }
.mod-filters button.active { background: var(--sa-50); border-color: var(--sa-400); color: var(--sa-800); }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { text-align: start; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; animation: pop .45s var(--ease) both; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sa-200); }
.mod-top { display: flex; align-items: center; gap: 12px; }
.mod-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; font-size: 20px; color: #fff; background: linear-gradient(140deg, var(--sa-500), var(--sa-800)); }
.mod-name { font-weight: 700; font-size: 16px; line-height: 1.35; flex: 1; }
.mod-count { font-size: 12px; font-weight: 600; color: var(--gold-700); background: var(--gold-50); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.mod-sum { color: var(--muted); font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mod-more { font-size: 13px; font-weight: 600; color: var(--sa-600); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.mod.open { grid-column: 1 / -1; cursor: default; border-color: var(--sa-300); box-shadow: var(--shadow); background: linear-gradient(160deg, #fff, var(--sa-25)); }
.mod.open .mod-sum { -webkit-line-clamp: unset; font-size: 15px; }
.mod-detail { display: none; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 6px; }
.mod.open .mod-detail { display: grid; animation: panelIn .45s var(--ease); }
.mod.open .mod-more { display: none; }
.mod-detail h5 { margin: 0 0 10px; font-size: 14px; color: var(--sa-800); }
.mod-pages { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-pages span { font-size: 13px; padding: 5px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); }
.mod-detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mod-detail li { font-size: 14px; color: var(--n-700); position: relative; padding-inline-start: 18px; }
.mod-detail li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.mod-close { align-self: flex-end; border: 0; background: var(--n-100); border-radius: 10px; width: 34px; height: 34px; display: none; place-items: center; font-size: 15px; color: var(--n-600); }
.mod.open .mod-close { display: grid; }
.mod mark { background: #FDF1C6; color: inherit; border-radius: 3px; padding: 0 2px; }
.mod-all-wrap { text-align: center; margin-top: 26px; }
.btn-outline-green { border-color: var(--sa-300); color: var(--sa-700); background: #fff; }
.btn-outline-green:hover { background: var(--sa-50); }
.mod-empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- Security grid ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.sec:hover { border-color: var(--sa-300); transform: translateY(-3px); }
.sec > .bi { font-size: 22px; color: var(--sa-600); flex: none; margin-top: 2px; }
.sec b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.sec p { font-size: 13.8px; color: var(--muted); line-height: 1.65; }

/* ---------- Integrations ---------- */
.integrations { margin-top: 56px; padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--sa-25), #fff); text-align: center; }
.integrations h3 { font-size: 20px; margin-bottom: 18px; color: var(--sa-900); }
.int-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.int-chips > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 14.5px; transition: border-color .25s, transform .25s var(--ease); }
.int-chips > span:hover { border-color: var(--sa-300); transform: translateY(-2px); }
.int-chips .bi { color: var(--sa-600); font-size: 17px; }

/* ---------- Journey ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.journey::before { content: ""; position: absolute; top: 58px; inset-inline: 8%; height: 2px; background: linear-gradient(90deg, var(--sa-300), var(--gold-300)); opacity: .6; }
.journey li { position: relative; text-align: center; padding: 22px 16px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.journey li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.j-no { position: absolute; top: 12px; inset-inline-end: 14px; font-size: 13px; font-weight: 700; color: var(--n-400); }
.journey li > .bi { width: 60px; height: 60px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(140deg, var(--sa-500), var(--sa-800)); box-shadow: 0 0 0 6px var(--sa-50); position: relative; z-index: 1; }
.journey li:last-child > .bi { background: linear-gradient(135deg, #E9CB72, var(--gold)); color: #1d1503; box-shadow: 0 0 0 6px var(--gold-50); }
.journey h3 { font-size: 17.5px; margin-bottom: 6px; }
.journey p { font-size: 14px; color: var(--muted); }

/* ---------- App extras ---------- */
.app-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 30px; }
.app-more span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.app-more .am-label { background: none; border: 0; padding-inline: 0; color: var(--gold-300); font-weight: 600; }

@media (max-width: 1100px) {
  .req-grid, .engine-grid { grid-template-columns: repeat(2, 1fr); }
  .maturity { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .mat-line { display: none; }
  .mat-badge { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .cap-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 80px; }
  .cap-row.rev .cap-text { order: 0; }
  .role-panel { grid-template-columns: 1fr; padding: 32px; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .journey::before { display: none; }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .req-grid, .engine-grid, .sec-grid, .mod-grid, .journey { grid-template-columns: 1fr; }
  .maturity { grid-template-columns: 1fr 1fr; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-row > * { padding: 10px 18px; }
  .ba-row b { padding-top: 16px; }
  .ba-row span:nth-child(3) { padding-bottom: 16px; }
  .mod-detail { grid-template-columns: 1fr; }
  .sign-flow { grid-template-columns: 1fr 1fr; }
  .role-panel { padding: 24px 20px; }
  .role-shot .phone-sm { width: 200px; }
  .role-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .role-tabs button { flex: none; }
  .phone-sm { border-radius: 22px; padding: 5px; }
  .phone-sm img { border-radius: 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; inset-inline: 16px; padding: 12px; border-radius: 18px;
    background: rgba(9, 42, 30, .97); box-shadow: var(--shadow-lg); animation: panelIn .35s var(--ease); }
  .main-nav.open a { padding: 12px 14px; }
}
@media (max-width: 1100px) {
  .site-header { position: fixed; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { max-width: 760px; margin: 24px auto 0; width: 100%; min-height: 0; }
  .value-grid, .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .pillar-tabs { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 6px; scrollbar-width: none; }
  .pillar-tabs button { flex: none; }
  .app-grid, .deploy-grid, .cta-card { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .login-link, .header-actions .btn-gold { display: none; }
  .v2030-head { height: 34px; padding-inline-start: 10px; }
  .vision-band { flex-direction: column; text-align: center; padding: 22px; gap: 14px; }
  .vision-band .v2030 { height: 76px; padding: 0 0 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .brand-text small { display: none; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .chip-3 { display: none; }
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip small { display: none; }
  .chip-ic { width: 30px; height: 30px; }
  .chip-1 { inset-inline-start: 0; top: -20px; }
  .chip-2 { inset-inline-start: 0; bottom: 14px; }
  .phone-hero { inset-inline-end: -4px; width: 34%; bottom: -30px; border-radius: 26px; padding: 6px; }
  .phone-hero img { border-radius: 21px; }
  .phone-hero .phone-notch { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .stat:nth-child(5) { grid-column: span 2; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid rgba(255,255,255,.08); }
  .value-grid, .comp-grid, .deploy-cards, .app-features, .field-row { grid-template-columns: 1fr; }
  .pillar-panel { padding: 26px 22px; }
  .pillar-panel.active { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .cta-card { padding: 30px 20px; border-radius: 24px; }
  .contact-form { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ring { display: none; }
  .sc-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .sc-tabs button { flex: none; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn, .hero-cta .gp-badge { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
