:root {
  --bg: #07090e;
  --bg-elevated: #0d1118;
  --panel: rgba(17, 22, 33, 0.72);
  --text: #f7f8fc;
  --muted: #7d8799;
  --line: rgba(255, 255, 255, 0.08);
  --violet: #a18cff;
  --violet-deep: #6849e5;
  --cyan: #46a0ff;
  --glow: #7657ff;
  --success: #3dd68c;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 22px;
  --max: 1120px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(118, 87, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(70, 160, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #17172b 0%, #0b0e16 42%, #07090e 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(72px);
  z-index: 0;
  opacity: 0.32;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: drift 33s ease-in-out infinite;
  contain: layout style;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: 12%;
  left: -8%;
  background: var(--glow);
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -6%;
  top: 40%;
  background: var(--cyan);
  animation-delay: -7s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(24px, -30px, 0);
  }
}

.nav,
.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 4vw, 40px);
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.55);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 0.525s var(--ease-out), filter 0.525s ease;
}

.nav-brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(161, 140, 255, 0.55));
}

.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(161, 140, 255, 0.45));
  transition: filter 0.525s ease, transform 0.525s var(--ease-out);
}

.nav-brand:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 20px rgba(161, 140, 255, 0.85)) drop-shadow(0 0 36px rgba(70, 160, 255, 0.35));
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.45s ease, text-shadow 0.45s ease, transform 0.45s var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.525s var(--ease-spring), box-shadow 0.525s ease;
  box-shadow: 0 0 0 transparent;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(161, 140, 255, 0.75);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(161, 140, 255, 0.85), 0 0 24px rgba(70, 160, 255, 0.45);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-float {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 14px 0 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.float-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.525s var(--ease-spring),
    box-shadow 0.525s ease,
    filter 0.525s ease;
  animation: floatIn 1.2s 0.3s var(--ease-out) both;
}

.float-discord i {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.525s var(--ease-out), filter 0.525s ease;
}

.float-discord:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(166, 176, 255, 0.45),
    0 0 28px rgba(88, 101, 242, 0.75),
    0 0 56px rgba(88, 101, 242, 0.45),
    0 18px 40px rgba(88, 101, 242, 0.35);
  filter: brightness(1.08);
}

.float-discord:hover i {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.65));
}

.seg {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  gap: 2px;
  border-radius: 12px;
  background: #0c1018;
  border: 1px solid #252d3c;
  box-shadow: inset 0 0 0 1px #ffffff05, 0 8px 20px #0005;
  overflow: hidden;
}

.seg-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc((100% - 8px) / 2);
  border-radius: 9px;
  background: linear-gradient(145deg, #7d65ef, #5a43c9);
  box-shadow: 0 0 0 1px #9b87ff44, 0 0 22px #8e73ff77, 0 0 40px #8e73ff44;
  pointer-events: none;
  z-index: 0;
  transform: translateX(0);
  transition:
    transform 0.6s var(--ease-spring),
    box-shadow 0.525s ease;
}

.lang-seg:hover .seg-thumb {
  box-shadow:
    0 0 0 1px #c4b4ff66,
    0 0 28px #8e73ffaa,
    0 0 52px #8e73ff66;
}

.seg-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #7a8498;
  border-radius: 9px;
  padding: 9px 0;
  width: 72px;
  min-width: 72px;
  flex: 0 0 72px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  box-sizing: border-box;
  transition: background 0.45s ease, color 0.45s ease, text-shadow 0.45s ease;
}

.seg-btn .flag {
  width: 14px;
  height: 10px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
  display: block;
  box-shadow: 0 0 0 1px #ffffff22;
  transition: filter 0.45s ease, transform 0.45s var(--ease-out);
}

.seg-btn:hover:not(.active) {
  color: #fff;
  background: #151b28;
  text-shadow: 0 0 12px rgba(161, 140, 255, 0.55);
}

.seg-btn:hover:not(.active) .flag {
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(161, 140, 255, 0.65));
}

.seg-btn.active,
.seg-btn.active:hover {
  color: #fff;
  background: transparent !important;
  box-shadow: none;
  transform: none;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

[data-i18n] {
  transition:
    opacity 0.5s var(--ease-inout),
    transform 0.55s var(--ease-spring);
}

span[data-i18n],
.btn[data-i18n],
a.btn[data-i18n],
.accent-word [data-i18n] {
  display: inline-block;
  transform: translate3d(0, 0, 0);
}

p[data-i18n],
h2[data-i18n],
h3[data-i18n],
.section-lead[data-i18n],
.eyebrow[data-i18n],
.steps [data-i18n],
.feature [data-i18n],
.version [data-i18n],
.download-panel [data-i18n] {
  display: block;
  transform: translate3d(0, 0, 0);
}

.download-cta [data-i18n] {
  display: inline-block;
}

[data-i18n].i18n-out,
.reveal.visible[data-i18n].i18n-out,
.feature.reveal.visible[data-i18n].i18n-out,
.version.reveal.visible[data-i18n].i18n-out,
.download-panel.reveal.visible [data-i18n].i18n-out,
.steps li.reveal.visible[data-i18n].i18n-out {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  pointer-events: none;
}

html.lang-busy {
  cursor: progress;
}

html.lang-busy .lang-seg {
  pointer-events: none;
}

.lang-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 154px;
  gap: 2px;
  padding: 3px;
  box-sizing: border-box;
}

.lang-seg .seg-btn {
  width: auto;
  min-width: 0;
  flex: none;
}

.lang-seg .seg-thumb {
  width: calc((100% - 8px) / 2);
  height: calc(100% - 6px);
  top: 3px;
  left: 3px;
  border-radius: 9px;
  box-sizing: border-box;
}

.lang-seg[data-lang="pl"] .seg-thumb {
  transform: translateX(calc(100% + 2px));
}

.seg.seg-no-hover .seg-btn,
.seg.seg-no-hover .seg-btn:hover,
.seg.seg-no-hover .seg-btn:hover:not(.active) {
  transition: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.seg.seg-no-hover .seg-btn:hover:not(.active) {
  color: #7a8498;
}

.download-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid rgba(161, 140, 255, 0.22);
  background:
    radial-gradient(500px 180px at 12% 0%, rgba(150, 126, 255, 0.28), transparent 62%),
    radial-gradient(420px 160px at 90% 100%, rgba(70, 160, 255, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(22, 26, 38, 0.95), rgba(12, 15, 24, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.7s var(--ease-spring),
    border-color 0.65s ease,
    box-shadow 0.65s ease;
}

.download-panel.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.94);
  transition:
    opacity 1.1s var(--ease-spring),
    transform 1.1s var(--ease-spring),
    border-color 0.65s ease,
    box-shadow 0.65s ease;
}

.download-panel.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.download-glow {
  position: absolute;
  inset: -30% auto -30% -20%;
  width: 55%;
  background: radial-gradient(circle, rgba(161, 140, 255, 0.22), transparent 70%);
  opacity: 0.55;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-spring);
  pointer-events: none;
}

.download-panel:hover,
.download-panel.reveal.visible:hover {
  transform: translate3d(0, -8px, 0) scale(1.01);
  border-color: rgba(196, 180, 255, 0.45);
  box-shadow:
    0 0 40px rgba(161, 140, 255, 0.22),
    0 28px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.download-panel:hover .download-glow,
.download-panel.reveal.visible:hover .download-glow {
  opacity: 1;
  transform: translate3d(18px, -8px, 0) scale(1.08);
}

.download-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 20px;
  color: #fff;
  font-size: 1.7rem;
  background: linear-gradient(145deg, #967eff, #6849e5);
  box-shadow:
    0 0 0 1px rgba(210, 198, 255, 0.25),
    0 12px 28px rgba(104, 73, 229, 0.4);
  animation: downloadIconFloat 3.6s ease-in-out infinite;
  transition: transform 0.65s var(--ease-spring), box-shadow 0.65s ease;
}

.download-panel:hover .download-icon,
.download-panel.reveal.visible:hover .download-icon {
  transform: scale(1.08) translate3d(0, -2px, 0);
  box-shadow:
    0 0 0 1px rgba(210, 198, 255, 0.4),
    0 0 28px rgba(150, 126, 255, 0.55),
    0 16px 36px rgba(104, 73, 229, 0.45);
  animation-play-state: paused;
}

@keyframes downloadIconFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

.download-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.download-copy strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s var(--ease-spring), text-shadow 0.55s ease;
}

.download-copy span {
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
  transition: color 0.55s ease, transform 0.55s var(--ease-spring);
}

.download-panel:hover .download-copy strong,
.download-panel.reveal.visible:hover .download-copy strong {
  transform: translate3d(0, -2px, 0);
  text-shadow: 0 0 22px rgba(161, 140, 255, 0.35);
}

.download-panel:hover .download-copy span,
.download-panel.reveal.visible:hover .download-copy span {
  color: #c8ceda;
  transform: translate3d(0, -1px, 0);
}

.download-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #967eff, #6849e5);
  box-shadow: 0 10px 30px rgba(104, 73, 229, 0.35);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.6s var(--ease-spring),
    box-shadow 0.6s ease,
    filter 0.6s ease;
}

.download-cta i {
  font-size: 1.05rem;
  transition: transform 0.55s var(--ease-spring);
}

.download-panel:hover .download-cta,
.download-panel.reveal.visible:hover .download-cta {
  transform: translate3d(4px, 0, 0) scale(1.04);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(210, 198, 255, 0.4),
    0 0 28px rgba(150, 126, 255, 0.55),
    0 14px 36px rgba(104, 73, 229, 0.4);
}

.download-panel:hover .download-cta i,
.download-panel.reveal.visible:hover .download-cta i {
  transform: translate3d(4px, 0, 0);
}

.download-panel.reveal.visible .download-icon {
  animation-delay: 0.2s;
}

.download-panel.reveal.visible .download-copy,
.download-panel.reveal.visible .download-cta {
  animation: downloadChildIn 0.8s var(--ease-spring) both;
}

.download-panel.reveal.visible .download-copy {
  animation-delay: 0.12s;
}

.download-panel.reveal.visible .download-cta {
  animation-delay: 0.22s;
}

@keyframes downloadChildIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.55s var(--ease-spring),
    box-shadow 0.55s ease,
    background 0.55s ease,
    border-color 0.55s ease,
    filter 0.55s ease,
    text-shadow 0.55s ease;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
  border: 1px solid rgba(161, 140, 255, 0.35);
  background: rgba(161, 140, 255, 0.08);
}

.btn-sm:hover {
  transform: translate3d(0, -3px, 0) scale(1.03);
  border-color: rgba(196, 180, 255, 0.75);
  background: rgba(161, 140, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(161, 140, 255, 0.25),
    0 0 22px rgba(161, 140, 255, 0.45),
    0 10px 28px rgba(104, 73, 229, 0.25);
  text-shadow: 0 0 12px rgba(161, 140, 255, 0.45);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #967eff, #6849e5);
  box-shadow: 0 10px 40px rgba(104, 73, 229, 0.35);
}

.btn-primary:hover {
  transform: translate3d(0, -4px, 0) scale(1.035);
  box-shadow:
    0 0 0 1px rgba(210, 198, 255, 0.55),
    0 0 32px rgba(150, 126, 255, 0.8),
    0 0 64px rgba(104, 73, 229, 0.55),
    0 0 96px rgba(70, 160, 255, 0.2),
    0 18px 48px rgba(104, 73, 229, 0.4);
  filter: brightness(1.1);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(161, 140, 255, 0.65);
  background: rgba(161, 140, 255, 0.12);
  transform: translate3d(0, -3px, 0) scale(1.02);
  box-shadow:
    0 0 24px rgba(161, 140, 255, 0.4),
    0 0 48px rgba(70, 160, 255, 0.18);
  text-shadow: 0 0 16px rgba(161, 140, 255, 0.45);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 40px) 48px;
  gap: 18px;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(161, 140, 255, 0.34), rgba(70, 160, 255, 0.08) 45%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  animation: pulse 8.25s ease-in-out infinite;
  will-change: opacity, transform;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

.hero-logo {
  width: min(520px, 82vw);
  margin-bottom: 8px;
  filter: drop-shadow(0 0 40px rgba(70, 160, 255, 0.32)) drop-shadow(0 0 72px rgba(118, 87, 255, 0.22));
  animation: logoIn 1.65s cubic-bezier(0.22, 1, 0.36, 1) both, logoGlow 6.75s ease-in-out 1.8s infinite, softFloat 7.5s ease-in-out 1.8s infinite;
  transition: filter 0.675s ease, transform 0.675s var(--ease-out);
}

.hero-logo:hover {
  transform: scale(1.03);
  filter:
    drop-shadow(0 0 28px rgba(161, 140, 255, 0.65))
    drop-shadow(0 0 56px rgba(70, 160, 255, 0.45))
    drop-shadow(0 0 80px rgba(118, 87, 255, 0.3));
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 40px rgba(70, 160, 255, 0.32)) drop-shadow(0 0 72px rgba(118, 87, 255, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 56px rgba(161, 140, 255, 0.55)) drop-shadow(0 0 90px rgba(70, 160, 255, 0.35));
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-version {
  margin: 0 0 4px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: fadeUp 1.35s 0.075s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  animation: fadeUp 1.35s 0.225s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.accent-word {
  position: relative;
  display: inline-block;
  color: #7a42f4;
  padding-bottom: 0.12em;
}

.accent-word .scribble {
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -0.08em;
  width: 108%;
  height: 0.42em;
  overflow: visible;
  pointer-events: none;
}

.accent-word .scribble path {
  fill: none;
  stroke: #7a42f4;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-sub {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  animation: fadeUp 1.35s 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-free {
  margin: 2px 0 0;
  color: #c4b4ff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: fadeUp 1.35s 0.51s cubic-bezier(0.22, 1, 0.36, 1) both;
  text-shadow: 0 0 18px rgba(161, 140, 255, 0.25);
  transition: text-shadow 0.525s ease;
}

.hero-free:hover {
  text-shadow:
    0 0 18px rgba(161, 140, 255, 0.8),
    0 0 36px rgba(161, 140, 255, 0.4);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  animation: fadeUp 1.35s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-stage {
  width: min(980px, 100%);
  margin-top: clamp(28px, 5vh, 52px);
  perspective: 1400px;
  animation: fadeUp 1.5s 0.825s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gui-tilt {
  transform: rotateX(5deg) rotateY(-5deg) translateZ(0);
  transform-origin: center top;
  will-change: transform;
}

.gui-mock {
  --gui-bg: #161920;
  --gui-panel: #1a1e27;
  --gui-card: #22262f;
  --gui-active: #363b46;
  --gui-text: #f3f4f6;
  --gui-muted: #8b919c;
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--gui-bg);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  font-family: "Vivo Sans", "Manrope", sans-serif;
  color: var(--gui-text);
  contain: layout paint;
}

/* Tekstura tekstu — jedna lekka maska, bez ciężkich filtrów na każdy glyph */
.gui-mock .gui-brand strong,
.gui-mock .gui-brand span,
.gui-mock .gui-label,
.gui-mock .gui-nav li span,
.gui-mock .gui-main-top strong,
.gui-mock .gui-main-top span,
.gui-mock .gui-grid b,
.gui-mock .gui-grid b em,
.gui-mock .gui-grid article > div span {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(200, 205, 218, 0.9) 100%
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='64' height='64' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: auto, 64px 64px;
  background-blend-mode: soft-light;
  -webkit-background-clip: text;
  background-clip: text;
}

.gui-mock .gui-label,
.gui-mock .gui-brand span,
.gui-mock .gui-main-top span,
.gui-mock .gui-grid article > div span,
.gui-mock .gui-nav li:not(.active) span {
  background-image:
    linear-gradient(
      180deg,
      rgba(175, 182, 196, 0.92) 0%,
      rgba(115, 122, 138, 0.88) 100%
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='64' height='64' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.gui-mock .gui-nav li.active span,
.gui-mock .gui-grid article.on b {
  background-image:
    linear-gradient(
      180deg,
      #fff 0%,
      rgba(220, 210, 255, 0.96) 55%,
      rgba(185, 175, 235, 0.92) 100%
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='64' height='64' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.gui-side {
  padding: 14px 12px 16px;
  background: var(--gui-panel);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.gui-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 2px 4px;
}

.gui-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.gui-brand strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gui-brand span {
  color: var(--gui-muted);
  font-size: 0.62rem;
}

.gui-label {
  margin: 0 0 6px 8px;
  color: var(--gui-muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gui-nav {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 2px;
  position: relative;
}

.gui-nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--pill-h, 36px);
  border-radius: 12px;
  background: #8f7aef;
  pointer-events: none;
  transform: translate3d(0, var(--pill-y, 0px), 0);
  opacity: var(--pill-op, 0);
  transition: transform 0.48s var(--ease-spring), height 0.48s var(--ease-spring), opacity 0.36s ease;
  z-index: 0;
}

.gui-nav-pill {
  display: none;
}

.gui-nav li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--gui-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.27s ease, background 0.3s ease;
  background: transparent;
}

.gui-nav li:hover:not(.active) {
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
}

.gui-nav li i {
  font-size: 1rem;
  line-height: 1;
  color: #fff;
  opacity: 0.9;
}

.gui-nav li.active {
  color: #fff;
  background: #8f7aef;
}

.gui-nav li.active i {
  opacity: 1;
}

.gui-nav.has-pill li.active {
  background: transparent;
}

.gui-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(180deg, #171b24 0%, #14181f 100%);
  min-height: 420px;
  max-height: 520px;
  overflow: hidden;
  contain: layout paint;
}

.gui-main-top[hidden],
.gui-search[hidden],
.gui-friends-bar[hidden] {
  display: none !important;
}

.gui-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  min-width: 0;
}

.gui-main-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px;
}

.gui-main-top strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.gui-main-top span {
  color: var(--gui-muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.gui-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #1c212b;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--gui-muted);
  font-size: 0.8rem;
}

.gui-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--gui-text);
  font: inherit;
  font-family: "Vivo Sans", "Manrope", sans-serif;
}

.gui-search input::placeholder {
  color: var(--gui-muted);
}

.gui-search i {
  font-size: 0.95rem;
  line-height: 1;
  color: #fff;
  opacity: 0.75;
}

.gui-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.36s var(--ease-inout),
    transform 0.48s var(--ease-spring);
  contain: content;
}

.gui-content.is-switching {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.gui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.gui-friends-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-friends-bar .gui-search {
  flex: 1;
}

.gui-add-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #967eff, #6849e5);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.gui-friends-list,
.gui-configs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gui-friend-row,
.gui-config-card,
.gui-config-actions {
  animation: guiCardIn 0.5s var(--ease-spring) both;
}

.gui-friend-row:nth-child(1),
.gui-config-actions {
  animation-delay: 0ms;
}

.gui-friend-row:nth-child(2),
.gui-config-card:nth-child(2) {
  animation-delay: 60ms;
}

.gui-friend-row:nth-child(3),
.gui-config-card:nth-child(3) {
  animation-delay: 120ms;
}

.gui-friend-row:nth-child(4),
.gui-config-card:nth-child(4) {
  animation-delay: 180ms;
}

.gui-config-card:nth-child(5) {
  animation-delay: 240ms;
}

.gui-friend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--gui-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transform: translate3d(0, 0, 0);
  transition:
    background 0.36s ease,
    border-color 0.36s ease,
    transform 0.36s var(--ease-spring);
}

.gui-friend-row:hover {
  background: #151920;
  border-color: rgba(255, 255, 255, 0.06);
  transform: translate3d(0, -1px, 0);
}

.gui-steve {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  image-rendering: pixelated;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Crect width='8' height='8' fill='%23c68642'/%3E%3Crect y='0' width='8' height='2' fill='%233d5c3a'/%3E%3Crect x='1' y='3' width='2' height='1' fill='%233b2314'/%3E%3Crect x='5' y='3' width='2' height='1' fill='%233b2314'/%3E%3Crect x='3' y='5' width='2' height='1' fill='%236b3e26'/%3E%3C/svg%3E") center / cover no-repeat;
}

.gui-friend-row strong {
  flex: 1;
  min-width: 0;
  color: #55ff55;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gui-friend-del {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gui-muted);
  cursor: pointer;
  font-size: 1rem;
}

.gui-friend-del:hover {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.gui-config-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.gui-config-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(161, 140, 255, 0.35);
  background: rgba(161, 140, 255, 0.12);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
}

.gui-config-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--gui-text);
}

.gui-config-card {
  padding: 10px 12px 12px;
  border-radius: 12px;
  background: var(--gui-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.gui-config-card.active {
  border-color: rgba(161, 140, 255, 0.4);
  background: rgba(161, 140, 255, 0.08);
}

.gui-config-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.gui-config-card strong {
  font-size: 0.86rem;
}

.gui-config-card header span {
  color: var(--violet);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.gui-config-card .btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gui-config-card .btns button {
  padding: 7px 0;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}

.gui-config-card .btns .load {
  background: rgba(150, 126, 255, 0.55);
}

.gui-config-card .btns .save {
  background: rgba(70, 160, 255, 0.45);
}

.gui-config-card .btns .del {
  background: rgba(224, 82, 82, 0.55);
}

.gui-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--gui-muted);
  font-size: 0.85rem;
}

.gui-grid article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 9px 11px;
  border-radius: 14px;
  background: var(--gui-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  user-select: none;
  transform: translate3d(0, 0, 0);
  opacity: 0;
  animation: guiCardIn 0.55s var(--ease-spring) both;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.36s var(--ease-spring);
  content-visibility: auto;
  contain-intrinsic-size: auto 52px;
}

.gui-grid article:nth-child(1) { animation-delay: 0ms; }
.gui-grid article:nth-child(2) { animation-delay: 40ms; }
.gui-grid article:nth-child(3) { animation-delay: 80ms; }
.gui-grid article:nth-child(4) { animation-delay: 120ms; }
.gui-grid article:nth-child(5) { animation-delay: 160ms; }
.gui-grid article:nth-child(6) { animation-delay: 200ms; }
.gui-grid article:nth-child(7) { animation-delay: 240ms; }
.gui-grid article:nth-child(8) { animation-delay: 280ms; }
.gui-grid article:nth-child(9) { animation-delay: 320ms; }
.gui-grid article:nth-child(10) { animation-delay: 360ms; }

@keyframes guiCardIn {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.gui-grid article:hover {
  border-color: rgba(255, 255, 255, 0.06);
  background: #151920;
  transform: translate3d(0, -2px, 0);
}

.gui-grid article:focus-visible {
  outline: 2px solid rgba(161, 140, 255, 0.65);
  outline-offset: 2px;
}

.gui-grid article.on {
  border-color: rgba(255, 255, 255, 0.12);
}

.gui-grid article > div {
  min-width: 0;
}

.gui-grid b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.82rem;
  font-weight: 700;
}

.gui-grid b em {
  margin-left: 4px;
  font-style: normal;
  font-size: 0.66rem;
  color: var(--gui-muted);
  font-weight: 600;
}

.gui-grid article > div span {
  display: block;
  color: var(--gui-muted);
  font-size: 0.64rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toggle {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #3a404c;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
  overflow: visible;
  white-space: normal;
  color: transparent;
  text-overflow: clip;
  transition: background 0.3s ease;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #9aa1ad;
  transition: transform 0.36s var(--ease-spring), background 0.3s ease;
}

.toggle.on {
  background: #eceff4;
}

.toggle.on::after {
  transform: translateX(16px);
  background: #1a1e27;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 12vh, 120px) 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 14px;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-lead {
  margin: 0 0 42px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.feature {
  position: relative;
  padding-top: 8px;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.7s var(--ease-spring),
    filter 0.6s ease;
}

.feature.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.94);
  transition:
    opacity 1.1s var(--ease-spring),
    transform 1.1s var(--ease-spring),
    filter 0.6s ease;
}

.feature.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-rail .feature:nth-child(1) {
  transition-delay: 0ms;
}

.feature-rail .feature:nth-child(2) {
  transition-delay: 120ms;
}

.feature-rail .feature:nth-child(3) {
  transition-delay: 240ms;
}

.feature-rail .feature:nth-child(4) {
  transition-delay: 360ms;
}

.feature-rail .feature.visible:hover {
  transition-delay: 0ms;
}

.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.7s var(--ease-spring), width 0.7s var(--ease-spring);
}

.feature:hover::before,
.feature.reveal.visible:hover::before {
  transform: scaleX(1);
  width: 72px;
}

.feature:hover,
.feature.reveal.visible:hover {
  transform: translate3d(0, -10px, 0) scale(1.02);
}

.feature-index {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translate3d(0, 0, 0);
  transition:
    text-shadow 0.55s ease,
    color 0.55s ease,
    letter-spacing 0.55s var(--ease-spring),
    transform 0.55s var(--ease-spring);
}

.feature:hover .feature-index {
  color: #7dd3ff;
  letter-spacing: 0.14em;
  transform: translate3d(3px, 0, 0);
  text-shadow:
    0 0 16px rgba(70, 160, 255, 0.7),
    0 0 32px rgba(70, 160, 255, 0.35);
}

.feature h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transform: translate3d(0, 0, 0);
  transition:
    text-shadow 0.55s ease,
    color 0.55s ease,
    transform 0.55s var(--ease-spring);
}

.feature:hover h3 {
  color: #fff;
  transform: translate3d(0, -2px, 0);
  text-shadow: 0 0 22px rgba(161, 140, 255, 0.45);
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  transform: translate3d(0, 0, 0);
  transition: color 0.55s ease, transform 0.55s var(--ease-spring);
}

.feature:hover p {
  color: #c8ceda;
  transform: translate3d(0, -2px, 0);
}

.install {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 0 16px 14px;
  border-top: 1px solid var(--line);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.65s var(--ease-spring),
    border-color 0.55s ease,
    background 0.55s ease;
}

.steps li.reveal {
  opacity: 0;
  transform: translate3d(-24px, 18px, 0);
  transition:
    opacity 1.05s var(--ease-spring),
    transform 1.05s var(--ease-spring),
    border-color 0.55s ease;
}

.steps li.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.steps li:nth-child(1) {
  transition-delay: 0ms;
}

.steps li:nth-child(2) {
  transition-delay: 140ms;
}

.steps li:nth-child(3) {
  transition-delay: 280ms;
}

.steps li.visible:hover {
  transition-delay: 0ms;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.65s var(--ease-spring);
}

.steps li:hover,
.steps li.reveal.visible:hover {
  transform: translate3d(10px, 0, 0);
  border-top-color: rgba(161, 140, 255, 0.45);
}

.steps li:hover::before,
.steps li.reveal.visible:hover::before {
  transform: scaleY(1);
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  transform: translate3d(0, 0, 0);
  transition: text-shadow 0.55s ease, transform 0.55s var(--ease-spring);
}

.steps li:hover strong {
  transform: translate3d(2px, 0, 0);
  text-shadow: 0 0 18px rgba(161, 140, 255, 0.4);
}

.steps span {
  color: var(--muted);
  line-height: 1.5;
  transition: color 0.55s ease;
}

.steps li:hover span {
  color: #c8ceda;
}

.installer-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(118, 87, 255, 0.25), transparent 60%),
    linear-gradient(180deg, #111621, #0d1118);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.7s var(--ease-spring),
    box-shadow 0.7s ease,
    border-color 0.7s ease;
}

.install-visual.reveal {
  opacity: 0;
  transform: translate3d(28px, 24px, 0) scale(0.94);
  transition:
    opacity 1.15s var(--ease-spring),
    transform 1.15s var(--ease-spring);
}

.install-visual.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.install-visual.reveal.visible .installer-card:hover {
  transform: translate3d(0, -8px, 0) scale(1.015);
  border-color: rgba(161, 140, 255, 0.35);
  box-shadow:
    0 0 40px rgba(161, 140, 255, 0.18),
    0 36px 90px rgba(0, 0, 0, 0.4);
}

.installer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.installer-top img {
  width: 96px;
  transition: transform 0.65s var(--ease-spring), filter 0.65s ease;
}

.install-visual.reveal.visible .installer-card:hover .installer-top img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(161, 140, 255, 0.45));
}

.installer-h {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.installer-h em {
  font-style: normal;
  color: var(--violet);
}

.installer-rows {
  display: grid;
  gap: 8px;
}

.installer-rows .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transform: translate3d(18px, 0, 0);
  transition:
    transform 0.65s var(--ease-spring),
    border-color 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease,
    color 0.45s ease,
    opacity 0.65s var(--ease-out);
}

.install-visual.reveal.visible .installer-rows .row {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.install-visual.reveal.visible .installer-rows .row:nth-child(1) {
  transition-delay: 80ms;
}

.install-visual.reveal.visible .installer-rows .row:nth-child(2) {
  transition-delay: 140ms;
}

.install-visual.reveal.visible .installer-rows .row:nth-child(3) {
  transition-delay: 200ms;
}

.install-visual.reveal.visible .installer-rows .row:nth-child(4) {
  transition-delay: 260ms;
}

.install-visual.reveal.visible .installer-rows .row:nth-child(5) {
  transition-delay: 320ms;
}

.install-visual.reveal.visible .installer-rows .row:nth-child(6) {
  transition-delay: 380ms;
}

.install-visual.reveal.visible .installer-rows .row:hover {
  transition-delay: 0ms;
  color: #fff;
  border-color: rgba(161, 140, 255, 0.5);
  background: rgba(161, 140, 255, 0.1);
  transform: translate3d(8px, 0, 0);
  box-shadow:
    0 0 0 1px rgba(161, 140, 255, 0.15) inset,
    0 0 22px rgba(161, 140, 255, 0.28);
}

.installer-rows .row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.45s var(--ease-spring), filter 0.45s ease;
}

.installer-rows .row:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(161, 140, 255, 0.55));
}

.installer-rows .row.on {
  color: var(--text);
  border-color: rgba(161, 140, 255, 0.45);
  background: rgba(161, 140, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(161, 140, 255, 0.12) inset,
    0 0 18px rgba(161, 140, 255, 0.2);
}

.version-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.version {
  position: relative;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.7s var(--ease-spring),
    background 0.6s ease,
    box-shadow 0.6s ease,
    border-color 0.6s ease;
}

.version.reveal {
  content-visibility: visible;
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.94);
  transition:
    opacity 1.1s var(--ease-spring),
    transform 1.1s var(--ease-spring),
    background 0.6s ease,
    box-shadow 0.6s ease,
    border-color 0.6s ease;
}

.version.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.version-list .version:nth-child(1) {
  transition-delay: 0ms;
}

.version-list .version:nth-child(2) {
  transition-delay: 160ms;
}

.version-list .version:nth-child(3) {
  transition-delay: 320ms;
}

.version-list .version.visible:hover {
  transition-delay: 0ms;
}

.version::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s var(--ease-spring);
  pointer-events: none;
}

.version::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(161, 140, 255, 0.16), transparent 70%);
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-spring);
  pointer-events: none;
}

.version:hover {
  transform: translate3d(0, -10px, 0) scale(1.015);
  background: rgba(161, 140, 255, 0.06);
  border-top-color: rgba(161, 140, 255, 0.7);
  box-shadow:
    0 0 28px rgba(161, 140, 255, 0.2),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.version.reveal.visible:hover {
  transform: translate3d(0, -10px, 0) scale(1.015);
}

.version:hover::before,
.version.featured::before {
  transform: scaleX(1);
}

.version:hover::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.version.featured {
  border-top-color: rgba(161, 140, 255, 0.55);
}

.version.featured::before {
  transform: scaleX(0.45);
}

.version.featured:hover::before {
  transform: scaleX(1);
}

.version.featured:hover {
  box-shadow:
    0 0 36px rgba(161, 140, 255, 0.3),
    0 0 60px rgba(70, 160, 255, 0.14),
    0 20px 48px rgba(0, 0, 0, 0.3);
}

.v-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translate3d(0, 0, 0);
  transition:
    text-shadow 0.55s ease,
    letter-spacing 0.55s var(--ease-spring),
    transform 0.55s var(--ease-spring),
    color 0.55s ease;
}

.version:hover .v-tag {
  color: #c4b4ff;
  letter-spacing: 0.22em;
  transform: translate3d(4px, 0, 0);
  text-shadow: 0 0 16px rgba(161, 140, 255, 0.75);
}

.version strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  transform: translate3d(0, 0, 0);
  transition:
    text-shadow 0.55s ease,
    transform 0.55s var(--ease-spring);
}

.version:hover strong {
  transform: translate3d(0, -3px, 0);
  text-shadow: 0 0 24px rgba(161, 140, 255, 0.4);
}

.version span:last-child {
  display: inline-block;
  color: var(--muted);
  line-height: 1.5;
  transform: translate3d(0, 0, 0);
  transition:
    color 0.55s ease,
    transform 0.55s var(--ease-spring),
    opacity 0.55s ease;
}

.version:hover span:last-child {
  color: #c8ceda;
  transform: translate3d(0, -2px, 0);
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 140px;
  margin: 0 auto 16px;
  opacity: 0.9;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer-discord {
  margin-top: 18px !important;
  margin-bottom: 4px;
}

.footer-discord a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b5bcff;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  transform: translate3d(0, 0, 0);
  transition: color 0.45s ease, text-shadow 0.45s ease, filter 0.45s ease, transform 0.55s var(--ease-spring);
}

.footer-discord a:hover {
  color: #fff;
  transform: translate3d(0, -3px, 0) scale(1.03);
  text-shadow:
    0 0 16px rgba(88, 101, 242, 0.85),
    0 0 32px rgba(88, 101, 242, 0.45);
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.55));
}

.footer .fine {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.96);
  transition:
    opacity 1.1s var(--ease-spring),
    transform 1.1s var(--ease-spring);
  content-visibility: visible;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .feature-rail,
  .version-list,
  .install {
    grid-template-columns: 1fr;
  }

  .gui-tilt {
    transform: none;
    will-change: auto;
  }

  .gui-mock {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gui-side {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .gui-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
    padding: 24px;
  }

  .download-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .gui-grid,
  .gui-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .section h2 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .gui-grid article,
  .install-visual .installer-rows .row,
  [data-i18n] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-i18n].i18n-out {
    opacity: 1 !important;
    transform: none !important;
  }
}
