/* =========================================================
   The LineZ — página de desativação
   por YSH Engineer System
   ========================================================= */

:root {
  --bg: #02040d;
  --bg-2: #050b1f;
  --ink: #e6f0ff;
  --ink-dim: #93a7c9;
  --ink-mute: #5b6d8f;
  --blue-1: #7dd3fc;
  --blue-2: #38bdf8;
  --blue-3: #3b82f6;
  --blue-4: #1d4ed8;
  --blue-5: #1e3a8a;
  --cyan: #22d3ee;
  --red: #f43f5e;
  --glass: rgba(12, 24, 56, 0.45);
  --glass-line: rgba(125, 211, 252, 0.14);
  --radius: 24px;
  --mx: 50vw;
  --my: 50vh;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% 0%, #07143a 0%, var(--bg-2) 40%, var(--bg) 100%);
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

a { color: inherit; }

::selection { background: var(--blue-3); color: #fff; }

/* ---------- Fundo ---------- */

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  filter: blur(90px) saturate(140%);
  opacity: 0.55;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.b1 {
  width: 55vw; height: 55vw;
  left: -15vw; top: -20vw;
  background: radial-gradient(circle, var(--blue-4), transparent 65%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.b2 {
  width: 45vw; height: 45vw;
  right: -10vw; top: 10vh;
  background: radial-gradient(circle, var(--cyan), transparent 65%);
  opacity: 0.55;
  animation: drift2 26s ease-in-out infinite alternate;
}
.b3 {
  width: 60vw; height: 60vw;
  left: 20vw; bottom: -35vw;
  background: radial-gradient(circle, #4f46e5, transparent 65%);
  opacity: 0.6;
  animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vw, 20vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-15vw, -18vh) scale(1.1); } }

.floor {
  position: fixed;
  left: -50%;
  right: -50%;
  bottom: -10vh;
  height: 60vh;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.22) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: floor 3.5s linear infinite;
  opacity: 0.5;
}
@keyframes floor { to { background-position: 0 60px, 0 0; } }

.noise {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.18) 2px 3px);
  opacity: 0.35;
}
.scanline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 18vh;
  background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.06), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { from { top: -20vh; } to { top: 110vh; } }

.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 60%);
  transform: translate3d(var(--mx), var(--my), 0);
  transition: opacity 0.4s;
}

/* ---------- Boot loader ---------- */

.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.8s ease, visibility 0.8s;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot-inner { display: grid; justify-items: center; gap: 22px; }
.boot-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.15);
  border-top-color: var(--blue-2);
  border-right-color: var(--blue-3);
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.25);
}
@keyframes spin { to { transform: rotate(360deg); } }
.boot-text { font-size: 13px; color: var(--ink-dim); letter-spacing: 0.05em; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots {
  0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; }
}
.boot-bar {
  width: 220px; height: 2px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-4), var(--blue-1));
  box-shadow: 0 0 12px var(--blue-2);
  animation: bar 1.6s cubic-bezier(.7, 0, .2, 1) forwards;
}
@keyframes bar { 0% { width: 0; } 70% { width: 88%; } 100% { width: 88%; } }
.boot.fail .boot-bar span { background: var(--red); box-shadow: 0 0 12px var(--red); }
.boot.fail .boot-ring { border-top-color: var(--red); border-right-color: var(--red); animation-duration: 3s; }
.boot.fail .boot-text { color: var(--red); }

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(2, 4, 13, 0.75), transparent);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-4));
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: grayscale(0.55);
}
.brand-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: line-through;
  text-decoration-color: rgba(244, 63, 94, 0.7);
  text-decoration-thickness: 2px;
  color: var(--ink-dim);
}
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.08);
  border-radius: 999px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
  animation: ping 1.6s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(244, 63, 94, 0); }
}

/* ---------- Layout ---------- */

main { position: relative; z-index: 5; }

section {
  position: relative;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
  pointer-events: none;
  z-index: -1;
}
.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.09);
}
.ring i {
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--blue-1);
  box-shadow: 0 0 18px 4px rgba(56, 189, 248, 0.7);
}
.r1 { width: 46%; height: 46%; animation: spin 18s linear infinite; }
.r2 { width: 70%; height: 70%; animation: spin 32s linear infinite reverse; border-style: dashed; border-color: rgba(125, 211, 252, 0.07); }
.r3 { width: 96%; height: 96%; animation: spin 60s linear infinite; }
.r2 i { background: var(--cyan); }
.r3 i { width: 5px; height: 5px; margin-left: -2.5px; top: -2.5px; }
.core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28%; height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 70%);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.25); opacity: 0.6; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.code-tag {
  padding: 5px 10px;
  border-radius: 6px;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  letter-spacing: 0.12em;
}
.code-tag.blue {
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.92;
  margin-bottom: 30px;
}

.glitch {
  position: relative;
  display: inline-block;
  font-size: clamp(64px, 15vw, 210px);
  font-weight: 700;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #bae6fd 35%, #3b82f6 75%, #1e3a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.35));
  padding: 0 0.04em;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  padding: 0 0.04em;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}
.glitch::before {
  background: linear-gradient(180deg, #22d3ee, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  animation: glitch-a 3.2s infinite steps(1);
  mix-blend-mode: screen;
}
.glitch::after {
  background: linear-gradient(180deg, #f43f5e, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  animation: glitch-b 3.2s infinite steps(1);
  mix-blend-mode: screen;
}
@keyframes glitch-a {
  0%, 86%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  87% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, 2px); }
  89% { clip-path: inset(55% 0 20% 0); transform: translate(5px, -2px); }
  91% { clip-path: inset(30% 0 45% 0); transform: translate(-3px, 0); }
  93% { clip-path: inset(75% 0 5% 0); transform: translate(7px, 1px); }
  95% { clip-path: inset(100% 0 0 0); }
}
@keyframes glitch-b {
  0%, 86%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  88% { clip-path: inset(65% 0 10% 0); transform: translate(6px, -1px); }
  90% { clip-path: inset(15% 0 70% 0); transform: translate(-5px, 2px); }
  92% { clip-path: inset(40% 0 35% 0); transform: translate(4px, 0); }
  94% { clip-path: inset(5% 0 80% 0); transform: translate(-7px, -1px); }
  96% { clip-path: inset(100% 0 0 0); }
}
.glitch.shake { animation: shake 0.35s; }
@keyframes shake {
  20% { transform: translate(-4px, 1px) skewX(4deg); }
  40% { transform: translate(4px, -1px) skewX(-4deg); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 1px); }
}

.subtitle {
  font-size: clamp(30px, 6vw, 78px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 6px;
}
.scramble { font-family: inherit; }
.scramble .ch { color: var(--blue-2); font-family: "JetBrains Mono", monospace; font-weight: 400; }

.lead {
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  text-wrap: balance;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 48px;
}

/* ---------- Terminal ---------- */

.terminal {
  width: min(640px, 100%);
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(3, 8, 24, 0.72);
  border: 1px solid var(--glass-line);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 60px -10px rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform-style: preserve-3d;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(125, 211, 252, 0.08);
}
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl.red { background: #ff5f57; }
.tl.yellow { background: #febc2e; }
.tl.green { background: #28c840; opacity: 0.3; }
.term-title { margin-left: 10px; font-size: 12px; color: var(--ink-mute); }
.term-body {
  min-height: 228px;
  padding: 18px 20px 22px;
  font-size: 13px;
  line-height: 1.75;
  color: #b8c7e0;
  white-space: pre-wrap;
  word-break: break-word;
}
.term-body .p { color: var(--blue-2); }
.term-body .ok { color: #4ade80; }
.term-body .warn { color: #fbbf24; }
.term-body .err { color: var(--red); }
.term-body .hl { color: #fff; }
.term-body .link { color: var(--blue-1); text-decoration: underline; text-underline-offset: 3px; }
.caret {
  display: inline-block;
  width: 8px; height: 1.1em;
  vertical-align: -0.18em;
  background: var(--blue-2);
  box-shadow: 0 0 10px var(--blue-2);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Scroll hint ---------- */

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.3s;
}
.scroll-hint:hover { color: var(--blue-1); }
.mouse {
  width: 22px; height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.mouse span {
  width: 3px; height: 7px;
  border-radius: 2px;
  background: var(--blue-2);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* ---------- Dev section ---------- */

.dev {
  padding-top: 80px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dev-head { text-align: center; margin-bottom: 56px; }
.dev-title {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.grad {
  background: linear-gradient(100deg, var(--blue-1), var(--blue-3) 50%, var(--cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Card ---------- */

.card {
  --rx: 0deg;
  --ry: 0deg;
  --px: 50%;
  --py: 50%;
  position: relative;
  width: min(980px, 100%);
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(20, 40, 90, 0.55), rgba(5, 12, 32, 0.75));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 100px -30px rgba(59, 130, 246, 0.5);
  transform-style: preserve-3d;
  isolation: isolate;
}
.card-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 60%, var(--blue-2) 75%, var(--cyan) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rotate-border 6s linear infinite;
  pointer-events: none;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--glass-line);
  pointer-events: none;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotate-border { to { --angle: 360deg; } }
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--px) var(--py), rgba(125, 211, 252, 0.12), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 26px;
}
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  flex: none;
  border-radius: 22px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-4) 60%, #312e81);
  box-shadow: 0 10px 40px -8px rgba(56, 189, 248, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.avatar-ring {
  position: absolute;
  inset: -7px;
  border-radius: 27px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  animation: breathe 3.5s ease-in-out infinite;
}
.who { flex: 1; min-width: 200px; }
.who-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 4px;
}
.who-name {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.who-alias { color: var(--ink-dim); margin-top: 2px; }
.who-alias strong { color: var(--ink); font-weight: 600; }
.online {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: ping-g 1.8s infinite;
}
@keyframes ping-g {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
}

.card-text {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 640px;
  margin-bottom: 34px;
}

.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.svc {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(125, 211, 252, 0.08);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.35s, background 0.35s;
  overflow: hidden;
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(125, 211, 252, 0.12), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.svc:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.06);
}
.svc:hover::after { transform: translateX(100%); }
.svc-ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(29, 78, 216, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.svc-ico svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--blue-1);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-name { font-weight: 600; font-size: 15px; }
.svc-desc { font-size: 13px; color: var(--ink-mute); }

/* Marquee de tecnologias */
.stack {
  position: relative;
  overflow: hidden;
  margin: 0 calc(clamp(24px, 4vw, 52px) * -1) 38px;
  padding: 14px 0;
  border-top: 1px solid rgba(125, 211, 252, 0.08);
  border-bottom: 1px solid rgba(125, 211, 252, 0.08);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.stack-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.stack-track span {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.stack-track span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-3);
  box-shadow: 0 0 8px var(--blue-2);
}
.stack:hover .stack-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* CTA */
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 20px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-4));
  box-shadow:
    0 20px 50px -12px rgba(37, 99, 235, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition: box-shadow 0.4s, transform 0.25s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--cyan), var(--blue-3), #4f46e5);
  opacity: 0;
  transition: opacity 0.4s;
}
.cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  left: -80px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: glint 3.8s ease-in-out infinite;
}
@keyframes glint { 0%, 60% { left: -80px; } 100% { left: 110%; } }
.cta:hover { box-shadow: 0 30px 70px -10px rgba(34, 211, 238, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }
.cta:hover .cta-bg { opacity: 1; }
.cta-label { position: relative; }
.cta-arrow {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1), background 0.4s;
}
.cta-arrow svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta:hover .cta-arrow { transform: translateX(4px) rotate(-45deg); background: rgba(255, 255, 255, 0.3); }
.cta:focus-visible { outline: 2px solid var(--blue-1); outline-offset: 4px; }
.cta-note { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.08em; }

/* ---------- Footer ---------- */

.foot {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 30px 16px 40px;
  font-size: 12px;
  color: var(--ink-mute);
  border-top: 1px solid rgba(125, 211, 252, 0.06);
}
.foot a { color: var(--blue-1); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.sep { opacity: 0.4; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1), filter 1s;
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.tilt.in { transition: opacity 1s, filter 1s, transform 0.2s ease-out; }
.hero .reveal:nth-child(3) { transition-delay: 0.1s; }
.hero .reveal:nth-child(4) { transition-delay: 0.25s; }
.hero .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ---------- Responsivo ---------- */

@media (max-width: 860px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .topbar { padding: 14px 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .status-pill { padding: 7px 11px; font-size: 11px; }
  .services { grid-template-columns: 1fr; }
  .term-body { font-size: 11.5px; min-height: 250px; padding: 14px; }
  .cta { width: 100%; justify-content: space-between; padding-left: 22px; }
  .cta-label { font-size: 15px; }
  .online { order: 3; }
  .cursor-glow { display: none; }
  .scroll-hint { bottom: 20px; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .stack-track { animation: none; }
}
