/* ═══════════════════════════════════════════════════════════
   HALLA — design system v2
   Linguagem: blocos de cor alternados, tipografia display grande,
   botões pill, painéis muito arredondados, glow suave.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* palette */
  --ink:        #0b0a1a;
  --ink-2:      #14122c;
  --paper:      #f6f4ff;
  --paper-2:    #ece8ff;

  --violet:     #7c5cff;
  --violet-2:   #a78bfa;
  --violet-3:   #5b3df5;
  --cyan:       #22d3ee;
  --coral:      #ff7a59;
  --lime:       #a3e635;
  --gold:       #fbbf24;

  --grad:       linear-gradient(115deg, #7c5cff 0%, #6d5bf7 42%, #22d3ee 100%);
  --grad-warm:  linear-gradient(115deg, #7c5cff 0%, #b06bff 55%, #ff7a59 100%);

  /* semantic (dark surfaces) */
  --text:       #f3f1ff;
  --text-2:     #c6c1e8;
  --muted:      #918bbd;
  --line:       rgba(255, 255, 255, .11);
  --line-2:     rgba(255, 255, 255, .2);
  --surf:       rgba(255, 255, 255, .055);
  --surf-2:     rgba(255, 255, 255, .1);

  --sh-sm:  0 2px 12px rgba(10, 6, 40, .22);
  --sh-md:  0 20px 50px rgba(10, 6, 40, .3);
  --sh-lg:  0 50px 110px rgba(10, 6, 40, .45);
  --glow:   0 26px 70px rgba(124, 92, 255, .35);

  --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 34px; --r-2xl: 44px;
  --pill: 999px;

  --f-disp: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ─────────── Reset ─────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--f-mono); font-size: .86em; }
ul { list-style: none; }

/* ícones: SVG sem tamanho intrínseco cairia no padrão 300x150 */
.ic { width: 20px; height: 20px; flex: none; }
.ic--sm { width: 16px; height: 16px; }
.ic--xs { width: 12px; height: 12px; }

/* itens de grid/flex precisam poder encolher */
.split > *, .priv > *, .dl > *, .head > *, .addons > *, .foot__grid > *,
.app__body > *, .chat > *, .msg > div, .perm__r > *, .conn__row > *,
.stream > *, .shots__rail > * { min-width: 0; max-width: 100%; }

.container { width: min(1180px, 100% - 56px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 56px); margin-inline: auto; }

/* ─────────── Scroll progress ─────────── */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: var(--grad); box-shadow: 0 0 16px rgba(124, 92, 255, .8);
}

/* ─────────── Nav ─────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .38s var(--ease), border-color .38s, backdrop-filter .38s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 10, 26, .72);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(1180px, 100% - 56px); margin-inline: auto;
  height: 100%; display: flex; align-items: center; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 13px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(124, 92, 255, .32), rgba(34, 211, 238, .22));
  border: 1px solid var(--line-2); box-shadow: 0 8px 22px rgba(124, 92, 255, .3);
}
.brand__mark img { width: 27px; height: 27px; object-fit: contain; }
.brand__name {
  font-family: var(--f-disp); font-weight: 800;
  font-size: 22px; letter-spacing: -.035em;
}

.nav__links { display: flex; gap: 3px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 9px 15px; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; color: var(--text-2);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--text); background: var(--surf); }
.nav__links a.active { color: var(--text); background: var(--surf-2); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.langsw {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: var(--pill); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}
.langsw button {
  padding: 5px 9px; border: 0; border-radius: var(--pill); cursor: pointer;
  font-family: var(--f-disp); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--muted); background: transparent;
  transition: all .22s var(--ease);
}
.langsw button:hover { color: var(--text); }
.langsw button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(150deg, #8B5CF6, #6D28D9);
  box-shadow: 0 4px 14px rgba(124, 92, 255, .4);
}
.nav__gh {
  width: 40px; height: 40px; border-radius: var(--pill); display: grid; place-items: center;
  color: var(--text-2); border: 1px solid var(--line);
  transition: all .28s var(--ease);
}
.nav__gh:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }

.hamburger {
  display: none; width: 42px; height: 42px; border-radius: var(--pill);
  border: 1px solid var(--line);
}
.hamburger span {
  display: block; width: 18px; height: 2px; margin: 3.5px auto;
  background: var(--text); border-radius: 2px; transition: all .3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--pill);
  font-family: var(--f-disp); font-weight: 700; font-size: 16px;
  letter-spacing: -.012em; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn .ic { width: 19px; height: 19px; }
.btn--sm { padding: 10px 20px; font-size: 14.5px; }
.btn--xl { padding: 17px 32px; font-size: 17.5px; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 16px 38px rgba(124, 92, 255, .42); }
.btn--primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 26px 56px rgba(124, 92, 255, .55); }

.btn--ghost {
  background: var(--surf); color: var(--text);
  border: 1.5px solid var(--line-2);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--surf-2); box-shadow: var(--sh-md); }

.btn--white {
  background: #fff; color: #22124f;
  box-shadow: 0 18px 44px rgba(20, 8, 70, .32), 0 0 0 3px rgba(255, 255, 255, .3);
}
.btn--white:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 30px 66px rgba(20, 8, 70, .4), 0 0 0 3px rgba(255, 255, 255, .42);
}

.btn--glass {
  background: rgba(255, 255, 255, .16); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .38);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .26); }

/* ─────────── Shared type ─────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--pill);
  font-family: var(--f-disp); font-size: 11.5px; font-weight: 800;
  letter-spacing: .17em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .17);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.kicker--dark {
  color: #5b3df5; background: rgba(124, 92, 255, .12);
  border-color: rgba(124, 92, 255, .26);
}

h2 {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(2.35rem, 5vw, 4.05rem);
  line-height: 1.02; letter-spacing: -.042em;
  margin: 20px 0 22px;
}
h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.block--light h2 em {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
}

.head { max-width: 720px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .kicker { margin-inline: auto; }
.head p { font-size: clamp(1.02rem, 1.5vw, 1.17rem); line-height: 1.72; color: var(--text-2); }

/* ─────────── Hero ─────────── */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 82px) 0 0;
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(92px); pointer-events: none;
}
.hero__blob--a {
  width: 780px; height: 780px; top: -300px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 255, .5), transparent 68%);
}
.hero__blob--b {
  width: 620px; height: 620px; top: 60px; left: -220px;
  background: radial-gradient(circle, rgba(34, 211, 238, .3), transparent 68%);
}
.hero__blob--c {
  width: 560px; height: 560px; top: 120px; right: -200px;
  background: radial-gradient(circle, rgba(255, 122, 89, .22), transparent 68%);
}
.hero__mark {
  position: absolute; top: 2%; left: 50%;
  width: min(720px, 92vw); opacity: .075;
  transform: translateX(-50%) rotate(-7deg);
  filter: saturate(1.5); pointer-events: none; z-index: 0;
}

.hero__inner { position: relative; text-align: center; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: center; max-width: 100%;
  padding: 9px 20px; border-radius: var(--pill);
  font-family: var(--f-disp); font-size: 13.5px; font-weight: 600;
  color: var(--text-2); background: var(--surf); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .2); animation: blink 2s infinite;
}
.dot-live--sm { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(163, 230, 53, .2); }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

.hero__title {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(2.9rem, 7.6vw, 6.4rem);
  line-height: .98; letter-spacing: -.052em;
  margin: 26px auto 24px; max-width: 15ch;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #a78bfa 0%, #7c5cff 38%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__lead {
  max-width: 58ch; margin: 0 auto;
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  line-height: 1.66; color: var(--text-2);
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin: 36px 0 18px;
}
.hero__note { font-size: 14px; color: var(--muted); }
.hero__note b { color: var(--text-2); }
/* ── hero product stage ── */
.hero__stage { position: relative; margin-top: 56px; padding-bottom: 0; }
.stage-glow {
  position: absolute; inset: -6% 4% auto; height: 70%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .5), transparent 72%);
  filter: blur(60px); pointer-events: none;
}

/* réplica da janela do app — tema claro real do Halla (demo.png, servidor oficial v1.1.71) */
.app {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #fff; color: #1c2430;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 40px 110px rgba(2, 4, 20, .85), 0 0 0 1px rgba(2, 4, 20, .2);
  font-family: var(--f-body); text-align: left;
}
.hero__stage:hover .app { transform: perspective(1400px) rotateX(1deg) rotateY(0deg); }

/* dots também usados pela janela de código dos add-ons */
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }

/* ── barra de menus ── */
.app__menubar {
  display: flex; align-items: center; gap: 2px; padding: 5px 10px;
  background: #fff; border-bottom: 1px solid #e8ebef;
  overflow: hidden;
}
.app__menubar span {
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
  font-size: 12px; color: #333a45;
}

/* ── barra de ferramentas ── */
.app__toolbar {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: #fff; border-bottom: 1px solid #e3e7ec;
}
.app__toolgroup {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 5px 8px; border-radius: 10px;
  border: 1px solid #dfe4ea; background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.app__toolgroup .tb { width: 26px; height: 26px; display: grid; place-items: center; }
.app__toolgroup .tb svg { width: 17px; height: 17px; display: block; }
.app__toolsep { width: 1px; height: 26px; background: #d8dee5; flex: none; }
.app__gear {
  width: 38px; height: 37px; flex: none; display: grid; place-items: center;
  border: 1px solid #dfe4ea; border-radius: 10px; background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.app__gear svg { width: 19px; height: 19px; }
.app__spacer { flex: 1; height: 32px; background: #eef0f4; border-radius: 3px; margin-right: 84px; min-width: 30px; }
.app__bell { flex: none; display: grid; place-items: center; margin-right: 4px; }
.app__bell svg { width: 19px; height: 19px; }

/* ── corpo: árvore + painel de informações ── */
.app__body {
  display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(300px, 1fr);
  background: #fff; border-bottom: 1px solid #e3e7ec;
}

/* árvore de canais */
.app__tree {
  position: relative; min-width: 0; padding: 6px 12px 10px 10px;
  overflow: hidden;
}
.app__tree::after { /* scrollbar decorativa, como no app */
  content: ""; position: absolute; top: 30px; right: 3px; width: 6px; height: 56%;
  border-radius: 99px; background: #c9d2dc;
}
.srv { display: flex; align-items: center; gap: 8px; padding: 6px 4px; }
.srv__chip {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  background: #edf0f4; border-radius: 8px;
}
.srv__ic {
  width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center;
  background: linear-gradient(150deg, #6d5df0, #4338ca); color: #fff;
}
.srv__ic svg { width: 14px; height: 14px; }
.srv__name {
  font-size: 12.8px; font-weight: 700; color: #171e28;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.srv__dot { width: 5px; height: 5px; border-radius: 50%; background: #2b6cb8; flex: none; }
.srv__actions { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex: none; }
.srv__actions svg { width: 15px; height: 15px; display: block; }

.branch { margin-top: 2px; }
.cat {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 24px; font-size: 11.8px; color: #3c4654; letter-spacing: .02em;
}
.cat--bold { font-weight: 700; color: #131a24; }
.cat .caret { position: absolute; left: 4px; width: 12px; height: 12px; color: #9aa4b1; }
.cat__cnt { font-weight: 700; color: #131a24; font-size: 11.5px; margin-left: 4px; }
.ch {
  display: flex; align-items: center; gap: 8px; height: 25px;
  padding-left: 30px; font-size: 12.3px; color: #1f2937;
  border-radius: 6px;
}
.chic {
  width: 16px; height: 16px; border-radius: 5px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.chic svg { width: 11px; height: 11px; }
.chic--admin { background: #d93025; }
.chic--talk { background: #2f6db4; }
.user {
  display: flex; align-items: center; gap: 8px; height: 26px;
  padding-left: 30px; font-size: 12.3px; color: #1f2937;
}
.av {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #4b84c8, #2b62a8);
}
.av svg { width: 12px; height: 12px; }
.op { width: 14px; height: 14px; margin-left: auto; margin-right: 6px; flex: none; }

/* painel de informações */
.app__info {
  position: relative; min-width: 0; margin: 8px 8px 8px 2px;
  border: 1px solid #d9dfe6; border-radius: 10px; background: #fff;
  overflow: hidden; display: flex; flex-direction: column;
}
.info__banner {
  position: relative; overflow: hidden; flex: none;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; min-height: 104px;
  background: linear-gradient(92deg, #123c68 0%, #175083 42%, #22659c 80%, #27709f 100%);
}
.info__banner > img { width: 66px; height: 66px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.info__bannertxt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.info__bannertxt b {
  font-family: var(--f-disp); font-size: 25px; font-weight: 800; color: #fff;
  letter-spacing: -.01em; line-height: 1;
}
.info__bannertxt span { font-size: 13px; color: rgba(255, 255, 255, .85); }
.info__pill { position: absolute; width: 22px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.info__pill.p1 { right: 168px; top: 19%; height: 62%; }
.info__pill.p2 { right: 128px; top: 8%; height: 84%; background: rgba(255, 255, 255, .1); }
.info__pill.p3 { right: 84px; top: 0; height: 100%; border-radius: 0; background: rgba(88, 150, 199, .45); }
.info__pill.p4 { right: 40px; top: 12%; height: 76%; background: rgba(255, 255, 255, .1); }
.info__pill.p5 { right: 6px; top: 4%; height: 92%; border-radius: 0; background: rgba(88, 150, 199, .4); }
.info__head {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px 9px; font-size: 12.6px; color: #12181f;
}
.info__head > svg { width: 12px; height: 12px; flex: none; }
.info__head b { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info__grid {
  margin: 2px 14px 14px; padding: 9px 0 12px;
  border-top: 1px solid #3a4148; border-bottom: 1px solid #3a4148;
  display: grid; grid-template-columns: 128px auto; row-gap: 7px; align-content: start;
  font-size: 12px; position: relative; z-index: 1;
}
.info__grid dt { color: #5d6774; }
.info__grid dd { margin: 0; color: #12181f; }
.info__wm {
  position: absolute; right: -22px; bottom: 13%; width: 165px; height: auto;
  opacity: .07; pointer-events: none; z-index: 0;
}

/* chat */
.app__chat { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.chat__log {
  min-height: 130px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px;
}
.chat__sys { font-size: 11.3px; color: #66707d; display: flex; gap: 6px; margin: 0; }
.chat__sys time { flex: none; }
.chat__tabs {
  display: flex; align-items: flex-end; gap: 2px; padding: 0 10px;
  background: #eef0f3;
}
.chat__tabs span {
  padding: 4px 12px 5px; font-size: 11.6px; color: #4b5563;
  border: 1px solid transparent; border-bottom: none; border-radius: 6px 6px 0 0;
  white-space: nowrap;
}
.chat__tabs .on {
  color: #2563b0; font-weight: 600; background: #fff; border-color: #d0d7df;
}
.chat__fmt {
  display: flex; align-items: center; gap: 9px; padding: 5px 14px;
  border-top: 1px solid #e3e7ec; border-bottom: 1px solid #e8ebef;
  background: #fff; font-size: 11.8px; color: #333a45;
}
.chat__fmt b { font-weight: 800; }
.chat__fmt u { text-underline-offset: 2px; }
.chat__fmt code { font-family: var(--f-mono); font-size: 10.6px; }
.chat__fmt .fsep { width: 1px; height: 14px; background: #d8dee5; }
.chat__fmt svg { width: 13px; height: 13px; color: #6b7480; flex: none; }
.chat__input {
  position: relative; display: flex; align-items: center;
  margin: 8px 10px 10px; padding: 0 40px 0 12px;
  height: 36px; border: 1px solid #cfd6dd; border-radius: 8px; background: #fff;
}
.chat__input .field {
  font-size: 12.2px; color: #8b95a3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.chat__input .send {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 27px; height: 27px; border-radius: 6px; display: grid; place-items: center;
  background: #2b6cb8;
}
.chat__input .send svg { width: 15px; height: 15px; }

/* barra de status */
.app__status {
  display: flex; align-items: center; gap: 12px; padding: 6px 10px;
  background: #f4f5f7; border-top: 1px solid #e0e4e9;
  font-size: 11.2px; color: #333a45;
}
.app__srv {
  display: inline-flex; align-items: center; flex: none; max-width: 300px;
  padding: 3px 10px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis;
  color: #fff; font-weight: 700; font-size: 10.8px; white-space: nowrap;
  background: #2b6cb8;
}
.app__mid {
  display: inline-flex; align-items: center; gap: 8px; margin-inline: auto;
  color: #8a919c; font-size: 11px; white-space: nowrap; overflow: hidden;
  min-width: 0;
}
.app__mid i { font-style: normal; color: #b3bac3; }
.app__who {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  color: #1f2630; font-size: 11.2px; white-space: nowrap; overflow: hidden;
  max-width: 46%;
}
.app__who .sprout, .app__who .lock { font-style: normal; font-size: 11.5px; }
.app__who b { font-weight: 700; }

@media (max-width: 1180px) {
  .app__mid { display: none; }
  .app__spacer { margin-right: 20px; }
}
@media (max-width: 1060px) {
  .app__body { grid-template-columns: minmax(0, 1fr); }
  .app__info { display: none; }
}
@media (max-width: 720px) {
  .app__tree { display: none; }
  .app__who { display: none; }
  .app__menubar span:nth-child(n+6) { display: none; }
}

/* ─────────── Lightbox da galeria ─────────── */
.shots__rail figure { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 28px; background: rgba(4, 6, 18, .9);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lb.on { opacity: 1; }
.lb__fig { max-width: min(1240px, 94vw); text-align: center; }
.lb__img {
  max-width: 100%; max-height: 78vh; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}
.lb__cap {
  margin-top: 14px; font-family: var(--f-disp); font-size: 14px; font-weight: 700;
  color: rgba(255, 255, 255, .92); letter-spacing: .01em;
}
.lb__x {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: all .22s var(--ease);
}
.lb__x:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }
.lb__x svg { width: 16px; height: 16px; }

/* ─────────── Word band ─────────── */
.wordband {
  overflow: hidden; padding: 34px 0;
  background: var(--grad);
  border-block: 1px solid rgba(255, 255, 255, .14);
}
.wordband__track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  animation: slide 38s linear infinite;
}
.wordband__track span {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem); letter-spacing: -.038em;
  color: rgba(255, 255, 255, .95); white-space: nowrap;
}
.wordband__track i { font-style: normal; font-size: 1.6rem; color: rgba(255, 255, 255, .5); }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ─────────── Blocks ─────────── */
.block { padding: 128px 0; position: relative; }
.block--tight { padding: 96px 0; }
.block--dark { background: var(--ink); }
.block--light {
  background: var(--paper); color: #1a1338;
}
.block--light .head p, .block--light .split__copy > p { color: #4b4272; }
.block--light .ticks li { color: #3a3162; }
.block--light .ticks li b { color: #1a1338; }

.block--violet {
  background:
    radial-gradient(1000px 620px at 78% 8%, rgba(34, 211, 238, .28), transparent 62%),
    radial-gradient(900px 560px at 12% 88%, rgba(255, 122, 89, .18), transparent 62%),
    linear-gradient(150deg, #5b3df5 0%, #4a2ce0 48%, #3b1fc4 100%);
  color: #fff;
}
.block--violet .head p { color: rgba(255, 255, 255, .95); }
.block--violet h2 em {
  background: linear-gradient(100deg, #fff 0%, #c9f3ff 50%, #a5f7d8 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ─────────── Split ─────────── */
.split {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 72px; align-items: center;
}
.split--rev .split__visual { order: -1; }
.split__copy > p { font-size: clamp(1.02rem, 1.5vw, 1.135rem); line-height: 1.76; color: var(--text-2); }

.ticks { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.ticks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.2px; line-height: 1.6; color: var(--text-2);
}
.ticks .ic {
  width: 21px; height: 21px; flex: none; margin-top: 2px; padding: 4px;
  border-radius: 50%; color: var(--lime);
  background: rgba(163, 230, 53, .16);
}
.ticks--dark .ic { color: #5b3df5; background: rgba(124, 92, 255, .15); }
.ticks b { font-weight: 700; color: var(--text); }
.ticks--dark li b { color: #1a1338; }

/* ─────────── Panels ─────────── */
.panel {
  padding: 26px; border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(35, 28, 78, .92), rgba(20, 16, 50, .96));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--sh-lg);
}
.panel__top {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-disp); font-size: 13px; font-weight: 700; color: var(--text);
}
.panel__top small {
  margin-left: auto; font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .1em; color: var(--muted);
}
.panel__foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 12px 15px; border-radius: var(--r-sm);
  font-size: 11.8px; color: var(--muted);
  background: rgba(255, 255, 255, .055); border: 1px solid var(--line);
}
.panel__foot .ic { color: var(--gold); }

.eq {
  position: relative; display: flex; align-items: flex-end; gap: 5px;
  height: 152px; margin: 24px 0 12px; padding: 16px 14px 12px;
  border-radius: var(--r);
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  overflow: hidden;
}
.eq::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 1px;
  background: rgba(255, 255, 255, .12);
}
.eq i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--violet) 88%);
  opacity: .88; transform-origin: bottom;
  animation: eqb 1.35s ease-in-out infinite alternate;
}
.eq i:nth-child(3n) { animation-duration: 1.05s }
.eq i:nth-child(4n) { animation-duration: 1.62s }
.eq i:nth-child(5n) { animation-duration: .88s }
.eq i:nth-child(2n) { animation-delay: .18s }
.eq i:nth-child(7n) { animation-delay: .5s }
@keyframes eqb { from { transform: scaleY(.4) } to { transform: scaleY(1.12) } }

.eq-axis {
  display: flex; justify-content: space-between;
  margin: 0 2px 22px;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
}

.meters { display: flex; flex-direction: column; gap: 16px; }
.meter__l { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.meter__l b { font-family: var(--f-mono); color: var(--text-2); font-weight: 500; }
.bar { height: 8px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar span {
  display: block; height: 100%; border-radius: var(--pill);
  background: var(--grad); animation: grow 1.6s var(--ease) both;
}
.bar--cy span { background: linear-gradient(90deg, var(--cyan), var(--violet-2)); }
.bar--lm span { background: linear-gradient(90deg, var(--lime), var(--cyan)); }
@keyframes grow { from { width: 0 !important } }

/* ─────────── Stream mockup ─────────── */
.stream {
  border-radius: var(--r-xl); overflow: hidden;
  background: #12102c;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--sh-lg);
}
.stream__screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(520px 320px at 26% 22%, rgba(124, 92, 255, .55), transparent 66%),
    radial-gradient(460px 300px at 78% 78%, rgba(34, 211, 238, .42), transparent 66%),
    linear-gradient(150deg, #241c56 0%, #171142 60%, #0f0b2c 100%);
}
.stream__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.045) 0 1px, transparent 1px 4px);
  opacity: .5;
}
.stream__tag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--pill);
  font-family: var(--f-disp); font-size: 10.5px; font-weight: 800; letter-spacing: .13em;
  color: #fff; background: rgba(255, 122, 89, .82);
}
.stream__title {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--f-mono); font-size: 11px; color: rgba(255, 255, 255, .78);
}
.stream__play {
  position: absolute; inset: 0; margin: auto;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .17); border: 1.5px solid rgba(255, 255, 255, .38);
  backdrop-filter: blur(10px);
}
.stream__play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }

.stream__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 15px 18px; background: rgba(255, 255, 255, .05);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.qpills { display: flex; gap: 5px; flex-wrap: wrap; }
.qpills span {
  padding: 5px 11px; border-radius: var(--pill);
  font-family: var(--f-mono); font-size: 11px;
  color: rgba(255, 255, 255, .62); background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
}
.qpills span.on {
  color: #fff; background: var(--grad); border-color: transparent;
  box-shadow: 0 8px 22px rgba(124, 92, 255, .4);
}
.qmeta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; color: rgba(255, 255, 255, .55);
}
.qmeta i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.qmeta b { font-weight: 500; }

/* ─────────── Privacy ─────────── */
.priv { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }

.priv__main {
  display: flex; align-items: center; padding: 42px 36px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px);
}
.sas { width: 100%; text-align: center; }
.sas__top {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-disp); font-size: 12.5px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  color: #c6f77f; margin-bottom: 26px;
}
.sas__code {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 9px;
  padding: 24px 22px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 18px 44px rgba(18, 6, 66, .18), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.sas__code span {
  width: clamp(36px, 5vw, 62px);
  height: clamp(48px, 6.6vw, 84px);
  border-radius: 16px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: clamp(21px, 3.1vw, 40px);
  font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .19); border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26);
}
.sas__code em { width: 13px; }
.sas__hint {
  margin: 26px auto 22px; max-width: 40ch;
  font-size: 15.2px; line-height: 1.76; color: rgba(255, 255, 255, .96);
}
.sas__ok {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--pill);
  font-family: var(--f-disp); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; color: #e2ffbb;
  background: rgba(163, 230, 53, .16); border: 1px solid rgba(163, 230, 53, .38);
}

.priv__side { display: flex; flex-direction: column; gap: 12px; }
.pcard {
  display: flex; gap: 15px; padding: 22px 23px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 16px 38px rgba(18, 6, 66, .18), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: all .35s var(--ease);
}
.pcard:hover { transform: translateX(6px); background: rgba(255, 255, 255, .21); }
.pcard__ic {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.pcard__ic svg { width: 21px; height: 21px; }
.pcard h4 { font-family: var(--f-disp); font-size: 1rem; font-weight: 800; letter-spacing: -.018em; margin-bottom: 5px; }
.pcard p { font-size: 13.2px; line-height: 1.62; color: rgba(255, 255, 255, .93); }

.cryptorow {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px; margin-top: 32px;
}
.cryptorow span {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .78);
}
.cryptorow i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .45); }

/* ─────────── Permissions panel ─────────── */
.panel--perms { background: #fff; color: #1a1338; border-color: rgba(90, 60, 200, .16); box-shadow: 0 40px 90px rgba(70, 40, 170, .18); }
.panel--perms .panel__top { color: #1a1338; }
.panel--perms .panel__foot { background: rgba(124, 92, 255, .08); border-color: rgba(124, 92, 255, .18); color: #5b4b8c; }
.panel--perms .panel__foot .ic { color: var(--violet); }

.perm { margin-top: 20px; display: flex; flex-direction: column; gap: 3px; }
.perm__h, .perm__r {
  display: grid; grid-template-columns: minmax(0, 1fr) 78px 78px 78px;
  align-items: center; gap: 10px; padding: 11px 13px;
}
.perm__h {
  font-family: var(--f-disp); font-size: 10.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #7c6fac;
}
.perm__r {
  border-radius: 11px; font-size: 13.2px; font-weight: 500; color: #2c2350;
}
.perm__r:nth-child(odd) { background: rgba(124, 92, 255, .06); }
.rd {
  width: 18px; height: 18px; border-radius: 50%; justify-self: center;
  border: 2px solid rgba(124, 92, 255, .28);
}
.rd.on { border-color: var(--violet); background: var(--violet); box-shadow: inset 0 0 0 3px #fff; }

.conn { margin-top: 28px; }
.conn__row {
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  padding: 15px 17px; border-radius: var(--r);
  background: #fff; border: 1px solid rgba(90, 60, 200, .18);
  box-shadow: 0 14px 34px rgba(70, 40, 170, .1);
}
.conn__l {
  font-family: var(--f-disp); font-size: 10.5px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: #7c6fac;
}
.conn__row code {
  flex: 1; min-width: 0;
  font-family: var(--f-mono); font-size: 15.5px; font-weight: 500; color: #2c2350;
}
.copy {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  color: var(--violet); background: rgba(124, 92, 255, .12);
  border: 1px solid rgba(124, 92, 255, .24);
  transition: all .28s var(--ease);
}
.copy:hover { transform: translateY(-2px); background: rgba(124, 92, 255, .2); }
.copy.copied { color: #2f7a2f; background: rgba(163, 230, 53, .3); }

/* ─────────── Downloads ─────────── */
.dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dl__card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 36px 30px 32px; border-radius: var(--r-xl);
  background: var(--surf); border: 1px solid var(--line);
  transition: all .4s var(--ease);
}
.dl__card:hover {
  transform: translateY(-8px); background: var(--surf-2);
  border-color: rgba(167, 139, 250, .45); box-shadow: var(--glow);
}
.dl__ic {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(150deg, #9b7cff 0%, #6d4bf6 52%, #3f7dff 100%);
  color: #fff;
  box-shadow:
    0 16px 36px rgba(124, 92, 255, .42),
    inset 0 1.5px 0 rgba(255, 255, 255, .38),
    inset 0 -10px 20px rgba(20, 8, 80, .22);
}
.dl__ic svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .22)); }
.dl__card h3 { font-family: var(--f-disp); font-size: 1.32rem; font-weight: 800; letter-spacing: -.028em; }
.dl__card p { font-size: 13.6px; color: var(--muted); line-height: 1.62; flex: 1; }
.dl__go {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 18px;
  font-family: var(--f-disp); font-size: 13.5px; font-weight: 700; color: var(--violet-2);
}
.dl__go .ic { transition: transform .3s var(--ease); }
.dl__card:hover .dl__go .ic { transform: translateX(5px); }

/* ─────────── Shots rail ─────────── */
.shots { margin-top: 60px; }
.shots__rail {
  display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 18px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: rgba(124, 92, 255, .5) transparent;
}
.shots__rail figure {
  flex: 0 0 320px; scroll-snap-align: start;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background:
    radial-gradient(120% 90% at 50% 0%, #151430 0%, #0D1223 62%);
  transition: all .4s var(--ease);
}
.shots__rail figure:hover { transform: translateY(-6px); border-color: rgba(167, 139, 250, .5); box-shadow: var(--glow); }
.shots__rail img {
  aspect-ratio: 16 / 10; width: 100%; object-fit: contain;
  padding: 10px 8px 6px; box-sizing: border-box;
}
.shots__rail figcaption {
  padding: 12px 15px; font-family: var(--f-disp);
  font-size: 12.5px; font-weight: 700; color: var(--text-2);
  background: rgba(255, 255, 255, .05);
}
.shots__hint {
  margin-top: 10px; text-align: center;
  font-family: var(--f-disp); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ─────────── Add-ons ─────────── */
.addons {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 60px; align-items: center;
  padding: 56px; border-radius: var(--r-2xl);
  background: linear-gradient(150deg, rgba(124, 92, 255, .17), rgba(34, 211, 238, .09));
  border: 1px solid rgba(167, 139, 250, .26);
}
.addons__copy > p { font-size: 1.065rem; line-height: 1.76; color: var(--text-2); }
.abichips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.abichips span {
  padding: 7px 13px; border-radius: var(--pill);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em;
  color: var(--violet-2); background: rgba(124, 92, 255, .15);
  border: 1px solid rgba(124, 92, 255, .3);
}

.codewin {
  border-radius: var(--r-lg); overflow: hidden;
  background: #100c26; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--sh-lg);
}
.codewin__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 15px; background: rgba(255, 255, 255, .055);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.codewin__bar em {
  margin-left: 10px; font-style: normal;
  font-family: var(--f-mono); font-size: 11px; color: rgba(255, 255, 255, .5);
}
.codewin pre {
  padding: 22px 20px; overflow-x: auto;
  font-family: var(--f-mono); font-size: 12.4px; line-height: 1.9; color: #c8c3e6;
}
.c-k { color: #a5c8ff } .c-s { color: #8ce3b0 } .c-n { color: #f0b37e } .c-p { color: #b79bff }

/* ─────────── FAQ ─────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__i {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surf); border: 1px solid var(--line);
  transition: border-color .32s var(--ease), background .32s;
}
.faq__i[open] { border-color: rgba(167, 139, 250, .42); background: var(--surf-2); }
.faq__i summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 23px 26px; cursor: pointer; list-style: none;
  font-family: var(--f-disp); font-size: 1.12rem; font-weight: 700; letter-spacing: -.022em;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary .ic {
  width: 22px; height: 22px; flex: none; color: var(--muted);
  transition: transform .34s var(--ease), color .34s;
}
.faq__i[open] summary .ic { transform: rotate(180deg); color: var(--violet-2); }
.faq__b { padding: 0 26px 24px; }
.faq__b p { font-size: 15px; line-height: 1.78; color: var(--text-2); }

/* ─────────── Outro ─────────── */
.outro {
  position: relative; overflow: hidden;
  padding: 138px 0 180px; text-align: center;
  background:
    linear-gradient(180deg, rgba(11, 10, 26, 0) 0%, rgba(11, 10, 26, .22) 58%, rgba(11, 10, 26, .72) 82%, var(--ink) 100%),
    linear-gradient(135deg, #7c5cff 0%, #5b3df5 45%, #22d3ee 100%);
}
.outro__blob {
  position: absolute; inset: auto -10% -55%; height: 620px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .3), transparent 70%);
  filter: blur(50px);
}
.outro__inner { position: relative; }
.outro__logo {
  width: 76px; height: 76px; object-fit: contain; margin: 0 auto 24px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .3));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.outro h2 {
  color: #fff; margin-bottom: 20px;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
}
.outro h2 em {
  background: linear-gradient(100deg, #fff 0%, #d5f6ff 60%, #c6f77f 100%);
  -webkit-background-clip: text; background-clip: text;
}
.outro p {
  max-width: 54ch; margin: 0 auto 36px;
  font-size: clamp(1.05rem, 1.9vw, 1.29rem); line-height: 1.66;
  color: rgba(255, 255, 255, .9);
}
.outro__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ─────────── Footer ─────────── */
.foot {
  padding: 76px 0 32px;
  background:
    linear-gradient(180deg, rgba(124, 92, 255, .1) 0%, rgba(11, 10, 26, 0) 120px),
    var(--ink);
  border-top: 1px solid var(--line);
}
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 44px; }
.foot__brand p { margin: 18px 0 22px; max-width: 42ch; font-size: 14.4px; color: var(--muted); line-height: 1.72; }
.foot__soc { display: flex; gap: 10px; }
.foot__soc a {
  width: 42px; height: 42px; border-radius: var(--pill);
  display: grid; place-items: center;
  color: var(--text-2); background: var(--surf); border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.foot__soc a:hover { transform: translateY(-3px); color: #fff; background: var(--grad); border-color: transparent; }

.foot__col h4 {
  font-family: var(--f-disp); font-size: 11.5px; font-weight: 800;
  letter-spacing: .17em; text-transform: uppercase; color: var(--text); margin-bottom: 18px;
}
.foot__col a {
  display: block; padding: 7px 0; font-size: 14.5px; color: var(--muted);
  transition: color .25s, transform .25s;
}
.foot__col a:hover { color: var(--violet-2); transform: translateX(4px); }

.foot__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line);
}
.foot__bottom p { font-size: 13px; color: var(--muted); }
.foot__made {
  font-family: var(--f-disp); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─────────── Toast ─────────── */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translate(-50%, 26px);
  padding: 14px 24px; border-radius: var(--pill);
  font-family: var(--f-disp); font-size: 14px; font-weight: 700; color: #fff;
  background: rgba(20, 14, 52, .94); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px); box-shadow: var(--sh-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─────────── Reveal ─────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .82s var(--ease), transform .82s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ─────────── Responsive ─────────── */
@media (max-width: 1080px) {
  .nav__links a { padding: 9px 11px; font-size: 14px; }
  .split { gap: 48px; }
  .addons { padding: 40px; gap: 40px; }
}

@media (max-width: 1024px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 3px;
    padding: 18px 26px 28px;
    background: rgba(11, 10, 26, .96);
    backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform .42s var(--ease), opacity .32s;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 16px; font-size: 17px; }
  .hamburger { display: block; }

  .split, .priv, .addons { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split--rev .split__visual { order: 0; }
  .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .app { transform: none; }
  .hero__stage:hover .app { transform: none; }
}

@media (max-width: 720px) {
  .container, .container--narrow { width: min(100% - 32px, 1180px); }
  .block { padding: 86px 0; }
  .block--tight { padding: 66px 0; }

  .hero { padding-top: calc(var(--nav-h) + 46px); }
  .hero__title { font-size: clamp(2.35rem, 11vw, 3.35rem); margin: 20px auto 18px; }
  .hero__lead { font-size: 1.025rem; }
  .hero__cta { margin: 28px 0 16px; gap: 11px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stage { margin-top: 38px; }

  .app__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__side { display: none; }
  .app__menu .app__nav { display: none; }
  .nav__actions .btn--sm { display: none; }
  .langsw button { padding: 5px 7px; }

  .dl, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .addons { padding: 28px 22px; }

  .sas__code { gap: 6px; padding: 18px 14px; flex-wrap: wrap; justify-content: center; }
  .sas__code span { width: 44px; height: 58px; font-size: 26px; border-radius: 12px; }
  .sas__code em { width: 8px; }
  .priv__main { padding: 30px 20px; }

  .perm__h, .perm__r { grid-template-columns: minmax(0, 1fr) 48px 48px 48px; gap: 6px; padding: 9px 6px; }
  .perm__r { font-size: 12.4px; }
  .perm__h { font-size: 9px; letter-spacing: .06em; }

  .shots__rail figure { flex: 0 0 264px; }
  .foot__bottom { justify-content: center; text-align: center; }
  .outro { padding: 96px 0; }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.15rem, 10.5vw, 2.85rem); }
  .hero__badge { font-size: 12px; padding: 8px 15px; }
  .sas__code span { width: 36px; height: 48px; font-size: 21px; }
  .sas__code em { width: 5px; }
  .btn--xl { padding: 15px 22px; font-size: 16px; }
  .conn__row code { font-size: 13.5px; width: 100%; }
}

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

/* ═══════════════════════════════════════════════════════════
   FX PACK — efeitos v3
   aurora · dust · spotlight · sheen · stagger · status ao vivo
   (JS: js/fx.js · respeita prefers-reduced-motion)
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Aurora: blobs do hero respiram devagar ── */
.hero__blob--a { animation: fxAuroraA 26s ease-in-out infinite alternate; }
.hero__blob--b { animation: fxAuroraB 21s ease-in-out infinite alternate; }
.hero__blob--c { animation: fxAuroraC 31s ease-in-out infinite alternate; }
@keyframes fxAuroraA {
  0%   { translate: 0 0;          scale: 1; }
  50%  { translate: 48px 36px;    scale: 1.07; }
  100% { translate: -36px 18px;   scale: .96; }
}
@keyframes fxAuroraB {
  0%   { translate: 0 0;          scale: 1; }
  50%  { translate: 62px -42px;   scale: 1.12; }
  100% { translate: 20px 32px;    scale: .94; }
}
@keyframes fxAuroraC {
  0%   { translate: 0 0;          scale: 1; }
  50%  { translate: -56px 28px;   scale: 1.09; }
  100% { translate: 28px -24px;   scale: .97; }
}
.stage-glow { animation: fxGlowPulse 7s ease-in-out infinite alternate; }
@keyframes fxGlowPulse { from { opacity: .72; scale: .97; } to { opacity: 1; scale: 1.05; } }
.outro__blob { animation: fxOutroPulse 10s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes fxOutroPulse { from { opacity: .68; scale: 1; } to { opacity: 1; scale: 1.14; } }

/* ── 2. Brilho deslizante nos textos em gradiente ── */
.hero__title em, h2 em, .outro h2 em {
  background-size: 220% 100%;
  animation: fxSheenText 9s ease-in-out infinite;
}
@keyframes fxSheenText {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── 3. Sheen nos botões principais ── */
.btn--primary, .btn--white { position: relative; overflow: hidden; }
.btn--primary::after, .btn--white::after {
  content: ''; position: absolute; top: -40%; bottom: -40%; left: 0;
  width: 34%; pointer-events: none;
  transform: translateX(-180%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
}
.btn--primary:hover::after, .btn--white:hover::after {
  transform: translateX(440%) skewX(-18deg);
  transition: transform .85s var(--ease);
}

/* ── 4. Spotlight que segue o mouse (classe aplicada via fx.js) ── */
.fx-spot { position: relative; }
.fx-spot > * { position: relative; z-index: 1; }
.fx-spot::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
              rgba(124, 92, 255, .20), transparent 65%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.fx-spot:hover::before { opacity: 1; }
.panel--perms.fx-spot::before, .codewin.fx-spot::before {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
              rgba(124, 92, 255, .13), transparent 65%);
}

/* ── 5. Micro-interações ── */
.dl__ic { transition: transform .45s var(--ease); }
.dl__card:hover .dl__ic { transform: rotate(-7deg) scale(1.09); }
.shots__rail img { transition: transform .55s var(--ease); }
.shots__rail figure:hover img { transform: scale(1.05); }
.stream__play { animation: fxPlay 2.8s ease-in-out infinite; }
@keyframes fxPlay {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255, 255, 255, .18); }
  50%      { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
}
.wordband {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.wordband:hover .wordband__track { animation-play-state: paused; }
.faq__i[open] .faq__b { animation: fxFaq .42s var(--ease); }
@keyframes fxFaq { from { opacity: 0; translate: 0 -8px; } }
.app__bell svg { transform-origin: 50% 18%; animation: fxBell 7s ease-in-out infinite; }
@keyframes fxBell {
  0%, 21%, 100% { transform: rotate(0); }
  3%  { transform: rotate(12deg); }
  6%  { transform: rotate(-10deg); }
  9%  { transform: rotate(7deg); }
  12% { transform: rotate(-5deg); }
  15% { transform: rotate(2deg); }
}
.chat__input .field::after {
  content: ''; display: inline-block; width: 1.5px; height: 13px;
  margin-left: 3px; background: #8b95a3; vertical-align: -2px;
  animation: fxCaret 1.15s step-end infinite;
}
@keyframes fxCaret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.bar span {
  animation: grow 1.6s var(--ease) both, fxBreathe 3.6s ease-in-out 2s infinite alternate;
  transform-origin: left center;
}
@keyframes fxBreathe { from { transform: scaleX(1); } to { transform: scaleX(.94); } }

/* ── 6. Stagger cascata das linhas do mockup (índices via fx.js) ── */
.fx-st {
  opacity: 0; translate: 0 9px;
  transition: opacity .5s var(--ease), translate .5s var(--ease);
  transition-delay: calc(.28s + var(--i, 0) * 42ms);
}
.hero__stage.in .fx-st { opacity: 1; translate: 0 0; }

/* ── 7. Canvas de partículas do hero ── */
.fx-dust { position: absolute; inset: 0; pointer-events: none; }

/* ── 8. Scrollbar & seleção ── */
::selection { background: rgba(124, 92, 255, .55); color: #fff; }
html { scrollbar-width: thin; scrollbar-color: rgba(124, 92, 255, .6) rgba(255, 255, 255, .05); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c5cff, #22d3ee);
  border-radius: 99px; border: 2.5px solid var(--ink);
}

/* ── 9. Barra de progresso com gradiente vivo ── */
.scroll-progress span { background-size: 220% 100%; animation: fxBar 5s linear infinite; }
@keyframes fxBar { from { background-position: 0% 0; } to { background-position: 220% 0; } }

/* ═══════════════════════════════════════════════════════════
   FX PACK v4 — mais animação
   ripple · tilt 3D · magnéticos · SAS scramble · chat vivo ·
   voltar-ao-topo · EQ turbo · drift do hero (JS: js/fx.js)
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Ripple nos botões ── */
.btn { position: relative; overflow: hidden; }
.btn .fx-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; left: 0; top: 0;
  background: rgba(255, 255, 255, .42);
  transform: scale(0); opacity: 1;
  animation: fxRipple .62s ease-out forwards;
}
.btn--white .fx-ripple, .btn--ghost .fx-ripple { background: rgba(124, 92, 255, .28); }
@keyframes fxRipple {
  to { transform: scale(26); opacity: 0; }
}

/* ── 2. Tilt 3D nos cards (transform inline vem do fx.js) ── */
.fx-tilt { will-change: transform; transform-style: preserve-3d; }

/* ── 3. Log de chat do mockup: altura fixa, mensagens vivas não empurram layout ── */
.chat__log { position: relative; }
.chat__msg {
  font-size: 11.3px; color: #333a45; display: flex; gap: 6px; margin: 0;
  animation: fxMsgIn .4s var(--ease);
}
.chat__msg time { flex: none; color: #9aa4b1; }
.chat__msg b { font-weight: 700; color: #2b6cb8; flex: none; }
.chat__msg.out { animation: fxMsgOut .45s var(--ease) forwards; }
@keyframes fxMsgIn { from { opacity: 0; translate: 0 7px; } }
@keyframes fxMsgOut { to { opacity: 0; translate: 0 -6px; } }
.chat__typing {
  font-size: 11.3px; color: #8b95a3; display: inline-flex; align-items: center;
  gap: 5px; margin: 0; animation: fxMsgIn .3s var(--ease);
}
.chat__typing i {
  width: 4px; height: 4px; border-radius: 50%; background: #a8b1bd;
  animation: fxTypingDot 1s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: .16s; }
.chat__typing i:nth-child(3) { animation-delay: .32s; }
@keyframes fxTypingDot { 0%, 100% { translate: 0 0; opacity: .45; } 50% { translate: 0 -3.5px; opacity: 1; } }

/* ── 4. Scramble do código SAS: dígito "assenta" com pop ── */
.sas__code span.set { animation: fxSasSet .5s var(--ease); }
@keyframes fxSasSet {
  0% { transform: scale(1.16); color: #e2ffbb; border-color: rgba(226, 255, 187, .75); }
  100% { transform: scale(1); color: #fff; }
}

/* ── 5. Voltar ao topo (anel de progresso; botão injetado via fx.js) ── */
.toTop {
  position: fixed; right: 24px; bottom: 24px; z-index: 110;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--text-2); background: rgba(20, 14, 52, .82);
  border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(4, 2, 24, .5);
  opacity: 0; transform: translateY(18px) scale(.8); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              background .3s, color .3s;
}
.toTop.show { opacity: 1; transform: none; pointer-events: auto; }
.toTop:hover { color: #fff; background: rgba(124, 92, 255, .5); transform: translateY(-3px); }
.toTop svg.ring { position: absolute; inset: 3px; transform: rotate(-90deg); }
.toTop svg.ring circle { fill: none; stroke-width: 2.5; }
.toTop svg.ring .bg { stroke: rgba(255, 255, 255, .12); }
.toTop svg.ring .fg {
  stroke: url(#toTopGrad); stroke-linecap: round;
  stroke-dasharray: 138.23; stroke-dashoffset: 138.23;
}
.toTop .ic { width: 19px; height: 19px; position: relative; }
@media (max-width: 720px) { .toTop { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* ── 6. EQ dispara no hover do painel ── */
.panel--eq:hover .eq i { animation-duration: .52s !important; filter: brightness(1.22) saturate(1.15); }
.panel--eq:hover .eq i:nth-child(3n) { animation-duration: .44s !important; }
.panel--eq:hover .eq i:nth-child(4n) { animation-duration: .63s !important; }
.panel--eq:hover .eq i:nth-child(5n) { animation-duration: .38s !important; }

/* ── 7. Cryptorow: chips acendem ao passar o mouse ── */
.cryptorow span { transition: color .3s var(--ease), text-shadow .3s var(--ease), translate .3s var(--ease); }
.cryptorow span:hover {
  color: #fff; translate: 0 -2px;
  text-shadow: 0 0 18px rgba(124, 92, 255, .9), 0 0 42px rgba(34, 211, 238, .45);
}
.cryptorow i { animation: fxCryptoDot 3.2s ease-in-out infinite; }
.cryptorow i:nth-child(4n+2) { animation-delay: .5s; }
.cryptorow i:nth-child(4n+3) { animation-delay: 1s; }
@keyframes fxCryptoDot { 0%, 100% { opacity: .45; } 50% { opacity: 1; box-shadow: 0 0 10px rgba(255,255,255,.8); } }

/* ── 8. Marca d'água do hero flutua devagar ── */
.hero__mark { animation: fxMarkDrift 17s ease-in-out infinite alternate; }
@keyframes fxMarkDrift {
  0%   { translate: 0 0;       rotate: 0deg;  scale: 1; }
  50%  { translate: 0 -18px;   rotate: 1.6deg; scale: 1.03; }
  100% { translate: 0 -7px;    rotate: -1.4deg; scale: .985; }
}

/* ── 9. Brand da nav pulsa no hover ── */
.brand__mark { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); box-shadow: 0 12px 32px rgba(124, 92, 255, .55); }

/* ── 10. Abichips: onda no hover ── */
.abichips span { transition: all .3s var(--ease); }
.abichips span:hover {
  color: #fff; translate: 0 -2px; background: rgba(124, 92, 255, .32);
  border-color: rgba(167, 139, 250, .6); box-shadow: 0 8px 22px rgba(124, 92, 255, .3);
}

/* ── 11. qpills alternam (a pill ativa pulsa) ── */
.qpills span.on { animation: fxPillPulse 2.6s ease-in-out infinite; }
@keyframes fxPillPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(124, 92, 255, .4); }
  50% { box-shadow: 0 8px 30px rgba(34, 211, 238, .6); }
}
