/* ==========================================================================
   BOSA Omni AI — shared components
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 46px;
  --btn-px: 22px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding-inline: var(--btn-px);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  isolation: isolate;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon-arrow-right { transform: scaleX(-1) translateX(3px); }
.btn .icon-arrow-right { transition: transform var(--dur) var(--ease-out); }
.btn--sm { --btn-h: 38px; --btn-px: 16px; font-size: 14px; }
.btn--lg { --btn-h: 56px; --btn-px: 28px; font-size: 16px; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  color: #1c1303;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--amber));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -1px 0 rgba(0, 0, 0, 0.2) inset, 0 12px 32px -12px rgba(240, 169, 30, 0.7);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 40px -10px rgba(240, 169, 30, 0.85); }

.btn--glass {
  background: rgba(207, 226, 255, 0.06);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(207, 226, 255, 0.12); border-color: rgba(207, 226, 255, 0.28); }

.btn--ghost { color: var(--text-2); padding-inline: 12px; }
.btn--ghost:hover { color: var(--text); background: rgba(207, 226, 255, 0.06); }

.btn--light { color: var(--bg-0); background: #fff; }
.btn--light:hover { background: var(--ice-2); }

/* Signature "Try it now": gradient ring + white orb with sparkle */
.btn--try {
  --btn-px: 8px;
  padding-inline-start: calc(var(--btn-h) * 0.45);
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(40, 26, 18, 0.92), rgba(24, 16, 30, 0.92)) padding-box,
    linear-gradient(110deg, var(--gold-2), rgba(240, 169, 30, 0.35) 35%, rgba(61, 139, 255, 0.5) 70%, var(--ice)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 40px -12px rgba(240, 169, 30, 0.55), 0 0 0 0 rgba(240, 169, 30, 0);
  overflow: hidden;
}
.btn--try .btn__label { position: relative; z-index: 1; font-weight: 500; }
.btn--try .btn__orb {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: calc(var(--btn-h) - 12px);
  height: calc(var(--btn-h) - 12px);
  border-radius: 50%;
  color: #1c1303;
  background: radial-gradient(circle at 35% 30%, #fff, #fff4dc 55%, var(--gold-3));
  box-shadow: 0 0 18px rgba(255, 227, 163, 0.55);
  transition: transform var(--dur-slow) var(--ease-out);
}
.btn--try .btn__orb .icon { width: 55%; height: 55%; fill: currentColor; stroke-width: 1; }
.btn--try:hover { box-shadow: 0 14px 50px -10px rgba(240, 169, 30, 0.75), 0 0 0 4px rgba(240, 169, 30, 0.08); }
.btn--try:hover .btn__orb { transform: rotate(90deg) scale(1.06); }
.btn__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 227, 163, 0.28) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: omni-shine 5.5s var(--ease-in-out) infinite;
  pointer-events: none;
}
@keyframes omni-shine {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--gold-2); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }

/* ---------- Pills, tags, badges ---------- */
.pill, .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(207, 226, 255, 0.05);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.pill .icon, .tag .icon { width: 15px; height: 15px; }
.pill--gold { color: var(--gold-2); border-color: rgba(255, 201, 90, 0.3); background: rgba(240, 169, 30, 0.08); }
.pill--blue { color: var(--ice); border-color: rgba(61, 139, 255, 0.35); background: rgba(31, 111, 209, 0.12); }
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px var(--gold-2);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1303;
  background: var(--grad-gold);
}
.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  border-block-end-width: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}

/* ---------- Cards & surfaces ---------- */
.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius-l);
  background:
    linear-gradient(180deg, rgba(207, 226, 255, 0.055), rgba(207, 226, 255, 0.015)),
    var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  /* top highlight */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card--solid { background: var(--bg-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.card--glow { box-shadow: var(--shadow-1), 0 0 0 1px rgba(255, 201, 90, 0.18), 0 30px 80px -30px rgba(240, 169, 30, 0.35); }
.card--hover { transition: transform var(--dur-slow) var(--ease-out), border-color var(--dur) var(--ease-out), background-color var(--dur); }
.card--hover:hover { border-color: rgba(207, 226, 255, 0.26); transform: translateY(-4px); }
.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: 20px;
  border-radius: 14px;
  color: var(--gold-2);
  background: linear-gradient(180deg, rgba(240, 169, 30, 0.16), rgba(240, 169, 30, 0.04));
  border: 1px solid rgba(255, 201, 90, 0.22);
}
.card__icon--blue { color: var(--ice); background: linear-gradient(180deg, rgba(61, 139, 255, 0.2), rgba(61, 139, 255, 0.04)); border-color: rgba(61, 139, 255, 0.3); }
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: 20px; line-height: 1.25; font-weight: 450; letter-spacing: -0.015em; color: var(--text); margin-block-end: 8px; }
.card__text { color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* Spotlight that follows the pointer (set by main.js via --mx/--my) */
.has-spotlight { --mx: 50%; --my: 0%; }
.has-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 201, 90, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.has-spotlight:hover::after { opacity: 1; }

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: clamp(12px, 1.6vw, 20px);
}
.bento > * { grid-column: span 2; }
.bento > .span-3 { grid-column: span 3; }
.bento > .span-4 { grid-column: span 4; }
.bento > .span-6 { grid-column: span 6; }
.bento > .row-2 { grid-row: span 2; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento > .span-3, .bento > .span-4 { grid-column: span 1; }
  .bento > .span-6, .bento > .span-4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > *, .bento > .span-3, .bento > .span-4, .bento > .span-6 { grid-column: span 1; }
  .bento > .row-2 { grid-row: span 1; }
}

/* UI mock window */
.window {
  position: relative;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(15, 29, 51, 0.92), rgba(6, 12, 24, 0.96));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 14px;
  border-block-end: 1px solid var(--line);
  background: rgba(207, 226, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.window__dots { display: flex; gap: 6px; margin-inline-end: 8px; }
.window__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(207, 226, 255, 0.14); }
.window__dots span:first-child { background: rgba(255, 201, 90, 0.55); }
.window__title { flex: 1; text-align: center; margin-inline-end: 54px; }
.window__body { padding: 18px; }

/* ---------- Section head ---------- */
.section-head { max-width: 800px; display: flex; flex-direction: column; gap: 18px; margin-block-end: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Stats (Vesper-style) ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(var(--stats, 4), minmax(0, 1fr));
  border-block-start: 1px solid var(--line);
}
.stat {
  position: relative;
  padding: clamp(22px, 3vw, 40px) clamp(16px, 2.6vw, 44px);
  border-inline-end: 1px solid var(--line);
}
.stat:last-child { border-inline-end: 0; }
.stat__inner { padding-inline-start: 16px; border-inline-start: 1px solid var(--line-strong); }
.stat__value { font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat__label { margin-block-start: 10px; font-size: 14px; color: var(--text-3); }
@media (max-width: 820px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-inline-end: 0; }
  .stat:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
}

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.feature-list li > .icon { width: 20px; height: 20px; margin-block-start: 1px; color: var(--gold-2); }
.feature-list--blue li > .icon { color: var(--blue-2); }

/* ---------- FAQ (details/summary) ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-m);
  border: 1px solid var(--glass-border);
  background: rgba(207, 226, 255, 0.03);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur);
}
.faq details[open] { background: rgba(207, 226, 255, 0.06); border-color: rgba(207, 226, 255, 0.22); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  color: var(--text);
  font-size: 17px;
  font-weight: 450;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--text-3); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--gold-2); }
.faq .faq__answer { padding: 0 24px 22px; color: var(--text-2); max-width: 72ch; }

/* ---------- Marquee ---------- */
.marquee { --gap: 48px; position: relative; 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); }
.marquee__track { display: flex; gap: var(--gap); width: max-content; }
.marquee__track > * { flex-shrink: 0; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; color: var(--text-2); font-weight: 450; }
.field__hint { font-size: 13px; color: var(--text-3); }
.input, .textarea, .select {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: rgba(3, 6, 13, 0.55);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur);
}
.textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8ca5' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 14px center;
  padding-inline-end: 44px;
}
[dir="rtl"] .select { background-position: left 14px center; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .textarea:hover, .select:hover { border-color: rgba(207, 226, 255, 0.3); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: none;
  border-color: rgba(255, 201, 90, 0.6);
  box-shadow: 0 0 0 4px rgba(240, 169, 30, 0.14);
  background: rgba(3, 6, 13, 0.75);
}
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-block-start: 2px; accent-color: var(--gold); flex-shrink: 0; }
.form-note { font-size: 13px; color: var(--text-3); }
.form-status { padding: 14px 16px; border-radius: var(--radius-s); font-size: 15px; }
.form-status--ok { color: #d9ffe9; background: rgba(40, 180, 110, 0.14); border: 1px solid rgba(80, 220, 150, 0.3); }
.form-status--error { color: #ffe1dc; background: rgba(220, 70, 50, 0.14); border: 1px solid rgba(255, 120, 100, 0.3); }
.hp-field { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Site header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
  transition: transform 520ms var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-120%); }
.site-header__bar {
  pointer-events: auto;
  max-width: calc(var(--container-wide) - 80px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  padding-inline: 18px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur), -webkit-backdrop-filter var(--dur), backdrop-filter var(--dur);
}
.site-header.is-scrolled .site-header__bar,
.site-header.is-open .site-header__bar {
  background: rgba(6, 12, 24, 0.66);
  border-color: var(--glass-border);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.site-header__brand { display: flex; align-items: center; flex-shrink: 0; padding-block: 6px; border-radius: 10px; }
/* Original lockup (718×150): fixed height, width follows the source ratio (≥4× downscale → crisp at 2–3× DPR).
   36px only on wide screens: between 1041–1280px the full nav + actions need every pixel. */
.logo { height: 34px; width: auto; }
@media (min-width: 1281px) { .logo { height: 36px; } }
.logo--upload { max-inline-size: 210px; object-fit: contain; }
.logo--text { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.logo__a { color: var(--text); }
.logo__b { color: var(--gold-2); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  color: var(--text-2);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.site-nav__link:hover { color: var(--text); background: rgba(207, 226, 255, 0.06); }
.site-nav__link[aria-current="page"] { color: var(--text); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 40%;
  inset-block-end: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-2);
  box-shadow: 0 0 8px var(--gold-2);
}
.site-header__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(207, 226, 255, 0.05);
}
.menu-toggle__line {
  position: absolute;
  inset-inline-start: 13px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.menu-toggle__line:first-child { top: 17px; }
.menu-toggle__line:last-child { top: 25px; }
.is-open .menu-toggle__line:first-child { top: 21px; transform: rotate(45deg); }
.is-open .menu-toggle__line:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .site-header__signin { display: none; }
}
@media (max-width: 1040px) {
  .site-nav, .site-header__signup, .site-header .lang-switch { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (max-width: 520px) {
  .site-header__try .btn__label { display: none; }
  .site-header__try { padding-inline-start: 6px; gap: 0; }
  .logo { height: 28px; }
  .logo--upload { max-inline-size: 150px; }
}

/* Mobile menu */
.mobile-menu {
  pointer-events: auto;
  max-width: calc(var(--container-wide) - 80px);
  margin: 10px auto 0;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  padding: 12px;
  border-radius: var(--radius-l);
  border: 1px solid var(--glass-border);
  background: rgba(6, 12, 24, 0.9);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-2);
}
.mobile-menu__list { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu__link { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius-m); }
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { background: rgba(207, 226, 255, 0.06); }
.mobile-menu__label { font-size: 22px; font-weight: 300; letter-spacing: -0.02em; color: var(--text); }
.mobile-menu__desc { font-size: 13px; color: var(--text-3); }
.mobile-menu__actions { display: grid; gap: 12px; padding: 16px 8px 8px; border-block-start: 1px solid var(--line); margin-block-start: 8px; }
.mobile-menu__try { width: 100%; justify-content: space-between; }
.mobile-menu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu__langs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mobile-menu__langs a { display: inline-block; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.mobile-menu__langs a[aria-current="true"] { color: var(--gold-2); border-color: rgba(255, 201, 90, 0.35); }

/* Language switch */
.lang-switch { position: relative; }
.lang-switch__btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding-inline: 12px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.lang-switch__btn::-webkit-details-marker { display: none; }
.lang-switch__btn:hover, .lang-switch[open] .lang-switch__btn { background: rgba(207, 226, 255, 0.07); color: var(--text); }
.lang-switch__btn .icon { width: 17px; height: 17px; }
.lang-switch__chev { width: 14px !important; height: 14px !important; transition: transform var(--dur) var(--ease-out); }
.lang-switch[open] .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__code { font-family: var(--font-mono); letter-spacing: 0.04em; }
.lang-switch__menu {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: var(--radius-m);
  border: 1px solid var(--glass-border);
  background: rgba(8, 15, 28, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-2);
  animation: omni-pop 240ms var(--ease-out);
}
@keyframes omni-pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.lang-switch__item { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.lang-switch__item:hover { background: rgba(207, 226, 255, 0.07); color: var(--text); }
.lang-switch__item[aria-current="true"] { color: var(--gold-2); }
.lang-switch__short { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

/* ---------- CTA band ---------- */
.cta-band__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: radial-gradient(900px 500px at 80% 0%, rgba(31, 111, 209, 0.28), transparent 60%), radial-gradient(700px 400px at 10% 100%, rgba(240, 169, 30, 0.14), transparent 60%), var(--bg-1);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 96px);
  min-height: 460px;
  display: flex;
  align-items: center;
}
.cta-band__fx { position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.cta-band__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 6, 13, 0.85) 0%, rgba(3, 6, 13, 0.45) 55%, rgba(3, 6, 13, 0.1) 100%);
  pointer-events: none;
}
[dir="rtl"] .cta-band__panel::after { background: linear-gradient(270deg, rgba(3, 6, 13, 0.85) 0%, rgba(3, 6, 13, 0.45) 55%, rgba(3, 6, 13, 0.1) 100%); }
.cta-band__content { position: relative; max-width: 700px; display: flex; flex-direction: column; gap: 22px; }
.cta-band__actions { margin-block-start: 10px; }
.cta-band__note { font-size: 14px; }

/* ---------- FX containers (WebGL) ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fx > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-neural--fixed { position: fixed; inset: 0; z-index: -1; }
.fx-poster {
  position: absolute;
  inset: 0;
  transition: opacity 1.2s var(--ease-out);
  background:
    radial-gradient(closest-side at 42% 50%, rgba(61, 139, 255, 0.28), transparent 70%),
    radial-gradient(closest-side at 58% 50%, rgba(255, 201, 90, 0.22), transparent 70%);
  filter: blur(20px);
}
.fx-glass .fx-poster { background: radial-gradient(120% 90% at 70% 30%, rgba(207, 226, 255, 0.16), transparent 60%), linear-gradient(135deg, var(--bg-1), var(--bg-3)); filter: none; }
.fx-glass--light .fx-poster { background: linear-gradient(135deg, #eaf2ff, #cfe2ff 60%, #a9c8f3); }
.fx-generative .fx-poster { background: linear-gradient(160deg, #1b2440, #3a2a18); filter: none; }
.fx.is-live .fx-poster { opacity: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px) 0;
  border-block-start: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 6, 13, 0.6), var(--bg-0) 30%);
  isolation: isolate;
}
.site-footer__glow {
  position: absolute;
  inset-inline: 10%;
  inset-block-start: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), var(--blue-2), transparent);
  opacity: 0.6;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.site-footer__blurb { max-width: 36ch; font-size: 15px; color: var(--text-3); }
.site-footer__title { font-family: var(--font-mono); font-size: 12px; font-weight: 450; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-block-end: 18px; line-height: 1.2; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer__col a { font-size: 15px; color: var(--text-2); transition: color var(--dur-fast); }
.site-footer__col a:hover { color: var(--gold-2); }
.site-footer__col a[aria-current="true"] { color: var(--text); }
.site-footer__social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; }
.site-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text-2); transition: color var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast); }
.site-footer__social a:hover { color: var(--gold-2); border-color: rgba(255, 201, 90, 0.4); background: rgba(240, 169, 30, 0.06); }
.site-footer__social .icon { width: 17px; height: 17px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: clamp(56px, 7vw, 88px);
  padding-block: 24px;
  border-block-start: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}
.site-footer__giant {
  display: flex;
  justify-content: space-between;
  gap: 2vw;
  padding-inline: var(--gutter);
  margin-block-end: -0.22em;
  font-size: clamp(120px, 27vw, 460px);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.06em;
  user-select: none;
  direction: ltr;
}
.site-footer__giant span {
  background: linear-gradient(180deg, rgba(207, 226, 255, 0.34), rgba(207, 226, 255, 0.02) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-footer__giant span:nth-child(2) { background-image: linear-gradient(180deg, rgba(255, 201, 90, 0.42), rgba(255, 201, 90, 0.02) 78%); }
@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Consent ---------- */
.consent {
  position: fixed;
  inset-block-end: 16px;
  inset-inline: 16px;
  z-index: 200;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--glass-border);
  background: rgba(8, 15, 28, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-2);
}
.consent__text { flex: 1 1 260px; font-size: 14px; }
.consent__actions { display: flex; gap: 8px; }

/* ---------- Generic page hero helpers ---------- */
.page-hero { position: relative; padding-block: calc(var(--header-h) + clamp(64px, 10vw, 140px)) clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero__inner { position: relative; z-index: 1; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; z-index: -1; }
.glow-orb--gold { background: radial-gradient(circle, rgba(240, 169, 30, 0.55), transparent 65%); }
.glow-orb--blue { background: radial-gradient(circle, rgba(31, 111, 209, 0.6), transparent 65%); }
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.bracket-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.bracket-list > * + *::before { content: "•"; margin-inline-end: 18px; color: var(--text-3); }

/* ---------- Get the apps (IDE plugin · desktop · mobile) ---------- */
.get-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.get-apps__card { display: flex; flex-direction: column; }
.get-apps__card .card__text { flex: 1; }
.get-apps__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.get-apps__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--glass-border);
  background: rgba(207, 226, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.get-apps__btn .icon { width: 18px; height: 18px; color: var(--gold-2); }
a.get-apps__btn:hover { background: rgba(240, 169, 30, 0.1); border-color: rgba(255, 201, 90, 0.4); transform: translateY(-1px); }
.get-apps__btn.is-soon { color: var(--text-2); border-style: dashed; cursor: default; }
.get-apps__soon { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 900px) { .get-apps { grid-template-columns: minmax(0, 1fr); } }
.site-footer__company { color: var(--text-3); }
