/* =========================================================
   VENXIA — Landing page
   ========================================================= */
:root {
  --bg: #05060f;
  --bg-2: #0a0c1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0ff;
  --muted: #9097b8;
  --dim: #5d6385;
  --blue: #2f6bff;
  --blue-2: #36a2ff;
  --violet: #7a5cff;
  --ok: #3ddc97;
  --grad: linear-gradient(120deg, #8a6bff 0%, #4f7bff 45%, #36a2ff 100%);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-logo: "Lexend Exa", "Sora", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}
body.is-loading, body.menu-open { overflow: hidden; }
body.menu-open { position: fixed; width: 100%; left: 0; right: 0; }
html.menu-open { overscroll-behavior: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button, .btn, .nav__toggle { touch-action: manipulation; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
@media (max-width: 600px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .hide-sm { display: none; }
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-logo);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
  display: inline-flex;
  align-items: center;
}
.wordmark .x {
  background: linear-gradient(180deg, #8a6bff 0%, #4f7bff 50%, #e8ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark--xl { font-size: clamp(40px, 9vw, 96px); }

/* ---------- Generic bits ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8c0ff;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(79, 123, 255, 0.07);
  backdrop-filter: blur(8px);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 0 rgba(54, 162, 255, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 162, 255, .6); }
  70% { box-shadow: 0 0 0 9px rgba(54, 162, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 162, 255, 0); }
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.pill--live { color: var(--ok); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .25); }
.pill--live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
  will-change: transform;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn--sm { --pad: 10px 18px; font-size: 14px; }
.btn--lg { --pad: 18px 30px; font-size: 16px; }
.btn--primary {
  background: linear-gradient(120deg, #6b55ff, #2f6bff 60%, #36a2ff);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .8), inset 0 1px 0 rgba(255,255,255,.25);
  animation: btnShift 6s ease-in-out infinite;
}
@keyframes btnShift { 50% { background-position: 100% 0; } }
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(79, 123, 255, 1), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(122, 92, 255, .6); background: rgba(122, 92, 255, .1); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__logo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-60deg);
  filter: blur(8px);
  animation: letterIn .9s var(--ease) forwards;
}
.preloader__logo span:nth-child(1) { animation-delay: .05s; }
.preloader__logo span:nth-child(2) { animation-delay: .12s; }
.preloader__logo span:nth-child(3) { animation-delay: .19s; }
.preloader__logo span:nth-child(4) { animation-delay: .38s; animation-name: xIn; }
.preloader__logo span:nth-child(5) { animation-delay: .26s; }
.preloader__logo span:nth-child(6) { animation-delay: .33s; }
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes xIn {
  0% { opacity: 0; transform: scale(2.4) rotate(-90deg); filter: blur(10px); }
  100% { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 18px rgba(122,92,255,.8)); }
}
.preloader__bar {
  position: absolute; bottom: 18%; left: 50%;
  width: 160px; height: 2px; transform: translateX(-50%);
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.preloader__bar i {
  position: absolute; inset: 0;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  animation: load 1.3s var(--ease) .2s forwards;
}
@keyframes load { to { transform: scaleX(1); } }
.preloader__beam {
  position: absolute; width: 140vmax; height: 2px;
  background: linear-gradient(90deg, transparent, #3d6bff, #9fb6ff, #3d6bff, transparent);
  box-shadow: 0 0 30px 6px rgba(47, 107, 255, .6);
  opacity: 0;
}
.preloader__beam--a { top: 20%; left: -20%; transform: rotate(-32deg) translateX(-100%); animation: beamSweep 1.4s var(--ease) .1s forwards; }
.preloader__beam--b { bottom: 20%; right: -20%; transform: rotate(-32deg) translateX(100%); animation: beamSweepB 1.4s var(--ease) .25s forwards; }
@keyframes beamSweep { 30% { opacity: 1; } 100% { opacity: .5; transform: rotate(-32deg) translateX(0); } }
@keyframes beamSweepB { 30% { opacity: 1; } 100% { opacity: .5; transform: rotate(-32deg) translateX(0); } }

/* ---------- Cursor glow & progress ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 600px; height: 600px; margin: -300px 0 0 -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 107, 255, .13), transparent 60%);
  pointer-events: none;
  transition: opacity .4s;
  will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--grad);
  transform-origin: left; transform: scaleX(0);
  padding-top: env(safe-area-inset-top);
  background-clip: content-box;
  box-sizing: content-box;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: calc(18px) 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
  padding-top: calc(18px + env(safe-area-inset-top));
}
.nav.scrolled {
  padding: 12px 0;
  padding-top: calc(12px + env(safe-area-inset-top));
  background: rgba(5, 6, 15, .7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; }
.nav__logo { font-size: 20px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px; font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue-2);
  transform: translateX(-50%);
}
.nav__cta-mobile { display: none; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface);
  cursor: pointer; position: relative; z-index: 2;
  color: #fff;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(5, 6, 15, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: calc(72px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links a {
    font-size: clamp(22px, 6vw, 26px);
    font-family: var(--font-display);
    color: var(--text);
    transform: translateY(20px);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .5s;
    padding: 12px 18px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
  }
  .nav.open .nav__links { opacity: 1; visibility: visible; }
  .nav.open .nav__links a { transform: none; opacity: 1; }
  .nav.open .nav__links a:nth-child(2) { transition-delay: .05s; }
  .nav.open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .nav.open .nav__links a:nth-child(4) { transition-delay: .15s; }
  .nav.open .nav__links a:nth-child(5) { transition-delay: .2s; }
  .nav__cta-mobile {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 16px; background: var(--grad); color: #fff !important;
    padding: 14px 28px !important; font-size: 17px !important;
    min-height: 48px; border-radius: 999px;
  }
  .nav__logo { position: relative; z-index: 2; }
  .nav__toggle { z-index: 3; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(110px + env(safe-area-inset-top)) 0 90px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__grid {
  position: absolute; inset: -2px; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px; } }

/* Diagonal light beams — inspired by the logo */
.beam {
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax;
}
.beam::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(30, 60, 255, .55), transparent 60%);
  filter: blur(40px);
  opacity: .7;
}
.beam i {
  position: absolute; left: -10%; right: -10%; top: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(80, 120, 255, .9) 35%, #c9d6ff 50%, rgba(80, 120, 255, .9) 65%, transparent);
  box-shadow: 0 0 24px 4px rgba(47, 107, 255, .7), 0 0 80px 10px rgba(47, 107, 255, .35);
  transform: rotate(-35deg);
}
.beam i::after {
  content: ""; position: absolute; top: -3px; height: 8px; width: 120px; left: 0;
  background: radial-gradient(ellipse, #fff, transparent 70%);
  filter: blur(2px);
  animation: spark 4.5s var(--ease) infinite;
}
@keyframes spark { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.beam--tl { top: -42vmax; left: -36vmax; animation: beamFloat 9s ease-in-out infinite; }
.beam--br { bottom: -42vmax; right: -36vmax; animation: beamFloat 11s ease-in-out infinite reverse; }
.beam--br i::after { animation-delay: 2s; }
@keyframes beamFloat { 50% { transform: translate(3vmax, 2vmax); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero__title {
  font-size: clamp(40px, 4.9vw, 68px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 26px 0 24px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .accent { color: var(--blue-2); }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 540px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  font-size: 13px; color: var(--muted);
  padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface);
}

/* Load reveals */
.reveal-up { display: inline-block; transform: translateY(110%); }
.reveal-load { opacity: 0; transform: translateY(24px); filter: blur(6px); }
body.loaded .reveal-up { transform: none; transition: transform 1.1s var(--ease) var(--d, 0s); }
body.loaded .reveal-load { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }

/* Hero visual */
.hero__visual { position: relative; height: 520px; perspective: 1400px; }
.mock {
  position: absolute; top: 40px; left: 0; right: 30px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(22, 26, 52, .92), rgba(10, 12, 28, .95));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(20, 40, 160, .7), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
  transform: rotateY(-12deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform .2s linear;
}
.mock::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.07) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: glare 6s ease-in-out infinite;
}
@keyframes glare { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #2a2f52; }
.mock__bar > span:nth-child(1) { background: #ff5f7a; }
.mock__bar > span:nth-child(2) { background: #ffc14d; }
.mock__bar > span:nth-child(3) { background: #3ddc97; }
.mock__url { margin-left: 14px; font-size: 11px; color: var(--dim); padding: 4px 12px; background: rgba(255,255,255,.04); border-radius: 6px; }
.mock__body { display: flex; }
.mock__side { width: 52px; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.mock__side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.06); }
.mock__side i.on { background: var(--grad); box-shadow: 0 0 16px rgba(79, 123, 255, .6); }
.mock__main { flex: 1; padding: 18px; min-width: 0; }
.mock__head { display: flex; justify-content: space-between; align-items: flex-start; }
.mock__head small, .mock__kpis small { display: block; font-size: 11px; color: var(--dim); }
.mock__head b { font-family: var(--font-display); font-size: 16px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mock__kpis > div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mock__kpis b { font-family: var(--font-display); font-size: 22px; }
.mock__chart { height: 96px; margin-top: 14px; }
.mock__chart svg { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 420; stroke-dashoffset: 420; }
.chart-area { opacity: 0; }
body.loaded .chart-line { animation: draw 2.2s var(--ease) 1s forwards; }
body.loaded .chart-area { animation: fadeIn 1.4s ease 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.mock__rows { margin-top: 12px; display: grid; gap: 6px; }
.mock__rows > div {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; padding: 8px 10px; border-radius: 10px;
  background: rgba(255,255,255,.025);
  opacity: 0; transform: translateX(-10px);
}
body.loaded .mock__rows > div { animation: rowIn .7s var(--ease) forwards; }
body.loaded .mock__rows > div:nth-child(1) { animation-delay: 1.6s; }
body.loaded .mock__rows > div:nth-child(2) { animation-delay: 1.8s; }
body.loaded .mock__rows > div:nth-child(3) { animation-delay: 2s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.mock__rows span { flex: 1; color: #c6cbe8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__rows em { font-style: normal; color: var(--dim); font-size: 11px; }
.mock__rows i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mock__rows i.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.mock__rows i.wait { background: #ffc14d; box-shadow: 0 0 10px #ffc14d; animation: blink 1.4s infinite; }

.float {
  position: absolute;
  border-radius: 16px;
  background: rgba(16, 19, 42, .85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  transition: transform .2s linear;
}
.float--a {
  left: -36px; bottom: 54px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  animation: bob 6s ease-in-out infinite;
}
.float--a small { display: block; font-size: 11px; color: var(--muted); }
.float--a b { font-family: var(--font-display); font-size: 16px; }
.float__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3ddc97, #1fae73); box-shadow: 0 0 20px rgba(61, 220, 151, .5); }
.float--b { right: -10px; top: 0; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.phone {
  width: 168px; padding: 26px 14px 14px;
  border-radius: 28px;
  background: linear-gradient(170deg, #161a38, #0b0d20);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -20px rgba(47, 80, 255, .55), inset 0 0 0 4px rgba(255,255,255,.02);
  position: relative;
}
.phone__notch { position: absolute; top: 9px; left: 50%; width: 46px; height: 6px; border-radius: 6px; background: #000; transform: translateX(-50%); }
.phone small { display: block; font-size: 10px; color: var(--muted); }
.phone b { font-family: var(--font-display); font-size: 14px; }
.phone__steps { display: flex; gap: 4px; margin: 10px 0; }
.phone__steps i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.phone__steps i.done { background: var(--grad); }
.phone__steps i.active { background: linear-gradient(90deg, #4f7bff 50%, rgba(255,255,255,.08) 50%); background-size: 200% 100%; animation: stepFill 2s ease-in-out infinite; }
@keyframes stepFill { from { background-position: 100% 0; } to { background-position: 0 0; } }
.phone__map { height: 80px; border-radius: 12px; background: rgba(79, 123, 255, .07); border: 1px solid var(--line); overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 14px 14px; }
.phone__map svg { width: 100%; height: 100%; }
.route { animation: dash 1.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 3;
  width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid var(--line-2); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 470px; max-width: 560px; width: 100%; margin: 0 auto; }
  .float--a { left: 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(100px + env(safe-area-inset-top)); padding-bottom: 60px; }
  .hero__visual { height: auto; padding: 90px 0 40px; max-width: 100%; }
  .mock { position: relative; right: auto; top: 0; transform: none; }
  .eyebrow { font-size: 11px; }
  .float--b { right: 0; top: 0; transform: scale(.78); transform-origin: top right; }
  .float--b .phone { width: 150px; }
  .float--a { bottom: 0; left: 4px; padding: 10px 14px; max-width: calc(100% - 8px); }
  .mock__side { display: none; }
  .mock__kpis b { font-size: 18px; }
  .mock__main { padding: 14px; }
  .scroll-hint { display: none; }
  .hero__title { margin: 20px 0 18px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; min-width: 140px; }
  .hero__chips { margin-top: 28px; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(122,92,255,.06), rgba(47,107,255,.06));
  padding: 22px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; white-space: nowrap; color: #d9ddf7; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(200, 210, 255, .45); }
.marquee b { color: var(--violet); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: clamp(70px, 8vw, 110px) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; margin-top: 20px; }
.section__lead { margin-top: 20px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 600px; }
.section__head--center .section__lead { margin-inline: auto; }

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

/* ---------- About ---------- */
.manifesto {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.7vw, 48px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 1050px;
}
.manifesto .w { color: rgba(238, 240, 255, .14); transition: color .35s ease; }
.manifesto .w.on { color: var(--text); }
.manifesto .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.pillar {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), transparent);
  position: relative; overflow: hidden;
}
.pillar::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .3s);
}
.pillar.in::after { transform: scaleX(1); }
.pillar__num { font-family: var(--font-logo); font-size: 13px; color: var(--violet); letter-spacing: .1em; }
.pillar h3 { font-size: 24px; margin: 16px 0 10px; }
.pillar p { color: var(--muted); }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; margin-top: 50px; } .pillar { padding: 26px 22px; } }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
}
.card.ready { transition: transform .5s var(--ease), border-color .4s; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79, 123, 255, .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(140, 120, 255, .9), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(122, 92, 255, .2), rgba(47, 107, 255, .15));
  border: 1px solid rgba(122, 92, 255, .3);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: #b9c4ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__icon { transform: translateZ(30px) rotate(-6deg) scale(1.08); box-shadow: 0 10px 30px -6px rgba(122, 92, 255, .6); }
.card h3 { font-size: 21px; margin: 24px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card li { font-size: 12px; color: #b4bbdf; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Transparency / tracker ---------- */
.transp { background: radial-gradient(60% 50% at 80% 50%, rgba(47, 80, 255, .12), transparent 70%); }
.transp__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: #cdd2ee; }
.checklist i {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad);
  position: relative;
}
.checklist i::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.tracker {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(22, 26, 52, .9), rgba(10, 12, 28, .95));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(47, 80, 255, .6);
}
.tracker__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tracker__head small { display: block; font-size: 12px; color: var(--dim); }
.tracker__head b { font-family: var(--font-display); font-size: 18px; }
.tracker__ring { position: relative; width: 170px; height: 170px; margin: 26px auto; }
.tracker__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 10; }
.ring-fg { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 2.2s var(--ease) .3s; filter: drop-shadow(0 0 8px rgba(79, 123, 255, .6)); }
.tracker.in .ring-fg { stroke-dashoffset: calc(314.16 * (1 - .72)); }
.tracker__pct { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tracker__pct b { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.tracker__pct span { font-family: var(--font-display); font-size: 20px; color: var(--muted); }
.tracker__pct small { display: block; font-size: 12px; color: var(--dim); margin-top: 4px; }
.tracker__list { display: grid; gap: 14px; }
.task { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.task em { font-style: normal; color: var(--muted); font-size: 13px; }
.task__bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.task__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.tracker.in .task__bar i { transform: scaleX(1); }
.tracker.in .task:nth-child(2) .task__bar i { transition-delay: .15s; }
.tracker.in .task:nth-child(3) .task__bar i { transition-delay: .3s; }
.tracker.in .task:nth-child(4) .task__bar i { transition-delay: .45s; }
.tracker__feed { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tracker__feed > div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.tracker__feed b { color: var(--text); font-weight: 600; }
.tracker__feed span { flex: 1; }
.tracker__feed em { font-style: normal; font-size: 12px; color: var(--dim); }
.tracker__feed i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); flex: none; }
@media (max-width: 900px) { .transp__inner { grid-template-columns: 1fr; gap: 50px; } }
@media (max-width: 480px) {
  .tracker { padding: 20px; border-radius: 18px; }
  .tracker__head { flex-direction: column; gap: 8px; }
  .card { padding: 26px 22px 24px; }
  .step__card { padding: 20px 18px; }
  .step__card h3 { font-size: 19px; }
}

/* ---------- Process timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; display: grid; gap: 34px; }
.timeline__line { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.timeline__line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--violet), var(--blue), var(--blue-2)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px rgba(79, 123, 255, .8); }
.step { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.step__dot {
  grid-column: 2; justify-self: center;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: var(--bg); border: 1px solid var(--line-2);
  position: relative; z-index: 1;
  transition: background .6s, box-shadow .6s, border-color .6s;
}
.step.lit .step__dot { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 6px rgba(79, 123, 255, .12), 0 0 30px rgba(79, 123, 255, .7); }
.step__card { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step__card h3 { font-size: 21px; margin-bottom: 8px; }
.step__card p { color: var(--muted); font-size: 15px; }
.step:nth-child(odd) .step__card { grid-column: 3; grid-row: 1; }
.step:nth-child(even) .step__card { grid-column: 1; grid-row: 1; text-align: right; }
.step:nth-child(even) .step__dot { grid-row: 1; }
@media (max-width: 760px) {
  .timeline__line { left: 24px; }
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step__dot { grid-column: 1; }
  .step:nth-child(odd) .step__card, .step:nth-child(even) .step__card { grid-column: 2; text-align: left; }
}

/* ---------- Brand banner ---------- */
.brand { padding-top: 0; }
.brand__frame {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 140px -50px rgba(47, 80, 255, .7);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) scale(var(--s, 1));
  transition: transform .2s linear;
}
.brand__frame img { width: 100%; height: auto; aspect-ratio: 1280 / 480; object-fit: cover; }
.brand__shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(130, 160, 255, .22) 50%, transparent 65%); background-size: 250% 100%; animation: glare 5s ease-in-out infinite; mix-blend-mode: screen; }
@media (max-width: 600px) { .brand__frame { border-radius: 18px; } .brand__frame img { aspect-ratio: 16 / 9; } }

/* ---------- CTA ---------- */
.cta { padding-top: 40px; }
.cta__box {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 60px);
  border-radius: 32px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #0d1030, #070818);
}
.cta__glow {
  position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; margin-left: -450px; margin-top: -300px;
  background: conic-gradient(from 0deg, #7a5cff, #2f6bff, #36a2ff, #7a5cff);
  filter: blur(90px); opacity: .45;
  border-radius: 50%;
  animation: spin 14s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta__box > *:not(.cta__glow) { position: relative; }
.cta h2 { font-size: clamp(30px, 4.4vw, 54px); }
.cta .section__lead { margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.cta__actions .btn { max-width: 100%; }
@media (max-width: 480px) {
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .btn--lg { --pad: 16px 22px; font-size: 15px; }
  .cta__box { border-radius: 24px; }
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 56px 0 calc(30px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__logo { font-size: 24px; margin-bottom: 12px; }
.footer p { color: var(--muted); max-width: 340px; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 26px; align-content: flex-start; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color .3s; padding: 6px 0; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
@media (max-width: 600px) {
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__links { gap: 4px 20px; }
  .footer__bottom { flex-direction: column; gap: 6px; margin-top: 36px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* ---------- Touch: evitar hover sticky e economizar ---------- */
@media (hover: none) {
  .btn--primary:hover { box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
  .btn--primary:hover::after { transform: translateX(-120%); }
  .btn--ghost:hover { border-color: var(--line-2); background: rgba(255,255,255,.03); }
  .btn:hover svg { transform: none; }
  .card:hover::before, .card:hover::after { opacity: 0; }
  .card:hover .card__icon { transform: none; box-shadow: none; }
  .nav__links a:hover { color: inherit; background: transparent; }
  .footer__links a:hover { color: var(--muted); }
  .marquee:hover .marquee__track { animation-play-state: running; }
}
@media (hover: none) and (max-width: 900px) {
  .nav.open .nav__links a:hover { color: var(--text); background: var(--surface-2); }
  .nav.open .nav__cta-mobile:hover { filter: brightness(1.08); }
}

/* ---------- Performance mobile: reduzir efeitos pesados ---------- */
@media (max-width: 640px) {
  .beam { display: none; }
  .hero__grid { animation: none; opacity: .6; }
  .mock::before { animation: none; }
  .brand__shine { animation: none; opacity: .5; }
  .cta__glow { animation-duration: 28s; opacity: .35; filter: blur(60px); }
  .preloader__beam { display: none; }
}
@media (max-width: 380px) {
  .hero__title { font-size: clamp(34px, 9vw, 40px); }
  .section h2 { font-size: clamp(28px, 8vw, 36px); }
  .manifesto { font-size: clamp(22px, 7vw, 28px); }
  .cta h2 { font-size: clamp(26px, 8vw, 36px); }
  .btn { font-size: 14px; }
  .btn--lg { --pad: 15px 20px; font-size: 14px; }
  .tracker__ring { width: 140px; height: 140px; }
  .tracker__pct b { font-size: 34px; }
}
