/* ==========================================================================
   Mohami Plus — landing
   Concept: "Midnight Docket" — a night-sky legal ledger. Deep aurora night,
   luminous blue light, gold hairlines like the rulings of a court register.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --navy: #132748;
  --gold-base: #D4AF37;
  --font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-doc: "Amiri", "Times New Roman", serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060A13;
  --bg-2: #0A101D;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --surface-solid: #0E1524;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F2F4F8;
  --text-2: rgba(242, 244, 248, .74);
  --muted: rgba(242, 244, 248, .52);
  --brand: #5B9BFF;
  --brand-2: #6F6BFF;
  --brand-ink: #9CC3FF;
  --brand-soft: rgba(91, 155, 255, .13);
  --glow: rgba(91, 155, 255, .40);
  --gold: #E6C766;
  --gold-2: #D4AF37;
  --gold-soft: rgba(230, 199, 102, .13);
  --on-gold: #1F1606;
  --danger: #FF6B6B;
  --ok: #3DDC97;
  --shadow: 0 40px 90px -30px rgba(0, 0, 0, .75);
  --shadow-sm: 0 18px 40px -22px rgba(0, 0, 0, .7);
  --aur-a: rgba(64, 132, 255, .26);
  --aur-b: rgba(111, 107, 255, .16);
  --aur-c: rgba(212, 175, 55, .11);
  --nav-bg: rgba(8, 13, 24, .62);
  --grid-dot: rgba(255, 255, 255, .05);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F8FC;
  --bg-2: #EDF1F8;
  --surface: #FFFFFF;
  --surface-2: #F1F5FB;
  --surface-solid: #FFFFFF;
  --line: rgba(19, 39, 72, .10);
  --line-2: rgba(19, 39, 72, .18);
  --text: #0D182B;
  --text-2: rgba(13, 24, 43, .74);
  --muted: rgba(13, 24, 43, .55);
  --brand: #1E4C8F;
  --brand-2: #132748;
  --brand-ink: #1E4C8F;
  --brand-soft: rgba(30, 76, 143, .09);
  --glow: rgba(19, 39, 72, .22);
  --gold: #A9821F;
  --gold-2: #D4AF37;
  --gold-soft: rgba(184, 145, 43, .13);
  --on-gold: #1F1606;
  --danger: #D93A40;
  --ok: #12A150;
  --shadow: 0 40px 80px -36px rgba(19, 39, 72, .35);
  --shadow-sm: 0 16px 34px -22px rgba(19, 39, 72, .35);
  --aur-a: rgba(30, 76, 143, .13);
  --aur-b: rgba(111, 107, 255, .08);
  --aur-c: rgba(212, 175, 55, .12);
  --nav-bg: rgba(255, 255, 255, .72);
  --grid-dot: rgba(19, 39, 72, .07);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
html[lang="en"] body { line-height: 1.65; letter-spacing: -.005em; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.lucide { width: 1.15em; height: 1.15em; stroke-width: 1.9; flex: none; }
[dir="ltr"] .dir-arrow, [dir="ltr"] .wa__arrow { transform: scaleX(-1); }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 36px); }
.muted { color: var(--muted); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; font-weight: 800;
}
.skip:focus { top: 12px; }

.lum {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-ink) 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="light"] .lum { background: linear-gradient(100deg, var(--navy) 0%, var(--brand) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; }
.gold { color: var(--gold); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 14px;
  font-weight: 800; font-size: 15.5px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 16px; }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px -14px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25);
}
:root[data-theme="light"] .btn--primary { background: linear-gradient(135deg, #24508F, var(--navy)); }
.btn--gold {
  color: var(--on-gold);
  background: linear-gradient(135deg, #F3D98B, #C9A13B);
  box-shadow: 0 14px 30px -14px rgba(212, 175, 55, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px clamp(10px, 2.5vw, 24px) 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  max-width: 1220px; margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
  padding-inline: 12px 10px;
  border-radius: 20px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow .3s, border-color .3s;
}
.nav.is-scrolled .nav__bar { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(212, 175, 55, .45), 0 8px 18px -8px var(--glow); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt b { font-size: 17px; font-weight: 900; }
.brand__txt small { font-size: 11px; color: var(--gold); font-weight: 700; letter-spacing: .08em; }
.nav__links { display: none; gap: 4px; margin-inline: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.tool {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background-color .2s;
}
.tool:hover { border-color: var(--line-2); background: var(--surface-2); }
.tool__lang { font-weight: 900; font-size: 15px; }
:root[data-theme="dark"] .ic-moon, :root[data-theme="light"] .ic-sun { display: none; }
.ic-sun { color: var(--gold); }
.nav__cta { display: none; }
.nav__burger { flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
  pointer-events: auto;
  max-width: 1220px; margin: 8px auto 0; padding: 12px;
  display: grid; gap: 4px;
  border-radius: 20px; background: var(--nav-bg); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  animation: sheetIn .3s var(--ease);
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.nav__sheet a:not(.btn):hover { background: var(--surface-2); }
.nav__sheet .btn { margin-top: 6px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__burger, .nav__sheet { display: none !important; }
  .nav__tools { margin-inline-start: 0; }
}

/* ---------------------------------------------------------------- aurora backdrop */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::after { /* fine dotted register grid */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; top: -40%; inset-inline-end: -20%; background: radial-gradient(circle, var(--aur-a), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; top: 10%; inset-inline-start: -25%; background: radial-gradient(circle, var(--aur-b), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; bottom: -30%; inset-inline-end: 15%; background: radial-gradient(circle, var(--aur-c), transparent 65%); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(8%, -6%, 0) scale(1.12); } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + 56px); overflow: clip; isolation: isolate; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--text-2);
  border: 1px solid var(--line-2); background: var(--surface);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft), 0 0 14px var(--gold); }
.hero__title {
  margin-top: 22px;
  font-size: clamp(2.2rem, 1.1rem + 3.6vw, 3.9rem);
  line-height: 1.18; font-weight: 900; letter-spacing: -.01em;
}
html[lang="en"] .hero__title { letter-spacing: -.03em; line-height: 1.06; }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(16.5px, 1.2vw + 11px, 19px); color: var(--text-2); }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 30px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-weight: 700; font-size: 15px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .lucide { color: var(--gold); }
.hero__soon { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

@media (max-width: 479px) {
  .hero__ctas .btn { width: 100%; }
}

/* stage with phones */
.stage {
  --k-front: .74; --k-back: .6; --ox: 84px;
  position: relative; height: 560px; margin-inline: auto; width: 100%; max-width: 640px;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--sy, 0px));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.stage__halo { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); filter: blur(20px); opacity: .9; }
.stage__ring {
  position: absolute; width: min(90%, 520px); aspect-ratio: 1; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--gold) 70%, transparent 85%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .6; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }

.phone {
  --k: 1;
  --bz: calc(9px * var(--k) + 2px);
  position: relative;
  width: calc(300px * var(--k) + var(--bz) * 2);
  padding: var(--bz);
  border-radius: calc(50px * var(--k) + var(--bz));
  background: linear-gradient(150deg, #2A3242, #0B0F17 40%, #1A202C);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    inset 0 0 0 4px #05070B,
    0 0 0 1px rgba(0, 0, 0, .4),
    var(--shadow);
}
.phone::before { /* side button */
  content: ""; position: absolute; inset-inline-end: -3px; top: 22%; width: 3px; height: 13%; border-radius: 3px;
  background: linear-gradient(#3A4252, #1A1F29);
}
.phone__screen {
  position: relative; overflow: hidden;
  width: calc(300px * var(--k)); height: calc(650px * var(--k));
  border-radius: calc(42px * var(--k));
  background: #070B13;
  isolation: isolate;
}
.phone__screen > .app, .cycle-slide > .app { transform: scale(var(--k)); }

.stage .phone { position: absolute; inset: 0; margin: auto; height: max-content; translate: var(--px, 0px) var(--py, 0px); transition: translate .35s var(--ease); }
.phone--front { --k: var(--k-front); z-index: 3; animation: float 7s ease-in-out infinite; }
.phone--back { --k: var(--k-back); z-index: 1; filter: saturate(.95); }
.stage .phone--b1 { left: calc(var(--ox) * -2); right: 0; rotate: -8deg; animation: float 8s ease-in-out -2s infinite; }
.stage .phone--b2 { left: 0; right: calc(var(--ox) * -2); rotate: 8deg; animation: float 9s ease-in-out -4s infinite; }
.phone--back .phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 19, .35)); pointer-events: none; z-index: 5; }
@keyframes float { 50% { transform: translateY(-12px); } }

.cycle-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.cycle-slide.is-on { opacity: 1; transform: none; z-index: 1; }
.cycle-dots { position: absolute; bottom: -2px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; z-index: 4; }
.cycle-dots span { width: 6px; height: 6px; border-radius: 6px; background: var(--line-2); transition: width .4s var(--ease), background-color .4s; }
.cycle-dots span.is-on { width: 22px; background: var(--gold); }

.float-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 14px;
  font-size: 13px; font-weight: 800; white-space: nowrap;
  color: var(--text);
  background: var(--nav-bg); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  translate: var(--px, 0px) var(--py, 0px);
  animation: float 6s ease-in-out infinite;
}
.float-chip .lucide { color: var(--gold); }
.float-chip--a { top: 13%; inset-inline-start: 0; animation-delay: -1s; }
.float-chip--b { bottom: 16%; inset-inline-end: 0; animation-delay: -3s; }
.float-chip--b .lucide { color: var(--ok); }
.float-chip--c { top: 46%; inset-inline-start: -2%; display: none; animation-delay: -2s; }
.float-chip--c .lucide { color: var(--brand); }

@media (min-width: 420px) { .stage { --k-front: .8; --k-back: .64; --ox: 110px; height: 600px; } }
@media (min-width: 768px) { .stage { --k-front: .86; --k-back: .7; --ox: 150px; height: 660px; } .float-chip--c { display: inline-flex; } }
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--nav-h) + 70px); }
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 24px; }
  .stage { --k-front: .9; --k-back: .72; --ox: 140px; height: 700px; }
}
@media (max-width: 380px) { .float-chip { font-size: 11.5px; padding: 7px 10px; } }

/* ribbon marquee */
.ribbon {
  position: relative; z-index: 1; margin-top: 56px; padding-block: 16px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ribbon__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
[dir="rtl"] .ribbon__track { animation-name: marqueeRtl; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__set { display: flex; flex: none; }
.ribbon__set span { display: inline-flex; align-items: center; gap: 10px; padding-inline: 22px; font-weight: 700; color: var(--text-2); white-space: nowrap; font-size: 15px; }
.ribbon__set span::after { content: "◆"; font-size: 8px; color: var(--gold); margin-inline-start: 22px; opacity: .8; }
.ribbon__set .lucide { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- ledger (live numbers) */
.ledger { padding-block: clamp(56px, 8vw, 96px); }
.ledger__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.ledger__title { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); font-weight: 800; }
.ledger__live { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); position: relative; }
.ledger__live.is-live .pulse { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.ledger__live.is-live .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); animation: ping 1.8s ease-out infinite; }
.ledger__live.is-static .pulse { background: var(--gold); }
@keyframes ping { to { transform: scale(1.9); opacity: 0; } }
.ledger__grid {
  margin: 0; display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface);
}
.stat { position: relative; padding: 24px 18px 22px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat:nth-child(3) { border-inline-start: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat dt { font-size: 14px; color: var(--text-2); font-weight: 700; line-height: 1.45; }
.stat dd { margin: 0; }
.stat__n { direction: ltr; unicode-bidi: isolate; display: inline-block; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--text) 30%, var(--brand-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lucide { position: absolute; top: 20px; inset-inline-end: 18px; color: var(--gold); opacity: .8; width: 22px; height: 22px; }
.stat::before { content: ""; position: absolute; top: 0; inset-inline-start: 18px; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
@media (min-width: 860px) {
  .ledger__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 34px 28px 30px; }
  .stat:nth-child(3) { border-inline-start: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 0; }
}

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding-block: clamp(72px, 10vw, 130px); }
.sec--tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec__head--split > div:first-child { max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; color: var(--gold); letter-spacing: .04em; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; }
.kicker__n { font-variant-numeric: tabular-nums; padding: 2px 8px; border: 1px solid var(--gold-soft); border-radius: 8px; background: var(--gold-soft); font-size: 12px; }
.kicker::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
[dir="rtl"] .kicker::after { background: linear-gradient(270deg, var(--gold), transparent); }
.sec__title { margin-top: 14px; font-size: clamp(1.85rem, 1.1rem + 3vw, 3.2rem); line-height: 1.25; font-weight: 900; letter-spacing: -.01em; }
html[lang="en"] .sec__title { letter-spacing: -.028em; line-height: 1.1; }
.sec__lead { margin-top: 16px; color: var(--text-2); font-size: clamp(16px, .6vw + 13px, 18.5px); max-width: 40em; }

/* ---------------------------------------------------------------- bento */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tile {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
:root[data-theme="light"] .tile { box-shadow: 0 1px 0 rgba(19, 39, 72, .04), 0 14px 30px -24px rgba(19, 39, 72, .25); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), var(--brand-soft), transparent 60%); }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile h3 { margin-top: 18px; font-size: 19px; font-weight: 800; line-height: 1.4; }
.tile p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.tile__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--line); }
.tile__icon .lucide { width: 23px; height: 23px; }
.tile__icon--gold { color: var(--gold); background: var(--gold-soft); }
.tile__icon--red { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.tile__icon--glow { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 12px 30px -10px var(--glow); border: 0; }
.tile__row { display: flex; align-items: center; justify-content: space-between; }
.tile__num { font-size: 64px; line-height: .9; font-weight: 900; color: transparent; -webkit-text-stroke: 1.2px var(--gold); opacity: .85; }
.tile--ai { background: radial-gradient(120% 90% at 100% 0%, var(--brand-soft), transparent 55%), var(--surface); }
[dir="ltr"] .tile--ai { background: radial-gradient(120% 90% at 0% 0%, var(--brand-soft), transparent 55%), var(--surface); }
.tile--ai h3 { font-size: clamp(21px, 1vw + 16px, 27px); }
.tile--alert { border-color: color-mix(in srgb, var(--danger) 28%, var(--line)); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: var(--surface-2); }
.chips .more { color: var(--on-gold); background: linear-gradient(135deg, #F3D98B, #C9A13B); border: 0; }

.scan { margin-top: 24px; display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; }
.scan__doc { position: relative; height: 150px; border-radius: 12px; padding: 16px 14px; background: #FFFDF8; display: flex; flex-direction: column; gap: 9px; overflow: hidden; box-shadow: var(--shadow-sm); rotate: -3deg; }
.scan__doc span { height: 5px; border-radius: 4px; background: #C9CFDA; }
.scan__doc span.s { width: 62%; background: #D4AF37; opacity: .8; }
.scan__beam { position: absolute; inset-inline: 0; top: 0; height: 36px; background: linear-gradient(180deg, transparent, rgba(91, 155, 255, .45), transparent); border-bottom: 2px solid #5B9BFF; animation: beam 3s ease-in-out infinite; }
@keyframes beam { 0% { transform: translateY(-36px); } 60%, 100% { transform: translateY(160px); } }
.scan__out { display: grid; gap: 8px; }
.scan__out b { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--brand); }
.scan__out em { font-style: normal; font-size: 13.5px; font-weight: 700; padding: 7px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.scan__out em:nth-of-type(2) { border-color: var(--gold-soft); color: var(--gold); }

.duo { display: grid; gap: 26px; }
.duo h3 { margin-top: 14px; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--xl, .tile--wide, .tile--duo { grid-column: span 2; }
  .duo { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tile--xl { grid-column: span 2; grid-row: span 2; padding: 34px; }
  .tile--wide { grid-column: span 2; }
  .tile--duo { grid-column: span 4; }
  .scan { grid-template-columns: 150px 1fr; margin-top: 34px; }
  .scan__doc { height: 190px; }
}

/* ---------------------------------------------------------------- audience tabs */
.tabs { position: relative; display: inline-flex; padding: 5px; gap: 2px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); max-width: 100%; }
.tabs [role="tab"] { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: 15px; color: var(--text-2); transition: color .3s; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px -12px var(--glow); transition: transform .45s var(--ease), width .45s var(--ease); }
:root[data-theme="light"] .tabs__ink { background: linear-gradient(135deg, #24508F, var(--navy)); }
@media (max-width: 479px) {
  .tabs { display: flex; width: 100%; }
  .tabs [role="tab"] { flex: 1; justify-content: center; padding: 10px 6px; font-size: 14px; gap: 6px; }
  .tabs [role="tab"] .lucide { display: none; }
}
.pane { display: grid; gap: 18px; }
.pane[hidden] { display: none; }
.pane--in { animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.pane__main { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.pane__main h3 { font-size: clamp(22px, 1.2vw + 16px, 30px); font-weight: 900; line-height: 1.35; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 36px; color: var(--text-2); font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 22px; height: 22px; border-radius: 7px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 7px; top: calc(.3em + 6px); width: 9px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.pane__card {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  color: #fff;
  background: radial-gradient(120% 80% at 100% 0%, rgba(212, 175, 55, .22), transparent 50%), linear-gradient(150deg, #16305A, #0C1A33 55%, #1E1B5C);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.tag { align-self: flex-start; font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; color: var(--on-gold); background: linear-gradient(135deg, #F3D98B, #C9A13B); }
.pane__quote { font-size: clamp(18px, .8vw + 14px, 22px); font-weight: 700; line-height: 1.6; }
.pane__flow { display: flex; align-items: center; gap: 10px; color: #E6C766; }
.pane__flow .lucide:not(.dir-arrow) { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #9CC3FF; }
.pane__card small { color: rgba(255, 255, 255, .7); font-size: 14px; }
@media (min-width: 900px) { .pane { grid-template-columns: 1.45fr 1fr; gap: 20px; } }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step__n {
  position: absolute; top: 22px; inset-inline-end: 24px;
  font-size: 64px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--line-2);
}
.step__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--on-gold); background: linear-gradient(135deg, #F3D98B, #C9A13B); box-shadow: 0 14px 30px -14px rgba(212, 175, 55, .6); }
.step__icon .lucide { width: 25px; height: 25px; }
.step h3 { margin-top: 20px; font-size: 20px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps::before { content: ""; position: absolute; top: 58px; inset-inline: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 14px); opacity: .55; z-index: 0; }
  .step { z-index: 1; }
}

/* ---------------------------------------------------------------- AI showcase */
.sec--ai { overflow: clip; }
.sec--ai::before { content: ""; position: absolute; width: 900px; height: 900px; top: 0; inset-inline-start: -300px; border-radius: 50%; background: radial-gradient(circle, var(--aur-a), transparent 62%); pointer-events: none; }
.ai { position: relative; display: grid; gap: 40px; align-items: start; }
.ai__subtitle { margin-top: 30px; font-size: 15px; font-weight: 800; color: var(--muted); }
.svc-list { list-style: none; margin-top: 14px; display: grid; gap: 8px; grid-template-columns: 1fr; }
.svc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.svc__ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.svc__ic .lucide { width: 16px; height: 16px; }
.disclaimer { margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.disclaimer .lucide { margin-top: .3em; color: var(--gold); }
@media (min-width: 520px) { .svc-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .ai { grid-template-columns: 1fr 1fr; gap: 56px; }
  .console { position: sticky; top: 100px; }
}

.console {
  position: relative; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)), var(--surface-solid);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 0 6px color-mix(in srgb, var(--brand) 6%, transparent);
}
.console::before { content: ""; position: absolute; inset: -30% -10% auto; height: 60%; background: radial-gradient(closest-side, var(--aur-a), transparent); pointer-events: none; }
.console__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.console__head b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.console__head small { display: block; font-size: 13px; color: var(--muted); }
.orb {
  position: relative; width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #8FB9FF, #2F5FC0 55%, #2A2287);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px transparent, 0 0 28px var(--glow);
}
.orb::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(var(--brand), var(--gold), var(--brand)); z-index: -1; animation: spin 6s linear infinite; }
.badge-ai { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 900; padding: 4px 10px; border-radius: 999px; color: var(--on-gold); background: linear-gradient(135deg, #F3D98B, #C9A13B); }
.badge-ai .lucide { width: 13px; height: 13px; }
.console__body { position: relative; height: 380px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; }
.cmsg { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.75; animation: msgIn .4s var(--ease); white-space: pre-wrap; }
.cmsg--me { align-self: flex-start; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-start-start-radius: 6px; }
:root[data-theme="light"] .cmsg--me { background: linear-gradient(135deg, #24508F, var(--navy)); }
.cmsg--ai { align-self: flex-end; background: var(--surface-2); border: 1px solid var(--line-2); border-start-end-radius: 6px; }
.cmsg--ai:empty::after, .cmsg--ai:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: var(--gold); animation: caret 1s steps(2) infinite; }
.cmsg--ai + .cmsg--ai::after, .console__body .cmsg--ai:not(:last-child)::after { display: none; }
.cmsg--dots { align-self: flex-end; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line-2); }
.cmsg--dots i, .a-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: dot 1.2s ease-in-out infinite; }
.cmsg--dots i:nth-child(2), .a-typing i:nth-child(2) { animation-delay: .15s; }
.cmsg--dots i:nth-child(3), .a-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.console__input { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 7px; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--line-2); }
.ci__attach { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); flex: none; }
.ci__field { flex: 1; min-width: 0; font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci__field.is-typing { color: var(--text); }
.ci__field.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: var(--brand); animation: caret 1s steps(2) infinite; }
.ci__send { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); flex: none; box-shadow: 0 10px 22px -10px var(--glow); }
[dir="rtl"] .ci__send .lucide { transform: scaleX(-1); }

/* ---------------------------------------------------------------- screens gallery */
.seg { display: inline-flex; padding: 5px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); }
.seg button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 800; font-size: 14.5px; color: var(--text-2); transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.gallery {
  --k: .7;
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; margin-inline: -4px;
  scrollbar-width: thin;
}
.shot { margin: 0; flex: none; scroll-snap-align: center; display: grid; justify-items: center; gap: 16px; }
.shot .phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #05070B, var(--shadow-sm); }
.phone--sm { --k: .7; }
.shot figcaption { font-weight: 800; font-size: 15px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.shot figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (min-width: 1100px) {
  .gallery { overflow: visible; justify-content: space-between; padding: 0; margin: 0; }
  .phone--sm { --k: .78; }
  .shot:nth-child(even) { margin-top: 48px; }
}
@media (min-width: 1100px) and (max-width: 1240px) { .phone--sm { --k: .72; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 920px; }
.acc { display: grid; gap: 10px; }
.acc details { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.acc details[open] { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 17px; line-height: 1.5; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .lucide { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--surface-2); color: var(--gold); transition: transform .35s var(--ease), background-color .3s; }
.acc details[open] summary .lucide { transform: rotate(45deg); background: var(--gold-soft); }
.acc__a { padding: 0 22px 22px; color: var(--text-2); font-size: 16px; animation: paneIn .4s var(--ease); }

/* ---------------------------------------------------------------- finale / download */
.finale {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: clamp(26px, 3vw, 40px);
  text-align: center; color: #fff;
  background: linear-gradient(160deg, #18335F 0%, #0C1A33 50%, #1B1856 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.finale__glow { position: absolute; z-index: -1; width: 640px; height: 640px; top: -320px; left: 50%; margin-left: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .35), transparent 62%); }
.finale__logo { width: 88px; height: 88px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(230, 199, 102, .6), 0 0 0 8px rgba(255, 255, 255, .05), 0 20px 50px -14px rgba(0, 0, 0, .7); }
.finale__title { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem); font-weight: 900; line-height: 1.25; }
.finale .gold { color: #E6C766; }
.finale__lead { color: rgba(255, 255, 255, .75); font-size: clamp(16px, .6vw + 13px, 19px); max-width: 32em; }
.finale .btn { margin-top: 8px; }
.stores { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-width: 196px; padding: 10px 20px 10px 18px; border-radius: 14px;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .62); cursor: not-allowed; user-select: none;
  filter: grayscale(.4);
  text-align: start;
}
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11.5px; }
.store b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.store__soon { position: absolute; top: -10px; inset-inline-end: -8px; font-style: normal; font-size: 11.5px; font-weight: 900; padding: 2px 10px; border-radius: 999px; color: #1F1606; background: linear-gradient(135deg, #F3D98B, #C9A13B); box-shadow: 0 6px 14px -6px rgba(212, 175, 55, .7); }

/* ---------------------------------------------------------------- contact */
.sec--contact { padding-top: 0; }
.contact { display: grid; gap: 26px; align-items: center; padding-block: 8px; }
.wa {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .3s, transform .3s var(--ease);
}
.wa:hover { border-color: #25D366; transform: translateY(-2px); }
.wa__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34E07A, #1EAF58); box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .7); flex: none; }
.wa__icon svg { width: 28px; height: 28px; }
.wa__txt { display: flex; flex-direction: column; line-height: 1.3; }
.wa__txt small { color: var(--muted); font-size: 14px; font-weight: 700; }
.wa__txt b { font-size: clamp(18px, 1vw + 13px, 22px); font-weight: 900; unicode-bidi: isolate; }
.wa__arrow { margin-inline-start: auto; color: var(--gold); width: 24px; height: 24px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 56px; }
.foot__grid { display: grid; gap: 34px; padding-bottom: 40px; }
.foot__brand p { margin-top: 16px; color: var(--text-2); font-size: 15px; max-width: 30em; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot__col b { font-size: 14px; color: var(--gold); font-weight: 800; margin-bottom: 4px; }
.foot__col a { color: var(--text-2); transition: color .2s; width: fit-content; }
.foot__col a:hover { color: var(--text); }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.credit { font-weight: 800; color: var(--text-2); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gold-soft); background: var(--gold-soft); transition: color .2s, border-color .2s; }
.credit:hover { color: var(--gold); border-color: var(--gold); }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   App mockups (scaled from a 300 × 650 design canvas)
   Mirrors AppColors.dark / AppColors.light derived from navy #132748.
   ========================================================================== */
.app {
  position: absolute; top: 0; left: 0; width: 300px; height: 650px; transform-origin: 0 0;
  font-family: var(--font); line-height: 1.35; overflow: hidden;
  color: var(--a-text); background: var(--a-bg);
  text-align: start;
}
.app--dark {
  --a-bg: #080C14; --a-surface: #0F1726; --a-surface2: #141E30; --a-border: rgba(255, 255, 255, .08);
  --a-text: #F2F4F8; --a-text2: rgba(242, 244, 248, .7); --a-muted: rgba(242, 244, 248, .45);
  --a-brand: #5493EF; --a-brand2: #4D49E6; --a-brandSoft: rgba(84, 147, 239, .16); --a-glow: rgba(84, 147, 239, .38);
  --a-gold: #E6C766; --a-goldSoft: rgba(230, 199, 102, .14);
  --a-ok: #3DDC97; --a-info: #6CB4FF; --a-danger: #FF6B6B;
  --a-hero: linear-gradient(135deg, #1A2436, #12305E 55%, #251F70);
  --a-glass: rgba(255, 255, 255, .045); --a-glassBorder: rgba(255, 255, 255, .09);
  --a-aurA: rgba(84, 147, 239, .24); --a-aurB: rgba(120, 84, 239, .14);
  --a-nav: rgba(14, 21, 35, .82);
  --a-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6);
}
.app--light {
  --a-bg: #F5F7FB; --a-surface: #FFFFFF; --a-surface2: #EEF2F8; --a-border: #DDE3EC;
  --a-text: #142036; --a-text2: rgba(20, 32, 54, .68); --a-muted: rgba(20, 32, 54, .45);
  --a-brand: #132748; --a-brand2: #0E1D3B; --a-brandSoft: rgba(19, 39, 72, .08); --a-glow: rgba(19, 39, 72, .26);
  --a-gold: #B8912B; --a-goldSoft: rgba(184, 145, 43, .12);
  --a-ok: #12A150; --a-info: #2F80ED; --a-danger: #E5484D;
  --a-hero: linear-gradient(135deg, #0B162B, #132748 55%, #1E2A78);
  --a-glass: rgba(255, 255, 255, .72); --a-glassBorder: rgba(255, 255, 255, .9);
  --a-aurA: rgba(19, 39, 72, .10); --a-aurB: rgba(212, 175, 55, .07);
  --a-nav: rgba(255, 255, 255, .86);
  --a-shadow: 0 8px 18px -8px rgba(19, 39, 72, .22);
}
.app .lucide { width: 1em; height: 1em; stroke-width: 2.1; }
.app[dir="ltr"] .dir-chev { transform: scaleX(-1); }
.app__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.app__aurora i { position: absolute; border-radius: 50%; }
.app__aurora i:nth-child(1) { width: 300px; height: 300px; top: -110px; left: -60px; background: radial-gradient(circle, var(--a-aurA), transparent 68%); animation: drift1 14s ease-in-out infinite alternate; }
.app__aurora i:nth-child(2) { width: 240px; height: 240px; top: 200px; right: -110px; background: radial-gradient(circle, var(--a-aurB), transparent 68%); animation: drift2 16s ease-in-out infinite alternate; }
.app__aurora i:nth-child(3) { width: 240px; height: 240px; bottom: -90px; left: 10px; background: radial-gradient(circle, var(--a-aurA), transparent 70%); opacity: .6; }
.app > *:not(.app__aurora) { position: relative; z-index: 1; }

.a-status { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0; font-size: 12px; font-weight: 800; direction: ltr; }
.a-island { position: absolute; left: 50%; top: 9px; width: 88px; height: 25px; margin-left: -44px; border-radius: 20px; background: #000; }
.a-sys { display: inline-flex; gap: 4px; font-size: 12px; }
.a-body { padding: 6px 14px 0; display: flex; flex-direction: column; gap: 10px; }

/* home hero (HeroHeader) */
.a-hero { position: relative; overflow: hidden; padding: 14px; border-radius: 22px; background: var(--a-hero); color: #fff; box-shadow: 0 14px 26px -12px var(--a-glow); border: 1px solid rgba(255, 255, 255, .07); }
.a-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.a-orb--1 { width: 150px; height: 150px; top: -40px; right: -30px; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }
.a-orb--2 { width: 170px; height: 170px; bottom: -70px; left: -20px; background: radial-gradient(circle, rgba(255, 255, 255, .07), transparent 70%); }
.a-orb--g { width: 90px; height: 90px; top: 8px; left: 40px; background: radial-gradient(circle, rgba(230, 199, 102, .16), transparent 70%); }
.a-hero__row { position: relative; display: flex; align-items: center; gap: 9px; }
.a-avatar { width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #fff, #F3D98B); flex: none; }
.a-avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #132748; font-size: 20px; }
.a-hero__who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.a-hero__who small { font-size: 10.5px; color: rgba(255, 255, 255, .75); }
.a-hero__who b { font-size: 14.5px; font-weight: 800; }
.a-hbtn { position: relative; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); flex: none; }
.a-dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #E6C766; box-shadow: 0 0 0 2px rgba(19, 39, 72, .7); }
.a-pill { position: relative; margin-top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 30px; font-size: 9.5px; font-weight: 700; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.a-pill .gold { color: #F3D98B; font-size: 11px; }
.a-banner { position: relative; margin-top: 10px; height: 58px; border-radius: 16px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: rgba(0, 0, 0, .14); border: 1px solid rgba(255, 255, 255, .1); }
.a-banner__scale { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: #F3D98B; background: rgba(230, 199, 102, .14); }
.a-banner__lines { flex: 1; display: grid; gap: 7px; }
.a-banner__lines i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.a-banner__lines i + i { width: 60%; background: rgba(255, 255, 255, .14); }

.a-sec { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--a-brand); }
.app--dark .a-sec { color: var(--a-brand); }
.a-sec__bar { width: 4px; height: 16px; border-radius: 4px; background: linear-gradient(var(--a-brand), var(--a-gold)); }
.a-sec b { color: var(--a-text); font-weight: 800; }
.a-sec em { margin-inline-start: auto; font-style: normal; font-size: 10px; font-weight: 800; color: var(--a-brand); }
.app--dark .a-sec em { color: var(--a-info); }

.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-tile { height: 82px; border-radius: 17px; padding: 8px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; background: var(--a-surface); border: 1px solid var(--a-border); box-shadow: var(--a-shadow); }
.a-tile b { font-size: 9.2px; font-weight: 700; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.a-badge { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; color: var(--a-brand); background: var(--a-brandSoft); flex: none; }
.app--dark .a-badge { color: #7FB0FF; }
.a-tile--hi { color: #fff; background: linear-gradient(135deg, var(--a-brand), var(--a-brand2)); border-color: rgba(255, 255, 255, .12); box-shadow: 0 12px 24px -10px var(--a-glow); }
.app--light .a-tile--hi { background: linear-gradient(135deg, #1E3B6C, #0E1D3B); }
.a-badge--w { color: #fff !important; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25); }
.a-courts { display: flex; gap: 8px; }
.a-court { flex: none; width: 150px; border-radius: 16px; overflow: hidden; background: var(--a-surface); border: 1px solid var(--a-border); }
.a-court__img { height: 54px; display: grid; place-items: center; font-size: 24px; color: rgba(255, 255, 255, .85); background: var(--a-hero); }
.a-court b { display: block; padding: 7px 9px 9px; font-size: 9.5px; }

/* floating notched nav (custom_nav_bar.dart) */
.a-nav { position: absolute !important; left: 12px; right: 12px; bottom: 14px; height: 58px; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; border-radius: 24px; background: var(--a-nav); border: 1px solid var(--a-glassBorder); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.app--light .a-nav { border-color: var(--a-border); box-shadow: 0 14px 30px -14px rgba(19, 39, 72, .35); }
.a-nav__it { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 18px; color: var(--a-muted); width: 48px; }
.a-nav__it em { font-style: normal; font-size: 8.2px; font-weight: 700; white-space: nowrap; }
.a-nav__it.is-on { color: var(--a-brand); }
.app--dark .a-nav__it.is-on { color: #7FB0FF; }
.a-nav__it.is-on::after { content: ""; position: absolute; bottom: -7px; width: 16px; height: 3px; border-radius: 3px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.a-nav__orb { width: 52px; height: 52px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--a-brand), var(--a-brand2)); box-shadow: 0 0 0 5px var(--a-bg), 0 10px 24px -6px var(--a-glow); }
.app--light .a-nav__orb { background: linear-gradient(135deg, #1E3B6C, #0E1D3B); }

/* AI chat */
.a-chathead { display: flex; align-items: center; gap: 10px; padding: 6px 14px 10px; border-bottom: 1px solid var(--a-border); }
.a-aorb { position: relative; width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: conic-gradient(var(--a-brand), var(--a-gold), var(--a-brand)); box-shadow: 0 0 22px var(--a-glow); flex: none; }
.a-aorb span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px; background: var(--a-hero); }
.a-chathead__t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.a-chathead__t b { font-size: 13.5px; font-weight: 800; }
.a-chathead__t small { display: flex; align-items: center; gap: 4px; font-size: 9px; color: var(--a-muted); white-space: nowrap; }
.a-live { width: 6px; height: 6px; border-radius: 50%; background: var(--a-ok); box-shadow: 0 0 8px var(--a-ok); }
.a-goldbadge { display: inline-flex; align-items: center; gap: 2px; padding: 3px 8px; border-radius: 20px; font-size: 9.5px; font-weight: 900; color: #1F1606; background: linear-gradient(135deg, #F3D98B, #C9A13B); }
.a-body--chat { padding-top: 12px; gap: 9px; }
.a-msg { max-width: 82%; padding: 9px 11px; border-radius: 16px; font-size: 10.5px; line-height: 1.6; }
.a-msg--me { align-self: flex-start; color: #fff; background: linear-gradient(135deg, var(--a-brand), var(--a-brand2)); border-start-start-radius: 5px; box-shadow: 0 8px 18px -10px var(--a-glow); }
.app--light .a-msg--me { background: linear-gradient(135deg, #1E3B6C, #0E1D3B); }
.a-msg--ai { align-self: flex-end; display: flex; gap: 7px; align-items: flex-start; background: var(--a-glass); border: 1px solid var(--a-glassBorder); border-start-end-radius: 5px; }
.app--light .a-msg--ai { background: #fff; border-color: var(--a-border); box-shadow: var(--a-shadow); }
.a-msg--ai b { display: block; font-weight: 800; margin-bottom: 2px; }
.a-msg--ai ol { padding-inline-start: 14px; color: var(--a-text2); }
.a-msg__av { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--a-hero); }
.a-msg--img { padding: 6px; display: grid; gap: 5px; }
.a-msg--img small { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; padding: 0 4px; opacity: .9; }
.a-doc { width: 120px; height: 66px; border-radius: 10px; background: #FFFDF8; padding: 9px 10px; display: grid; gap: 6px; align-content: start; }
.a-doc i { height: 4px; border-radius: 3px; background: #C9CFDA; }
.a-doc i.s { width: 60%; background: #D4AF37; }
.a-typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 9px 11px; border-radius: 14px; background: var(--a-glass); border: 1px solid var(--a-glassBorder); }
.app--light .a-typing { background: #fff; border-color: var(--a-border); }
.a-typing i { width: 5px; height: 5px; background: var(--a-brand); }
.a-chips { position: absolute !important; left: 0; right: 0; bottom: 70px; display: flex; gap: 6px; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.a-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; border-radius: 20px; font-size: 9px; font-weight: 700; background: var(--a-surface); border: 1px solid var(--a-border); }
.a-chips .lucide { color: var(--a-gold); }
.a-input { position: absolute !important; left: 12px; right: 12px; bottom: 16px; height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 6px; border-radius: 17px; background: var(--a-surface); border: 1px solid var(--a-border); box-shadow: var(--a-shadow); }
.a-input__att { width: 33px; height: 33px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; color: var(--a-brand); background: var(--a-brandSoft); }
.app--dark .a-input__att { color: #7FB0FF; }
.a-input__f { flex: 1; font-size: 10.5px; color: var(--a-muted); }
.a-input__send { width: 35px; height: 35px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--a-brand), var(--a-brand2)); }
.app[dir="rtl"] .a-input__send .lucide { transform: scaleX(-1); }

/* lawsuits */
.a-appbar { display: flex; align-items: center; justify-content: space-between; padding: 2px 14px 8px; }
.a-appbar b { font-size: 14px; font-weight: 800; }
.a-cbtn { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: var(--a-surface); border: 1px solid var(--a-border); }
.a-hero--cases { padding: 13px; }
.a-gavel { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .22); flex: none; }
.a-add { position: relative; margin-top: 12px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; font-weight: 800; background: #fff; color: #132748; }
.a-search { height: 38px; border-radius: 14px; display: flex; align-items: center; gap: 7px; padding: 0 12px; font-size: 9.5px; color: var(--a-muted); background: var(--a-surface); border: 1px solid var(--a-border); }
.a-search .lucide { font-size: 14px; }
.a-case { padding: 10px; border-radius: 18px; background: var(--a-surface); border: 1px solid var(--a-border); box-shadow: var(--a-shadow); display: grid; gap: 8px; }
.a-case__top { display: flex; align-items: center; gap: 8px; }
.a-case__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.a-case__t b { font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-case__t small { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; color: var(--a-muted); direction: ltr; justify-content: flex-end; }
.app[dir="ltr"] .a-case__t small { justify-content: flex-start; }
.a-case__t small .lucide { color: var(--a-brand); }
.app--dark .a-case__t small .lucide { color: #7FB0FF; }
.a-case__meta { display: flex; align-items: center; gap: 10px; font-size: 9px; color: var(--a-muted); padding-top: 7px; border-top: 1px dashed var(--a-border); }
.a-case__meta span { display: inline-flex; align-items: center; gap: 3px; }
.a-case__meta .g .lucide { color: var(--a-gold); }
.a-case__meta .a-chip { margin-inline-start: auto; }
.a-chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 20px; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.a-chip--ok { color: var(--a-ok); background: color-mix(in srgb, var(--a-ok) 16%, transparent); border: 1px solid color-mix(in srgb, var(--a-ok) 25%, transparent); }
.a-chip--muted { color: var(--a-muted); background: var(--a-surface2); border: 1px solid var(--a-border); }
.a-chip--info { color: var(--a-info); background: color-mix(in srgb, var(--a-info) 14%, transparent); }

/* contract PDF */
.a-body--pdf { padding-top: 2px; }
.a-paper { position: relative; padding: 16px 16px 14px; border-radius: 10px; background: #FFFDF8; color: #1B2335; font-family: var(--font-doc); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55), 0 0 0 1px rgba(184, 145, 43, .25); }
.app--light .a-paper { box-shadow: 0 16px 34px -18px rgba(19, 39, 72, .45), 0 0 0 1px rgba(184, 145, 43, .25); }
.a-paper::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184, 145, 43, .35); border-radius: 6px; pointer-events: none; }
.a-paper__crest { width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: #132748; background: radial-gradient(circle, #F3D98B, #C9A13B); }
.a-paper h4 { margin-top: 5px; text-align: center; font-size: 16px; font-weight: 700; color: #132748; }
.a-paper__no { text-align: center; font-family: var(--font); font-size: 8px; color: #777; margin-bottom: 6px !important; }
.a-paper p { font-size: 8.8px; line-height: 1.75; margin: 0 0 3px; }
.a-paper strong { color: #132748; }
.a-ln { display: inline-block; width: 70px; border-bottom: 1px dotted #888; vertical-align: -2px; }
.a-paper h5 { margin: 6px 0 3px; font-size: 10px; color: #132748; border-bottom: 1px solid rgba(184, 145, 43, .5); padding-bottom: 2px; }
.a-paper ol { padding-inline-start: 14px; font-size: 8.8px; line-height: 1.7; }
.a-paper__sign { margin-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; font-family: var(--font); font-size: 7.5px; color: #666; }
.a-paper__sign > span:not(.a-seal) { display: grid; gap: 3px; justify-items: center; }
.a-paper__sign i { width: 64px; height: 14px; border-bottom: 1px solid #444; background: no-repeat center/90% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cpath d='M2 10c6-8 9 3 14-2s4-6 9 0 8-6 12-1 6 4 10-1 6-2 11 0' fill='none' stroke='%23132748' stroke-width='1.2'/%3E%3C/svg%3E"); }
.a-seal { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: #A9821F; border: 1.5px dashed #C9A13B; rotate: -12deg; background: rgba(212, 175, 55, .08); }
.a-paper__pdf { position: absolute; top: 10px; inset-inline-end: 10px; font-family: var(--font); font-size: 7.5px; font-weight: 900; color: #fff; background: #E5484D; padding: 2px 5px; border-radius: 4px; }
.a-actions { position: absolute !important; left: 14px; right: 14px; bottom: 18px; display: flex; gap: 8px; }
.a-btn { flex: 1; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 800; }
.a-btn--grad { flex: 1.4; color: #fff; background: linear-gradient(135deg, var(--a-brand), var(--a-brand2)); box-shadow: 0 10px 22px -10px var(--a-glow); }
.app--light .a-btn--grad { background: linear-gradient(135deg, #1E3B6C, #0E1D3B); }
.a-btn--out { color: var(--a-brand); border: 1.3px solid color-mix(in srgb, var(--a-brand) 50%, transparent); background: var(--a-surface); }
.app--dark .a-btn--out { color: #7FB0FF; }

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

/* compact small tiles on phones */
@media (max-width: 639px) {
  .bento { gap: 10px; }
  .tile { padding: 20px; }
  .tile:not(.tile--xl):not(.tile--wide):not(.tile--duo) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px 18px; }
  .tile:not(.tile--xl):not(.tile--wide):not(.tile--duo) .tile__icon { grid-row: span 2; width: 44px; height: 44px; }
  .tile:not(.tile--xl):not(.tile--wide):not(.tile--duo) h3 { margin-top: 0; font-size: 17px; }
  .tile:not(.tile--xl):not(.tile--wide):not(.tile--duo) p { margin-top: 2px; font-size: 14.5px; line-height: 1.65; }
  .scan { grid-template-columns: 96px 1fr; gap: 12px; }
  .scan__doc { height: 130px; }
}
.a-paper { padding: 20px 17px 18px; }
.a-paper p, .a-paper ol { font-size: 9.6px; line-height: 1.95; }
.a-paper h4 { font-size: 18px; }
.a-paper__sign { margin-top: 16px; }
