@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyr.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-lat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-cyr.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-lat.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jbmono-cyr.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jbmono-lat.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

:root {
  --bg: #0b0d12;
  --bg-soft: #11141c;
  --card: #171b24;
  --card-solid: #171b24;
  --card-hover: #1e2330;
  --surface: #222736;
  --object: #2a3040;
  --fill-1: rgba(255, 255, 255, 0.06);
  --fill-2: rgba(255, 255, 255, 0.11);
  --fill-3: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(255, 255, 255, 0.28);
  --text: #f5f6f8;
  --text-2: #d6dae3;
  --mute: #949aa8;
  --cyan: #3ec9ff;
  --sky: #3ec9ff;
  --amber: #ff9f0a;
  --violet: #c69bff;
  --ok: #34d17a;
  --warn: #ffd23f;
  --bad: #ff5a5f;
  --grad: linear-gradient(135deg, #ffffff 0%, #e4e6ed 100%);
  --grad-ok: linear-gradient(135deg, #34d17a 0%, #3ec9ff 100%);
  --font-sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Onest", "Unbounded", -apple-system, sans-serif;
  --font-kpi: "Unbounded", "Onest", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --spring: cubic-bezier(0.22, 1.25, 0.36, 1);
  --shadow-elev: 0 18px 40px -24px rgba(0, 0, 0, 0.72);
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(64% 40% at 68% -4%, rgba(62, 201, 255, 0.11), transparent 68%),
    radial-gradient(50% 34% at 14% 12%, rgba(52, 209, 122, 0.07), transparent 68%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.56;
  overflow-x: clip;
  padding-bottom: 84px;
}
html[lang="he"] body {
  font-family: "Noto Sans Hebrew", "Arial Hebrew", "Onest", sans-serif;
}
html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Geeza Pro", "Onest", sans-serif;
}
html[lang="zh"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
}
html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", sans-serif;
}
@media (min-width: 769px) { body { padding-bottom: 0; } }
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 200;
  padding: 10px 16px; background: var(--cyan); color: var(--bg); border-radius: 10px; font-weight: 700;
}
.skip-link:focus { inset-inline-start: 16px; }
.tnum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
code { font-family: var(--font-mono); }

/* ---------------- NAVBAR, SCROLL HUD, LANGUAGE SWITCHER & MOBILE DRAWER ---------------- */
.scroll-hud {
  position: fixed; top: 0; left: 0; right: 0; height: 2.5px; z-index: 80; pointer-events: none;
  background: rgba(148, 163, 184, 0.08);
}
.scroll-hud > span {
  display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, #38bdf8 0%, #10b981 60%, #f59e0b 100%);
  will-change: transform;
}
[dir="rtl"] .scroll-hud > span { transform-origin: right center; }

header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; direction: ltr;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; white-space: nowrap; flex-shrink: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.16); }
.brand span { color: var(--sky); }
.nav-links { display: none; gap: 16px; color: var(--mute); font-weight: 550; font-size: 13.5px; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 2px; transition: color .15s ease; white-space: nowrap;
}
.nav-links a i { font-size: 12.5px; opacity: .88; }
.nav-links a.is-crm { color: var(--sky); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: #fff; } }

.nav-act { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn.nav-web { display: none; }
@media (max-width: 520px) {
  .brand { font-size: 15.5px; gap: 8px; }
  .btn.nav-cta { display: none; }
}
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--text); cursor: pointer; font-size: 17px;
}
@media (min-width: 1120px) {
  .nav-links { display: flex; gap: 12px; font-size: 13px; }
  .menu-btn { display: none; }
}
@media (min-width: 1260px) {
  .nav-links { gap: 16px; font-size: 13.5px; }
  .btn.nav-web { display: inline-flex; }
}

/* Compact Glass Language Switcher */
.lang-sw { position: relative; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 6px 10px; border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0; font: 700 12.5px/1 inherit; cursor: pointer;
  white-space: nowrap; transition: border-color .15s ease, background-color .15s ease;
}
.lang-btn:hover { border-color: rgba(56, 189, 248, 0.55); background: rgba(30, 41, 59, 0.88); color: #fff; }
.lang-chev { font-size: 10px; transition: transform .15s ease; opacity: 0.75; }
.lang-sw.open .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 90;
  min-width: 186px; padding: 6px; border-radius: 14px;
  background: rgba(9, 14, 28, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: grid; gap: 3px;
}
.lang-menu[hidden] { display: none; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }

.lang-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 9px 11px; border-radius: 9px; border: 0; background: transparent;
  color: var(--text-2); font: 600 13.5px/1.2 inherit; text-align: start; cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}
.lang-opt small { color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: 0.03em; }
.lang-opt:hover { background: rgba(56, 189, 248, 0.14); color: #fff; }
.lang-opt.is-active { background: rgba(2, 132, 199, 0.24); color: #fff; outline: 1px solid rgba(56, 189, 248, 0.45); }
.lang-opt.is-active small { color: #7dd3fc; }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .34s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .34s;
}
.drawer-backdrop.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .34s cubic-bezier(.32, .72, 0, 1), visibility 0s linear 0s;
}
.drawer-backdrop[hidden] { display: none; }
.drawer {
  position: fixed; top: 8px; right: 8px; bottom: 8px; width: min(350px, calc(100vw - 16px)); z-index: 70;
  background: rgba(24, 24, 27, 0.84);
  backdrop-filter: blur(32px) saturate(180%); -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 26px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; pointer-events: none; opacity: 0;
  transform: translate3d(calc(100% + 24px), 0, 0) scale(0.97);
  transition: transform .48s cubic-bezier(.22, 1, .36, 1), opacity .28s ease, visibility 0s linear .48s;
}
[dir="rtl"] .drawer {
  right: auto; left: 8px;
  transform: translate3d(calc(-100% - 24px), 0, 0) scale(0.97);
}
.drawer.open {
  visibility: visible; pointer-events: auto; opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .48s cubic-bezier(.22, 1, .36, 1), opacity .26s ease, visibility 0s linear 0s;
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
  padding: 2px 4px 12px; border-bottom: 1px solid var(--line);
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08); color: var(--text); font-size: 15px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s var(--spring), background-color .15s ease;
}
.drawer-close:active { transform: scale(0.9); background: rgba(255, 255, 255, 0.16); }
.drawer-group {
  display: flex; flex-direction: column; flex-shrink: 0; border-radius: 18px; overflow: hidden;
  background: rgba(38, 38, 42, 0.68); border: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-link {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px;
  padding: 10px 14px; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: 600; font-size: 14px; color: var(--text);
  opacity: 0; transform: translateX(14px);
  transition: background-color .14s ease, opacity .32s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
}
[dir="rtl"] .drawer-link { transform: translateX(-14px); }
.drawer-link:last-child { border-bottom: 0; }
.drawer.open .drawer-link { opacity: 1; transform: translateX(0); }
.drawer.open .drawer-link:nth-child(1) { transition-delay: .04s; }
.drawer.open .drawer-link:nth-child(2) { transition-delay: .07s; }
.drawer.open .drawer-link:nth-child(3) { transition-delay: .10s; }
.drawer.open .drawer-link:nth-child(4) { transition-delay: .13s; }
.drawer.open .drawer-link:nth-child(5) { transition-delay: .16s; }
.drawer.open .drawer-link:nth-child(6) { transition-delay: .19s; }
.drawer-link:hover, .drawer-link:active { background: rgba(255, 255, 255, 0.07); }
.drawer-link span { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-link span i {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08); color: var(--sky);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.drawer-link-right { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.drawer-link small { color: var(--mute); font-size: 11.5px; font-weight: 600; text-align: end; }
.drawer-chev { font-size: 11px; color: var(--mute); opacity: 0.7; }
[dir="rtl"] .drawer-chev { transform: rotate(180deg); }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; flex-shrink: 0; }
.lang-chip {
  min-height: 34px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--fill-1); color: var(--text-2); font: 600 12px/1 inherit; cursor: pointer;
}
.lang-chip.is-active { background: #fff; color: #0a0a0c; border-color: transparent; }
.drawer-cta { margin-top: auto; padding-top: 12px; display: grid; gap: 8px; border-top: 1px solid var(--line); flex-shrink: 0; }

/* ---------------- BUTTONS, MAGNETIC SPRING & TONAL CARDS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; max-width: 100%; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--fill-1); color: var(--text); font: 600 14.5px/1.2 var(--font-sans); cursor: pointer;
  transition: transform .22s var(--spring), border-color .16s ease, background-color .16s ease, box-shadow .2s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: rgba(255, 255, 255, 0.22); background: var(--fill-2); }
}
.btn.sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
@media (max-width: 768px) {
  .btn { white-space: normal; text-align: center; }
  .btn.sm { min-height: 38px; padding: 7px 13px; font-size: 13px; }
}
.btn.primary {
  background: #ffffff; border-color: transparent; color: #0a0a0c; font-weight: 700;
  box-shadow: 0 6px 20px -8px rgba(255, 255, 255, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .btn.primary:hover { background: #e8e8ec; color: #000000; border-color: transparent; }
}
.btn.ok { background: var(--ok); border-color: transparent; color: #031a0f; font-weight: 700; }
.btn.ghost { background: var(--fill-1); border-color: var(--line); color: var(--text); }
.btn.bad { border-color: rgba(255, 90, 95, 0.38); color: #ff8084; }

.badge {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
  padding: 5px 12px; border-radius: 999px;
  background: var(--fill-1); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--text-2); line-height: 1.3;
}
.badge i { color: var(--green, #34d17a); }
.touch-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute);
}
.touch-tag i { color: var(--sky); }

/* ---------------- DESIGNBOOKMARK TONAL STAGE SURFACES ---------------- */
.glass-grad {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: none;
}
.glass-grad::before { display: none; }

.fx-card {
  --mx: 50%;
  --my: 50%;
  transition: transform .22s var(--spring), border-color .18s ease, background-color .18s ease;
}
.fx-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 66%);
  transition: opacity .22s ease;
  z-index: 1;
}
.fx-card > * { position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .fx-card:hover::after { opacity: 1; }
}

/* ---------------- TOUCH 1: HERO & INTERACTIVE MISSION SIMULATOR ---------------- */
.hero { position: relative; padding: 26px 0 42px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding: 44px 0 56px; } }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.36;
  object-fit: cover; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.85) 64%, rgba(0, 0, 0, 0.36) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.85) 64%, rgba(0, 0, 0, 0.36) 100%);
}
[dir="rtl"] .hero-bg {
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.85) 64%, rgba(0, 0, 0, 0.36) 100%);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.85) 64%, rgba(0, 0, 0, 0.36) 100%);
}
.hero .wrap.hero-grid { max-width: 1380px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
@media (min-width: 960px) and (max-width: 1179px) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 28px; }
  .hero-presenter { grid-column: span 2; max-width: 580px; justify-self: center; }
}
@media (min-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 460px) minmax(260px, 325px);
    gap: 18px;
    align-items: end;
  }
  .hero-copy { align-self: center; }
  .hero-stage { align-self: center; z-index: 3; }
  .hero-presenter {
    position: relative;
    z-index: 4;
    margin-inline-start: -22px;
    align-self: end;
    margin-bottom: -56px;
    pointer-events: none;
  }
}

/* Photorealistic Studio Presenter (clean cutout PNG/WebP + mobile companion card) */
.hero-presenter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 10px;
  align-items: end;
  border-radius: 22px;
  padding: 10px 12px 0 14px;
  background: radial-gradient(85% 75% at 78% 42%, rgba(62, 201, 255, 0.13), rgba(23, 27, 36, 0.78) 72%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-presenter-note {
  padding-bottom: 14px;
  display: grid;
  gap: 6px;
}
.hero-presenter-tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(52, 209, 122, 0.14); border: 1px solid rgba(52, 209, 122, 0.34);
  font-size: 11px; font-weight: 700; color: #34d17a;
}
.hero-presenter-note strong { font-size: 13.5px; line-height: 1.3; color: var(--text); }
.hero-presenter-note small { font-size: 12px; line-height: 1.38; color: var(--mute); }
.hero-presenter-media { position: relative; align-self: end; }
.hero-presenter-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: bottom center;
}
[dir="rtl"] .hero-presenter-img { transform: scaleX(-1); }
@media (min-width: 1180px) {
  .hero-presenter {
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }
  .hero-presenter-note {
    position: absolute;
    left: 84px;
    right: 0;
    bottom: 62px;
    z-index: 5;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(17, 20, 28, 0.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  }
  .hero-presenter-img {
    width: 100%;
    max-width: 340px;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.65));
  }
}

h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4.1vw, 48px); line-height: 1.07;
  margin: 12px 0 14px; font-weight: 700; letter-spacing: -0.034em; text-wrap: balance; color: var(--text);
}
html[lang="he"] h1, html[lang="ar"] h1, html[lang="zh"] h1, html[lang="hi"] h1 {
  font-family: inherit; font-weight: 850; letter-spacing: -0.015em;
}
.grad-tx {
  background: linear-gradient(125deg, #3ec9ff 0%, #34d17a 62%, #c69bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(15px, 1.55vw, 17px); color: var(--text-2); max-width: 54ch; margin: 0 0 22px; text-wrap: pretty; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.proof-pill {
  min-width: 0; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
}
.proof-pill b {
  display: block; font-family: var(--font-kpi); font-size: clamp(14px, 1.9vw, 19px);
  font-weight: 700; color: var(--text); white-space: nowrap; letter-spacing: -0.03em;
}
.proof-pill small { display: block; font-size: 11.5px; color: var(--mute); line-height: 1.25; margin-top: 3px; }
@media (max-width: 440px) {
  .hero-proof { gap: 6px; }
  .proof-pill { padding: 9px 7px; }
  .proof-pill b { font-size: 12.5px; }
  .proof-pill small { font-size: 10.5px; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta-row .btn { flex: 1 1 210px; }
@media (min-width: 580px) { .cta-row .btn { flex: 0 0 auto; } }
.hero-sub-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: 12.5px; color: var(--mute);
}
.hero-sub-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); transition: color .15s ease; }
.hero-sub-links a i { color: var(--sky); font-size: 11.5px; }
@media (hover: hover) and (pointer: fine) { .hero-sub-links a:hover { color: #fff; } }

/* DesignBookmark-inspired Hero Motion Stage + Light/Dark Switch */
.hero-stage {
  padding: 16px; border-radius: 28px; background: #171719; border: 1px solid var(--line);
  transition: background-color .28s ease, color .28s ease, border-color .28s ease;
}
.hero-stage.is-light {
  background: #f5f6f8; border-color: rgba(0, 0, 0, 0.12); color: #14161b;
  --surface: #ffffff; --object: #e8ebf0; --mute: #585d6a; --text-2: #2c303a; --line: rgba(0, 0, 0, 0.1); --line-bright: rgba(0, 0, 0, 0.22);
}
.hero-stage.no-theme-trans,
.hero-stage.no-theme-trans *,
.hero-stage.no-theme-trans *::before,
.hero-stage.no-theme-trans *::after {
  transition: none !important;
}
.stage-top-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px;
}
.mission-tabs {
  position: relative; display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 3px;
  padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  max-width: calc(100% - 42px); overflow-x: auto; scrollbar-width: none;
}
.hero-stage.is-light .mission-tabs { background: #e8ebf0; border-color: rgba(0, 0, 0, 0.1); }
.mission-tabs::-webkit-scrollbar { display: none; }
.mission-tab {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 5px 12px; border-radius: 999px; border: 0; background: transparent;
  color: #9ea5b3; font: 600 12.5px/1.2 var(--font-sans); cursor: pointer; white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s var(--spring);
}
.mission-tab i { font-size: 11.5px; }
@media (hover: hover) and (pointer: fine) { .mission-tab:hover { color: #ffffff; } }
.mission-tab.on {
  background: #ffffff; color: #0b0d12;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.hero-stage.is-light .mission-tab { color: #525764; }
@media (hover: hover) and (pointer: fine) { .hero-stage.is-light .mission-tab:hover { color: #14161b; } }
.hero-stage.is-light .mission-tab.on {
  background: #14161b; color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
@media (max-width: 480px) {
  .mission-tab { padding: 5px 8.5px; font-size: 11.5px; gap: 4px; }
  .mission-tab i { font-size: 10.5px; }
}
@media (max-width: 420px) {
  .stage-top-bar { gap: 6px; }
  .mission-tabs { padding: 3px; gap: 2px; max-width: calc(100% - 36px); }
  .mission-tab { padding: 5px 5.5px; font-size: 10.5px; gap: 2.5px; min-height: 30px; }
  .mission-tab i { font-size: 9.5px; }
  .stage-theme-btn { width: 30px; height: 30px; font-size: 12px; }
}

.stage-theme-btn {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--mute); cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
  transition: transform .22s var(--spring), background-color .18s ease, color .18s ease;
}
@media (hover: hover) and (pointer: fine) { .stage-theme-btn:hover { color: var(--text); border-color: var(--line-bright); } }
.hero-stage.is-light .stage-theme-btn { color: #17181a; border-color: rgba(0, 0, 0, 0.12); }

.sim-console {
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  padding: 14px; display: grid; gap: 10px;
}
.hero-stage.is-light .sim-console { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.16); }
.sim-hud {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--mute);
}
.hero-stage.is-light .sim-hud { border-color: rgba(0, 0, 0, 0.07); }
.sim-live-pill {
  display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600;
}
.alice-orb {
  width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0; position: relative;
  background: conic-gradient(from 40deg, #3ec9ff, #c69bff, #ff6ad5, #34d17a, #3ec9ff);
  box-shadow: 0 0 14px rgba(62, 201, 255, 0.45);
  animation: orbSpin 6s linear infinite;
}
.alice-orb::after {
  content: ""; position: absolute; inset: 3px; border-radius: inherit;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.72), transparent 65%);
}
@keyframes orbSpin {
  to { transform: rotate(360deg); }
}

.mesh-av-stack { display: inline-flex; align-items: center; }
.mesh-av {
  width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--surface);
  margin-inline-start: -6px; display: inline-block; flex-shrink: 0;
}
.mesh-av:first-child { margin-inline-start: 0; }
.mesh-av.av-1 { background: radial-gradient(circle at 30% 30%, #3ec9ff, #2563eb 65%, #c69bff); }
.mesh-av.av-2 { background: radial-gradient(circle at 30% 30%, #ffd23f, #ff5a5f 60%, #c69bff); }
.mesh-av.av-3 { background: radial-gradient(circle at 30% 30%, #34d17a, #0ea5e9 65%, #171719); }

.sim-xp {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(52, 209, 122, 0.14); color: #34d17a;
}
.hero-stage.is-light .sim-xp { background: rgba(52, 209, 122, 0.16); color: #128046; }

.sim-chat { display: grid; gap: 8px; }
.sim-msg {
  padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45;
  max-width: 92%; animation: simPop .32s var(--spring) both;
}
@keyframes simPop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sim-msg.in {
  justify-self: start; background: var(--object); color: inherit;
}
.sim-msg.out {
  justify-self: end; background: rgba(62, 201, 255, 0.12);
  border: 1px solid rgba(62, 201, 255, 0.24); color: inherit;
}
.hero-stage.is-light .sim-msg.out {
  background: rgba(14, 165, 233, 0.1); border-color: rgba(14, 165, 233, 0.25);
}
.sim-msg-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--sky); font-weight: 700; margin-bottom: 3px;
}
.hero-stage.is-light .sim-msg-meta { color: #0284c7; }

.agent-steps {
  display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px;
}
.agent-step {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; background: var(--object); color: var(--mute);
  opacity: 0.45; transform: translateY(3px);
  transition: opacity .26s ease, transform .28s var(--spring), color .2s ease, background-color .2s ease;
}
.agent-step.is-on {
  opacity: 1; transform: translateY(0); color: #34d17a; background: rgba(52, 209, 122, 0.12);
}
.hero-stage.is-light .agent-step.is-on { color: #128046; }

.sim-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding-top: 9px; border-top: 1px solid var(--line); font-size: 12px;
}
.hero-stage.is-light .sim-foot { border-color: rgba(0, 0, 0, 0.08); }
.sim-gain { color: #34d17a; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.hero-stage.is-light .sim-gain { color: #128046; }
.sim-link { color: var(--sky); font-weight: 650; display: inline-flex; align-items: center; gap: 5px; }
.hero-stage.is-light .sim-link { color: #0284c7; }
.sim-link:hover { text-decoration: underline; }

.hero-shot { position: relative; border-radius: 16px; overflow: hidden; background: #0d0d10; margin-top: 10px; }
.hero-shot img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.stage-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 8px 4px 0; font-size: 12px; color: var(--mute);
}
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tab {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: #9ea5b3; font: 600 12px/1.2 inherit; cursor: pointer;
  transition: transform .18s var(--spring), background-color .16s ease, color .16s ease;
}
.tab.on { background: #ffffff; color: #0a0a0c; border-color: transparent; }
.hero-stage.is-light .tab { background: #e8ebf0; color: #474c58; border-color: rgba(0, 0, 0, 0.1); }
.hero-stage.is-light .tab.on { background: #14161b; color: #ffffff; border-color: transparent; }

/* ---------------- TRUST STRIP ---------------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 13px 0;
}
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2);
}
.trust-pill i { color: var(--ok); font-size: 14px; flex-shrink: 0; }

/* ---------------- ROI CALCULATOR (STORAGE METER STYLE) ---------------- */
.roi-box {
  margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; align-items: center;
}
@media (min-width: 860px) {
  .roi-box { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; padding: 28px; }
}
.roi-lbl {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2); margin-bottom: 6px;
}
.roi-lbl b { font-size: 18px; color: var(--sky); }
.roi-range {
  width: 100%; accent-color: #ffffff; cursor: pointer; height: 6px;
}
.roi-note { font-size: 12.5px; color: var(--mute); margin: 12px 0 0; }
.roi-meter {
  margin-top: 14px; padding: 12px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.roi-meter-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-2); margin-bottom: 9px;
}
.roi-meter-top b { color: var(--ok); font-family: var(--font-mono); }
.roi-meter-track {
  display: flex; gap: 4px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--fill-1); padding: 1px;
}
.roi-meter-fill {
  height: 100%; border-radius: 999px; transition: width .32s var(--spring);
}
.roi-seg-chat { background: #3ec9ff; width: 6%; min-width: 8px; }
.roi-seg-img { background: #c69bff; width: 4%; min-width: 6px; }
.roi-seg-save { background: #34d17a; width: 90%; flex: 1 1 auto; }
.roi-seg-legend {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; font-size: 11px; color: var(--mute);
}
.roi-seg-legend span { display: inline-flex; align-items: center; gap: 5px; }
.roi-seg-legend i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }

.roi-result { display: flex; flex-direction: column; gap: 14px; }
.roi-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.roi-m {
  padding: 13px 15px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.roi-m.is-win {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(52, 209, 122, 0.12), rgba(62, 201, 255, 0.08));
  border-color: rgba(52, 209, 122, 0.32);
}
.roi-m small { display: block; font-size: 12px; color: var(--mute); }
.roi-m b { display: block; font-size: 23px; font-weight: 800; margin-top: 3px; letter-spacing: -0.03em; }
.roi-m b.is-sky { color: var(--sky); }
.roi-m b.is-muted { color: var(--mute); text-decoration: line-through; }
.roi-m b.is-ok { color: var(--ok); font-size: 27px; }

/* ---------------- SECTIONS & GRIDS ---------------- */
section { padding: 48px 0; scroll-margin-top: 74px; }
@media (min-width: 960px) { section { padding: 68px 0; } }
.sec-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
h2 {
  font-family: var(--font-display); font-size: clamp(23px, 3.1vw, 36px); line-height: 1.12;
  margin: 0 0 10px; font-weight: 700; letter-spacing: -0.032em; text-wrap: balance;
}
html[lang="he"] h2, html[lang="ar"] h2, html[lang="zh"] h2, html[lang="hi"] h2 {
  font-family: inherit; font-weight: 850; letter-spacing: -0.01em;
}
.sub { color: var(--mute); margin: 0 0 26px; max-width: 68ch; font-size: 15.5px; text-wrap: pretty; }

.grid-2, .grid-3, .grid-4, .grid-5, .bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 680px) {
  .grid-2, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
  .span-7 { grid-column: span 7; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-4 { grid-column: span 4; }
}

.card {
  position: relative; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 18px;
  transition-property: border-color, background-color, transform; transition-duration: .2s; transition-timing-function: var(--ease-out);
}
@media (min-width: 768px) { .card { border-radius: 26px; padding: 24px; } }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--line-bright); background: var(--card-hover); }
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.bento-art {
  width: 100%; height: 220px; object-fit: cover; border-radius: 14px; margin-bottom: 14px;
  border: 1px solid var(--line); display: block;
}

/* ---------------- PAIN -> SOLUTION & MID CTA ---------------- */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 22px; }
@media (min-width: 820px) { .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.ba-card { display: flex; flex-direction: column; gap: 10px; }
.ba-before { background: var(--card); border-color: rgba(255, 90, 95, 0.24); }
.ba-after { background: var(--card); border-color: rgba(52, 209, 122, 0.34); }
.ba-pill {
  align-self: flex-start; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 750;
  background: rgba(248, 113, 113, 0.14); border: 1px solid rgba(248, 113, 113, 0.34); color: #fca5a5;
}
.ba-pill.is-good {
  background: rgba(16, 185, 129, 0.16); border-color: rgba(16, 185, 129, 0.42); color: #6ee7b7;
}
.ba-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; color: var(--text-2); }
.ba-list li { display: flex; gap: 10px; align-items: flex-start; }
.ba-list li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f00d";
  color: #f87171; flex-shrink: 0; margin-top: 2px; font-size: 13px;
}
.ba-list.is-good li::before { content: "\f00c"; color: #34d399; }

.mid-cta-bar {
  margin-top: 22px; display: flex; flex-direction: column; gap: 14px; padding: 18px;
}
@media (min-width: 880px) {
  .mid-cta-bar { flex-direction: row; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 26px; }
}
.mid-cta-bar h3 { margin: 8px 0 4px; font-size: clamp(17.5px, 2vw, 22px); color: #fff; }
.mid-cta-bar p { margin: 0; color: var(--text-2); font-size: 14.5px; max-width: 62ch; }
.mid-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
@media (max-width: 600px) {
  .mid-cta-actions { width: 100%; }
  .mid-cta-actions .btn { flex: 1 1 100%; width: 100%; }
}

/* ---------------- TOUCH 3: LAUNCH QUEST STEPS & PARTNER ---------------- */
.quest-hud {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 10px 14px; border-radius: 14px;
  background: rgba(6, 10, 20, 0.72); border: 1px solid var(--line);
}
.quest-hud-lbl { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.quest-hud-lbl i { color: var(--amber); }
.quest-bar { display: flex; align-items: center; gap: 8px; flex: 1 1 200px; max-width: 320px; }
.quest-track { flex: 1; height: 7px; border-radius: 999px; background: rgba(148, 163, 184, 0.16); overflow: hidden; }
.quest-fill { height: 100%; width: 33.3%; border-radius: 999px; background: var(--grad); transition: width .24s ease; }
.quest-pct { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--sky); }

.steps-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 860px) { .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.step-card {
  display: flex; flex-direction: column; gap: 10px; cursor: pointer;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), border-color .18s ease, box-shadow .18s ease;
}
.step-card.is-done {
  border-color: rgba(16, 185, 129, 0.52);
  box-shadow: 0 18px 44px -20px rgba(16, 185, 129, 0.45);
}
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.step-num {
  width: 38px; height: 38px; border-radius: 11px; background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.42); color: #7dd3fc; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
}
.step-card.is-done .step-num {
  background: var(--grad-ok); color: #02201b; border-color: transparent;
}
.step-xp {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.34); color: #fcd34d;
}
.step-tech {
  margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(148, 163, 184, 0.18);
  font-size: 12.5px; color: var(--sky); font-weight: 600; display: flex; align-items: center; gap: 6px;
}

.partner-box {
  margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center;
}
.partner-box > * { min-width: 0; }
@media (min-width: 860px) { .partner-box { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; } }
.partner-pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .partner-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.mini-panel {
  min-width: 0; padding: 14px; border-radius: 12px; background: rgba(5, 8, 18, 0.72); border: 1px solid var(--line);
}
.mini-panel h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: #fff; }
.mini-panel p { font-size: 13.5px; color: var(--text-2); margin: 0; line-height: 1.45; }
.web-preview-img img {
  width: 100%; height: auto; border-radius: 12px; outline: 1px solid oklch(1 0 0 / 0.12); outline-offset: -1px; display: block;
}
@media (max-width: 640px) {
  .partner-box .row .btn { flex: 1 1 100%; width: 100%; }
}

/* ---------------- TOUCH 4: VIDEO ACADEMY + CLOSABLE LIGHTBOX ---------------- */
.video-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.video-frame {
  position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000;
  border: 1px solid var(--line); margin-bottom: 12px; aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.lessons-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 680px) { .lessons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .lessons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.vmodal {
  position: fixed; inset: 0; z-index: 120; background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
.vmodal[hidden] { display: none; }
.vmodal-box {
  width: min(980px, 100%); max-height: 94dvh; display: flex; flex-direction: column;
  background: #0a1020; border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85); overflow: hidden;
}
.vmodal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0;
  padding: 10px 14px; background: #0f172a; border-bottom: 1px solid var(--line);
}
.vmodal-title { font-weight: 800; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vmodal-close {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 11px; border: 1px solid rgba(248, 113, 113, 0.55);
  background: rgba(239, 68, 68, 0.16); color: #fecaca; font: 750 14px/1 inherit; cursor: pointer; flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) { .vmodal-close:hover { background: rgba(239, 68, 68, 0.3); color: #fff; } }
.vmodal-stage { flex: 1; min-height: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.vmodal-stage video { width: 100%; max-height: 70dvh; display: block; }
.vmodal-stage video:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.vmodal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 10px 14px; background: #0c1324; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute);
}

/* ---------------- PRICING, LIMITS, DOWNLOADS, CABINET, FAQ ---------------- */
.rates-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 22px; }
@media (min-width: 840px) { .rates-strip { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); } }
.rate-card { min-width: 0; padding: 18px 20px; border-radius: 16px; background: rgba(13, 19, 36, 0.86); border: 1px solid var(--line); }
.rate-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.rate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.rate-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; border-bottom: 1px dashed rgba(148, 163, 184, 0.16); padding-bottom: 6px; }
.rate-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rate-list b { color: #f8fafc; }
.free-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.free-list li::before { content: "0 ₽ · "; color: var(--ok); font-weight: 800; }

.plan { display: flex; flex-direction: column; }
.plan-aud { font-size: 12.5px; color: var(--mute); margin: 4px 0 10px; }
.price-wrap { margin: 4px 0 8px; }
.price { font-family: var(--font-display); font-size: 27px; font-weight: 800; margin: 0; letter-spacing: -0.025em; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price small { font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; color: var(--mute); }
.price-old { font-size: 13px; color: var(--mute); text-decoration: line-through; margin-inline-end: 6px; }
.save-pill {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 750;
  background: rgba(16, 185, 129, 0.16); border: 1px solid rgba(16, 185, 129, 0.42); color: #6ee7b7;
}
.bal-pill {
  margin: 8px 0 10px; padding: 8px 11px; border-radius: 10px; background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3); font-size: 12.5px; color: #e0f2fe; font-weight: 600;
}
.plan-why { font-size: 13px; color: var(--text-2); margin: 0 0 12px; line-height: 1.45; }
.plan-quotas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.q-box { padding: 7px 9px; border-radius: 9px; background: rgba(6, 9, 19, 0.72); border: 1px solid rgba(148, 163, 184, 0.14); }
.q-box small { display: block; font-size: 11px; color: var(--mute); }
.q-box b { display: block; font-size: 12.5px; color: #f8fafc; margin-top: 2px; line-height: 1.25; }
.plan-sec-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); font-weight: 750; margin: 4px 0 6px; }
.ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 7px; font-size: 13px; color: var(--text-2); }
.ul li { display: flex; gap: 8px; align-items: flex-start; }
.ul li::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f00c";
  color: var(--ok); font-size: 11.5px; margin-top: 3px; flex-shrink: 0;
}
.plan-lim-details {
  margin: auto 0 14px; padding: 8px 11px; border-radius: 11px;
  background: rgba(245, 158, 11, 0.07); border: 1px solid rgba(245, 158, 11, 0.22);
}
.plan-lim-details summary {
  cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; color: #fcd34d;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.plan-lim-details summary::-webkit-details-marker { display: none; }
.plan-lim-details summary::after { content: "▾"; font-size: 12px; }
.plan-lim-details[open] summary::after { content: "▴"; }
.plan-lim-details .ul-lim { margin-top: 8px; }
.ul-lim { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; font-size: 12.5px; color: #e2e8f0; }
.ul-lim li::before { content: "• "; color: #fbbf24; font-weight: 800; }
.plan .btn { margin-top: 0; }
.plan.best { border-color: var(--line-bright); box-shadow: 0 22px 60px -22px rgba(2, 151, 222, 0.55); }
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dl-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(148, 163, 184, 0.22); flex-shrink: 0; }

/* ---------------- TONAL OBSIDIAN DOWNLOAD SECTION ---------------- */
.dl-section {
  position: relative;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.dl-glass-panel,
.dl-glass-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  color: var(--text);
  min-width: 0;
}
.border-gradient { position: relative; }
.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(62, 201, 255, 0.24) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
}
.dl-glass-panel { padding: 20px; margin-bottom: 18px; }
@media (min-width: 768px) { .dl-glass-panel { padding: 26px; border-radius: 26px; } }
.dl-glass-card {
  display: flex; flex-direction: column; padding: 18px; border-radius: 22px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .dl-glass-card:hover {
    transform: translateY(-2px);
    background: var(--card-hover);
    border-color: var(--line-bright);
  }
}
.dl-glass-card h3 { margin: 12px 0 6px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.dl-glass-card p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.48; color: var(--text-2); }

.dl-rel-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 10px; }
.dl-ver-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap;
}
.dl-ver-pill i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; background: var(--sky); }
.dl-ver-pill.is-mob i { background: var(--ok); }
.dl-ver-pill.is-web i { background: var(--violet); }

.dl-actions { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.dl-quick-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 7px 14px; border-radius: 999px;
  background: var(--fill-1); border: 1px solid var(--line);
  color: var(--text); font: 600 13px/1.2 inherit; cursor: pointer;
  transition: transform 0.16s var(--spring), background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.dl-btn:active { transform: scale(0.96); }
.dl-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .dl-btn:hover { background: var(--fill-2); border-color: var(--line-bright); color: #fff; }
}
.dl-btn.full { width: 100%; }
.dl-btn-pri {
  background: #ffffff; border-color: transparent; color: #0a0a0c; font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .dl-btn-pri:hover { background: #e8eaef; color: #0a0a0c; }
}
.dl-btn-ok {
  background: var(--ok); border-color: transparent; color: #041d11; font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .dl-btn-ok:hover { background: #48de8b; color: #041d11; }
}
.dl-btn-sub {
  min-height: 32px; padding: 5px 11px; font-size: 12px; font-weight: 600;
  background: var(--surface); border-color: var(--line); color: var(--text-2);
}
.dl-media-pair { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 10px; align-items: center; }
.dl-media-pair img {
  width: 100%; height: auto; border-radius: 13px; border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.55); display: block; object-fit: cover;
  background: rgba(15, 23, 42, 0.85);
}
.dl-media-pair img:first-child { aspect-ratio: 16 / 10; }
.dl-media-pair img:last-child { aspect-ratio: 9 / 12; }

.cmp-block { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cmp-block > div { min-width: 0; }
.tbl-hint { display: none; font-size: 12px; color: var(--sky); margin: -4px 0 8px; font-weight: 600; }
@media (max-width: 720px) { .tbl-hint { display: block; } }
.tbl-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.cmp-tbl { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 13.5px; }
.cmp-tbl th, .cmp-tbl td { padding: 11px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-tbl th { color: var(--mute); font-weight: 700; font-size: 12.5px; background: rgba(6, 9, 19, 0.6); white-space: nowrap; }
.cmp-tbl tr:last-child td { border-bottom: 0; }
.cmp-tbl .hl { background: rgba(2, 151, 222, 0.09); color: #e0f2fe; font-weight: 600; }
.cmp-tbl .tot td { background: rgba(16, 185, 129, 0.1); font-weight: 750; color: #f8fafc; }
.cmp-ok { color: #34d399; font-weight: 700; }
.cmp-no { color: #94a3b8; }

.cmp-details {
  border-radius: 16px; border: 1px solid var(--line); background: rgba(13, 19, 36, 0.72); padding: 0; overflow: hidden;
}
.cmp-details summary {
  cursor: pointer; list-style: none; padding: 15px 18px; font-weight: 750; font-size: 15px; color: #e0f2fe;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cmp-details summary::-webkit-details-marker { display: none; }
.cmp-details summary::after { content: "▾"; color: var(--sky); font-size: 16px; transition: transform .15s ease; }
.cmp-details[open] summary::after { transform: rotate(180deg); }
.cmp-details-body { padding: 0 14px 14px; }

.packs-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
@media (min-width: 520px) { .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pack-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: start;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 9, 19, 0.78);
  color: var(--text); cursor: pointer; min-height: 54px; transition: border-color .15s ease, box-shadow .15s ease;
}
.pack-btn:hover, .pack-btn.picked { border-color: var(--sky); background: rgba(2, 151, 222, 0.18); box-shadow: 0 0 0 1px var(--sky); }
.pack-btn b { font-size: 14.5px; }
.pack-btn small { color: var(--mute); font-size: 12px; line-height: 1.35; }
.pack-btn .pack-lim { color: #93c5fd; font-size: 11.5px; margin-top: 2px; }
.cab-bal-side { text-align: end; }
.cab-quotas {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin-top: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(6, 9, 19, 0.68); border: 1px solid var(--line); font-size: 12.5px;
}
@media (min-width: 560px) { .cab-quotas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cab-quotas div small { display: block; color: var(--mute); font-size: 11px; }
.cab-quotas div b { color: #f8fafc; }

/* Forms & FAQ */
.input {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: #070b14; color: var(--text); font: 400 16px/1.3 inherit; margin-bottom: 12px;
}
.field-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--mute); margin-bottom: 4px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
code {
  display: inline-block; max-width: 100%; background: #131c31; padding: 2px 7px; border-radius: 7px;
  font-size: 12.5px; overflow-wrap: anywhere; word-break: normal; vertical-align: baseline; direction: ltr;
}
#cab-auth > .row { align-items: stretch; }
#cab-auth > .row .btn { flex: 1 1 0%; }
@media (max-width: 460px) {
  #cab-auth > .row .btn { flex: 1 1 100%; width: 100%; }
}
.link-btn {
  display: inline-flex; align-items: center; min-height: 36px;
  background: none; border: 0; color: var(--sky); cursor: pointer; padding: 4px 2px;
  font: 600 12.5px/1.3 inherit; text-decoration: underline; text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) { .link-btn:hover { color: #bae6fd; } }
.cab-rec-panel, .cab-chpass-panel {
  margin-top: 12px; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, .24); background: rgba(7, 11, 20, .72);
}
.rec-row { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
.rec-row .input { margin-bottom: 0; flex: 1 1 auto; min-width: 0; }
.rec-row .btn { flex: 0 0 auto; white-space: nowrap; }
.rec-sep { height: 1px; background: var(--line); margin: 10px 0; }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .rec-grid { grid-template-columns: 1fr; } .rec-row { flex-wrap: wrap; } }
.input.sm { min-height: 34px; padding: 6px 10px; font-size: 13px; border-radius: 9px; margin-bottom: 0; }

.cab-top-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cab-top-actions .btn.sm { min-height: 30px; padding: 5px 10px; font-size: 12px; border-radius: 8px; flex: 0 0 auto; }

/* Channels: compact buttons + clear status pills */
.ch-add-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ch-add-row .btn, .ch-tg-row .btn {
  flex: 0 0 auto; min-height: 32px; padding: 6px 12px; font-size: 12.5px;
  border-radius: 9px; width: auto; white-space: nowrap;
}
.ch-tg-row { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
.ch-tg-row .input { flex: 1 1 auto; min-width: 0; min-height: 34px; padding: 6px 10px; font-size: 13px; border-radius: 9px; margin: 0; }
.ch-card {
  margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #070b14;
}
.ch-card.is-deleted {
  border-color: rgba(239, 68, 68, .35); background: rgba(127, 29, 29, .14);
}
.ch-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.ch-meta { min-width: 0; flex: 1 1 210px; }
.ch-title-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ch-sub { font-size: 11.5px; color: var(--mute); margin-top: 3px; line-height: 1.35; }
.ch-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .01em; border: 1px solid transparent; white-space: nowrap;
}
.ch-status.is-on { color: #4ade80; background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .34); }
.ch-status.is-off { color: #cbd5e1; background: rgba(148, 163, 184, .14); border-color: rgba(148, 163, 184, .32); }
.ch-status.is-wait { color: #fbbf24; background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .34); }
.ch-status.is-del { color: #f87171; background: rgba(239, 68, 68, .16); border-color: rgba(239, 68, 68, .36); }
.ch-actions {
  display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 8px;
}
.btn.ch-btn {
  min-height: 28px; padding: 4px 10px; font-size: 11.5px; font-weight: 650;
  border-radius: 8px; flex: 0 0 auto; width: auto; white-space: nowrap;
}
.qr-box img { width: 200px; height: 200px; border-radius: 12px; background: #fff; padding: 8px; margin-top: 10px; }
.msg { font-size: 13.5px; min-height: 20px; margin-top: 8px; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--bad); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: 15px; border: 1px solid var(--line); background: var(--card); padding: 0; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 750; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sky); font-size: 20px; font-weight: 600; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 16px; margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ---------------- FINAL CTA BANNER ---------------- */
.final-cta-sec { padding-top: 16px; padding-bottom: 56px; overflow: hidden; }
.final-cta-card {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 290px;
  display: flex; align-items: center; padding: 28px 22px;
  background: #060a14;
}
@media (min-width: 768px) { .final-cta-card { padding: 46px 48px; min-height: 320px; } }
.final-cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right;
  z-index: 0; pointer-events: none;
}
[dir="rtl"] .final-cta-bg { scale: -1 1; }
.final-cta-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 8, 18, 0.94) 0%, rgba(5, 8, 18, 0.84) 52%, rgba(5, 8, 18, 0.25) 100%);
}
[dir="rtl"] .final-cta-overlay {
  background: linear-gradient(270deg, rgba(5, 8, 18, 0.94) 0%, rgba(5, 8, 18, 0.84) 52%, rgba(5, 8, 18, 0.25) 100%);
}
.final-cta-content { position: relative; z-index: 2; max-width: 580px; }
.final-cta-content h2 { margin: 12px 0 10px; font-size: clamp(22px, 3vw, 34px); }
.final-cta-content p { margin: 0 0 20px; color: var(--text-2); font-size: 15.5px; }

/* Mobile Sticky Bottom Bar */
.mob-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  background: rgba(5, 8, 18, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mob-sticky-tx { font-size: 13px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-sticky .btn { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 769px) { .mob-sticky { display: none; } }

footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--mute); font-size: 13.5px; }

/* ---------------- FEATURE MOSAIC (#mosaic) ---------------- */
.mosaic-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.mosaic-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .mosaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .mosaic-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .mosaic-card.span-7 { grid-column: span 7; }
  .mosaic-card.span-5 { grid-column: span 5; }
  .mosaic-card.span-4 { grid-column: span 4; }
  .mosaic-card.span-12 {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}
.mosaic-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 0; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); padding: 0;
  transition: transform 0.25s var(--spring), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease;
}
.mosaic-card::after { display: none; }
.mosaic-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-bottom: 1px solid var(--line); background: #090d16; flex-shrink: 0;
}
.mosaic-media img {
  position: static; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1;
  transition: transform 0.38s var(--spring);
}
@media (min-width: 1024px) {
  .mosaic-card.span-12 .mosaic-media {
    aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-inline-end: 1px solid var(--line);
  }
  .mosaic-card.span-12 .mosaic-body { justify-content: center; padding: 26px 28px; }
}
.mosaic-card:hover {
  transform: translateY(-3px); border-color: var(--line-bright);
  background: var(--card-hover); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
}
.mosaic-card:hover .mosaic-media img { transform: scale(1.035); }
.mosaic-body {
  position: relative; z-index: 2; padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px; flex: 1; max-width: none;
}
.mosaic-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mosaic-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.mosaic-card h3 { margin: 0; font-size: clamp(17px, 1.65vw, 20.5px); line-height: 1.28; color: var(--text); }
.mosaic-card p { margin: 0; font-size: 13.5px; line-height: 1.52; color: var(--text-2); }
.mosaic-more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--sky); }
.mosaic-card:hover .mosaic-more { color: var(--ok); }

/* ---------------- BLOG & ARTICLE PAGES ---------------- */
.blog-hero { padding: 106px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.09), transparent 52%); }
.blog-hero h1 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.12; margin: 10px 0 12px; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.blog-fchip {
  padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: rgba(15, 23, 42, 0.75);
  color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer;
}
.blog-fchip.on, .blog-fchip:hover { background: rgba(56, 189, 248, 0.16); border-color: rgba(56, 189, 248, 0.5); color: #fff; }
.blog-featured {
  display: grid; grid-template-columns: 1fr; gap: 22px; padding: 20px; border-radius: 22px; margin: 28px 0 24px;
  text-decoration: none; color: inherit; background: rgba(11, 17, 34, 0.9);
}
@media (min-width: 900px) { .blog-featured { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding: 24px; } }
.blog-featured img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block; aspect-ratio: 16/9; object-fit: cover; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding-bottom: 54px; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card); text-decoration: none; color: inherit; transition: transform 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.45); }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid var(--line); }
.blog-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-body h3 { margin: 0; font-size: 17px; line-height: 1.3; color: #f8fafc; }
.blog-card-body p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); flex: 1; }
.blog-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--mute); padding-top: 8px; border-top: 1px dashed rgba(148, 163, 184, 0.16); }

.article-wrap { max-width: 900px; margin: 0 auto; padding: 100px 20px 64px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--mute); margin-bottom: 14px; }
.crumbs a { color: var(--sky); text-decoration: none; }
.article-wrap h1 { font-size: clamp(25px, 3.6vw, 40px); line-height: 1.15; margin: 10px 0 12px; }
.article-lead { font-size: 17px; line-height: 1.6; color: #cbd5e1; margin: 0 0 22px; }
.article-cover { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); margin-bottom: 26px; display: block; }
.article-prose { display: grid; gap: 18px; font-size: 15.5px; line-height: 1.72; color: #e2e8f0; }
.article-prose > * { min-width: 0; }
.article-prose h2 { margin: 12px 0 2px; font-size: clamp(20px, 2.3vw, 26px); color: #f8fafc; }
.article-prose h3 { margin: 6px 0 0; font-size: 18px; color: #bae6fd; }
.article-prose p { margin: 0; }
.article-prose ul { margin: 0; padding-left: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.article-prose table { width: 100%; border-collapse: collapse; font-size: 14px; background: rgba(15, 23, 42, 0.55); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.article-prose th, .article-prose td { padding: 10px 14px; text-align: start; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.article-prose th { color: #bae6fd; font-weight: 700; background: rgba(56, 189, 248, 0.08); }
@media (max-width: 680px) {
  .article-prose table {
    display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    font-size: 13px; border-radius: 12px;
  }
  .article-prose th, .article-prose td { padding: 9px 11px; min-width: 120px; }
}
.blog-lang-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.blog-lang-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.32); color: #bae6fd; width: fit-content; }
.article-box { background: rgba(15, 23, 42, 0.72); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 16px; padding: 16px 20px; }
.article-box h2, .article-box h3 { margin: 0 0 8px; font-size: 18px; color: #bae6fd; }
.article-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.related-sec { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-sec h2, .related-sec > h3 { margin: 0 0 16px; font-size: 20px; color: #f8fafc; }
@media (prefers-reduced-motion: reduce) {
  .mosaic-card, .mosaic-card img, .blog-card, .fx-card, .roi-meter-fill, .quest-fill, .drawer, .drawer-backdrop, .drawer-link, .mission-glider, .alice-orb::before {
    transition: none !important; animation: none !important; transform: none !important;
  }
  .sim-dot { animation: none !important; }
}

/* ---------------- FOOTER PLATFORMS STRIP, LIGHTBOX & MOBILE HARDENING ---------------- */
.hero-shot img,
.bento-art,
.dl-media-pair img,
.web-preview-img img {
  cursor: zoom-in;
  transition: transform .24s var(--spring), filter .18s ease, opacity .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hero-shot img:hover,
  .bento-art:hover,
  .dl-media-pair img:hover {
    filter: brightness(1.06);
  }
}
.img-lb-box { width: min(1040px, 100%); }
.img-lb-stage {
  background: #08090d;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  max-height: 76vh;
}
.img-lb-stage img {
  max-width: 100%; max-height: 72vh; width: auto; height: auto;
  border-radius: 12px; display: block; object-fit: contain;
}
.foot-platforms {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line);
}
.foot-plat-lbl { font-size: 12px; color: var(--mute); font-weight: 600; }
.foot-plat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-plat-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  font-size: 12px; font-weight: 600; text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.foot-plat-pill i { font-size: 13.5px; color: var(--text); }
.foot-plat-pill:hover { border-color: var(--line-bright); color: #fff; background: var(--fill-1); }

.dl-logo i { font-size: 20px; }
.dl-btn i { font-size: 14px; flex-shrink: 0; }
.risk-note {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12.5px; color: var(--mute);
}
.risk-note span { display: inline-flex; align-items: center; gap: 6px; }
.risk-note i { color: var(--ok); }

@media (max-width: 768px) {
  .input, .input.sm { font-size: 16px; min-height: 44px; }
  .hero-stage { padding: 12px; }
  .sim-msg { max-width: 100%; font-size: 12.5px; }
  .mosaic-card { min-height: 0; padding: 0; }
  footer .row { gap: 8px; }
}

/* ---------------- BLOG EDITORIAL CASE STUDY, GALLERY & LIGHTBOX ---------------- */
.article-lang-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 18px;
}
.article-lang-strip .lang-chip {
  min-height: 30px; padding: 4px 10px; font-size: 11.5px;
}
.article-prose .table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.article-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 640px) { .article-prose table { display: table; } }

.case-kpis {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 6px;
}
@media (min-width: 680px) { .case-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-kpi {
  padding: 14px 16px; border-radius: 16px;
  background: rgba(15, 23, 42, 0.78); border: 1px solid rgba(56, 189, 248, 0.24);
  display: flex; flex-direction: column; gap: 4px;
}
.case-kpi b {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1;
  background: linear-gradient(120deg, #38bdf8, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case-kpi span { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }

.case-figure {
  margin: 6px 0; padding: 10px; border-radius: 20px;
  background: rgba(11, 17, 34, 0.85); border: 1px solid var(--line);
}
.case-figure img {
  width: 100%; height: auto; border-radius: 14px; display: block; cursor: zoom-in;
  transition: transform .24s var(--spring), filter .18s ease;
}
.case-figure img:hover { filter: brightness(1.05); }
.case-figure figcaption {
  padding: 10px 6px 2px; font-size: 13px; color: var(--mute); line-height: 1.45;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.case-figure figcaption .zoom-hint {
  color: var(--sky); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}

.case-quote {
  margin: 4px 0; padding: 16px 20px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(56, 189, 248, 0.10));
  border: 1px solid rgba(244, 63, 94, 0.34);
  border-inline-start: 4px solid #fb7185;
}
.case-quote .q-meta {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  color: #fda4af; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px;
}
.case-quote p { margin: 0; font-size: 15px; line-height: 1.62; color: #f8fafc; font-style: italic; }

.case-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px;
}
@media (min-width: 720px) { .case-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-shot {
  margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: rgba(11, 17, 34, 0.85); display: flex; flex-direction: column;
  transition: transform .22s var(--spring), border-color .18s ease;
}
.case-shot:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.5); }
.case-shot img {
  width: 100%; height: auto; aspect-ratio: 3/5; object-fit: cover; display: block; cursor: zoom-in;
}
.case-shot figcaption {
  padding: 9px 10px 10px; font-size: 12px; line-height: 1.38; color: var(--text-2);
  border-top: 1px solid var(--line);
}

.blog-lb {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 18px; background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.blog-lb[hidden] { display: none; }
.blog-lb-panel {
  position: relative; width: min(1080px, 100%); max-height: 92vh;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(12, 16, 28, 0.96); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px; padding: 14px; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
}
.blog-lb-img {
  max-width: 100%; max-height: 76vh; width: auto; height: auto; border-radius: 14px; object-fit: contain;
}
.blog-lb-cap { font-size: 13.5px; color: var(--text-2); text-align: center; padding: 0 36px; }
.blog-lb-close, .blog-lb-nav {
  position: absolute; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(15, 23, 42, 0.88);
  color: #fff; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.blog-lb-close { top: 12px; inset-inline-end: 12px; }
.blog-lb-prev { top: 50%; inset-inline-start: 12px; transform: translateY(-50%); }
.blog-lb-next { top: 50%; inset-inline-end: 12px; transform: translateY(-50%); }
.blog-lb-close:hover, .blog-lb-nav:hover { background: rgba(56, 189, 248, 0.25); border-color: rgba(56, 189, 248, 0.55); }
.article-cover[data-zoomable] { cursor: zoom-in; }


