/* =============================================================
   Nox Studio — Juan Manuel Morales
   1. Tokens
   ============================================================= */
:root {
  --bg: #07060b;
  --bg-2: #0e0c16;
  --panel: #131020;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f1ff;
  --muted: #a49fb8;
  --violet: #8b5cff;
  --violet-2: #a98bff;
  --violet-deep: #5b21ff;
  --peach: #ff8a5c;
  --pink: #ff4fa3;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --iri: conic-gradient(from 120deg, #b9a6ff, #6ee7ff, #ffd1f0, #ff9a6b, #8b5cff, #c9f0ff, #b9a6ff);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.violet { color: var(--violet-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-2); font-weight: 500;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: var(--h); padding: 0 1.6rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: transform .4s var(--ease-out), background .3s, box-shadow .4s var(--ease-out), border-color .3s;
}
.btn span { transition: transform .4s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }
.btn-primary {
  background: var(--violet); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139, 92, 255, .8), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { background: #9a70ff; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(139, 92, 255, .95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--violet-2); background: rgba(139,92,255,.1); transform: translateY(-2px); }
.btn-sm { --h: 42px; padding: 0 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.checks { display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 1.7rem; color: #d9d4ea; font-size: .95rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c9b6ff, var(--violet) 60%, var(--violet-deep));
  box-shadow: 0 0 12px rgba(139,92,255,.6);
}
.checks li::after {
  content: ""; position: absolute; left: .32rem; top: calc(.45em + .26rem); width: .32rem; height: .18rem;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

.badge {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(139,92,255,.16); color: var(--violet-2); border: 1px solid rgba(139,92,255,.35);
}

.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: var(--bg); transition: opacity .7s var(--ease-out), visibility .7s;
}
.splash img { width: 110px; animation: splashSpin 1.6s var(--ease-out) infinite alternate; filter: drop-shadow(0 0 30px rgba(139,92,255,.6)); }
.splash span { font-family: var(--display); letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; color: var(--muted); }
@keyframes splashSpin { from { transform: rotate(-12deg) scale(.92); } to { transform: rotate(12deg) scale(1.04); } }
.is-ready .splash { opacity: 0; visibility: hidden; }
/* CSS-only safety net: hide splash after 3.5s even if JS dies */
.splash { animation: splashOut .01s 3.5s forwards; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; gap: 1.5rem; padding: 10px 10px 10px 18px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(14, 12, 22, .82);
  transition: background .3s, border-color .3s;
}
@supports (backdrop-filter: blur(10px)) {
  .nav { background: rgba(14, 12, 22, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.nav.is-scrolled { border-color: var(--line-2); }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.nav-brand img { width: 34px; height: auto; transition: transform .6s var(--ease-bounce); }
.nav-brand:hover img { transform: rotate(-18deg) scale(1.1); }
.nav-brand em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.35rem; margin-left: .2rem; color: var(--violet-2); }
.nav-links { display: none; gap: 1.8rem; margin-left: auto; font-size: .9rem; color: var(--muted); }
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--violet-2); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: auto; display: none; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line-2); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav.is-open { border-radius: 26px; flex-wrap: wrap; background: rgba(14,12,22,.97); }
.nav.is-open .nav-links { display: flex; flex-direction: column; gap: 1rem; width: 100%; order: 3; padding: 1rem .5rem .6rem; font-size: 1.05rem; }
.nav.is-open .nav-cta { display: inline-flex; order: 4; width: 100%; margin: 0 0 .4rem; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 130px var(--gutter) 90px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; isolation: isolate;
}
.glow-a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,138,92,.55), transparent 65%); left: -180px; bottom: -160px; }
.glow-b { width: 620px; height: 620px; background: radial-gradient(circle, rgba(139,92,255,.5), transparent 65%); right: -160px; top: -120px; }
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero-meta {
  position: absolute; top: 96px; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; gap: 1rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero-meta .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); }
.hero-grid { position: relative; z-index: 1; width: min(1240px, 100%); margin-inline: auto; display: grid; gap: 2rem; align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; }
.hero-title {
  font-size: clamp(2.3rem, 7.4vw, 5.6rem); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.035em;
}
.hero-title .hl { color: var(--violet); display: inline-block; text-shadow: 0 0 60px rgba(139,92,255,.55); }
.hero-title .script {
  display: block; text-transform: none; font-size: 1.1em; line-height: .7; margin-top: .05em; margin-left: .6em;
  background: linear-gradient(100deg, #fff 20%, #e4d9ff 50%, #ffc7a8 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .1em .2em .15em 0;
}
.hero-lead { max-width: 52ch; color: #cfc9e2; font-size: clamp(1rem, 1.3vw, 1.1rem); font-weight: 300; }
.hero-lead strong { font-weight: 600; color: var(--ink); }
.hero-lead .violet { color: var(--violet-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: .6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-stats li { display: grid; }
.hero-stats b { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.hero-stats span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ---- 3D stage ---- */
.hero-stage {
  position: relative; aspect-ratio: 1; width: min(560px, 100%); margin-inline: auto;
  perspective: 1100px; display: grid; place-items: center;
}
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(169,139,255,.22); pointer-events: none; }
.orbit-1 { inset: 4%; }
.orbit-2 { inset: 16%; border-style: dashed; border-color: rgba(255,255,255,.08); animation: spin 60s linear infinite; }
.orbit-1::before, .orbit-1::after {
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 16px var(--violet);
}
.orbit-1::before { top: 50%; left: -5px; }
.orbit-1::after { top: 50%; right: -5px; background: var(--peach); box-shadow: 0 0 16px var(--peach); }
@keyframes spin { to { transform: rotate(360deg); } }

.nox3d {
  position: relative; width: 66%; z-index: 2;
  transform-style: preserve-3d;
  animation: noxFloat 7s ease-in-out infinite;
}
@keyframes noxFloat { 0%, 100% { translate: 0 -10px; } 50% { translate: 0 12px; } }
.nox3d-inner {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -18deg));
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.nox3d-inner img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.nox-face {
  position: relative; transform: translateZ(1px);
  filter:
    brightness(calc(1.06 + var(--beat) * .18)) saturate(1.15)
    drop-shadow(0 0 6px rgba(214, 196, 255, .95))
    drop-shadow(0 0 22px rgba(139, 92, 255, .85));
}

/* ---- Glow system: halo + blurred silhouette + sparkles; pulses with the music (--beat) ---- */
@property --beat { syntax: "<number>"; inherits: true; initial-value: 0; }
:root { --beat: 0; transition: --beat .32s ease-out; }
:root.is-kick { --beat: 1; transition: none; }

.nox-halo {
  position: absolute; z-index: 1; width: 78%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(190,160,255,.55) 0%, rgba(139,92,255,.35) 30%, rgba(139,92,255,.08) 55%, transparent 70%);
  transform: scale(calc(1 + var(--beat) * .12));
  opacity: calc(.75 + var(--beat) * .25);
  animation: haloBreath 5s ease-in-out infinite;
}
@keyframes haloBreath { 50% { filter: brightness(1.25); } }
.nox-glow {
  position: absolute; z-index: 1; width: 70%; height: auto; pointer-events: none;
  filter: blur(26px) brightness(1.7) saturate(1.6);
  opacity: calc(.85 + var(--beat) * .15);
  transform: scale(calc(1.12 + var(--beat) * .08));
  animation: noxFloat 7s ease-in-out infinite;
}
.spark {
  position: absolute; z-index: 3; width: 18px; aspect-ratio: 1; pointer-events: none;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px var(--violet-2));
  animation: twinkle 2.6s ease-in-out infinite;
}
.s1 { top: 20%; left: 26%; animation-delay: .2s; }
.s2 { top: 16%; right: 30%; width: 12px; animation-delay: 1.1s; }
.s3 { top: 46%; right: 14%; width: 22px; animation-delay: .6s; }
.s4 { bottom: 24%; left: 22%; width: 13px; animation-delay: 1.7s; }
.s5 { bottom: 18%; right: 28%; width: 16px; animation-delay: 2.2s; }
.s6 { top: 38%; left: 12%; width: 10px; animation-delay: 1.4s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; } }
.is-kick .spark { opacity: 1; }
.nox-layer { position: absolute; inset: 0; }
.nox-shine {
  position: absolute; inset: 0; transform: translateZ(2px); pointer-events: none;
  -webkit-mask: url("assets/img/nox-hd.webp") center / 100% 100% no-repeat;
          mask: url("assets/img/nox-hd.webp") center / 100% 100% no-repeat;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.95) 44%, rgba(200,240,255,.7) 50%, transparent 64%);
  background-size: 250% 250%;
  background-position: var(--shine, 80%) 50%;
  mix-blend-mode: overlay;
  transition: background-position .9s var(--ease-out);
}
.nox-shadow {
  position: absolute; bottom: 9%; left: 50%; width: 44%; height: 6%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(139,92,255,.55), transparent 70%); filter: blur(10px);
  animation: shadowPulse 7s ease-in-out infinite;
}
@keyframes shadowPulse { 0%, 100% { transform: translateX(-50%) scale(.85); opacity: .55; } 50% { transform: translateX(-50%) scale(1.05); opacity: .9; } }

/* Iridescent chrome rings (echo of the portfolio's liquid-chrome shapes) */
.chrome {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  background: var(--iri);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%, #000 69%, transparent 71%);
          mask: radial-gradient(circle, transparent 54%, #000 56%, #000 69%, transparent 71%);
  filter: saturate(1.2) drop-shadow(0 0 20px rgba(169,139,255,.35));
  opacity: .9;
}
.chrome-1 { width: 28%; aspect-ratio: 1; top: 6%; right: 2%; transform: rotate3d(1, .4, 0, 62deg); animation: chromeA 14s ease-in-out infinite; }
.chrome-2 { width: 18%; aspect-ratio: 1; bottom: 12%; left: 4%; transform: rotate3d(.3, 1, 0, 58deg); animation: chromeB 11s ease-in-out infinite; }
@keyframes chromeA { 50% { transform: rotate3d(1, .4, 0, 62deg) rotate(160deg) translateY(-10px); } }
@keyframes chromeB { 50% { transform: rotate3d(.3, 1, 0, 58deg) rotate(-140deg) translateY(10px); } }

.tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; border-radius: 999px; font-size: .74rem; letter-spacing: .04em;
  background: rgba(19,16,32,.85); border: 1px solid var(--line-2); white-space: nowrap;
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 10px var(--violet); }
.tag-1 { top: 14%; left: 0; }
.tag-2 { top: 26%; right: -2%; }
.tag-2 i { background: var(--peach); box-shadow: 0 0 10px var(--peach); }
.tag-3 { bottom: 22%; left: -2%; }
.tag-4 { bottom: 10%; right: 4%; }
.tag-4 i { background: var(--pink); box-shadow: 0 0 10px var(--pink); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--violet-2), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--violet); color: #0b0716; padding: 1rem 0; transform: rotate(-1.5deg) scale(1.02); margin-block: -10px 40px; position: relative; z-index: 3; }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.8rem); letter-spacing: -.01em; }
.marquee b { font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Sections (shared)
   ============================================================= */
.section { position: relative; padding-block: clamp(80px, 12vw, 150px); isolation: isolate; overflow-x: clip; }
html { overflow-x: clip; }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.split { max-width: none; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.8rem); text-transform: uppercase; font-weight: 900; letter-spacing: -.03em; }
.section-head h2 .script { font-size: 1.15em; text-transform: none; color: var(--violet-2); display: inline-block; line-height: .8; }
.section-lead { color: var(--muted); max-width: 58ch; font-weight: 300; font-size: 1.05rem; }
.num { font-family: var(--display); font-size: .8rem; color: var(--violet-2); letter-spacing: .1em; }

/* ---- Problems ---- */
.problem-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem { background: var(--bg); padding: 2rem 1.6rem; display: grid; gap: .8rem; align-content: start; transition: background .4s; }
.problem:hover { background: var(--bg-2); }
.problem h3 { font-size: 1.15rem; }
.problem p { color: var(--muted); font-size: .95rem; }

/* ---- Services ---- */
.service-grid { display: grid; gap: 16px; }
.service {
  position: relative; padding: 2rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel), var(--bg-2)); display: grid; gap: .8rem; align-content: start; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.service::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,255,.25), transparent 70%); opacity: 0; transition: opacity .5s; }
.service:hover { border-color: rgba(139,92,255,.45); transform: translateY(-4px); }
.service:hover::after { opacity: 1; }
.service h3 { font-size: 1.3rem; }
.service p { color: var(--muted); font-size: .95rem; }

.service-feature {
  padding: clamp(1.8rem, 4vw, 3.2rem); gap: 2.4rem; align-items: center;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139,92,255,.35), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(255,138,92,.16), transparent 60%),
    linear-gradient(160deg, #171228, #0d0b15);
  border-color: rgba(139,92,255,.35);
}
.service-feature:hover { transform: none; }
.service-feature-copy { display: grid; gap: 1.2rem; justify-items: start; }
.service-feature h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; font-weight: 900; }
.service-feature p { color: #cfc9e2; max-width: 52ch; }
.service-feature .checks { grid-template-columns: 1fr; margin-block: .4rem; }

/* Browser mockup */
.browser {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2);
  background: #0b0913; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(139,92,255,.15);
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); transition: transform .9s var(--ease-out);
}
.service-feature:hover .browser { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-6px); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #120f1c; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3450; }
.browser-bar i:first-child { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; flex: 1; font-size: .7rem; color: var(--muted); background: rgba(255,255,255,.05); border-radius: 6px; padding: 3px 10px; }
.browser-body { padding: 16px; display: grid; gap: 16px; aspect-ratio: 16 / 11; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav b { width: 26px; height: 26px; border-radius: 8px; background: var(--violet); }
.mock-nav span { height: 6px; width: 40px; border-radius: 4px; background: rgba(255,255,255,.12); }
.mock-nav span:first-of-type { margin-left: auto; }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.mock-lines { display: grid; gap: 9px; }
.mock-lines i { display: block; height: 16px; border-radius: 6px; background: linear-gradient(90deg, #fff, #d8ccff); }
.mock-lines i.thin { height: 7px; background: rgba(255,255,255,.18); }
.mock-lines em { display: block; width: 46%; height: 22px; border-radius: 999px; background: var(--violet); margin-top: 6px; box-shadow: 0 0 20px rgba(139,92,255,.6); }
.w80 { width: 85%; } .w60 { width: 62%; } .w40 { width: 75%; }
.mock-orb { aspect-ratio: 1; border-radius: 50%; background: var(--iri); filter: blur(.5px) saturate(1.2); animation: spin 12s linear infinite; box-shadow: 0 0 40px rgba(139,92,255,.5); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); mask: radial-gradient(circle, transparent 38%, #000 40%); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards i { aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(160deg, rgba(139,92,255,.35), rgba(255,255,255,.04)); border: 1px solid var(--line); }

/* ---- Plans ---- */
.glow-c { width: 700px; height: 500px; background: radial-gradient(circle, rgba(139,92,255,.28), transparent 65%); left: 50%; top: 30%; transform: translateX(-50%); }
.plan-grid { display: grid; gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: grid; gap: 1.6rem; align-content: start; grid-template-rows: auto 1fr auto;
  padding: 2.2rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(19,16,32,.7);
}
.plan header { display: grid; gap: .5rem; }
.plan h3 { font-size: 1.6rem; text-transform: uppercase; font-weight: 900; }
.plan header p { color: var(--muted); font-size: .95rem; }
.plan .btn { width: 100%; }
.plan-hot {
  border-color: transparent;
  background:
    linear-gradient(#150f27, #110d1e) padding-box,
    linear-gradient(140deg, var(--violet-2), rgba(255,138,92,.7), var(--violet)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 40px 80px -40px rgba(139,92,255,.7);
}
.plan-flag {
  position: absolute; top: -13px; left: 1.8rem; padding: .3rem .8rem; border-radius: 999px;
  background: var(--violet); color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}

/* ---- Statement ---- */
.statement { position: relative; padding: clamp(70px, 10vw, 130px) var(--gutter); text-align: center; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.statement-text { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .3em; line-height: .9; }
.statement-text span:first-child {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 13vw, 11rem); letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 30%, rgba(169,139,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statement-text .script { font-size: clamp(2.6rem, 10vw, 8rem); color: var(--violet-2); }
.statement-sub { max-width: 46ch; margin: 1.8rem auto 0; color: var(--muted); }

/* ---- Process ---- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 2rem 1.6rem 1.8rem; border-top: 1px solid var(--line-2); display: grid; gap: .7rem; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--violet); transition: width .8s var(--ease-out); }
.step:hover::before { width: 100%; }
.step-n { font-family: var(--display); font-size: 2.6rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(169,139,255,.6); line-height: 1; }
.step h3 { font-size: 1.25rem; text-transform: uppercase; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---- About ---- */
.about-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-visual { perspective: 1000px; }
.about-card {
  position: relative; max-width: 440px; margin-inline: auto; border-radius: 28px; padding: 2.4rem 2rem 1.4rem;
  background: radial-gradient(90% 70% at 50% 30%, rgba(139,92,255,.45), transparent 70%), linear-gradient(170deg, #1a1430, #0c0a14);
  border: 1px solid rgba(169,139,255,.3); box-shadow: 0 50px 90px -40px rgba(139,92,255,.6);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}
.about-card img { width: 78%; margin-inline: auto; transform: translateZ(50px); filter: drop-shadow(0 25px 30px rgba(0,0,0,.55)); }
.about-card-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line-2); transform: translateZ(25px); }
.about-card-foot span { font-family: var(--script); font-size: 2.4rem; line-height: 1; color: var(--violet-2); }
.about-card-foot small { color: var(--muted); font-size: .8rem; }
.about-copy { display: grid; gap: 1.2rem; }
.about-copy h2 { font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; font-weight: 900; letter-spacing: -.03em; }
.about-copy h2 .script { color: var(--violet-2); text-transform: none; font-size: 1.15em; }
.about-copy > p { color: #cfc9e2; font-weight: 300; }
.about-cols { display: grid; gap: 1.4rem; margin-top: .6rem; }
.about-cols h3 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: .4rem; font-family: var(--sans); font-weight: 600; }
.about-cols p { color: var(--muted); font-size: .95rem; }
.tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.tools li { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; color: #d9d4ea; transition: border-color .3s, background .3s; }
.tools li:hover { border-color: var(--violet-2); background: rgba(139,92,255,.12); }

/* ---- FAQ ---- */
.faq-grid { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: rgba(19,16,32,.6); transition: border-color .3s, background .3s; }
.faq-list details[open] { border-color: rgba(139,92,255,.45); background: rgba(27,20,48,.7); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.2rem 3.4rem 1.2rem 1.4rem; position: relative; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--line-2); color: var(--violet-2);
  transition: transform .4s var(--ease-out), background .3s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--violet); color: #fff; border-color: var(--violet); }
.faq-list details p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .95rem; }

/* ---- Contact ---- */
.glow-d { width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,79,163,.22), transparent 65%); right: -200px; bottom: -200px; }
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-copy { display: grid; gap: 1.2rem; }
.contact-copy h2 { font-size: clamp(2rem, 5vw, 3.8rem); text-transform: uppercase; font-weight: 900; letter-spacing: -.03em; }
.contact-copy h2 .script { color: var(--violet-2); text-transform: none; font-size: 1.15em; }
.contact-direct { display: grid; gap: 1rem; margin-top: 1rem; }
.contact-direct li { display: grid; gap: .2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-direct span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-direct a { font-size: clamp(.92rem, 2vw, 1.1rem); word-break: break-all; transition: color .3s; }
.contact-direct a:hover { color: var(--violet-2); }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 26px; border: 1px solid var(--line-2); background: rgba(19,16,32,.8); }
.field { display: grid; gap: .4rem; }
.field label { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  border-radius: 12px; padding: .85rem 1rem; transition: border-color .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--violet-2) 50%), linear-gradient(135deg, var(--violet-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--panel); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: rgba(139,92,255,.08); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--pink); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; overflow: hidden; }
.footer-big {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 15vw, 13rem); line-height: .9; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(169,139,255,.35); display: flex; align-items: baseline; flex-wrap: wrap;
}
.footer-big .script { -webkit-text-stroke: 0; color: var(--violet); font-size: .7em; text-transform: none; letter-spacing: 0; margin-left: .1em; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; margin-top: 2rem; color: var(--muted); font-size: .85rem; }
.footer-row nav { display: flex; gap: 1.4rem; }
.footer-row a:hover { color: var(--ink); }

/* ---- Legal: consents, form states, footer legal ---- */
.field-row { display: grid; gap: 1rem; }
@media (min-width: 540px) and (max-width: 959px), (min-width: 1280px) { .field-row { grid-template-columns: 1fr 1fr; } }
.opt { color: var(--muted); font-size: .72rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field [aria-invalid="true"] { border-color: var(--pink); background: rgba(255,79,163,.06); }
.consents { display: grid; gap: .6rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.consent { display: grid; gap: .25rem; padding: .25rem .2rem; border-radius: 10px; transition: background .3s, box-shadow .3s; }
.consent label { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: .8rem; line-height: 1.5; color: #d9d4ea; cursor: pointer; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; cursor: pointer;
  border: 1.5px solid var(--line-2); background: rgba(255,255,255,.04); display: grid; place-content: center; transition: background .2s, border-color .2s;
}
.consent input[type="checkbox"]::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease-bounce); }
.consent input[type="checkbox"]:checked { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 12px rgba(139,92,255,.6); }
.consent input[type="checkbox"]:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding-left: calc(20px + .65rem); font-size: .74rem; }
.consent-links a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-missing { background: rgba(255,79,163,.08); box-shadow: inset 0 0 0 1px rgba(255,79,163,.5); }
.consent.is-missing input[type="checkbox"] { border-color: var(--pink); }
.form-err { min-height: 1.2em; color: #ff8fc4; font-size: .85rem; text-align: center; }
.form-err:empty { min-height: 0; }
.form-ok { padding: 1.2rem; border-radius: 16px; border: 1px solid rgba(139,92,255,.45); background: rgba(139,92,255,.1); display: grid; gap: .5rem; }
.form-ok h3 { font-size: 1.3rem; }
.form-ok p { color: #d9d4ea; font-size: .9rem; }
.form-ok code { color: var(--violet-2); font-size: .85rem; word-break: break-all; }
.ok-kicker { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); }
.ok-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
mark.todo { background: #ffe066; color: #000; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-legal a { transition: color .3s; }
.footer-legal a:hover, .footer-legal a[aria-current] { color: var(--ink); }
.footer-id { margin-top: .8rem; font-size: .76rem; color: var(--muted); }

/* ---- PQR page ---- */
.page-pqr .nav { justify-content: space-between; }
.pqr-back { margin-left: auto; }
.pqr { padding-top: 140px; }
.pqr-grid { display: grid; gap: 3rem; align-items: start; position: relative; z-index: 1; }
.pqr-intro { display: grid; gap: 1.2rem; }
.pqr-title { font-size: clamp(2.2rem, 5.6vw, 4rem); text-transform: uppercase; font-weight: 900; letter-spacing: -.03em; }
.pqr-title .script { display: block; text-transform: none; color: var(--violet-2); font-size: 1.1em; line-height: .9; }
.pqr-links { display: grid; gap: .5rem; }
.pqr-links a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }
.track { display: grid; gap: .7rem; padding: 1.2rem; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(19,16,32,.7); margin-top: .6rem; }
.track-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.track-row { display: grid; gap: .5rem; }
.track-row input { width: 100%; font: inherit; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; padding: .7rem .9rem; }
.track-row input:focus { outline: none; border-color: var(--violet); }
.track-out { font-size: .88rem; color: #d9d4ea; }
.track-out .muted { color: var(--muted); }
@media (min-width: 540px) { .track-row { grid-template-columns: 1.3fr 1fr auto; } }
@media (min-width: 960px) { .pqr-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } .pqr-intro { position: sticky; top: 120px; } }

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 6px rgba(37,211,102,.15);
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); box-shadow: 0 16px 36px -8px rgba(37,211,102,.85), 0 0 0 10px rgba(37,211,102,.12); }

/* ---- Nox Radio (deck) ---- */
.deck { position: fixed; left: 18px; bottom: 18px; z-index: 110; display: grid; justify-items: start; gap: 10px; max-width: calc(100vw - 110px); }
.deck-mini {
  display: inline-flex; align-items: center; gap: .75rem; padding: .55rem 1.1rem .55rem .6rem;
  border-radius: 999px; border: 1px solid rgba(169,139,255,.4); background: rgba(14,12,22,.92);
  box-shadow: 0 14px 34px -14px rgba(139,92,255,.8); text-align: left;
  transition: transform .4s var(--ease-bounce), border-color .3s;
}
.deck-mini:hover { transform: translateY(-2px); border-color: var(--violet-2); }
.deck-mini-txt { display: grid; line-height: 1.15; }
.deck-mini-txt b { font-family: var(--display); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.deck-mini-txt small { font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.eq { width: 38px; height: 38px; border-radius: 50%; background: var(--violet); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 11px 0; box-shadow: 0 0 calc(10px + var(--beat) * 22px) rgba(139,92,255,.9); }
.eq i { width: 3px; height: 30%; background: #fff; border-radius: 2px; transition: height .2s; }
.deck.is-playing .eq i { animation: eqBar .9s ease-in-out infinite; }
.deck.is-playing .eq i:nth-child(2) { animation-delay: -.3s; } .deck.is-playing .eq i:nth-child(3) { animation-delay: -.6s; } .deck.is-playing .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eqBar { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.deck-panel {
  width: min(400px, calc(100vw - 36px)); max-height: calc(100vh - 96px); max-height: calc(100svh - 96px); overflow-y: auto;
  overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(169,139,255,.4) transparent;
  padding: 1rem 1rem 1.1rem; border-radius: 24px; border: 1px solid rgba(169,139,255,.35);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(139,92,255,.3), transparent 60%),
    linear-gradient(170deg, #17122a, #0b0913 70%);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 calc(30px + var(--beat) * 30px) -10px rgba(139,92,255,.55);
  display: grid; gap: .75rem; order: -1;
  animation: deckIn .5s var(--ease-out);
}
.deck-panel[hidden] { display: none; }
@keyframes deckIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.deck-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.deck-title { font-family: var(--display); font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1; }
.deck-title .script { color: var(--violet-2); font-size: 1.5em; }
.deck-sub { font-size: .72rem; color: var(--muted); margin-top: .3rem; }
.deck-close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .8rem; flex: none; }
.deck-close:hover { background: rgba(255,255,255,.08); }
.deck-viz { width: 100%; height: 58px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.deck-steps { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; }
.deck-steps i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); transition: background .08s; }
.deck-steps i:nth-child(4n+1) { background: rgba(169,139,255,.28); }
.deck-steps i.on { background: var(--violet-2); box-shadow: 0 0 10px var(--violet); }
.deck-transport { display: flex; align-items: center; gap: .9rem; }
.deck-play {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-content: center; flex: none;
  background: radial-gradient(circle at 35% 30%, #b9a1ff, var(--violet) 55%, var(--violet-deep)); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(139,92,255,.9), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .3s var(--ease-bounce);
}
.deck-play:hover { transform: scale(1.06); }
.deck-play:active { transform: scale(.95); }
.deck-play .i-pause, .deck.is-playing .deck-play .i-play { display: none; }
.deck.is-playing .deck-play .i-pause { display: block; }
.deck-bpm { display: grid; line-height: 1; }
.deck-bpm b { font-family: var(--display); font-size: 1.6rem; }
.deck-bpm small { font-size: .65rem; letter-spacing: .2em; color: var(--muted); }
.deck-btn { margin-left: auto; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; transition: border-color .3s, background .3s; }
.deck-btn:hover { border-color: var(--violet-2); background: rgba(139,92,255,.14); }

.deck-knobs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.deck-range { display: grid; gap: .35rem; font-size: .74rem; color: var(--muted); }
.deck-range > span { display: flex; justify-content: space-between; }
.deck-range output { color: var(--ink); font-variant-numeric: tabular-nums; }
.deck-range-filter { grid-column: 1 / -1; }
.deck-range-scale { display: flex; justify-content: space-between; font-size: .64rem; color: var(--muted); }
.deck-range-scale i { font-style: normal; }
.deck input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.deck input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet), rgba(255,255,255,.15)); }
.deck input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet), rgba(255,255,255,.15)); }
.deck-range-filter input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #ff8a5c, rgba(255,255,255,.2) 50%, #6ee7ff); }
.deck-range-filter input[type="range"]::-moz-range-track { background: linear-gradient(90deg, #ff8a5c, rgba(255,255,255,.2) 50%, #6ee7ff); }
.deck input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(139,92,255,.45), 0 0 14px rgba(139,92,255,.8); }
.deck input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(139,92,255,.45), 0 0 14px rgba(139,92,255,.8); }

.deck-pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pad {
  padding: .6rem .3rem; border-radius: 12px; font-size: .74rem; font-weight: 500;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.pad.is-on { background: rgba(139,92,255,.22); color: #fff; border-color: rgba(169,139,255,.6); box-shadow: inset 0 0 14px rgba(139,92,255,.35); }
.pad:active { transform: scale(.95); }
.deck-fx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fx { display: grid; justify-items: center; gap: .25rem; }
.fx b { font-size: .72rem !important; }

/* key badges (only shown where there is a keyboard) */
.deck kbd {
  display: inline-grid; place-content: center; min-width: 18px; height: 18px; padding: 0 4px; margin-right: 4px;
  border-radius: 5px; font: 600 .62rem/1 var(--sans); color: var(--ink);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-bottom-width: 2px;
  vertical-align: middle;
}
.pad { display: inline-flex; align-items: center; justify-content: center; gap: .2rem; }
.pad.is-on kbd { background: rgba(255,255,255,.18); }
.fx kbd { margin: 0; border-color: rgba(255,138,92,.5); }
.pad.is-hit, .fx.is-hit { transform: scale(.93); }
.deck-groove { font-size: .74rem; color: var(--muted); margin-top: -.2rem; transition: color .3s; }
.deck-groove b { color: var(--violet-2); font-weight: 600; }
.deck-groove.is-new { color: var(--ink); }
.deck-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: -.35rem; }
.deck-keys { font-size: .66rem; color: var(--muted); line-height: 2; text-align: center; border-top: 1px solid var(--line); padding-top: .55rem; }
.deck-keys kbd { margin: 0 1px; }
@media (hover: none), (pointer: coarse) {
  .deck kbd, .deck-keys { display: none; }
}
.fx {
  padding: .6rem .3rem; border-radius: 12px; font-size: .68rem; color: var(--muted); line-height: 1.25;
  border: 1px dashed rgba(255,138,92,.45); background: rgba(255,138,92,.05);
  user-select: none; -webkit-user-select: none; touch-action: none;
  transition: background .2s, color .2s, transform .15s;
}
.fx b { display: block; color: var(--ink); font-size: .8rem; }
.fx.is-active { background: rgba(255,138,92,.28); color: #fff; border-style: solid; transform: scale(.96); box-shadow: 0 0 20px rgba(255,138,92,.45); }

@media (max-width: 539px) {
  .deck { left: 12px; bottom: 12px; }
  .wa-float { right: 12px; bottom: 12px; width: 52px; height: 52px; }
  .deck-mini-txt small { max-width: 130px; }
}

/* =============================================================
   10. Reveal
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =============================================================
   11. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feature { grid-column: 1 / -1; }
  .about-cols { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: flex; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 0; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 1rem; }
  .problem-grid { grid-template-columns: repeat(4, 1fr); }
  .section-head.split { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .service-feature { grid-template-columns: 1fr 1.05fr; }
  .service-feature .checks { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-hot { transform: translateY(-14px); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: .9fr 1.1fr; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 120px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (min-width: 1280px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .tag { font-size: .8rem; }
}
@media (max-width: 539px) {
  .tag-2 { right: 0; } .tag-3 { left: 0; }
  .hero-stage { width: 92%; }
}

/* =============================================================
   12. Reduced motion — only intrusive loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .orbit-2, .chrome-1, .chrome-2, .mock-orb, .scroll-cue i { animation: none; }
  .spark { animation: none; opacity: .8; }
  html { scroll-behavior: auto; }
}
