/* ==========================================================================
   Selenite Client — Design System
   Glassmorphism · Aurora · Premium dark
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --primary: #8b5cf6;
  --secondary: #a855f7;
  --accent: #c084fc;
  --primary-deep: #6d28d9;

  /* Surfaces */
  --bg: #050505;
  --bg-soft: #0a0a12;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(20, 16, 40, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #ffffff;
  --muted: #9ca3af;
  --faint: #6b7280;
  --success: #22c55e;

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Shape & motion */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.4s;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
  --section-pad: clamp(84px, 10vw, 140px);

  /* Glow */
  --glow-primary: 0 20px 60px -20px rgba(139, 92, 246, 0.55);
  --glow-soft: 0 18px 50px -22px rgba(168, 85, 247, 0.45);

  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
kbd {
  font: inherit;
}

ul[class],
ol[class] {
  list-style: none;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 8px;
  border: 2px solid var(--bg);
}

/* Focus visibility (accessibility) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Utilities ---------- */
.container {
  width: min(var(--container), 100% - clamp(32px, 6vw, 80px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  stroke-width: 2;
}
img.discord-icon {
  object-fit: contain;
  vertical-align: middle;
}
.nav__social img.discord-icon,
.btn img.discord-icon,
.footer__socials img.discord-icon {
  width: 22px;
  height: 22px;
}
.btn--lg img.discord-icon {
  width: 24px;
  height: 24px;
}
.module-card__icon img.discord-icon {
  width: 26px;
  height: 26px;
}

.grad-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--secondary) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-drift 8s ease-in-out infinite alternate;
  background-size: 200% auto;
}

@keyframes grad-drift {
  to { background-position: 200% center; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- 4. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease-snap),
    box-shadow var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  backface-visibility: hidden;
}
.btn:active {
  transform: scale(0.97);
}
.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 16px;
  border-radius: 16px;
}
.btn--sm {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 11px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 30px 70px -20px rgba(139, 92, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: btn-sheen 4s ease-in-out infinite;
  animation-play-state: paused;
}
.btn--primary:hover::after {
  animation-play-state: running;
}
@keyframes btn-sheen {
  0%, 55% { background-position: 200% 0; }
  85%, 100% { background-position: -100% 0; }
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
}
.btn--glass:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-soft);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--card);
  border-color: var(--border-strong);
}

/* Button ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple 0.65s var(--ease-out);
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- 5. Ambient background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg);
}

.bg__aurora {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}
.bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.bg__blob--1 {
  width: 55vw;
  height: 55vw;
  top: -20vw;
  left: -12vw;
  background: radial-gradient(circle at 35% 35%, rgba(139, 92, 246, 0.4), transparent 60%);
  animation: blob-a 26s ease-in-out infinite alternate;
}
.bg__blob--2 {
  width: 48vw;
  height: 48vw;
  top: 24%;
  right: -16vw;
  background: radial-gradient(circle at 55% 45%, rgba(168, 85, 247, 0.34), transparent 62%);
  animation: blob-b 32s ease-in-out infinite alternate;
}
.bg__blob--3 {
  width: 42vw;
  height: 42vw;
  bottom: -18vw;
  left: 26%;
  background: radial-gradient(circle at 45% 55%, rgba(109, 40, 217, 0.4), transparent 60%);
  animation: blob-c 36s ease-in-out infinite alternate;
}
@keyframes blob-a {
  to { transform: translate(10vw, 12vh) scale(1.15) rotate(20deg); }
}
@keyframes blob-b {
  to { transform: translate(-8vw, -10vh) scale(0.9) rotate(-18deg); }
}
@keyframes blob-c {
  to { transform: translate(4vw, -14vh) scale(1.2) rotate(25deg); }
}

.bg__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(5, 5, 5, 0.85) 100%);
  pointer-events: none;
}

/* ---------- 6. Cursor & mouse glow ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor--dot {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff 0%, var(--accent) 55%, transparent 100%);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.9), 0 0 22px rgba(139, 92, 246, 0.55);
  translate: -50% -50%;
}
.cursor--ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(192, 132, 252, 0.55);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.04) 45%, transparent 70%);
  translate: -50% -50%;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35), inset 0 0 14px rgba(139, 92, 246, 0.12);
  transition: border-radius 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.cursor--ring.is-btn {
  border-color: rgba(192, 132, 252, 0.95);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28), rgba(139, 92, 246, 0.08) 45%, transparent 70%);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.6), inset 0 0 16px rgba(139, 92, 246, 0.2);
}
.cursor--ring.is-card {
  border-color: rgba(192, 132, 252, 0.85);
}
.cursor--ring.is-image {
  border-radius: 30%;
  border-color: rgba(192, 132, 252, 0.9);
}
.cursor--ring.is-icon {
  border-color: var(--accent);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.5), inset 0 0 14px rgba(168, 85, 247, 0.16);
}
.cursor--ring.is-text {
  border-color: rgba(192, 132, 252, 0.35);
  box-shadow: none;
}
.cursor-ripple {
  position: fixed;
  z-index: 9997;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(192, 132, 252, 0.75);
  translate: -50% -50%;
  pointer-events: none;
  animation: cursor-ripple 0.6s var(--ease-out) forwards;
}
@keyframes cursor-ripple {
  to { transform: scale(6); opacity: 0; }
}

.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.13), transparent 65%);
  translate: -50% -50%;
  will-change: transform;
  transition: opacity 0.4s;
}
@media (hover: none), (pointer: coarse) {
  .cursor,
  .mouse-glow {
    display: none;
  }
}

/* ---------- 7. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
}

/* ---------- 8. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.preloader__logo {
  position: relative;
  animation: pulse-soft 1.8s ease-in-out infinite;
}
.preloader__ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--secondary);
  animation: spin 1.1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}
.preloader__text {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.55em;
  font-size: 13px;
  color: var(--muted);
}
.preloader__bar {
  width: 180px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: load 1.3s var(--ease-out) infinite;
}
@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ---------- 9. Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 8, 14, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav__logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--glass), var(--card));
  border: 1px solid var(--border);
  box-shadow: var(--glow-soft);
  transition: transform 0.4s var(--ease-snap);
}
.nav__brand:hover .nav__logo {
  transform: rotate(-8deg) scale(1.06);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.3s, background-color 0.3s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__socials {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}
.nav__social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.3s, background-color 0.3s, transform 0.3s var(--ease-snap);
}
.nav__social:hover {
  color: var(--text);
  background: var(--card);
  transform: translateY(-2px);
}
.nav__social .icon {
  width: 18px;
  height: 18px;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 10. Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  margin-bottom: 28px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  background: rgba(20, 16, 40, 0.5);
  border: 1px solid var(--border-strong);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero__badge:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: var(--glow-soft);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero__badge .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.hero__title-gradient {
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--secondary) 45%, var(--primary));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-drift 7s ease-in-out infinite alternate;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text);
  font-weight: 400;
  max-width: 32ch;
  line-height: 1.5;
  margin-bottom: 34px;
}
.hero__lead-fade {
  display: block;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--muted), var(--faint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
}
.hero__meta .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.hero__visual {
  position: relative;
  z-index: 1;
}
.mockup-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(30px, 6vw, 70px) 0;
}

/* orbit rings */
.mockup-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}
.mockup-orbit--a {
  inset: 6% -6% -6% -6%;
  animation: orbit-a 40s linear infinite;
}
.mockup-orbit--b {
  inset: -4% 10% -4% 10%;
  border-style: dashed;
  animation: orbit-b 55s linear infinite;
}
@keyframes orbit-a {
  to { transform: rotate(360deg); }
}
@keyframes orbit-b {
  to { transform: rotate(-360deg); }
}
.mockup-orbit::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

/* mockup window */
.mockup {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(30, 26, 52, 0.96), rgba(12, 12, 20, 0.98));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), var(--glow-primary);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  animation: float-soft 7s ease-in-out infinite, mockup-sway 16s ease-in-out infinite alternate;
}
@keyframes float-soft {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes mockup-sway {
  to { rotate: 2deg; }
}
.mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 45%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.09) 55%, transparent 70%);
  background-size: 250% 100%;
  background-position: 230% 0;
  animation: sheen-sweep 6.5s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes sheen-sweep {
  0% { background-position: 230% 0; }
  65%, 100% { background-position: -130% 0; }
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.mockup__dots {
  display: flex;
  gap: 7px;
}
.mockup__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mockup__dot--r { background: #ff5f57; }
.mockup__dot--y { background: #febc2e; }
.mockup__dot--g { background: #28c840; }
.mockup__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.mockup__title img {
  width: 14px;
  height: 14px;
}
.mockup__pin {
  width: 16px;
  height: 16px;
  color: var(--faint);
}
.mockup__body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 16px;
}
.mockup__sidebar {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.mockup__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--faint);
}
.mockup__search .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.mockup__cats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mockup__cat {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  transition: background-color 0.25s, color 0.25s;
}
.mockup__cat .icon {
  width: 14px;
  height: 14px;
}
.mockup__cat.is-active {
  background: rgba(139, 92, 246, 0.18);
  color: var(--accent);
}
.mockup__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.mockup__module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 500;
  color: var(--faint);
}
.mockup__module.is-on {
  color: var(--text);
  background: rgba(139, 92, 246, 0.12);
}
.mockup__toggle {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s;
}
.mockup__toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease-snap);
}
.mockup__module.is-on .mockup__toggle {
  background: var(--success);
}
.mockup__module.is-on .mockup__toggle::after {
  transform: translateX(13px);
}
.mockup__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.mockup__fps {
  color: var(--success);
  font-weight: 700;
}
.mockup__ver {
  color: var(--faint);
}

/* floating stat cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(18, 15, 34, 0.78);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
  z-index: 3;
  backface-visibility: hidden;
  will-change: transform;
  animation: float-soft 6s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.float-card small {
  font-size: 11.5px;
  color: var(--muted);
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--accent);
}
.float-card__icon .icon {
  width: 19px;
  height: 19px;
}
.float-card--1 { top: 2%; left: -4%; animation-delay: 0.4s; }
.float-card--2 { bottom: 6%; left: -8%; animation-delay: 1.2s; }
.float-card--3 { top: 14%; right: -6%; animation-delay: 2s; }

/* scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.hero__scroll:hover {
  color: var(--accent);
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 44px;
  background: var(--border);
  overflow: hidden;
}
.hero__scroll-line i {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--accent);
  animation: scroll-drop 2s var(--ease-out) infinite;
}
@keyframes scroll-drop {
  0% { transform: translateY(-16px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* ---------- 11. Stats ---------- */
.stats {
  padding-block: clamp(50px, 7vw, 90px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  max-width: 760px;
  margin-inline: auto;
}
.stat {
  position: relative;
  text-align: center;
  padding: clamp(24px, 4vw, 40px) 16px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  backface-visibility: hidden;
  transition: transform 0.5s var(--ease-snap), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}
.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-soft);
}
.stat:hover::before {
  opacity: 1;
}
.stat__value {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- 12. Section headers ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.section-head__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.section-head__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-head__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-head__desc {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
  max-width: 56ch;
  margin-inline: auto;
}

/* ---------- 13. Features ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.feature-card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.5s var(--ease-snap), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: var(--glow-soft);
}
.feature-card:hover::before,
.feature-card:hover::after {
  opacity: 1;
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.28), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--accent);
  box-shadow: 0 10px 30px -12px rgba(139, 92, 246, 0.6);
  transition: transform 0.5s var(--ease-snap), box-shadow 0.5s;
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(-6deg);
}
.feature-card__icon .icon {
  width: 24px;
  height: 24px;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 14. Modules ---------- */
.modules__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: var(--radius-l);
  background: var(--glass);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.modules__search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 300px;
  min-width: 260px;
  padding: 12px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.modules__search:focus-within {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.modules__search .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: color 0.25s, transform 0.25s var(--ease-snap);
}
.modules__search.is-searching .icon {
  color: var(--accent);
  animation: search-pulse 0.28s var(--ease-out);
}
@keyframes search-pulse {
  50% { transform: scale(1.22) rotate(-8deg); }
}
.modules__search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  outline: none;
}
.modules__search input::placeholder {
  color: var(--faint);
}
.modules__search kbd {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
}
.modules__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease-snap);
}
.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  box-shadow: var(--glow-primary);
}
.modules__count {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 18px;
  min-height: 20px;
}
.modules__count.is-updating {
  animation: search-count 0.3s var(--ease-out);
}
@keyframes search-count {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.modules__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
}
.module-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(165deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.4s var(--ease-snap), border-color 0.35s, box-shadow 0.4s var(--ease-out);
}
.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.7), rgba(139, 92, 246, 0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.module-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--glow-soft);
}
.module-card:hover::before {
  opacity: 1;
}
.module-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--accent);
  transition: transform 0.4s var(--ease-snap), background-color 0.3s;
}
.module-card:hover .module-card__icon {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(139, 92, 246, 0.22);
}
.module-card__icon .icon {
  width: 20px;
  height: 20px;
}
.module-card__body h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.module-card__body p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.module-card__cat {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.module-card.is-hidden {
  display: none;
}
.module-card.is-pop {
  animation: search-pop 0.42s var(--ease-snap) both;
  animation-delay: var(--search-delay, 0ms);
}
@keyframes search-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 15. Screenshots carousel ---------- */
.shots {
  overflow: clip;
}
.shots__viewport {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 clamp(20px, 6vw, 80px);
}
.shots__track {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 14px;
  scroll-behavior: smooth;
}
.shots__track::-webkit-scrollbar {
  display: none;
}
.shot {
  position: relative;
  flex: 0 0 auto;
  width: clamp(300px, 58vw, 560px);
  scroll-snap-align: center;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--card);
  cursor: zoom-in;
  transition: transform 0.5s var(--ease-snap), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}
.shot:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 40px 80px -30px rgba(139, 92, 246, 0.45);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.shot--contain img {
  object-fit: contain;
  background:
    radial-gradient(80% 80% at 50% 50%, rgba(139, 92, 246, 0.14), transparent 70%),
    #0b0b12;
}
.shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(10, 10, 18, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
}
.shot figcaption .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.shots__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 16, 40, 0.72);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease-snap), background-color 0.3s, border-color 0.3s;
}
.shots__arrow:hover {
  transform: translateY(-50%) scale(1.1);
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(168, 85, 247, 0.6);
}
.shots__arrow--prev { left: clamp(0px, 2vw, 24px); }
.shots__arrow--next { right: clamp(0px, 2vw, 24px); }
.shots__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.shots__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: width 0.3s var(--ease-out), background-color 0.3s;
}
.shots__dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* 15b. Hero mockup — real in-game screenshot */
.mockup__body--shot {
  display: block;
  padding: 0;
}
.mockup__body--shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* 15c. Gallery (bento) */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(170px, 22vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(12px, 2vw, 20px);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--border-strong);
  background: #0b0b12;
  cursor: zoom-in;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}
.gallery__item--a { grid-column: span 2; grid-row: span 2; }
.gallery__item--b { grid-column: span 1; grid-row: span 1; }
.gallery__item--c { grid-column: span 1; grid-row: span 2; }
.gallery__item--d { grid-column: span 2; grid-row: span 1; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
}
.gallery__item--c img {
  object-fit: contain;
  background: radial-gradient(80% 80% at 50% 50%, rgba(139, 92, 246, 0.14), transparent 70%), #0b0b12;
}
.gallery__item:hover img {
  transform: scale(1.07);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 8, 0.55));
  pointer-events: none;
}
.gallery__item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(10, 10, 18, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  transition: transform 0.35s var(--ease-snap), border-color 0.3s;
  z-index: 1;
}
.gallery__item:hover figcaption {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.5);
}
.gallery__item figcaption .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ---------- 16. Timeline (Why) ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 27px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.5;
}
.timeline__item {
  position: relative;
  display: flex;
  gap: 26px;
  padding: 12px 0 34px 0;
}
.timeline__marker {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--glass-strong), var(--card));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--accent);
  box-shadow: 0 14px 34px -16px rgba(139, 92, 246, 0.7);
}
.timeline__marker .icon {
  width: 24px;
  height: 24px;
}
.timeline__card {
  flex: 1;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  backface-visibility: hidden;
  transition: transform 0.5s var(--ease-snap), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}
.timeline__card:hover {
  transform: translateX(8px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: var(--glow-soft);
}
.timeline__card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline__card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 17. Download / Pricing ---------- */
.download__card {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-align: center;
  backface-visibility: hidden;
  will-change: transform;
}
.download__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.download__logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: var(--glow-primary);
}
.download__tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.download__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.download__head h2 {
  position: relative;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.download__head p {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  max-width: 44ch;
  margin-inline: auto;
}
.pricing__price {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 26px 0 4px;
}
.pricing__amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.4rem, 8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff 0%, var(--accent) 45%, var(--secondary) 75%, #fff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: stat-shimmer 4.5s linear infinite;
  filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.35));
}
.pricing__period {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing__benefits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 22px 0 6px;
  text-align: left;
}
.pricing__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.pricing__benefits .icon {
  width: 17px;
  height: 17px;
  color: var(--success);
}
.download__specs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 26px 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
}
.download__specs > div {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}
.download__specs dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.download__specs dd {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
}
.download__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.download__note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}
.download__note .icon {
  width: 17px;
  height: 17px;
  color: var(--success);
}

/* ---------- 18. FAQ ---------- */
.faq__container {
  max-width: 920px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.4s var(--ease-out);
}
.faq__item:hover {
  border-color: rgba(168, 85, 247, 0.4);
}
.faq__item[open] {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: var(--glow-soft);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__item summary > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent);
  transition: transform 0.4s var(--ease-snap), background-color 0.3s;
}
.faq__icon .icon {
  width: 17px;
  height: 17px;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: rgba(139, 92, 246, 0.25);
}
.faq__item p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  transition: max-height 0.45s var(--ease-out), opacity 0.3s var(--ease-out), padding-bottom 0.45s var(--ease-out);
}
.faq__item[open] p {
  opacity: 1;
  padding-bottom: 22px;
  overflow: visible;
}
@media (max-width: 560px) {
  .faq__item summary { padding: 18px; align-items: flex-start; }
  .faq__item p { padding-inline: 18px; }
}
.faq__item code {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* ---------- 19. Contact ---------- */
.contact__card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-xl);
  text-align: center;
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.12), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(168, 85, 247, 0.3);
  overflow: hidden;
}
.contact__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(192, 132, 252, 0.25), transparent 60%);
  pointer-events: none;
}
.contact__head {
  position: relative;
}
.contact__head .section-head__title {
  margin-bottom: 12px;
}
.contact__head .section-head__desc {
  margin-bottom: 28px;
}
.contact__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 20. Footer ---------- */
.footer {
  position: relative;
  padding-top: 70px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 18, 0.6));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p {
  margin-top: 14px;
  max-width: 30ch;
  font-size: 14px;
  color: var(--muted);
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-snap), box-shadow 0.3s;
}
.footer__socials a:hover {
  color: var(--accent);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-3px);
  box-shadow: var(--glow-soft);
}
.footer__socials .icon {
  width: 18px;
  height: 18px;
}
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s var(--ease-snap);
  width: fit-content;
}
.footer__col a:hover {
  color: var(--text);
  transform: translateX(4px);
}
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--faint);
}
.footer__top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-snap);
}
.footer__top:hover {
  color: var(--accent);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-3px);
}

/* ---------- 21. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(5, 5, 8, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.lightbox.is-open {
  opacity: 1;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__figure {
  position: relative;
  max-width: min(1080px, 92vw);
  transform: scale(0.92);
  transition: transform 0.45s var(--ease-snap);
}
.lightbox.is-open .lightbox__figure {
  transform: scale(1);
}
.lightbox__figure img {
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid var(--border-strong);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), var(--glow-primary);
}
.lightbox__figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(20, 16, 40, 0.8);
  border: 1px solid var(--border-strong);
  transition: transform 0.3s var(--ease-snap), background-color 0.3s;
}
.lightbox__close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(139, 92, 246, 0.3);
}
.lightbox__close .icon {
  width: 20px;
  height: 20px;
}

/* ---------- 22. Motion & flair ---------- */

/* 22.1 Hero title — letter stagger */
.hero__title-line {
  display: block;
}
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(8deg);
  filter: blur(6px);
  animation: char-in 0.7s var(--ease-out) forwards;
  animation-delay: var(--char-delay, 0ms);
}
@keyframes char-in {
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}
.hero__title-line.hero__title-gradient {
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
  animation:
    line-in 1s 0.25s var(--ease-out) forwards,
    grad-drift 7s 1.25s ease-in-out infinite alternate;
}
@keyframes line-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 22.2 Hero rotating words */
.hero__rotator {
  display: inline-grid;
  font-weight: 700;
  vertical-align: bottom;
}
.hero__rotator-word {
  grid-area: 1 / 1;
  background: linear-gradient(120deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.7em);
  filter: blur(8px);
  animation: word-cycle 8s var(--ease-out) infinite;
}
.hero__rotator-word.is-visible {
  opacity: 1;
}
.hero__rotator-word:nth-child(2) { animation-delay: 2s; }
.hero__rotator-word:nth-child(3) { animation-delay: 4s; }
.hero__rotator-word:nth-child(4) { animation-delay: 6s; }
@keyframes word-cycle {
  0% { opacity: 0; transform: translateY(0.6em); filter: blur(8px); }
  4%, 22% { opacity: 1; transform: translateY(0); filter: blur(0); }
  27%, 100% { opacity: 0; transform: translateY(-0.6em); filter: blur(8px); }
}

/* 22.3 Marquee ticker */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.06), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  flex: none;
}
.marquee__group span {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}
.marquee__group .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  animation: sparkle-blink 2.6s ease-in-out infinite;
}
.marquee__group .icon:nth-child(4n) { animation-delay: 0.4s; }
.marquee__group .icon:nth-child(4n + 2) { animation-delay: 1.1s; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes sparkle-blink {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(90deg); }
}

/* 22.4 Background floating icons */
.bg__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bg__float {
  position: absolute;
  width: 26px;
  height: 26px;
  color: var(--accent);
  opacity: 0.15;
  animation: float-drift 22s ease-in-out infinite alternate;
  will-change: transform, translate;
}
.bg__float--1 { top: 18%; left: 8%; animation-duration: 18s; }
.bg__float--2 { top: 66%; left: 14%; width: 20px; height: 20px; animation-duration: 26s; animation-delay: -6s; }
.bg__float--3 { top: 30%; right: 10%; animation-duration: 20s; animation-delay: -3s; }
.bg__float--4 { top: 74%; right: 16%; width: 22px; height: 22px; animation-duration: 24s; animation-delay: -9s; }
.bg__float--5 { top: 12%; right: 30%; width: 18px; height: 18px; animation-duration: 16s; animation-delay: -2s; }
.bg__float--6 { top: 82%; left: 38%; width: 20px; height: 20px; animation-duration: 28s; animation-delay: -5s; }
.bg__float--7 { top: 48%; left: 46%; width: 16px; height: 16px; animation-duration: 21s; animation-delay: -11s; }
@keyframes float-drift {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(34px, -52px) rotate(200deg) scale(1.2); }
}

/* 22.5 Rotating conic borders */
.mockup::after,
.download__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 30%, rgba(192, 132, 252, 0.85) 48%, rgba(139, 92, 246, 0.45) 62%, transparent 78% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ring-spin 8s linear infinite;
  pointer-events: none;
}
.download__card::before {
  animation: ring-spin 12s linear infinite reverse;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

/* 22.6 Module card shine sweep */
.module-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 230% 0;
  transition: background-position 0.9s var(--ease-out);
  pointer-events: none;
}
.module-card:hover::after {
  background-position: -130% 0;
}

/* 22.7 Stat shimmer */
.stat__value {
  background: linear-gradient(120deg, #fff 0%, var(--accent) 42%, #fff 58%, var(--accent) 85%);
  background-size: 220% auto;
  animation: stat-shimmer 4.5s linear infinite;
}
@keyframes stat-shimmer {
  to { background-position: 220% center; }
}

/* 22.8 Navbar logo pulse */
.nav__logo {
  animation: logo-pulse 3.4s ease-in-out infinite;
}
.nav__logo img {
  width: 22px;
  height: 22px;
}
@keyframes logo-pulse {
  0%, 100% { box-shadow: var(--glow-soft); }
  50% { box-shadow: var(--glow-primary); }
}

/* 22.9 Feature icon bob */
.feature-card__icon {
  animation: icon-bob 4s ease-in-out infinite;
}
.feature-card:hover .feature-card__icon {
  animation: none;
}
@keyframes icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* 22.10 Section tag sheen */
.section-head__tag {
  position: relative;
  overflow: hidden;
}
.section-head__tag::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: tag-sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tag-sheen {
  0% { background-position: 200% 0; }
  55%, 100% { background-position: -100% 0; }
}

/* 22.11 Magnetic buttons */
.btn[data-magnetic] {
  will-change: transform;
}

/* 22.12 Cursor sparks */
.spark {
  position: fixed;
  z-index: 9998;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--accent) 55%, transparent);
  pointer-events: none;
  opacity: 0;
  animation: spark-fade 0.7s ease-out forwards;
}
@keyframes spark-fade {
  0% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.2) translateY(18px); }
}

/* 22.13 Carousel progress */
.shots__progress {
  height: 3px;
  width: min(360px, 72%);
  margin: 18px auto 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.shots__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
}

/* 22.14 Oversized logo sizes */
.preloader__logo img {
  width: 72px;
  height: 72px;
}
.footer__logo img {
  width: 34px;
  height: 34px;
}
.download__logo img {
  width: 54px;
  height: 54px;
}

/* ---------- 23. Motion extras ---------- */

/* 23.1 Top aurora bar */
.top-aurora {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1201;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--secondary), transparent);
  background-size: 220% 100%;
  animation: aurora-sweep 6s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}
@keyframes aurora-sweep {
  to { background-position: -220% 0; }
}

/* 23.2 Back to top */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1100;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.35), rgba(20, 16, 40, 0.8));
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-soft);
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-snap), visibility 0.4s;
}
.to-top .icon {
  width: 20px;
  height: 20px;
}
.to-top:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(192, 132, 252, 0.8);
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

/* 23.3 Pricing orbit */
.pricing__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(120%, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(168, 85, 247, 0.3);
  border-radius: 50%;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: ring-spin 40s linear infinite;
}
.pricing__orbit::before,
.pricing__orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.pricing__orbit::before {
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
}
.pricing__orbit::after {
  top: 50%;
  right: -5px;
  width: 7px;
  height: 7px;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
}
.download__head,
.pricing__price,
.pricing__benefits,
.download__specs,
.download__actions,
.download__note {
  position: relative;
  z-index: 1;
}

/* 23.4 Creator profile */
.creator__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.creator__grid .creator__card {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}
@media (max-width: 900px) {
  .creator__grid { grid-template-columns: 1fr; }
  .creator__grid .creator__card { max-width: 560px; margin-inline: auto; }
}

.creator__card {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(170deg, #14112a, #0b0b14 70%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85), var(--glow-primary);
}
.creator__banner {
  position: relative;
  height: 132px;
  overflow: hidden;
  background: linear-gradient(120deg, #6d28d9, #8b5cf6 40%, #a855f7 70%, #c084fc);
  background-size: 220% auto;
  animation: grad-drift 9s ease-in-out infinite alternate;
}
.creator__banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 80% 20%, rgba(255, 255, 255, 0.25), transparent 55%);
}
.creator__top {
  position: relative;
  height: 0;
  z-index: 2;
}
.creator__avatar {
  position: absolute;
  left: 28px;
  top: -64px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 6px solid #0d0c18;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(168, 85, 247, 0.4);
  object-fit: cover;
  background: #14112a;
  animation: avatar-breathe 5s ease-in-out infinite;
}
@keyframes avatar-breathe {
  0%, 100% { box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(168, 85, 247, 0.4); }
  50% { box-shadow: 0 14px 46px -8px rgba(139, 92, 246, 0.6), 0 0 0 2px rgba(192, 132, 252, 0.7); }
}
.creator__status {
  position: absolute;
  left: 128px;
  top: 42px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d0c18;
  border: 3px solid #0d0c18;
}
.creator__status i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--success);
  animation: ping 2s ease-out infinite;
}
.creator__body {
  position: relative;
  padding: 96px 28px 30px;
}
.creator__names {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.creator__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.creator__username {
  font-size: 14px;
  color: var(--muted);
}
.creator__badges {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}
.creator__badges li {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  transition: transform 0.35s var(--ease-snap);
}
.creator__badges li:hover {
  transform: translateY(-3px) rotate(-6deg);
}
.creator__badges .icon {
  width: 17px;
  height: 17px;
}
.creator__bio {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.creator__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.creator__info > div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
.creator__info dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.creator__info dt .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.creator__info dd {
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.creator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.creator__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 23.5 Scramble text */
[data-scramble] {
  font-variant-numeric: tabular-nums;
  transition: text-shadow 0.3s;
}
.is-scrambling {
  text-shadow: 0 0 18px rgba(192, 132, 252, 0.6);
}

/* 23.6 Split word stagger */
[data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
  animation: word-in 0.55s var(--ease-out) both;
  animation-delay: calc(var(--i) * 42ms);
  animation-play-state: paused;
}
[data-split].is-in .w {
  animation-play-state: running;
}
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 23.7 Spotlight on stats + timeline */
.stat::after,
.timeline__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.stat:hover::after,
.timeline__card:hover::after {
  opacity: 1;
}

/* 23.8 Confetti */
.confetti {
  position: fixed;
  z-index: 3000;
  border-radius: 2px;
  pointer-events: none;
  animation: confetti 0.95s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.7); opacity: 0; }
}

/* 23.9 Footer credit */
.footer__credit {
  color: var(--accent);
  font-weight: 600;
}

/* 23.9b Fade-up scroll animation (texts + buttons) */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  transition-delay: var(--fd, 0ms);
  will-change: opacity, transform;
}
.btn.fade-up {
  transform: translateY(18px) scale(0.96);
}
.fade-up.is-in,
.btn.fade-up.is-in {
  opacity: 1;
  transform: none;
}

/* 23.9c Primary button glow pulse */
.btn--primary {
  animation: btn-glow-pulse 3.2s ease-in-out infinite;
}
@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 26px 70px -18px rgba(139, 92, 246, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

/* 23.10 Payment modal */
.payment {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 24px;
}
.payment[hidden] {
  display: none;
}
.payment__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.payment.is-open .payment__overlay {
  opacity: 1;
}
.payment__card {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(170deg, #171330, #0b0b14);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), var(--glow-primary);
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-snap);
}
.payment.is-open .payment__card {
  opacity: 1;
  transform: none;
}
.payment__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  transition: color 0.3s, transform 0.3s var(--ease-snap), background-color 0.3s;
}
.payment__close:hover {
  color: var(--text);
  background: rgba(139, 92, 246, 0.2);
  transform: rotate(90deg);
}
.payment__close .icon {
  width: 18px;
  height: 18px;
}
.payment__head {
  text-align: center;
  margin-bottom: 24px;
}
.payment__logo {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: var(--glow-soft);
}
.payment__head h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.payment__head p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
  margin-inline: auto;
}
.payment__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-snap), border-color 0.3s, background-color 0.3s, box-shadow 0.4s var(--ease-out);
}
.payment__option:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.55);
  background: var(--card-hover);
  box-shadow: var(--glow-soft);
}
.payment__option-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
}
.payment__option-icon svg {
  width: 100%;
  height: 100%;
}
.payment__option-icon img.pay-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.payment__option-icon--paypal {
  background: #fff;
  padding: 10px;
}
.payment__option-icon--donut {
  background: #1c1208;
  border: 1px solid var(--border);
  padding: 5px;
}
.payment__option-text {
  flex: 1;
  text-align: left;
}
.payment__option-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.payment__option-text small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.payment__option-arrow {
  width: 18px;
  height: 18px;
  color: var(--faint);
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.payment__option:hover .payment__option-arrow {
  transform: translateX(4px);
  color: var(--accent);
}
.payment__note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--faint);
}
.payment__note a {
  color: var(--accent);
  font-weight: 600;
}

/* 23.22 Premium motion pass */
.bg__fog {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 36%;
  height: 44%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(139, 92, 246, 0.1), transparent 70%);
  filter: blur(70px);
  animation: fog-drift 28s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
@keyframes fog-drift {
  to { transform: translate3d(8%, -7%, 0) scale(1.15); }
}
.bg__noise {
  animation: grain-shift 0.9s steps(6) infinite;
}
@keyframes grain-shift {
  to { background-position: 420px 280px; }
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), var(--primary));
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

/* Load-in */
main {
  animation: main-in 0.5s var(--ease-out) both;
  transform-origin: 50% 0;
}
footer {
  animation: footer-in 0.5s var(--ease-out) both;
}
@keyframes main-in {
  from { opacity: 0; transform: scale(0.99); }
}
@keyframes footer-in {
  from { opacity: 0; transform: translateY(18px); }
}

/* Directional reveals */
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-scale { transform: translateY(24px) scale(0.94); }
.reveal-rotate { transform: translateY(26px) rotate(-3deg); }

/* Primary button conic border */
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 45%, rgba(255, 255, 255, 0.85) 55%, transparent 65% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: btn-ring 3.5s linear infinite;
  pointer-events: none;
}
@keyframes btn-ring {
  to { transform: rotate(360deg); }
}

/* Module card icon glow + desc fade */
.module-card:hover .module-card__icon {
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.55);
}
.module-card__body p {
  transition: opacity 0.3s, transform 0.3s;
}
.module-card:hover .module-card__body p {
  opacity: 0.8;
  transform: translateY(2px);
}

/* Icon micro-interactions */
.nav__social .icon,
.footer__socials a .icon {
  transition: transform 0.3s var(--ease-snap);
}
.nav__social:hover .icon,
.footer__socials a:hover .icon {
  transform: scale(1.2) rotate(-8deg);
}
.footer__socials a:hover img.discord-icon {
  transform: scale(1.15);
}

/* Stat count flash */
.stat.is-counted {
  animation: stat-flash 0.7s var(--ease-out);
}
.stat.is-counted .stat__value {
  animation: count-pop 0.55s var(--ease-snap), stat-shimmer 4.5s linear infinite;
}
@keyframes stat-flash {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
  30% { box-shadow: 0 0 0 14px rgba(139, 92, 246, 0.22), var(--glow-primary); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
@keyframes count-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* ---------- 24. Responsive ---------- */@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modules__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .hero__content {
    max-width: 640px;
    margin-inline: auto;
  }
  .hero__lead {
    margin-inline: auto;
  }
  .hero__actions,
  .hero__meta {
    justify-content: center;
  }
  .hero__visual {
    max-width: 560px;
    margin-inline: auto;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item--a,
  .gallery__item--d {
    grid-column: 1 / -1;
  }
  .gallery__item--a {
    grid-row: span 2;
  }
  .gallery__item--b,
  .gallery__item--c {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .gallery__item--a,
  .gallery__item--b,
  .gallery__item--c,
  .gallery__item--d {
    grid-column: 1;
    grid-row: span 1;
  }
  .gallery__item--a {
    grid-row: span 2;
  }
}

@media (max-width: 820px) {
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 26px;
    background: rgba(8, 8, 14, 0.92);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.4s, visibility 0.4s;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    padding: 13px 14px;
    font-size: 16px;
  }
  .nav__link::after {
    display: none;
  }
  .nav__socials {
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .nav__burger {
    display: flex;
  }
  .nav__btn-download,
  .nav__btn-discord {
    display: none;
  }
}

@media (max-width: 720px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    left: 21px;
  }
  .timeline__marker {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .timeline__marker .icon {
    width: 20px;
    height: 20px;
  }
  .timeline__item {
    gap: 18px;
  }
  .download__specs {
    grid-template-columns: 1fr;
  }
  .creator__info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features__grid,
  .modules__grid {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .float-card--1 { left: 0; top: -2%; }
  .float-card--2 { left: 0; bottom: -2%; }
  .float-card--3 { right: 0; top: 6%; }
  .mockup__body {
    grid-template-columns: 1fr;
  }
  .mockup__sidebar {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .float-card--1 { left: -2%; }
  .float-card--2 { left: -4%; }
  .float-card--3 { right: -2%; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .preloader {
    display: none;
  }
  .hero__rotator-word:not(:first-child) {
    display: none;
  }
  .hero__rotator-word:first-child {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .marquee__track {
    animation: none;
  }
  .bg__float {
    opacity: 0.08;
    animation: none;
  }
  [data-split] .w {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
  [data-scramble] {
    text-shadow: none;
  }
  .top-aurora,
  .pricing__orbit {
    display: none;
  }
  .cursor,
  .mouse-glow {
    display: none;
  }
  .bg__noise {
    animation: none;
  }
}


/* Small, intentional refinements */
.stat__value--text {
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  letter-spacing: -0.035em;
}
.footer__made-by {
  grid-column: 1 / -1;
  margin: 0.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted, #8d8d98);
  font-size: .78rem;
  text-align: left;
}
/* Simpler interaction: native cursor, no cursor-follow circle/sparks.
   Ambient purple glows and normal hover states stay unchanged. */
.cursor, .cursor-ripple, .spark { display: none !important; }
html, body, input { cursor: auto; }
a, button, summary, [role="button"] { cursor: pointer; }

/* Pricing card keeps the one intentional mouse interaction. */
.download__card[data-pricing-tilt] {
  transition: transform 0.18s ease-out, border-color 0.35s, box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
