/*
  KREASENA FORCE MOTION
  Revisi:
  - Cursor default TIDAK dimatikan. Jadi kalau JS gagal, mouse tetap ada.
  - Custom cursor tetap muncul di desktop.
  - Animasi CSS berjalan terus tanpa harus hover.
  - Tidak ada pematian animasi total lewat prefers-reduced-motion.
*/

:root {
  --black: #050505;
  --white: #ffffff;
  --voltage: #faff00;
  --line: rgba(255,255,255,.12);
  --muted: rgba(255,255,255,.62);
}

* {
  box-sizing: border-box;
}

html {
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  cursor: auto;
}

a,
button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

#spaceCanvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 10%, rgba(250,255,0,.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 26%),
    #050505;
}

#scrollProgress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: var(--voltage);
  box-shadow: 0 0 26px rgba(250,255,0,.95);
}

#cursorDot,
#cursorRing {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 210;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

#cursorDot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--voltage);
  box-shadow: 0 0 18px rgba(250,255,0,.95);
}

#cursorRing {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(250,255,0,.95);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(250,255,0,.25);
  transition: width .2s ease, height .2s ease, border-color .2s ease;
}

body.cursor-grow #cursorRing {
  width: 82px;
  height: 82px;
  border-color: white;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -8;
  pointer-events: none;
  opacity: .055;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.85) 1px, transparent 1px),
    radial-gradient(circle, rgba(250,255,0,.7) 1px, transparent 1px);
  background-size: 22px 22px, 31px 31px;
  animation: noiseShift .25s steps(2) infinite;
}

@keyframes noiseShift {
  0% { transform: translate(0,0); }
  50% { transform: translate(-1%,1%); }
  100% { transform: translate(1%,-1%); }
}

.ambient {
  position: fixed;
  z-index: -9;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  opacity: .28;
  animation: ambientMove 9s ease-in-out infinite;
}

.ambient-1 {
  left: -12rem;
  top: 8rem;
  width: 32rem;
  height: 32rem;
  background: rgba(250,255,0,.18);
}

.ambient-2 {
  right: -15rem;
  bottom: 4rem;
  width: 36rem;
  height: 36rem;
  background: rgba(255,255,255,.10);
  animation-delay: 2s;
}

@keyframes ambientMove {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px, -50px) scale(1.18); }
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: black;
  transition: opacity .65s ease, visibility .65s ease;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  width: min(780px, 86vw);
  text-align: center;
}

.preloader-inner img {
  width: min(620px, 92vw);
  margin: 0 auto;
  animation: logoGlitch 1.05s infinite, logoFloatSmall 2.4s ease-in-out infinite;
}

.loading-track {
  height: 4px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}

.loading-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--voltage);
  box-shadow: 0 0 28px rgba(250,255,0,.95);
  animation: loadingMove 1.3s ease forwards;
}

.preloader-inner p {
  margin-top: 18px;
  color: rgba(255,255,255,.56);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .35em;
}

@keyframes loadingMove {
  to { width: 100%; }
}

@keyframes logoFloatSmall {
  50% { transform: translateY(-10px); }
}

@keyframes logoGlitch {
  0%, 100% { filter: none; }
  12% { transform: translate(3px, -1px) skewX(-3deg); filter: drop-shadow(12px 0 0 rgba(250,255,0,.7)); }
  13% { transform: translate(-4px, 1px) skewX(4deg); filter: drop-shadow(-12px 0 0 rgba(255,255,255,.5)); }
  14% { transform: translate(0); filter: none; }
  55% { filter: drop-shadow(0 0 30px rgba(255,255,255,.10)); }
  56% { filter: drop-shadow(12px 0 0 rgba(250,255,0,.7)); }
  57% { filter: drop-shadow(-12px 0 0 rgba(255,255,255,.5)); }
  58% { filter: none; }
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-link {
  position: relative;
  transition: color .25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--voltage);
  box-shadow: 0 0 20px rgba(250,255,0,.9);
  transition: width .25s ease;
}

.nav-link:hover {
  color: var(--voltage);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
  transition: .25s ease;
}

.menu-btn span {
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.menu-btn.open span { background: transparent; }
.menu-btn.open span::before { top: 0; transform: rotate(45deg); background: var(--voltage); }
.menu-btn.open span::after { top: 0; transform: rotate(-45deg); background: var(--voltage); }

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  animation: gridMove 12s linear infinite;
}

@keyframes gridMove {
  to { background-position: 108px 108px; }
}

.radar {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(82vw, 760px);
  height: min(82vw, 760px);
  border: 1px solid rgba(250,255,0,.18);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background:
    conic-gradient(from 0deg, transparent 0deg, rgba(250,255,0,.26) 38deg, transparent 65deg),
    radial-gradient(circle, transparent 0 34%, rgba(255,255,255,.05) 35% 35.5%, transparent 36% 55%, rgba(255,255,255,.05) 56% 56.5%, transparent 57%);
  animation: radarSpin 6s linear infinite;
}

@keyframes radarSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(250,255,0,.5);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  animation: pulseBlast 3.1s ease-out infinite;
}

.pulse-b { animation-delay: 1s; }
.pulse-c { animation-delay: 2s; }

@keyframes pulseBlast {
  0% { width: 120px; height: 120px; opacity: .65; }
  100% { width: min(90vw, 1040px); height: min(90vw, 1040px); opacity: 0; }
}

.flying-chip {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  padding: .75rem 1rem;
  color: rgba(255,255,255,.86);
  font-size: .82rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 40px rgba(250,255,0,.06);
  animation: chipFloat 7.5s ease-in-out infinite;
}

.chip-a { left: 6%; top: 25%; animation-delay: 0s; }
.chip-b { right: 8%; top: 26%; animation-delay: .7s; }
.chip-c { left: 14%; bottom: 21%; animation-delay: 1.3s; }
.chip-d { right: 16%; bottom: 18%; animation-delay: 2s; }
.chip-e { left: 52%; top: 15%; animation-delay: 2.7s; }
.chip-f { left: 45%; bottom: 9%; animation-delay: 3.3s; }

@keyframes chipFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  25% { transform: translate3d(24px,-34px,0) rotate(7deg); }
  50% { transform: translate3d(-20px,24px,0) rotate(-8deg); }
  75% { transform: translate3d(30px,20px,0) rotate(5deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(250,255,0,.35);
  border-radius: 999px;
  background: rgba(250,255,0,.08);
  padding: .78rem 1rem;
  color: var(--voltage);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--voltage);
  box-shadow: 0 0 18px rgba(250,255,0,.9);
  animation: blinkDot 1s infinite;
}

@keyframes blinkDot {
  50% { opacity: .35; transform: scale(1.7); }
}

.hero-logo {
  width: min(760px, 94vw);
  margin-top: 2rem;
  animation: logoFloat 4.2s ease-in-out infinite, logoGlitch 3.2s infinite;
  filter: drop-shadow(0 0 40px rgba(255,255,255,.14));
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-.2deg); }
  50% { transform: translateY(-18px) rotate(.4deg); }
}

.kinetic-title {
  margin-top: 2rem;
  font-size: clamp(3.3rem, 10vw, 10.5rem);
  line-height: .78;
  font-weight: 950;
  letter-spacing: -.1em;
}

.kinetic-title span {
  display: block;
  transform-origin: left center;
}

.kinetic-title span:nth-child(1) {
  color: white;
  animation: titleSlideA 4.8s ease-in-out infinite;
}

.kinetic-title span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 2px white;
  animation: titleSlideB 4.8s ease-in-out infinite;
}

.kinetic-title span:nth-child(3) {
  color: var(--voltage);
  text-shadow: 0 0 45px rgba(250,255,0,.2);
  animation: titleSlideC 4.8s ease-in-out infinite;
}

@keyframes titleSlideA {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(18px) skewX(-6deg); }
}

@keyframes titleSlideB {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-24px) skewX(7deg); }
}

@keyframes titleSlideC {
  0%, 100% { transform: translateX(0); }
  55% { transform: translateX(32px) skewX(-5deg); }
}

.blast-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  border-radius: 999px;
  padding: 1rem 1.35rem;
  font-size: .92rem;
  font-weight: 950;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.blast-button {
  position: relative;
  overflow: hidden;
  background: var(--voltage);
  color: black;
  box-shadow: 0 0 70px rgba(250,255,0,.22);
}

.blast-button::after {
  content: "";
  position: absolute;
  inset: -80% -20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  transform: translateX(-110%) rotate(18deg);
  animation: buttonShine 2.4s ease-in-out infinite;
}

@keyframes buttonShine {
  0%, 35% { transform: translateX(-110%) rotate(18deg); }
  75%, 100% { transform: translateX(120%) rotate(18deg); }
}

.ghost-button {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
}

.ghost-button:hover {
  border-color: rgba(250,255,0,.7);
  color: var(--voltage);
}

.hero-device {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 10%, rgba(250,255,0,.10), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  padding: 1rem;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
  animation: deviceFloat 5s ease-in-out infinite;
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotate(.3deg); }
  50% { transform: translateY(-24px) rotate(-.5deg); }
}

.device-top {
  display: flex;
  gap: .5rem;
  padding: 1rem;
}

.device-top span {
  width: .75rem;
  height: .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}

.device-top span:first-child {
  background: var(--voltage);
}

.device-screen {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    rgba(0,0,0,.42);
  background-size: 36px 36px;
  animation: screenGrid 8s linear infinite;
}

@keyframes screenGrid {
  to { background-position: 72px 72px; }
}

.orbit-stage {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(250,255,0,.4);
  border-radius: 999px;
  animation: rotateOrbit 7s linear infinite;
}

.ring-1 { inset: 0; }
.ring-2 { inset: 45px; border-color: rgba(255,255,255,.22); animation-duration: 5s; animation-direction: reverse; }
.ring-3 { inset: -45px; border-color: rgba(250,255,0,.18); animation-duration: 11s; }

@keyframes rotateOrbit {
  to { transform: rotate(360deg); }
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 30px;
  background: var(--voltage);
  color: black;
  font-size: 3.8rem;
  font-weight: 950;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 80px rgba(250,255,0,.24);
  animation: corePulse 1.3s ease-in-out infinite;
}

@keyframes corePulse {
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 25px rgba(255,255,255,.6);
}

.dot-1 { animation: dotOrbitA 4.4s linear infinite; }
.dot-2 { animation: dotOrbitA 6.8s linear infinite reverse; background: var(--voltage); }
.dot-3 { animation: dotOrbitB 5.4s linear infinite; }

@keyframes dotOrbitA {
  from { transform: translate(-50%,-50%) rotate(0deg) translateX(140px) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg) translateX(140px) rotate(-360deg); }
}

@keyframes dotOrbitB {
  from { transform: translate(-50%,-50%) rotate(90deg) translateX(95px) rotate(-90deg); }
  to { transform: translate(-50%,-50%) rotate(450deg) translateX(95px) rotate(-450deg); }
}

.bar-chart {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 6rem;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: .55rem;
  height: 120px;
}

.bar-chart i {
  width: 14%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--voltage), rgba(250,255,0,.16));
  animation: barsMove 1s ease-in-out infinite;
}

.bar-chart i:nth-child(1) { height: 35%; animation-delay: 0s; }
.bar-chart i:nth-child(2) { height: 60%; animation-delay: .1s; }
.bar-chart i:nth-child(3) { height: 42%; animation-delay: .2s; }
.bar-chart i:nth-child(4) { height: 78%; animation-delay: .3s; }
.bar-chart i:nth-child(5) { height: 50%; animation-delay: .4s; }
.bar-chart i:nth-child(6) { height: 66%; animation-delay: .5s; }

@keyframes barsMove {
  50% { height: 100%; filter: brightness(1.5); }
}

.live-console {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(0,0,0,.62);
  padding: 1rem;
}

.live-console span {
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .22em;
}

.live-console p {
  margin-top: .45rem;
  color: var(--voltage);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.marquee-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 15s linear infinite;
}

.marquee-track span {
  padding-right: 2rem;
  white-space: nowrap;
  color: rgba(255,255,255,.48);
  font-size: .9rem;
  font-weight: 950;
  letter-spacing: .22em;
}

@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--voltage);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--voltage);
  box-shadow: 0 0 20px rgba(250,255,0,.85);
}

.section-head {
  max-width: 850px;
}

.section-title {
  margin-top: 1rem;
  color: white;
  font-size: clamp(2.35rem, 5.8vw, 6rem);
  line-height: .94;
  font-weight: 950;
  letter-spacing: -.07em;
}

.section-desc {
  margin-top: 1.25rem;
  color: rgba(255,255,255,.62);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
}

.moving-line {
  position: absolute;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--voltage), transparent);
  box-shadow: 0 0 22px rgba(250,255,0,.75);
  animation: movingLine 4.6s linear infinite;
}

.line-1 { left: -260px; top: 20%; }
.line-2 { right: -260px; bottom: 18%; animation-direction: reverse; animation-duration: 5.8s; }

@keyframes movingLine {
  to { transform: translateX(calc(100vw + 520px)); }
}

.service-slider {
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.service-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: serviceMove 20s linear infinite;
}

.service-slider:hover .service-track {
  animation-play-state: paused;
}

@keyframes serviceMove {
  to { transform: translateX(-50%); }
}

.service-card {
  width: 350px;
  min-height: 330px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  padding: 1.45rem;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
  animation: cardBob 3.8s ease-in-out infinite;
}

.service-card:nth-child(even) { animation-delay: .7s; }
.service-card.hot {
  border-color: rgba(250,255,0,.55);
  box-shadow: 0 0 90px rgba(250,255,0,.10);
}

@keyframes cardBob {
  0%, 100% { transform: translateY(0) rotate(.2deg); }
  50% { transform: translateY(-18px) rotate(-.4deg); }
}

.service-card b {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 20px;
  background: var(--voltage);
  color: black;
  font-size: 1.2rem;
  font-weight: 950;
}

.service-card h3 {
  margin-top: 2rem;
  color: white;
  font-size: 1.8rem;
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -.05em;
}

.service-card p {
  margin-top: 1rem;
  color: rgba(255,255,255,.63);
  line-height: 1.75;
}

.motion-stage {
  position: relative;
  min-height: 640px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 44px;
  background:
    radial-gradient(circle at center, rgba(250,255,0,.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  overflow: hidden;
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
}

.motion-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .5;
  animation: gridMove 9s linear infinite;
}

.motion-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.motion-core strong {
  position: relative;
  z-index: 4;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 34px;
  background: var(--voltage);
  color: black;
  font-size: 4.5rem;
  font-weight: 950;
  box-shadow: 0 0 80px rgba(250,255,0,.3);
  animation: coreBounce 1.7s ease-in-out infinite;
}

@keyframes coreBounce {
  50% { transform: scale(1.09) rotate(3deg); }
}

.motion-orbit {
  position: absolute;
  border: 1px dashed rgba(250,255,0,.36);
  border-radius: 50%;
  animation: rotateOrbit 6s linear infinite;
}

.orbit-a { inset: -110px; }
.orbit-b { inset: -190px; animation-duration: 10s; animation-direction: reverse; border-color: rgba(255,255,255,.18); }
.orbit-c { inset: -270px; animation-duration: 15s; }

.window {
  position: absolute;
  z-index: 4;
  width: 220px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(0,0,0,.58);
  padding: 1.2rem;
  box-shadow: 0 25px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}

.window span {
  color: var(--voltage);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .2em;
}

.window strong {
  display: block;
  margin-top: .6rem;
  color: white;
  font-size: 2rem;
  font-weight: 950;
}

.win-a { left: 8%; top: 12%; animation: windowFloatA 4.4s ease-in-out infinite; }
.win-b { right: 8%; top: 20%; animation: windowFloatB 5s ease-in-out infinite; }
.win-c { left: 18%; bottom: 14%; animation: windowFloatC 5.5s ease-in-out infinite; }

@keyframes windowFloatA { 50% { transform: translate(30px, 24px) rotate(2deg); } }
@keyframes windowFloatB { 50% { transform: translate(-22px, 34px) rotate(-2deg); } }
@keyframes windowFloatC { 50% { transform: translate(18px, -28px) rotate(2deg); } }

.progress-line {
  height: .5rem;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.progress-line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--voltage);
  animation: progressPulse 1.4s ease-in-out infinite;
}

@keyframes progressPulse { 50% { filter: brightness(1.8); } }

.mini-bars {
  display: flex;
  align-items: end;
  gap: .35rem;
  height: 54px;
  margin-top: 1rem;
}

.mini-bars i {
  width: 20%;
  border-radius: 999px 999px 0 0;
  background: var(--voltage);
  animation: smallBars 1s ease-in-out infinite;
}

.mini-bars i:nth-child(1) { height: 35%; }
.mini-bars i:nth-child(2) { height: 80%; animation-delay: .1s; }
.mini-bars i:nth-child(3) { height: 45%; animation-delay: .2s; }
.mini-bars i:nth-child(4) { height: 90%; animation-delay: .3s; }
.mini-bars i:nth-child(5) { height: 55%; animation-delay: .4s; }

@keyframes smallBars { 50% { height: 100%; } }

.terminal {
  display: grid;
  gap: .45rem;
  margin-top: 1rem;
}

.terminal i {
  height: .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  position: relative;
  overflow: hidden;
}

.terminal i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--voltage);
  animation: terminalRun 1.2s ease-in-out infinite;
}

.terminal i:nth-child(2)::after { animation-delay: .2s; }
.terminal i:nth-child(3)::after { animation-delay: .4s; }

@keyframes terminalRun {
  from { transform: translateX(-100%); }
  to { transform: translateX(280%); }
}

.flow-road {
  position: relative;
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .flow-road { grid-template-columns: repeat(4, 1fr); }
}

.flow-beam {
  position: absolute;
  left: 0;
  top: 48%;
  width: 28%;
  height: 3px;
  border-radius: 999px;
  background: var(--voltage);
  box-shadow: 0 0 24px rgba(250,255,0,.8);
  animation: beamRun 3.4s ease-in-out infinite;
}

@keyframes beamRun {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(260%); opacity: 0; }
}

.flow-card,
.package-card,
.brief-form,
.brief-display {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
  backdrop-filter: blur(18px);
}

.flow-card {
  position: relative;
  z-index: 2;
  padding: 1.4rem;
  min-height: 280px;
  animation: flowBob 3.6s ease-in-out infinite;
}

.flow-card:nth-child(3) { animation-delay: .35s; }
.flow-card:nth-child(4) { animation-delay: .7s; }
.flow-card:nth-child(5) { animation-delay: 1.05s; }

@keyframes flowBob { 50% { transform: translateY(-18px); } }

.flow-card span {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  border-radius: 18px;
  background: var(--voltage);
  color: black;
  font-size: 1.1rem;
  font-weight: 950;
}

.flow-card h3 {
  margin-top: 2rem;
  color: white;
  font-size: 1.6rem;
  font-weight: 950;
  letter-spacing: -.04em;
}

.flow-card p {
  margin-top: .85rem;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
}

.package-card {
  padding: 1.5rem;
  transform-style: preserve-3d;
  animation: packageFloat 5s ease-in-out infinite;
}

.package-card:nth-child(2) { animation-delay: .7s; }
.package-card:nth-child(3) { animation-delay: 1.4s; }

@keyframes packageFloat { 50% { transform: translateY(-16px); } }

.package-hot {
  border-color: rgba(250,255,0,.6);
  box-shadow: 0 0 100px rgba(250,255,0,.12);
}

.package-card p {
  color: var(--voltage);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.package-card h3 {
  margin-top: 1rem;
  color: white;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -.05em;
}

.package-card strong {
  display: block;
  margin-top: 1.2rem;
  color: white;
  font-size: 1.75rem;
  font-weight: 950;
}

.package-card ul {
  display: grid;
  gap: .75rem;
  margin-top: 1.35rem;
  color: rgba(255,255,255,.65);
}

.package-card li {
  position: relative;
  padding-left: 1.3rem;
}

.package-card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--voltage);
}

.package-card a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: white;
  padding: 1rem;
  color: black;
  font-size: .92rem;
  font-weight: 950;
  transition: .25s ease;
}

.package-card a:hover { background: var(--voltage); }

.brief-display {
  margin-top: 2rem;
  padding: 1.5rem;
  animation: displayPulse 2.8s ease-in-out infinite;
}

@keyframes displayPulse {
  50% { border-color: rgba(250,255,0,.55); box-shadow: 0 0 90px rgba(250,255,0,.09); }
}

.brief-display span {
  color: var(--voltage);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brief-display strong {
  display: block;
  margin-top: 1rem;
  color: white;
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.brief-display p {
  margin-top: 1rem;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
}

.brief-form { padding: 1.5rem; }

@media (min-width: 768px) {
  .brief-form { padding: 2rem; }
}

.brief-form label span {
  display: block;
  margin-bottom: .6rem;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 900;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(0,0,0,.48);
  color: white;
  outline: none;
  padding: 1rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.brief-form textarea { resize: vertical; }

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-color: rgba(250,255,0,.7);
  box-shadow: 0 0 0 4px rgba(250,255,0,.08);
}

.footer-marquee {
  position: absolute;
  inset: 0;
  opacity: .08;
  overflow: hidden;
}

.footer-marquee div {
  display: flex;
  width: max-content;
  animation: marqueeMove 16s linear infinite reverse;
}

.footer-marquee span {
  white-space: nowrap;
  padding-right: 3rem;
  color: white;
  font-size: 5rem;
  font-weight: 950;
  letter-spacing: -.05em;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.985);
  filter: blur(8px);
  transition: opacity .8s ease, transform .8s ease, filter .8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.spark {
  position: fixed;
  z-index: 209;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-radius: 999px;
  background: var(--voltage);
  box-shadow: 0 0 18px rgba(250,255,0,.9);
  animation: sparkMove .72s ease-out forwards;
}

@keyframes sparkMove {
  to {
    transform: translate(var(--sx), var(--sy)) scale(.1);
    opacity: 0;
  }
}

.blast-wave {
  position: fixed;
  z-index: 208;
  pointer-events: none;
  border: 2px solid rgba(250,255,0,.9);
  border-radius: 999px;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) scale(.1);
  animation: blastWave .78s ease-out forwards;
}

@keyframes blastWave {
  to {
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.shake { animation: screenShake .32s linear; }

@keyframes screenShake {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-8px, 4px); }
  40% { transform: translate(6px, -5px); }
  60% { transform: translate(-4px, -3px); }
  80% { transform: translate(4px, 5px); }
}

@media (max-width: 767px) {
  #cursorDot,
  #cursorRing {
    display: none;
  }

  .brand img { width: 142px; }
  .hero-device { min-height: 460px; }
  .device-screen { height: 380px; }
  .flying-chip { transform: scale(.82); }
  .chip-e, .chip-f { display: none; }
  .motion-stage { min-height: 560px; }
  .window { width: 180px; }
  .win-a { left: 5%; }
  .win-b { right: 5%; }
  .win-c { left: 8%; }
  .footer-marquee span { font-size: 3rem; }
}
