:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-2: #07111f;
  --card: rgba(255, 255, 255, 0.075);
  --card-2: rgba(2, 6, 23, 0.82);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(103, 232, 249, 0.42);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --cyan: #67e8f9;
  --cyan-2: #22d3ee;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --pink: #e879f9;
  --green: #86efac;
  --gold: #facc15;
  --amber: #f59e0b;
  --danger: #fb7185;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 30px;
  --max: 1180px;
}

body[data-theme="black"] {
  color-scheme: dark;
  --bg: #020203;
  --bg-2: #08090d;
  --card: rgba(255, 255, 255, 0.07);
  --card-2: rgba(3, 5, 10, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --cyan: #f8fafc;
  --cyan-2: #dbeafe;
  --blue: #64748b;
  --purple: #a78bfa;
  --pink: #f0abfc;
  --green: #86efac;
  --amber: #f59e0b;
  --shadow: 0 34px 96px rgba(0, 0, 0, 0.64);
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fbff;
  --bg-2: #eaf6ff;
  --card: rgba(255, 255, 255, 0.78);
  --card-2: rgba(255, 255, 255, 0.9);
  --line: rgba(15, 23, 42, 0.14);
  --line-strong: rgba(14, 165, 233, 0.4);
  --text: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --cyan: #0284c7;
  --cyan-2: #0ea5e9;
  --blue: #2563eb;
  --purple: #7c3aed;
  --pink: #c026d3;
  --green: #059669;
  --amber: #d97706;
  --shadow: 0 26px 80px rgba(15, 23, 42, 0.14);
}

body[data-theme="hacker"] {
  --bg: #010403;
  --bg-2: #031109;
  --card: rgba(34, 197, 94, 0.08);
  --card-2: rgba(0, 18, 8, 0.86);
  --line: rgba(74, 222, 128, 0.2);
  --line-strong: rgba(34, 197, 94, 0.62);
  --text: #edfff3;
  --muted: #bbf7d0;
  --soft: #86efac;
  --cyan: #4ade80;
  --cyan-2: #22c55e;
  --blue: #16a34a;
  --purple: #84cc16;
  --pink: #bef264;
  --green: #22c55e;
  --amber: #a3e635;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.23), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(232, 121, 249, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.12), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 42%, var(--bg-2) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, 0.2), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(124, 58, 237, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 54%, #ffffff 100%);
}

body[data-theme="black"] {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(167, 139, 250, 0.12), transparent 28%),
    linear-gradient(180deg, #020203 0%, #05060a 48%, #090a10 100%);
}

body[data-theme="hacker"] {
  background:
    linear-gradient(rgba(34, 197, 94, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.18), transparent 34%),
    #010403;
  background-size: 44px 44px, 44px 44px, auto, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.12));
}

::selection {
  background: var(--cyan);
  color: #020617;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 0%;
  height: 4px;
  background: var(--cyan);
  box-shadow: 0 0 22px color-mix(in srgb, var(--cyan), transparent 15%);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eae5ec;
  color: #050505;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.55s ease, visibility 0.55s ease;
}

.loader-hidden {
  transform: scale(1.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-top {
  position: absolute;
  top: 28px;
  left: 50%;
  width: min(var(--max), calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  transform: translateX(-50%);
  font-weight: 1000;
}

.loader-top span {
  color: #6d28d9;
}

.loader-marquee {
  position: absolute;
  inset: auto 0 50%;
  display: flex;
  width: max-content;
  gap: 44px;
  color: rgba(5, 5, 5, 0.14);
  font-size: clamp(3.2rem, 9vw, 9rem);
  font-weight: 1000;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  transform: translateY(50%);
  animation: tickerMove 16s linear infinite;
}

.loader-marquee span {
  white-space: nowrap;
}

.loader-pill {
  position: relative;
  min-width: min(310px, 82vw);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border-radius: 999px;
  padding: 8px 26px;
  background: #050505;
  color: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.loader-pill span,
.loader-pill strong {
  position: relative;
  z-index: 2;
}

.loader-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 90px;
  border-radius: 999px;
  background: #a78bfa;
  filter: blur(26px);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  animation: loaderGlow 2.2s ease-in-out infinite;
}

.loader {
  place-items: stretch;
  background:
    radial-gradient(circle at 50% -18%, rgba(103, 232, 249, 0.18), transparent 32%),
    linear-gradient(135deg, #020203 0%, #05060a 48%, #0a0b12 100%);
  color: #f8fafc;
}

.loader > .loader-top,
.loader > .loader-pill {
  display: none;
}

.loader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(103, 232, 249, 0.08) 42%, transparent 50%),
    radial-gradient(circle at 72% 34%, rgba(167, 139, 250, 0.16), transparent 30%);
  opacity: 0.9;
  animation: loaderLightPass 4.2s ease-in-out infinite;
}

.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, transparent, rgba(103, 232, 249, 0.06), transparent);
  mix-blend-mode: screen;
  opacity: 0.28;
}

.loader-scan-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, rgba(0, 0, 0, 0.82) 42%, transparent 78%);
  animation: loaderGridDrift 12s linear infinite;
}

.loader-beam {
  position: absolute;
  z-index: 1;
  width: min(72vw, 860px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.92), transparent);
  box-shadow: 0 0 28px rgba(103, 232, 249, 0.42);
  opacity: 0.75;
}

.loader-beam-one {
  left: -18vw;
  top: 26%;
  transform: rotate(-18deg);
  animation: loaderBeamOne 3.7s ease-in-out infinite;
}

.loader-beam-two {
  right: -20vw;
  bottom: 23%;
  transform: rotate(16deg);
  animation: loaderBeamTwo 4.4s ease-in-out infinite;
}

.loader-v2 {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(16px, 3vw, 30px);
  padding: clamp(20px, 4vw, 42px) 0;
}

.loader-v2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.loader-v2-top strong {
  font-size: clamp(0.82rem, 2vw, 1rem);
}

.loader-v2-top span {
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(103, 232, 249, 0.48);
}

.loader-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(20px, 5vw, 70px);
  align-items: center;
}

.loader-holo {
  position: relative;
  width: min(430px, 78vw);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.loader-holo::before,
.loader-holo::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  box-shadow: inset 0 0 48px rgba(103, 232, 249, 0.08), 0 0 80px rgba(103, 232, 249, 0.11);
}

.loader-holo::after {
  inset: 27%;
  border-color: rgba(255, 255, 255, 0.16);
  animation: loaderCorePulse 1.8s ease-in-out infinite;
}

.loader-ring {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  border: 1px solid transparent;
  border-top-color: var(--cyan);
  border-left-color: rgba(103, 232, 249, 0.26);
  filter: drop-shadow(0 0 12px rgba(103, 232, 249, 0.55));
}

.ring-one {
  animation: spin 3.6s linear infinite;
}

.ring-two {
  inset: 22%;
  border-top-color: var(--purple);
  border-right-color: rgba(167, 139, 250, 0.36);
  animation: loaderReverseSpin 5.4s linear infinite;
}

.ring-three {
  inset: 34%;
  border-top-color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  animation: spin 2.2s linear infinite;
}

.loader-sweep {
  position: absolute;
  inset: 9%;
  border-radius: 999px;
  background: conic-gradient(from 180deg, transparent, rgba(103, 232, 249, 0.25), transparent 26%);
  mask-image: radial-gradient(circle, transparent 0 58%, #000 59% 100%);
  animation: spin 2.8s linear infinite;
}

.loader-core {
  position: relative;
  z-index: 2;
  width: clamp(136px, 28vw, 190px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  gap: 0;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.025)),
    rgba(2, 6, 23, 0.78);
  box-shadow:
    inset 0 0 50px rgba(103, 232, 249, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.48);
  transform: rotateX(12deg) rotateY(-14deg);
  animation: loaderCardFloat 3.2s ease-in-out infinite;
}

.loader-core span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.28em;
}

.loader-bot {
  position: relative;
  width: clamp(88px, 16vw, 124px);
  height: clamp(98px, 17vw, 136px);
  border: 1px solid rgba(103, 232, 249, 0.42);
  border-radius: 34px 34px 28px 28px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(155deg, rgba(103, 232, 249, 0.22), rgba(167, 139, 250, 0.08) 46%, rgba(2, 6, 23, 0.94));
  box-shadow:
    inset 0 0 36px rgba(103, 232, 249, 0.16),
    0 0 32px rgba(103, 232, 249, 0.26);
  animation: loaderBotFloat 2.9s ease-in-out infinite;
}

.loader-bot::before,
.loader-bot::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.88), transparent);
  opacity: 0.62;
}

.loader-bot::before {
  top: 57%;
}

.loader-bot::after {
  top: 69%;
}

.loader-bot-antenna {
  position: absolute;
  left: 50%;
  top: -26px;
  width: 2px;
  height: 26px;
  background: linear-gradient(var(--cyan), transparent);
  transform: translateX(-50%);
}

.loader-bot-antenna::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.92);
  transform: translateX(-50%);
  animation: loaderBotSignal 1.2s ease-in-out infinite;
}

.loader-bot-ear {
  position: absolute;
  top: 35%;
  width: 14px;
  height: 34px;
  border: 1px solid rgba(103, 232, 249, 0.34);
  background: rgba(103, 232, 249, 0.1);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.12);
}

.loader-bot-ear.left {
  left: -15px;
  border-radius: 12px 4px 4px 12px;
}

.loader-bot-ear.right {
  right: -15px;
  border-radius: 4px 12px 12px 4px;
}

.loader-bot-eye {
  position: absolute;
  top: 30%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(103, 232, 249, 0.9);
  animation: loaderBotBlink 3.4s ease-in-out infinite;
}

.loader-bot-eye.left {
  left: 26%;
}

.loader-bot-eye.right {
  right: 26%;
}

.loader-bot-mouth {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 34px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.64);
  background: rgba(103, 232, 249, 0.16);
  transform: translateX(-50%);
  animation: loaderBotTalk 1.8s steps(2, end) infinite;
}

.loader-bot-panel {
  position: absolute;
  left: 50%;
  bottom: 14%;
  min-width: 52px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  color: white;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
  animation: loaderBotPanel 2s ease-in-out infinite;
}

.loader-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(2, 6, 23, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.console-header {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--soft);
}

.console-header span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--danger);
}

.console-header span:nth-child(2) {
  background: var(--amber);
}

.console-header span:nth-child(3) {
  background: var(--green);
}

.console-header strong {
  margin-left: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-lines {
  min-height: 180px;
  max-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
  padding: 18px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.82rem, 1.6vw, 0.98rem);
}

.console-lines p {
  margin: 0;
  color: var(--muted);
  animation: loaderLineIn 0.34s ease both;
}

.console-lines span,
.console-lines strong {
  color: var(--cyan);
}

.loader-modules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.loader-modules span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.loader-modules span.active {
  color: #020617;
  border-color: rgba(103, 232, 249, 0.8);
  background: linear-gradient(135deg, #f8fafc, var(--cyan));
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(103, 232, 249, 0.2);
}

.loader-meter {
  display: grid;
  gap: 10px;
}

.loader-meter-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.loader-meter-copy strong {
  color: var(--text);
  font-size: 1.05rem;
}

.loader-track {
  position: relative;
  overflow: hidden;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.loader-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8fafc, var(--cyan), var(--purple));
  box-shadow: 0 0 22px rgba(103, 232, 249, 0.5);
  transition: width 0.16s ease;
}

.loader-skip {
  justify-self: end;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.loader-skip:hover,
.loader-skip:focus-visible {
  color: #020617;
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, white, var(--cyan));
  transform: translateY(-1px);
  outline: 0;
}

.loader .loader-marquee {
  z-index: 1;
  bottom: -0.18em;
  top: auto;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(4.4rem, 14vw, 13rem);
  letter-spacing: -0.08em;
  transform: none;
}

.loader-complete .loader-v2 {
  animation: loaderExit 0.58s cubic-bezier(0.76, 0, 0.24, 1) both;
}

body.boot-ready main {
  animation: pageRise 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.noise,
.particles,
.cursor-glow,
.cursor-dot {
  position: fixed;
  pointer-events: none;
}

.noise {
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.particles {
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  opacity: 0.55;
  animation: floatParticle var(--dur) infinite ease-in-out;
}

.cursor-glow {
  left: 0;
  top: 0;
  z-index: 1;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.18), rgba(139, 92, 246, 0.08) 34%, transparent 68%);
  filter: blur(8px);
  opacity: 0.75;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
}

body[data-theme="light"] .cursor-glow {
  mix-blend-mode: multiply;
  opacity: 0.34;
}

body[data-theme="hacker"] .cursor-glow {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0.08) 36%, transparent 70%);
}

body[data-theme="black"] .cursor-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), rgba(167, 139, 250, 0.08) 34%, transparent 70%);
  opacity: 0.6;
}

.cursor-dot {
  left: 0;
  top: 0;
  z-index: 999;
  width: 18px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 22%);
  border-radius: 999px;
  mix-blend-mode: difference;
  transition: width 0.2s ease, height 0.2s ease;
}

main,
.site-header,
.whatsapp-float {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg), transparent 18%);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

.brand strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--cyan);
  font-size: 0.76rem;
  margin-top: -2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-menu a {
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 780;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a {
  padding: 10px 14px;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch,
.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
}

.switch-current,
.lang-btn,
.theme-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
}

.switch-current {
  color: var(--text);
  min-width: 78px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.switch-current:hover,
.option-switch.open .switch-current {
  color: #020617;
  background: linear-gradient(135deg, white, var(--cyan));
  transform: translateY(-1px);
}

.switch-chevron {
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.option-switch.open .switch-chevron {
  transform: rotate(180deg);
}

.switch-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 5px;
  min-width: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.option-switch.open .switch-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.switch-menu .lang-btn,
.switch-menu .theme-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
}

.switch-menu .lang-btn:hover,
.switch-menu .theme-btn:hover {
  color: #020617;
  background: linear-gradient(135deg, white, var(--cyan));
}

.switch-menu .lang-btn.active,
.switch-menu .theme-btn.active {
  display: none;
}

.lang-btn.active,
.theme-btn.active {
  color: #020617;
  background: linear-gradient(135deg, white, var(--cyan));
}

.theme-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.24);
}

.theme-dot-black { background: radial-gradient(circle at 35% 30%, #38bdf8, #020617 55%, #000 100%); }
.theme-dot-dark { background: radial-gradient(circle at 35% 30%, #8b5cf6, #0f172a 55%, #1d4ed8 100%); }
.theme-dot-light { background: radial-gradient(circle at 35% 30%, #fff, #e0f2fe 55%, #38bdf8 100%); }
.theme-dot-hacker { background: radial-gradient(circle at 35% 30%, #bbf7d0, #22c55e 50%, #020617 100%); }

.flag {
  position: relative;
  width: 18px;
  height: 13px;
  display: inline-block;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
}

.flag-pt { background: linear-gradient(90deg, #046a38 0 42%, #da291c 42% 100%); }
.flag-pt::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffcd00;
}
.flag-en {
  background:
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 38%, #fff 38% 62%, transparent 62%),
    #012169;
}
.flag-en::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 43%, #c8102e 43% 57%, transparent 57%);
}
.flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%); }
.flag-fr { background: linear-gradient(90deg, #002395 0 33%, #fff 33% 66%, #ed2939 66% 100%); }

.nav-cta,
.menu-btn {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: #020617;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover,
.menu-btn:hover {
  transform: translateY(-2px);
  background: #cffafe;
}

.menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg), transparent 5%);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: block;
  animation: drop 0.22s ease both;
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  padding-top: 108px;
  padding-bottom: 58px;
}

.hero > div:first-child {
  position: relative;
  z-index: 2;
  transform: translateX(clamp(-26px, -1.5vw, -10px));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 76%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cyan), transparent 90%);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 850;
}

.pulse-dot,
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--green), transparent 30%);
  animation: pulse 1.7s infinite;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(3.05rem, 7vw, 6.7rem);
  letter-spacing: -0.058em;
  font-weight: 1000;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  letter-spacing: -0.045em;
  font-weight: 1000;
}

h3 {
  font-size: 1.26rem;
}

.grad {
  color: transparent;
  background: linear-gradient(90deg, #a5f3fc 0%, white 45%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body[data-theme="light"] .grad {
  background: linear-gradient(90deg, #0369a1, #111827 48%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
}

.role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.5rem);
  font-weight: 900;
}

.typing-line {
  min-height: 50px;
  color: var(--cyan);
  font-size: clamp(1.45rem, 3.5vw, 2.7rem);
  font-weight: 1000;
  text-shadow: 0 0 28px color-mix(in srgb, var(--cyan), transparent 75%);
}

.cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  margin-left: 5px;
  border-radius: 99px;
  background: var(--cyan);
  vertical-align: -0.12em;
  animation: blink 0.85s infinite;
}

.lead {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.social-links a:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.btn {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 1000;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: -1;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), transparent 62%);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn:hover::before {
  width: 230px;
  height: 230px;
}

.btn-primary {
  color: #020617;
  background: var(--cyan);
  box-shadow: 0 18px 45px color-mix(in srgb, var(--cyan), transparent 76%);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.btn-whatsapp {
  color: #052e16;
  background: linear-gradient(135deg, #dcfce7, #86efac 48%, #22c55e);
}

.wa-icon {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 37, 19, 0.12);
  color: #063d1f;
  flex: 0 0 auto;
}

.wa-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.live-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.live-bar div {
  min-height: 58px;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.live-bar strong {
  color: var(--text);
  font-size: 1.06rem;
}

.live-bar small {
  grid-column: 2;
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1200px;
  transform: translateX(clamp(10px, 2vw, 34px));
}

.orbit {
  position: absolute;
  inset: 22px;
  border: 1px dashed color-mix(in srgb, var(--cyan), transparent 74%);
  border-radius: 999px;
  animation: spin 24s linear infinite;
}

.orbit-two {
  inset: 64px;
  border-color: color-mix(in srgb, var(--pink), transparent 82%);
  animation-duration: 34s;
  animation-direction: reverse;
}

.avatar-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --head-x: 0px;
  --head-y: 0px;
  --eye-x: 0px;
  --eye-y: 0px;
  position: relative;
  width: min(430px, 86vw);
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 72%);
  border-radius: 50px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-2), transparent 0%), color-mix(in srgb, var(--bg), transparent 2%));
  box-shadow: var(--shadow), 0 0 70px color-mix(in srgb, var(--cyan), transparent 86%);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  animation: hoverBot 5s ease-in-out infinite;
}

.avatar-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cyan), transparent 70%), color-mix(in srgb, var(--pink), transparent 76%), color-mix(in srgb, var(--blue), transparent 82%));
  filter: blur(20px);
}

.avatar-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 15%, color-mix(in srgb, var(--cyan), transparent 78%), transparent 30%),
    radial-gradient(circle at 78% 72%, color-mix(in srgb, var(--purple), transparent 82%), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px, 26px 26px;
}

.robot-head {
  position: absolute;
  left: 50%;
  top: 44px;
  z-index: 3;
  width: 142px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 42px;
  background: linear-gradient(135deg, #cffafe, var(--cyan-2) 50%, var(--blue));
  box-shadow: 0 18px 52px color-mix(in srgb, var(--cyan), transparent 66%);
  transform: translateX(-50%) translate3d(var(--head-x), var(--head-y), 54px);
  transition: transform 0.12s ease-out;
}

.antenna {
  position: absolute;
  left: 50%;
  top: -38px;
  width: 8px;
  height: 33px;
  border-radius: 99px;
  background: #a5f3fc;
  transform: translateX(-50%);
}

.antenna::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
  transform: translateX(-50%);
  animation: antenna 1.7s infinite;
}

.ear {
  position: absolute;
  top: 42px;
  width: 16px;
  height: 38px;
  background: var(--cyan);
  box-shadow: 0 0 18px color-mix(in srgb, var(--cyan), transparent 48%);
}

.ear.left {
  left: -15px;
  border-radius: 12px 0 0 12px;
}

.ear.right {
  right: -15px;
  border-radius: 0 12px 12px 0;
}

.robot-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 35px;
  width: 96px;
  height: 42px;
  border-radius: 22px;
  background: rgba(2, 6, 23, 0.9);
  transform: translateX(-50%);
  box-shadow: inset 0 0 22px rgba(103, 232, 249, 0.28);
}

.eye {
  position: absolute;
  top: 48px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  transform: translate(var(--eye-x), var(--eye-y));
  animation: blinkEye 5.2s infinite;
}

.eye.left {
  left: 44px;
}

.eye.right {
  right: 44px;
}

.mouth {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.82);
  transform: translateX(-50%);
}

.earring {
  position: absolute;
  top: 86px;
  z-index: 4;
  width: 13px;
  height: 19px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.7));
}

.earring.left {
  left: -18px;
}

.earring.right {
  right: -18px;
}

.arm {
  position: absolute;
  top: 210px;
  z-index: 1;
  width: 34px;
  height: 104px;
  border-radius: 99px;
  transform-origin: top;
}

.arm.left {
  left: 82px;
  background: color-mix(in srgb, var(--cyan), transparent 22%);
  animation: armLeft 2.5s infinite ease-in-out;
}

.arm.right {
  right: 82px;
  background: color-mix(in srgb, var(--purple), transparent 18%);
  animation: armRight 2.9s infinite ease-in-out;
}

.robot-body {
  position: absolute;
  left: 50%;
  top: 166px;
  z-index: 2;
  width: 190px;
  height: 154px;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 72%);
  border-radius: 48px 48px 32px 32px;
  background: linear-gradient(135deg, #475569, #0f172a 55%, #020617);
  box-shadow: inset 0 0 35px rgba(103, 232, 249, 0.05);
  transform: translateX(-50%) translateZ(34px);
}

.screen {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 116px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 58%);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.52);
  color: #cffafe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 1000;
  text-shadow: 0 0 12px rgba(103, 232, 249, 0.55);
  transform: translateX(-50%);
}

.bars {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 132px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  transform: translateX(-50%);
}

.bars i {
  height: 7px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--cyan), transparent 25%);
  animation: bar 1.4s infinite;
}

.bars i:nth-child(2) { animation-delay: 0.1s; }
.bars i:nth-child(3) { animation-delay: 0.2s; }
.bars i:nth-child(4) { animation-delay: 0.3s; }
.bars i:nth-child(5) { animation-delay: 0.4s; }

.laptop {
  position: absolute;
  left: 50%;
  bottom: 45px;
  z-index: 5;
  width: 292px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 75%);
  border-radius: 22px;
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%) translateZ(62px);
}

.laptop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 340px;
  height: 16px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(90deg, #1e293b, #94a3b8, #1e293b);
  transform: translateX(-50%);
}

.window-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
}

.window-dots i:nth-child(2) { background: var(--gold); }
.window-dots i:nth-child(3) { background: var(--green); }

.code-lines {
  display: grid;
  gap: 7px;
  color: #a5f3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.code-lines span {
  display: block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  white-space: nowrap;
  animation: typeCode 6s steps(32) infinite;
}

.code-lines span:nth-child(2) { color: #f0abfc; animation-delay: 0.45s; }
.code-lines span:nth-child(3) { color: #86efac; animation-delay: 0.9s; }
.code-lines span:nth-child(4) { color: #fde68a; animation-delay: 1.35s; }

.chip {
  position: absolute;
  z-index: 7;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  font-size: 0.86rem;
  font-weight: 950;
  animation: chipFloat 3.3s infinite ease-in-out;
}

.chip.c1 { top: 96px; left: 0; }
.chip.c2 { top: 158px; right: -6px; animation-duration: 3.8s; }
.chip.c3 { bottom: 108px; left: 12px; animation-duration: 4.1s; }
.chip.c4 { bottom: 144px; right: 0; animation-duration: 4.4s; }
.chip.c5 { top: 50%; left: -20px; animation-duration: 4.8s; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 12px;
  animation: tickerMove 32s linear infinite;
}

.ticker-track span {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.section {
  scroll-margin-top: 96px;
  padding: 96px 0;
}

.section-head {
  max-width: 830px;
  margin: 0 auto 46px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-head p {
  max-width: 660px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.contact-card p {
  color: var(--muted);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag,
.project-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  padding-block: 28px;
}

.creative-lab-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.creative-lab-section::before {
  content: "";
  position: absolute;
  inset: 12% -10%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 35%, color-mix(in srgb, var(--cyan), transparent 82%), transparent 30%),
    radial-gradient(circle at 80% 60%, color-mix(in srgb, var(--pink), transparent 82%), transparent 28%);
  filter: blur(12px);
  opacity: 0.9;
}

.lab-copy,
.kinetic-board,
.lab-principles,
.case-board,
.case-proof {
  position: relative;
  z-index: 1;
}

.lab-copy h2 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5.8vw, 6rem);
}

.lab-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.case-board {
  min-height: 560px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.028)),
    color-mix(in srgb, var(--card), transparent 10%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
}

.case-window-main,
.case-mini {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  color: white;
  background: rgba(2, 6, 23, 0.62);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.case-window-main {
  min-height: 365px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 34px;
  padding: 26px;
}

.case-window-main::before,
.case-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), color-mix(in srgb, var(--cyan), transparent 72%), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.78));
}

.case-window-main img,
.case-mini img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.03);
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.case-window-main span,
.case-window-main strong,
.case-window-main small,
.case-mini strong,
.case-mini span {
  position: relative;
  z-index: 2;
}

.case-window-main span {
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #020617;
  background: var(--cyan);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-window-main strong {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.case-window-main small {
  max-width: 520px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 850;
}

.case-window-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-mini {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  padding: 16px;
}

.case-mini strong {
  font-size: 1rem;
  line-height: 1.12;
}

.case-mini span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 850;
}

.case-window-main:hover img,
.case-mini:hover img {
  transform: scale(1.055);
  filter: saturate(1.14) contrast(1.06);
}

.kinetic-board {
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    color-mix(in srgb, var(--card), transparent 12%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
}

.kinetic-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.kinetic-orb {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: min(320px, 62vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), rgba(103, 232, 249, 0.55) 18%, rgba(168, 85, 247, 0.38) 38%, rgba(2, 6, 23, 0.2) 64%),
    linear-gradient(145deg, rgba(103, 232, 249, 0.5), rgba(216, 180, 254, 0.35));
  box-shadow:
    0 0 80px color-mix(in srgb, var(--cyan), transparent 58%),
    0 38px 110px rgba(0, 0, 0, 0.38),
    inset 0 0 38px rgba(255, 255, 255, 0.18);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.12s ease-out;
  animation: orbBreathe 5.6s ease-in-out infinite;
}

.kinetic-orb span {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(calc(var(--n, 1) * 40deg));
  animation: orbitSpin 12s linear infinite;
}

.kinetic-orb span:nth-child(2) {
  --n: 2;
  inset: -36px;
  border-color: color-mix(in srgb, var(--cyan), transparent 55%);
  animation-duration: 18s;
  animation-direction: reverse;
}

.kinetic-orb span:nth-child(3) {
  --n: 3;
  inset: 28px;
  border-color: color-mix(in srgb, var(--pink), transparent 52%);
  animation-duration: 9s;
}

.skill-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 74px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  text-align: center;
  color: var(--text);
  background: rgba(2, 6, 23, 0.66);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 1000;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 60deg))
    translateX(min(280px, 34vw))
    rotate(calc(var(--i) * -60deg));
}

.lab-terminal {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lab-terminal b {
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-terminal code {
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.lab-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lab-principles article,
.case-proof article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), color-mix(in srgb, var(--cyan), transparent 82%), transparent 34%),
    rgba(255, 255, 255, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.lab-principles article:hover,
.case-proof article:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
}

.lab-principles span,
.case-proof span {
  color: var(--cyan);
  font-weight: 1000;
  letter-spacing: 0.16em;
}

.lab-principles strong,
.case-proof strong {
  display: block;
  margin-top: 14px;
  font-size: 1.2rem;
}

.lab-principles p,
.case-proof p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.editorial-kicker {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-kicker span:first-child {
  color: var(--cyan);
}

.editorial-copy h2,
.capability-title h2,
.showcase-head h2 {
  max-width: 920px;
}

.editorial-copy > p:last-of-type,
.capability-title p,
.showcase-head p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.9;
}

.editorial-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.editorial-notes span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 850;
}

.capability-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.capability-title {
  position: sticky;
  top: 112px;
}

.capability-panels {
  display: grid;
  gap: 0;
  border-block: 1px solid var(--line);
}

.capability-panels article {
  position: relative;
  display: grid;
  grid-template-columns: 80px 0.8fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.capability-panels article:last-child {
  border-bottom: 0;
}

.capability-panels article > span {
  color: var(--cyan);
  font-weight: 1000;
  letter-spacing: 0.18em;
}

.capability-panels p,
.timeline-item p,
.showcase-copy p,
.showcase-result span,
.process-node p {
  color: var(--muted);
}

.capability-panels div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-panels b {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
}

.timeline-rail {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 46px;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--cyan), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 38px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

.experience-year {
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 1000;
}

.showcase-head {
  display: grid;
  grid-template-columns: 0.66fr 0.34fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-start;
  margin-bottom: 34px;
}

.filter-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.filter-btn.active,
.filter-btn:hover {
  color: #020617;
  background: var(--cyan);
}

.project-showcase {
  display: grid;
  gap: 56px;
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  padding: 0 0 56px;
  border-bottom: 1px solid var(--line);
}

.showcase-item:nth-child(even) .showcase-media {
  order: 2;
}

.showcase-media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.showcase-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 34%, rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--cyan), transparent 70%), transparent 32%);
  opacity: 0.72;
}

.project-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.showcase-media:hover .project-shot {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.showcase-number {
  position: absolute;
  left: 26px;
  top: 24px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 12px;
  color: #020617;
  background: var(--cyan);
  font-weight: 1000;
}

.showcase-symbol {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  min-width: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(14px);
  font-weight: 1000;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.showcase-copy h3 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.showcase-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.85;
}

.project-kpis,
.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.project-kpis span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 68%);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--cyan);
  background: color-mix(in srgb, var(--cyan), transparent 91%);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-features span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 7px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 850;
}

.showcase-result {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--cyan);
}

.showcase-result strong {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.showcase-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.showcase-thumb span {
  position: absolute;
  left: 9px;
  bottom: 9px;
  border-radius: 999px;
  padding: 5px 8px;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 1000;
}

.showcase-thumb:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.06);
}

.service-lines {
  display: grid;
  border-block: 1px solid var(--line);
}

.service-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.service-line:last-child {
  border-bottom: 0;
}

.service-line span {
  color: var(--cyan);
  font-weight: 1000;
}

.service-line h3 {
  font-size: clamp(1.1rem, 2.6vw, 2rem);
}

.service-line::after {
  content: "↗";
  color: var(--muted);
  font-size: 1.4rem;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

.process-node {
  position: relative;
  min-height: 260px;
  padding: 28px 18px;
  border-right: 1px solid var(--line);
}

.process-node:last-child {
  border-right: 0;
}

.process-node span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border-radius: 50%;
  color: #020617;
  background: var(--cyan);
  font-weight: 1000;
}

.process-node h3 {
  margin-bottom: 12px;
}

.portal-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
}

.portal-card {
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px;
  background:
    radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--cyan), transparent 86%), transparent 35%),
    var(--card);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.portal-head {
  margin-bottom: 22px;
}

.portal-head p {
  color: var(--muted);
}

.portal-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-tab {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}

.auth-tab.active {
  color: #020617;
  background: var(--cyan);
}

.portal-form {
  display: grid;
  gap: 13px;
}

.portal-form .btn {
  width: max-content;
  margin-top: 4px;
}

.portal-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.portal-session strong,
.portal-session span {
  display: block;
}

.portal-session span {
  color: var(--muted);
  font-weight: 850;
}

.portal-status {
  min-height: 25px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.portal-status[data-type="success"] { color: var(--green); }
.portal-status[data-type="error"] { color: var(--danger); }

.chat-card {
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chat-messages {
  min-height: 280px;
  max-height: 380px;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(2, 6, 23, 0.32);
}

.chat-message {
  max-width: 84%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 255, 255, 0.08);
}

.chat-message.mine {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  background: color-mix(in srgb, var(--cyan), transparent 84%);
}

.chat-message.system {
  max-width: 100%;
  justify-self: center;
  text-align: center;
  border-style: dashed;
}

.chat-message div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.chat-message strong {
  color: var(--text);
}

.chat-message span,
.chat-message p,
.empty-chat,
.chat-locked {
  color: var(--muted);
}

.chat-message p,
.empty-chat,
.chat-locked {
  margin: 0;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  border-radius: 36px;
  padding: 34px;
  background:
    radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--cyan), transparent 82%), transparent 36%),
    var(--card);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-lines a,
.contact-lines span {
  color: var(--muted);
  font-weight: 850;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label,
.portal-form label,
.chat-form label,
.order-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form .wide,
.order-form .wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  outline: 0;
  padding: 13px 14px;
}

select option {
  color: #0f172a;
  background: #f8fafc;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan), transparent 86%);
}

.form-result {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #dcfce7, #86efac 48%, #22c55e);
  box-shadow: 0 22px 70px rgba(34, 197, 94, 0.24);
}

.whatsapp-float .wa-icon {
  width: 34px;
  height: 34px;
}

.whatsapp-float .wa-icon svg {
  width: 24px;
  height: 24px;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

.hidden {
  display: none !important;
}

@keyframes floatParticle {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.18; }
  50% { transform: translate3d(var(--x), -48px, 0); opacity: 1; }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--green), transparent 100%); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green), transparent 100%); }
}

@keyframes blink { 50% { opacity: 0.15; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hoverBot { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes antenna { 0%, 100% { opacity: 0.45; transform: translateX(-50%) scale(0.8); } 50% { opacity: 1; transform: translateX(-50%) scale(1.2); } }
@keyframes blinkEye { 0%, 90%, 100% { scale: 1 1; } 94% { scale: 1 0.12; } }
@keyframes armLeft { 0%, 100% { transform: rotate(-15deg); } 50% { transform: rotate(19deg); } }
@keyframes armRight { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-14deg); } }
@keyframes bar { 0%, 100% { opacity: 0.25; transform: scaleY(0.75); } 50% { opacity: 1; transform: scaleY(1.35); } }
@keyframes chipFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(8px, -13px, 0); } }
@keyframes typeCode { 0%, 12% { width: 0; } 45%, 78% { width: 100%; } 100% { width: 0; } }
@keyframes tickerMove { to { transform: translateX(-50%); } }
@keyframes drop { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes loaderGlow { 0%, 100% { transform: translate(-70%, -50%) scale(0.8); } 50% { transform: translate(-30%, -50%) scale(1.12); } }
@keyframes loaderLightPass { 0%, 100% { transform: translateX(-8%); opacity: 0.72; } 50% { transform: translateX(8%); opacity: 1; } }
@keyframes loaderGridDrift { to { background-position: 58px 58px, 58px 58px; } }
@keyframes loaderBeamOne { 0%, 100% { transform: translateX(-8%) rotate(-18deg); opacity: 0.35; } 50% { transform: translateX(20%) rotate(-18deg); opacity: 0.9; } }
@keyframes loaderBeamTwo { 0%, 100% { transform: translateX(8%) rotate(16deg); opacity: 0.28; } 50% { transform: translateX(-18%) rotate(16deg); opacity: 0.78; } }
@keyframes loaderReverseSpin { to { transform: rotate(-360deg); } }
@keyframes loaderCorePulse { 0%, 100% { transform: scale(0.96); opacity: 0.5; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes loaderCardFloat { 0%, 100% { transform: rotateX(12deg) rotateY(-14deg) translateY(0); } 50% { transform: rotateX(8deg) rotateY(12deg) translateY(-10px); } }
@keyframes loaderBotFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1.4deg); } }
@keyframes loaderBotBlink { 0%, 8%, 100% { transform: scaleY(1); } 4% { transform: scaleY(0.14); } }
@keyframes loaderBotTalk { 0%, 100% { width: 28px; opacity: 0.72; } 50% { width: 40px; opacity: 1; } }
@keyframes loaderBotSignal { 0%, 100% { transform: translateX(-50%) scale(0.84); opacity: 0.68; } 50% { transform: translateX(-50%) scale(1.18); opacity: 1; } }
@keyframes loaderBotPanel { 0%, 100% { box-shadow: inset 0 0 12px rgba(103, 232, 249, 0.08); } 50% { box-shadow: inset 0 0 20px rgba(103, 232, 249, 0.22), 0 0 18px rgba(103, 232, 249, 0.22); } }
@keyframes loaderLineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loaderExit { to { opacity: 0; transform: translateY(-28px) scale(0.96); filter: blur(8px); } }
@keyframes pageRise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes orbBreathe { 0%, 100% { filter: saturate(0.95); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(0); } 50% { filter: saturate(1.2); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px) scale(1.025); } }
@keyframes orbitSpin { to { transform: rotateX(64deg) rotateZ(360deg); } }

@media (max-width: 760px) {
  .loader-v2 {
    width: min(100% - 28px, 560px);
    grid-template-rows: auto auto auto auto;
    justify-content: center;
    padding-block: 18px;
  }

  .loader-v2-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .loader-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .loader-holo {
    width: min(300px, 78vw);
  }

  .loader-core {
    width: clamp(120px, 38vw, 154px);
    border-radius: 26px;
  }

  .loader-bot {
    width: clamp(82px, 28vw, 108px);
    height: clamp(92px, 30vw, 120px);
  }

  .console-lines {
    min-height: 138px;
    max-height: 156px;
    padding: 14px;
  }

  .loader-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loader-modules span:last-child {
    grid-column: 1 / -1;
  }

  .loader-meter-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .loader-skip {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .hero,
  .creative-lab-section,
  .craft-grid,
  .about-grid,
  .portal-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
  }

  .hero > div:first-child,
  .hero-visual {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 5px;
  }

  .language-switch,
  .theme-switch {
    height: 34px;
    padding: 2px;
  }

  .switch-current {
    min-width: 44px;
    height: 28px;
    padding: 0 8px;
    font-size: 0;
  }

  .switch-current .switch-label {
    display: none;
  }

  .switch-menu {
    min-width: 142px;
  }

  .switch-menu .lang-btn,
  .switch-menu .theme-btn {
    width: 100%;
    height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .flag {
    width: 16px;
    height: 11px;
  }

  .menu-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .mini-stats,
  .craft-grid,
  .skill-grid,
  .services-grid,
  .process-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-switch {
    display: inline-flex;
  }

  .experience-grid::before {
    display: none;
  }

  .experience-card {
    grid-template-columns: 1fr;
  }

  .stack-orbit > span {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 45deg))
      translateX(min(250px, 34vw))
      rotate(calc(var(--i) * -45deg));
  }

  .showcase-item {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .showcase-item:nth-child(even) .showcase-media {
    order: initial;
  }

  .showcase-copy h3 {
    font-size: clamp(2rem, 8vw, 3.3rem);
  }

  .lab-principles,
  .case-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .language-switch {
    height: 36px;
  }

  .switch-current {
    min-width: 38px;
    width: 38px;
    padding: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero-actions,
  .live-bar,
  .chat-form,
  .contact-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .portal-form .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 500px;
  }

  .avatar-card {
    width: min(350px, 88vw);
  }

  .chip {
    font-size: 0.74rem;
    padding: 7px 10px;
  }

  .mini-stats,
  .craft-grid,
  .skill-grid,
  .services-grid,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .loader-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-orbit {
    min-height: 520px;
  }

  .stack-orbit > span {
    min-width: 76px;
    font-size: 0.76rem;
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 45deg))
      translateX(min(170px, 38vw))
      rotate(calc(var(--i) * -45deg));
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .kinetic-board,
  .case-board {
    min-height: 500px;
    border-radius: 32px;
  }

  .case-window-main {
    min-height: 330px;
    border-radius: 26px;
    padding: 20px;
  }

  .case-window-row {
    grid-template-columns: 1fr;
  }

  .case-mini {
    min-height: 130px;
  }

  .skill-orbit span {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 60deg))
      translateX(min(170px, 36vw))
      rotate(calc(var(--i) * -60deg));
  }

  .lab-terminal {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .showcase-media {
    border-radius: 28px;
    padding: 8px;
  }

  .project-shot {
    border-radius: 20px;
  }

  .showcase-media::after {
    inset: 8px;
    border-radius: 20px;
  }

  .showcase-number {
    left: 18px;
    top: 18px;
  }

  .showcase-symbol {
    right: 18px;
    bottom: 18px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 16px;
  }

  .showcase-gallery {
    grid-template-columns: 1fr;
  }
}

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

  .cursor-glow,
  .cursor-dot,
  .particles {
    display: none;
  }

  .loader {
    display: none;
  }
}

/* Final viewport guard: keeps animated tickers from creating mobile side scroll. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.loader,
.ticker {
  max-width: 100vw;
  overflow: hidden;
  contain: paint;
}

.loader-marquee,
.ticker-track {
  max-width: none;
  will-change: transform;
}

/* ==========================================================================
   PREMIUM ENHANCEMENTS (additive) — mobile polish, PC detail, extra motion
   ========================================================================== */

/* ── Global polish ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }
:focus-visible { outline: 2px solid #67e8f9; outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

/* Animated gradient text (hero name + gradient accents) */
.grad,
[data-i18n="hero.hello"] ~ .grad {
  background-size: 220% 220%;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Reveal variants — richer entrance choreography */
.reveal { will-change: transform, opacity; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal:not(.visible) { transform: translateY(34px) scale(.985); filter: blur(6px); opacity: 0; }
.reveal.visible { transform: none; filter: none; opacity: 1; }

/* Buttons — shimmer sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.btn:hover::after { transform: translateX(130%); }
.btn-primary:hover { box-shadow: 0 10px 30px -8px rgba(34, 211, 238, .55); transform: translateY(-2px); }
.btn-ghost:hover   { box-shadow: 0 10px 26px -12px rgba(120, 160, 200, .45); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Nav links — animated underline */
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: linear-gradient(90deg, #67e8f9, #34d399); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.desktop-nav a:hover::after,
.desktop-nav a[data-active="true"]::after { transform: scaleX(1); }

/* Magnetic hover micro-feedback */
[data-magnetic] { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
[data-magnetic]:hover { transform: translateY(-3px) scale(1.012); }

/* Live status dot — soft pulse halo */
.status-dot, .pulse-dot { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); animation: dotPulse 2.6s ease-out infinite; }
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Typewriter caret */
.typing-line .cursor { animation: caretBlink 1.05s step-end infinite; }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* Chips — gentle float */
.chip { animation: chipFloat 5.5s ease-in-out infinite; }
.chip.c2 { animation-delay: .8s; }
.chip.c3 { animation-delay: 1.6s; }
.chip.c4 { animation-delay: 2.4s; }
.chip.c5 { animation-delay: 3.2s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Case board — image zoom + lift on hover */
.case-window-main img, .case-mini img { transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.case-window-main:hover img, .case-mini:hover img { transform: scale(1.06); filter: saturate(1.12) brightness(1.04); }
.case-window-main, .case-mini { transition: transform .35s, box-shadow .35s; }
.case-window-main:hover, .case-mini:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -28px rgba(0,0,0,.7); }

/* Showcase / project cards — depth on hover */
.project-showcase > * { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.project-showcase > *:hover { transform: translateY(-5px); }

/* Filter buttons — active accent */
.filter-btn { transition: color .25s, background .25s, border-color .25s, transform .2s; }
.filter-btn:hover { transform: translateY(-1px); }

/* Section heads — eyebrow accent bar */
.section-head .eyebrow,
.editorial-copy .eyebrow { position: relative; padding-left: 30px; }
.section-head .eyebrow::before,
.editorial-copy .eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 2px;
  background: linear-gradient(90deg, #67e8f9, #34d399); transform: translateY(-50%);
}

/* Ticker — smoother infinite loop + subtle skew on hover */
.ticker { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* Orbit rings — slow rotation for life */
.orbit, .orbit-two { animation: orbitSpin 24s linear infinite; }
.orbit-two { animation-direction: reverse; animation-duration: 32s; }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Avatar card — subtle parallax float */
.avatar-card { animation: avatarFloat 7s ease-in-out infinite; }
@keyframes avatarFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Robot eyes — blink */
.robot-head .eye { animation: eyeBlink 4.8s ease-in-out infinite; }
@keyframes eyeBlink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* Scroll progress bar (if #progress used) */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9999;
  background: linear-gradient(90deg, #67e8f9, #34d399); transition: width .12s linear;
  box-shadow: 0 0 12px rgba(34,211,238,.6); }

/* Footer + contact polish */
.site-footer { border-top: 1px solid rgba(125, 150, 175, .12); }
.whatsapp-float { transition: transform .3s, box-shadow .3s; }
.whatsapp-float:hover { transform: scale(1.08) rotate(4deg); box-shadow: 0 14px 40px -10px rgba(37,211,102,.6); }

/* ── Mobile refinements (≤640px) ────────────────────────────────────────── */
@media (max-width: 640px) {
  body { overflow-x: clip; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.04; }
  h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero { padding-top: 84px; gap: 22px; }
  .hero-visual { min-height: 420px; }
  .avatar-card { width: min(300px, 86vw); }
  .hero-proof { gap: 8px; font-size: .76rem; }
  .hero-proof span { padding: 6px 10px; }
  .palette-strip { flex-wrap: wrap; gap: 8px; }
  .live-bar { gap: 10px; font-size: .8rem; }
  .section { padding: 58px 0; }
  .section-head, .editorial-layout { gap: 16px; }
  .case-window-main { min-height: 280px; }
  .case-window-main strong { font-size: 1.15rem; }
  .filter-btn { padding: 8px 12px; font-size: .76rem; }
  .project-tools { gap: 6px; flex-wrap: wrap; }
  .contact-card { gap: 24px; }
  .contact-form label { font-size: .86rem; }
  .portal-card { padding: 18px; }
  .site-footer .container { flex-direction: column; gap: 8px; text-align: center; }
  .lab-terminal { font-size: .7rem; }
  .showcase-symbol { min-width: 42px; min-height: 42px; font-size: .9rem; }
  .chip { font-size: .72rem; padding: 6px 9px; }
  /* Full-height mobile menu, scrollable */
  .mobile-menu { max-height: 70vh; overflow-y: auto; }
  /* Larger touch targets */
  .btn { min-height: 46px; }
  .auth-tab { min-height: 44px; }
}

/* ≤420px — tightest phones */
@media (max-width: 420px) {
  .container { width: calc(100% - 22px); }
  .hero-actions { gap: 10px; }
  .case-window-main { min-height: 240px; padding: 16px; }
  .nav-actions { gap: 4px; }
}

/* ── PC detail polish (≥1024px) ──────────────────────────────────────────── */
@media (min-width: 1024px) {
  .section { padding: 120px 0; }
  .hero { min-height: 92vh; }
  .case-board { min-height: 620px; }
  .case-window-main { min-height: 460px; }
  .case-mini { min-height: 190px; }
  /* finer typographic rhythm */
  h2 { letter-spacing: -0.02em; }
  .editorial-copy p { max-width: 60ch; }
  .contact-card { gap: 64px; }
  /* deeper card shadows on large screens */
  .project-showcase > *, .portal-card { box-shadow: 0 24px 60px -36px rgba(0,0,0,.75); }
}

/* ── Motion preference ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .grad, .chip, .avatar-card, .orbit, .orbit-two, .robot-head .eye,
  .status-dot, .pulse-dot, .btn::after { animation: none !important; }
  .reveal:not(.visible) { transform: none; filter: none; }
}

/* ==========================================================================
   V2 — DRAMATIC / ALWAYS-VISIBLE REDESIGN (2026 patterns)
   Aurora mesh background, grain, kinetic gradient name, glowing accents,
   glassmorphism, custom cursor, spotlight. Visible without interaction.
   ========================================================================== */

/* Aurora mesh — drifting blurred color blobs behind everything */
body::before {
  content: ""; position: fixed; inset: -10vmin; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 38% at 18% 22%, rgba(34, 211, 238, 0.30), transparent 60%),
    radial-gradient(38% 40% at 82% 28%, rgba(139, 92, 246, 0.28), transparent 62%),
    radial-gradient(42% 42% at 72% 82%, rgba(52, 211, 153, 0.24), transparent 60%),
    radial-gradient(34% 36% at 24% 78%, rgba(232, 121, 249, 0.22), transparent 62%);
  filter: blur(38px) saturate(1.25);
  animation: auroraDrift 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); opacity: .9; }
  50%  { transform: translate3d(2vmin,-2vmin,0) rotate(8deg) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-2vmin,2vmin,0) rotate(-6deg) scale(1.04); opacity: .92; }
}

/* Film grain overlay — premium texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
  animation: grainShift 1.2s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-4%,3%); }
  40%  { transform: translate(3%,-4%); }
  60%  { transform: translate(-3%,-3%); }
  80%  { transform: translate(4%,2%); }
  100% { transform: translate(0,0); }
}

/* Kinetic gradient name — vibrant, animated, glowing */
body:not([data-theme="light"]) .grad {
  background: linear-gradient(110deg, #67e8f9 0%, #a5f3fc 18%, #ffffff 34%, #e879f9 52%, #8b5cf6 70%, #34d399 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 18px rgba(103,232,249,.42)) drop-shadow(0 0 36px rgba(139,92,246,.28));
  animation: gradFlow 6s ease-in-out infinite;
}
@keyframes gradFlow {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* Section headings — animated gradient + glow */
.section-head h2, .showcase-head h2, .editorial-copy h2, h2.section-title,
h2:where(:not([data-theme])) {
  background: linear-gradient(110deg, #f8fafc, #67e8f9 40%, #e879f9 70%, #f8fafc);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradFlow 9s ease-in-out infinite;
}
body:not([data-theme="light"]) h2 { filter: drop-shadow(0 0 14px rgba(103,232,249,.22)); }

/* Eyebrows — bold glowing gradient tag */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(34,211,238,.16), rgba(139,92,246,.16));
  border: 1px solid rgba(103,232,249,.4);
  color: #a5f3fc; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 0 22px -6px rgba(34,211,238,.6);
}
.eyebrow::before { content: "◆"; color: #34d399; animation: dotPulse 2.2s ease-in-out infinite; }

/* Badge — glowing pulsing ring */
.badge {
  background: linear-gradient(90deg, rgba(34,211,238,.14), rgba(52,211,153,.12)) !important;
  border-color: rgba(103,232,249,.55) !important;
  box-shadow: 0 0 0 0 rgba(103,232,249,.5), inset 0 0 18px -8px rgba(103,232,249,.5);
  animation: badgeGlow 3.4s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(103,232,249,.0), inset 0 0 18px -8px rgba(103,232,249,.4); }
  50%     { box-shadow: 0 0 26px -4px rgba(103,232,249,.55), inset 0 0 22px -6px rgba(103,232,249,.6); }
}

/* Buttons — vibrant, always glowing */
.btn-primary {
  background: linear-gradient(110deg, #22d3ee, #34d399 55%, #8b5cf6) !important;
  background-size: 200% 100% !important;
  border: none !important; color: #03150f !important; font-weight: 1000 !important;
  box-shadow: 0 8px 30px -8px rgba(34,211,238,.6), 0 0 22px -6px rgba(52,211,153,.5);
  animation: btnGrad 5s ease-in-out infinite;
}
@keyframes btnGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost {
  border-color: rgba(103,232,249,.4) !important;
  background: rgba(103,232,249,.06) !important;
  box-shadow: inset 0 0 18px -10px rgba(103,232,249,.5);
}
.btn-whatsapp {
  box-shadow: 0 8px 26px -10px rgba(37,211,102,.6);
}

/* Glassmorphism cards — visible border glow */
.case-window-main, .case-mini, .project-showcase > *, .portal-card, .contact-card,
.editorial-copy, .feature-card, .capabilities-grid > * {
  background: rgba(8, 14, 28, 0.55) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(103,232,249,.22) !important;
  box-shadow: 0 18px 50px -28px rgba(0,0,0,.8), inset 0 0 30px -16px rgba(103,232,249,.25);
}
.case-window-main { border-color: rgba(103,232,249,.38) !important; }
.project-showcase > *:hover, .case-window-main:hover, .case-mini:hover {
  border-color: rgba(103,232,249,.7) !important;
  box-shadow: 0 28px 70px -26px rgba(0,0,0,.85), 0 0 36px -12px rgba(103,232,249,.5), inset 0 0 36px -14px rgba(139,92,246,.3);
}

/* Ticker — glowing kinetic labels */
.ticker-track span {
  color: #a5f3fc; font-weight: 900;
  text-shadow: 0 0 16px rgba(103,232,249,.4);
}
.ticker-track span:nth-child(odd) {
  background: linear-gradient(90deg, #67e8f9, #e879f9);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Live bar — more glow */
.live-bar strong { text-shadow: 0 0 14px rgba(103,232,249,.5); }

/* Hero spotlight — follows mouse (added by JS sets --mx/--my on hero) */
.hero {
  position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: 28px;
  background: radial-gradient(280px 280px at var(--mx,50%) var(--my,40%), rgba(103,232,249,.14), transparent 70%);
  transition: background .2s ease;
}

/* Custom cursor — glowing dot + ring (JS adds .cursor-ready to body) */
@media (pointer: fine) {
  body.cursor-ready { cursor: none; }
  body.cursor-ready a, body.cursor-ready button, body.cursor-ready .filter-btn { cursor: none; }
  .nc-cursor, .nc-cursor-ring { position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none; border-radius: 999px; mix-blend-mode: screen; }
  .nc-cursor { width: 8px; height: 8px; background: #67e8f9; box-shadow: 0 0 12px #67e8f9; transform: translate(-50%,-50%); }
  .nc-cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(103,232,249,.7); transform: translate(-50%,-50%); transition: width .2s, height .2s, border-color .2s, background .2s; }
  body.cursor-hover .nc-cursor-ring { width: 60px; height: 60px; background: rgba(103,232,249,.12); border-color: #e879f9; }
}

/* Filter buttons — active neon */
.filter-btn { border: 1px solid rgba(103,232,249,.18); }
.filter-btn:hover, .filter-btn.active {
  border-color: rgba(103,232,249,.6) !important;
  color: #a5f3fc !important;
  box-shadow: 0 0 22px -8px rgba(103,232,249,.7);
  background: rgba(103,232,249,.08);
}

/* Section dividers — glowing line */
.section { position: relative; }
.section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(560px, 80%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.5), rgba(139,92,246,.5), transparent);
}

/* Nav CTA — glowing */
.nav-cta {
  box-shadow: 0 0 22px -8px rgba(52,211,153,.7);
}

/* Scroll progress bar — always visible accent */
.progress { height: 4px !important; background: linear-gradient(90deg, #67e8f9, #e879f9, #34d399) !important; }

/* Reveal — more dramatic entrance */
.reveal:not(.visible) { transform: translateY(48px) scale(.96); filter: blur(8px); opacity: 0; }

/* Mobile — keep aurora lighter, disable custom cursor (touch) */
@media (max-width: 900px) {
  body::before { filter: blur(50px) saturate(1.1); opacity: .7; }
  .nc-cursor, .nc-cursor-ring { display: none; }
  body.cursor-ready { cursor: auto; }
}

/* Light theme — keep aurora subtle, fix text fills */
body[data-theme="light"] .grad { filter: none; }
body[data-theme="light"]::before { opacity: .35; }
body[data-theme="light"] .section-head h2, body[data-theme="light"] h2 {
  background: linear-gradient(110deg, #0f172a, #0284c7 45%, #7c3aed 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: none;
}

/* Reduced motion — freeze aurora/grain but keep colors */
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .grad, .section-head h2, .btn-primary, .badge { animation: none !important; }
  .reveal:not(.visible) { transform: none; filter: none; opacity: 1; }
}

/* ==========================================================================
   V2.1 — EXTRA HIGH-IMPACT (conic glow borders, data rain, marquee skew)
   ========================================================================== */
@property --nc-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Conic rotating glow border — avatar card (always-visible) */
.avatar-card {
  position: relative;
}
.avatar-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--nc-angle), #67e8f9, #8b5cf6, #e879f9, #34d399, #67e8f9);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 10px rgba(103,232,249,.5));
  animation: ncSpin 6s linear infinite;
}
@keyframes ncSpin { to { --nc-angle: 360deg; } }
@supports not (background: conic-gradient(red, blue)) { .avatar-card::before { display: none; } }

/* Project cards — conic glow border on hover */
.project-showcase > *::before, .case-window-main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--nc-angle), #67e8f9, #8b5cf6, #e879f9, #34d399, #67e8f9);
  -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; animation: ncSpin 6s linear infinite;
}
.project-showcase > * { position: relative; }
.project-showcase > *:hover::before, .case-window-main:hover::before { opacity: .9; }

/* Marquee ticker — scroll-velocity skew (JS sets --skew on .ticker) */
.ticker-track { transform: skewY(var(--skew, 0deg)); transition: transform .25s ease-out; }

/* Data rain matrix (footer/creative-lab) — pentester ambient */
.nc-rain {
  display: block; width: 100%; height: 220px; margin: 0;
  background: rgba(2,6,23,.6); border: 1px solid rgba(103,232,249,.18); border-radius: 16px;
  opacity: .85;
}
.creative-lab-section .nc-rain { height: 260px; }

/* Section: make the creative-lab / capabilities feel more alive */
.capabilities-grid > * { position: relative; overflow: hidden; }
.capabilities-grid > *::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #67e8f9, #8b5cf6, transparent);
  transform: translateX(-100%); animation: ncSweep 4s ease-in-out infinite;
}
@keyframes ncSweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* Nav — glassy floating bar */
.site-header {
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  background: rgba(2,6,23,.55) !important;
  border-bottom: 1px solid rgba(103,232,249,.18);
}

/* Footer — glow top border + ambient */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(2,6,23,.4), rgba(2,6,23,.9));
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,.6), rgba(139,92,246,.6), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .avatar-card::before, .project-showcase > *::before, .case-window-main::before,
  .capabilities-grid > *::after { animation: none !important; }
  .ticker-track { transition: none; }
}

/* Card spotlight overlay — radial glow follows cursor (--mx/--my set by JS) */
.case-window-main, .case-mini, .project-showcase > *, .capabilities-grid > *, .portal-card {
  position: relative; overflow: hidden;
}
.case-window-main::after, .case-mini::after, .project-showcase > *::after,
.capabilities-grid > *::after, .portal-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(103,232,249,.14), rgba(139,92,246,.08) 30%, transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.case-window-main:hover::after, .case-mini:hover::after, .project-showcase > *:hover::after,
.capabilities-grid > *:hover::after, .portal-card:hover::after { opacity: 1; }
