/* =========================================================
   SparkVisuals — website styles
   ========================================================= */
:root {
  --bg: #07060f;
  --bg-2: #0d0b1a;
  --panel: rgba(18, 16, 30, .62);
  --panel-solid: #12101e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f0fa;
  --muted: #9a96b2;
  --dim: #6b6884;
  --accent: #9b87ff;
  --accent-2: #5b74ff;
  --accent-3: #c9b8ff;
  --glow: rgba(139, 115, 255, .55);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Syne", "Inter", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, kbd {
  font-family: var(--mono);
  font-size: .86em;
  padding: .12em .45em;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  color: var(--accent-3);
  white-space: nowrap;
}
kbd { color: var(--text); box-shadow: inset 0 -2px 0 rgba(255,255,255,.08); }
::selection { background: rgba(155, 135, 255, .4); color: #fff; }
.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ico--sm { width: 16px; height: 16px; }

/* ---------- background layers ---------- */
.nebula {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -3; display: block;
  background: radial-gradient(120% 80% at 50% 0%, #1b1450 0%, #0a0820 45%, var(--bg) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: -2;
  background: radial-gradient(circle, rgba(140, 110, 255, .16), transparent 62%);
  transform: translate3d(-999px, -999px, 0);
  transition: opacity .4s;
}
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 28px;
  justify-items: center;
  background: radial-gradient(60% 50% at 50% 50%, #151032, var(--bg));
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__logo { position: relative; width: 84px; height: 84px; display: grid; place-items: center;
  border-radius: 24px; background: #0b0a12; border: 1px solid var(--line-2);
  box-shadow: 0 0 60px rgba(139, 115, 255, .35); }
.loader__logo img { width: 52px; animation: logoPulse 1.6s var(--ease) infinite; }
.loader__ring { position: absolute; inset: -10px; border-radius: 30px; border: 1px solid transparent;
  border-top-color: var(--accent); border-right-color: rgba(155, 135, 255, .3);
  animation: spin 1.1s linear infinite; }
.loader__bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  transition: width .25s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logoPulse { 50% { transform: scale(.92); filter: drop-shadow(0 0 14px rgba(200, 185, 255, .7)); } }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 14px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
  isolation: isolate; overflow: hidden;
}
.btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn--primary {
  color: #0b0918;
  background: linear-gradient(180deg, #ffffff, #dcd4ff);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 10px 30px -8px rgba(155, 135, 255, .75), 0 0 50px -10px rgba(155, 135, 255, .7);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 16px 40px -8px rgba(155, 135, 255, .9), 0 0 70px -6px rgba(155, 135, 255, .85); }
.btn--glass {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .11); border-color: rgba(200, 185, 255, .4); }
.btn--ghost { color: var(--muted); border: 1px solid var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.btn:active { transform: scale(.97); }
.btn__shine {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.9) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 3.6s var(--ease) infinite 1.5s;
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn.loading-dl { pointer-events: none; opacity: .85; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  transition: padding .4s var(--ease);
}
.nav__inner {
  max-width: 1240px; margin: 0 auto; height: 62px; padding: 0 12px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 20px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled { padding-top: 10px; }
.nav.scrolled .nav__inner {
  background: rgba(12, 10, 24, .62);
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand__tile {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: #0b0a12; border: 1px solid var(--line-2);
  box-shadow: 0 0 20px -4px rgba(155, 135, 255, .45);
}
.brand__tile img { width: 22px; }
.brand__tile--lg { width: 48px; height: 48px; border-radius: 14px; }
.brand__tile--lg img { width: 30px; }
.brand__name span { color: var(--muted); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500;
  transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__account-link { display: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; padding: 150px 24px 90px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__content { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); transition: border-color .3s, color .3s;
}
.chip b { color: var(--text); font-weight: 600; }
.chip:hover { color: var(--text); border-color: rgba(200,185,255,.45); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: #7cf2b0; box-shadow: 0 0 0 0 rgba(124,242,176,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(124,242,176,0); } 100% { box-shadow: 0 0 0 0 rgba(124,242,176,0); } }

.wordmark {
  margin: 34px 0 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 8.4vw, 116px); line-height: .95; letter-spacing: -.035em;
  display: flex; justify-content: center;
  filter: drop-shadow(0 0 40px rgba(155, 135, 255, .35));
}
@property --shift { syntax: "<length>"; inherits: true; initial-value: 0px; }
.wordmark { --w: 800px; animation: shimmer 7s linear infinite; }
.wordmark .ch {
  display: inline-block; color: #fff;
  background-image: linear-gradient(100deg, #fff 0%, #fff 42%, #b9a6ff 48%, #ffffff 50%, #b9a6ff 52%, #fff 58%, #fff 100%);
  background-size: calc(var(--w) * 2) 100%;
  background-position: calc(var(--shift) - var(--off, 0px)) 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(40%) scale(.9); filter: blur(12px);
  animation: chIn .9s var(--ease) forwards;
}
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes shimmer { from { --shift: calc(var(--w) * 2); } to { --shift: 0px; } }
.wordmark__line {
  width: 92px; height: 4px; margin-top: 18px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  box-shadow: 0 0 24px var(--glow);
  transform: scaleX(0); animation: lineIn 1s var(--ease) forwards 1s;
}
@keyframes lineIn { to { transform: scaleX(1); } }
.hero__lead { max-width: 640px; margin: 28px 0 0; font-size: clamp(16px, 2vw, 19px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__note { margin: 16px 0 0; font-size: 13px; color: var(--dim); }

.hero__stage { position: relative; width: min(1100px, 100%); margin-top: 80px; perspective: 1600px; }
.window {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #0b0a14; border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04), 0 0 120px -30px rgba(120, 95, 255, .55);
  transform-style: preserve-3d; transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.window__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); }
.window__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.12); }
.window__bar span:first-child { background: #ff5f57; } .window__bar span:nth-child(2) { background: #febc2e; } .window__bar span:nth-child(3) { background: #28c840; }
.window__bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--dim); font-family: var(--mono); }
.window img { width: 100%; height: auto; }
.window__glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.22), transparent 45%);
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(20, 17, 34, .72); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.8); text-align: left;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; line-height: 1.2; }
.float-card small { display: block; font-size: 12px; color: var(--muted); }
.float-card--a { left: -36px; top: 22%; }
.float-card--b { right: -40px; top: 46%; animation-delay: -2s; }
.float-card--c { left: 8%; bottom: -26px; animation-delay: -4s; flex-direction: column; align-items: flex-start; gap: 6px; }
@keyframes float { 50% { transform: translateY(-12px); } }
.fps-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }

.toggle { position: relative; width: 44px; height: 24px; border-radius: 12px; background: rgba(255,255,255,.14); flex: none; transition: background .3s; }
.toggle i { position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: #8a879a; transition: transform .35s var(--ease), background .3s; }
.toggle.on { background: #fff; }
.toggle.on i { transform: translateX(20px); background: #0d0b16; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line);
  background: rgba(10, 8, 22, .55); backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.marquee__track span i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { max-width: 1100px; margin: 0 auto; padding: 80px 24px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, #b7a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 130px 24px 0; scroll-margin-top: 40px; }
.section--narrow { max-width: 860px; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--accent-3); text-transform: uppercase; }
.section__head h2, .final h2 {
  margin: 14px 0 0; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800;
}
.section__head h2 em, .final h2 em {
  font-style: normal; font-family: var(--display);
  background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__head p { margin: 18px auto 0; color: var(--muted); font-size: 17px; max-width: 620px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- bento cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 20, 42, .78), rgba(14, 12, 26, .78));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card--wide { grid-column: span 2; }
.card--full { grid-column: 1 / -1; flex-direction: row; }
.card--full .card__demo { flex: 1.3; height: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line); }
.card--full .card__body { flex: 1; align-self: center; padding: 32px 36px; }
.card:hover { border-color: rgba(190, 175, 255, .25); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(155, 135, 255, .6); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(170, 150, 255, .14), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.card__demo { position: relative; height: 270px; overflow: hidden; border-bottom: 1px solid var(--line); }
.card--wide .card__demo { height: 300px; }
.card__body { padding: 24px 26px 28px; }
.card__body h3 { margin: 12px 0 8px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.card__body p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-flex; font-family: var(--mono); font-size: 12px; color: var(--accent-3); padding: 4px 10px; border-radius: 8px; background: rgba(155, 135, 255, .1); border: 1px solid rgba(155, 135, 255, .2); }

/* segmented */
.seg { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: rgba(8, 7, 16, .66); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.seg--center { position: relative; left: auto; bottom: auto; margin: 0 auto 24px; display: flex; width: max-content; }
.seg__btn { padding: 6px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.seg__btn:hover { color: var(--text); }
.seg__btn.active { background: #fff; color: #0c0a16; }

/* weather demo */
.demo-weather { background: linear-gradient(180deg, #1c2440 0%, #2c2f4a 55%, #3a3446 100%); transition: background 1s; }
.demo-weather[data-w="clear"] { background: linear-gradient(180deg, #2a2a6a 0%, #b0607a 62%, #f0a070 100%); }
.demo-weather[data-w="snow"] { background: linear-gradient(180deg, #6c7894 0%, #a9b4c8 60%, #d8dee8 100%); }
.demo-weather canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.demo-weather__sun { position: absolute; right: 18%; top: 28%; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d8 0%, #ffcf8a 35%, rgba(255, 170, 110, 0) 70%); opacity: 0; transition: opacity 1s; filter: blur(1px); }
.demo-weather[data-w="clear"] .demo-weather__sun { opacity: 1; }
.demo-weather__sun::after { content: ""; position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px; opacity: .35;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 170, .5) 0 3deg, transparent 3deg 14deg);
  mask-image: radial-gradient(circle, #000 0, transparent 60%); animation: spin 60s linear infinite; }
.demo-weather__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 30%),
    repeating-linear-gradient(90deg, #2b3a2a 0 28px, #324430 28px 56px);
  transition: background 1s, filter 1s; }
.demo-weather[data-w="rain"] .demo-weather__ground { filter: brightness(.65) saturate(.8);
  background: linear-gradient(180deg, rgba(160, 180, 255, .35), rgba(90, 110, 180, .05) 40%), repeating-linear-gradient(90deg, #2b3a2a 0 28px, #324430 28px 56px); }
.demo-weather[data-w="snow"] .demo-weather__ground { background: linear-gradient(180deg, #f4f7fb, #dfe6ef); }

/* sky demo */
.demo-sky { background: linear-gradient(180deg, #050716 0%, #0d1236 60%, #1b1b48 100%); }
.aurora { position: absolute; left: -20%; right: -20%; top: 10%; height: 60%;
  background: linear-gradient(90deg, transparent, rgba(80, 255, 190, .55), rgba(110, 140, 255, .55), rgba(190, 100, 255, .45), transparent);
  filter: blur(26px); border-radius: 50%; transform: skewY(-8deg); animation: aurora 9s ease-in-out infinite alternate; mix-blend-mode: screen; }
.aurora--2 { top: 24%; opacity: .6; animation-duration: 13s; animation-direction: alternate-reverse; transform: skewY(6deg); }
@keyframes aurora { 0% { transform: translateX(-12%) skewY(-8deg) scaleY(.8); } 100% { transform: translateX(12%) skewY(4deg) scaleY(1.15); } }
.sky-stars, .sky-stars::after { position: absolute; inset: 0; background-image:
  radial-gradient(1.2px 1.2px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 68%, #fff, transparent),
  radial-gradient(1.4px 1.4px at 47% 14%, #fff, transparent), radial-gradient(1px 1px at 63% 42%, #fff, transparent),
  radial-gradient(1.2px 1.2px at 78% 18%, #fff, transparent), radial-gradient(1px 1px at 88% 62%, #fff, transparent),
  radial-gradient(1px 1px at 36% 38%, #fff, transparent), radial-gradient(1.3px 1.3px at 8% 80%, #fff, transparent),
  radial-gradient(1px 1px at 55% 80%, #fff, transparent), radial-gradient(1px 1px at 94% 30%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite; }
.sky-stars::after { content: ""; transform: translate(7%, 11%); animation-delay: -2s; }
@keyframes twinkle { 50% { opacity: .35; } }
.moon { position: absolute; right: 16%; top: 16%; width: 46px; height: 46px; border-radius: 50%; background: #f2efff;
  box-shadow: 0 0 40px 10px rgba(220, 210, 255, .35), inset -10px -6px 0 rgba(160, 150, 200, .35); }

/* ESP demo */
.demo-esp { background: radial-gradient(70% 70% at 50% 60%, #1e1640, #0b0918); display: grid; place-items: center; }
.esp-target { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.esp-head { width: 34px; height: 34px; background: linear-gradient(#6b4a33 0 40%, #c69c7a 40%); border-radius: 3px; }
.esp-body { width: 40px; height: 74px; background: linear-gradient(#2fa3a8 0 55%, #3b3b8c 55%); border-radius: 3px; }
.esp-glow { position: absolute; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(155, 135, 255, .45), transparent 65%); animation: logoPulse 2.4s ease-in-out infinite; }
.esp-orbit { position: absolute; width: 150px; height: 150px; transform: rotateX(70deg); transform-style: preserve-3d; animation: orbit 3.2s linear infinite; z-index: 3; }
.esp-orbit i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: #e9e2ff; box-shadow: 0 0 10px 3px rgba(170, 150, 255, .9), 0 0 24px 8px rgba(120, 95, 255, .55);
  transform: rotate(calc(var(--i) * 60deg)) translateX(75px); }
.esp-orbit i:nth-child(1) { --i: 0; } .esp-orbit i:nth-child(2) { --i: 1; } .esp-orbit i:nth-child(3) { --i: 2; }
.esp-orbit i:nth-child(4) { --i: 3; } .esp-orbit i:nth-child(5) { --i: 4; } .esp-orbit i:nth-child(6) { --i: 5; }
@keyframes orbit { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }

/* Jump demo */
.demo-jump { background: radial-gradient(80% 60% at 50% 80%, #1c1838, #0a0916); perspective: 500px; }
.jump-floor { position: absolute; left: 50%; bottom: 34px; width: 0; height: 0; transform: rotateX(72deg); transform-style: preserve-3d; }
.jump-floor i { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%;
  border: 3px solid rgba(190, 175, 255, .95); box-shadow: 0 0 20px rgba(155, 135, 255, .9), inset 0 0 20px rgba(155, 135, 255, .6);
  opacity: 0; animation: ring 2s var(--ease) infinite; }
.jump-floor i:nth-child(2) { animation-delay: .14s; } .jump-floor i:nth-child(3) { animation-delay: .28s; }
@keyframes ring { 0%, 34% { transform: scale(.1); opacity: 0; } 38% { opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.jump-cube { position: absolute; left: 50%; bottom: 34px; width: 44px; height: 44px; margin-left: -22px; border-radius: 6px;
  background: linear-gradient(135deg, #b8a8ff, #6b57e8); box-shadow: 0 0 30px rgba(155, 135, 255, .6); animation: hop 2s var(--ease) infinite; }
@keyframes hop { 0% { transform: translateY(0) scaleY(1); } 8% { transform: translateY(0) scale(1.1, .85); }
  20% { transform: translateY(-110px) scale(.95, 1.08); } 32% { transform: translateY(0) scale(1.12, .85); } 40%, 100% { transform: translateY(0) scale(1); } }

/* HUD demo */
.demo-hud { background: linear-gradient(rgba(10, 8, 20, .45), rgba(10, 8, 20, .45)), url("assets/clickgui.webp") center/cover; touch-action: none; }
.hud-el { position: absolute; cursor: grab; user-select: none; z-index: 2; transition: box-shadow .3s, outline-color .3s; outline: 1px dashed transparent; outline-offset: 4px; }
.hud-el:hover { outline-color: rgba(200, 185, 255, .5); }
.hud-el.dragging { cursor: grabbing; outline-color: var(--accent-3); z-index: 5; }
.hud-watermark { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 12px; background: rgba(12, 10, 20, .85); border: 1px solid var(--line-2); font-size: 13px; }
.hud-watermark img { width: 18px; }
.hud-watermark span { color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-2); }
.hud-watermark em { font-style: normal; color: var(--text); }
.hud-arraylist { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 13px; }
.hud-arraylist span { padding: 2px 10px; background: rgba(12, 10, 20, .85); border-right: 3px solid #fff; border-radius: 6px 0 0 6px; }
.hud-arraylist i { font-style: normal; color: var(--dim); }
.hud-target { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(12, 10, 20, .88); border: 1px solid var(--line-2); min-width: 200px; }
.hud-target__face { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(#3b2a1f 0 35%, #c49a76 35% 60%, #8a5e44 60%); }
.hud-target b { font-size: 14px; display: block; line-height: 1.2; }
.hud-target small { color: var(--muted); font-size: 11.5px; }
.hpbar { display: block; width: 140px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); margin: 6px 0 4px; overflow: hidden; }
.hpbar i { display: block; height: 100%; width: 87%; background: linear-gradient(90deg, #8f7bff, #d6ccff); animation: hp 5s ease-in-out infinite; }
@keyframes hp { 50% { width: 42%; } }
.hud-guide { position: absolute; background: rgba(200, 185, 255, .85); opacity: 0; transition: opacity .2s; z-index: 1; box-shadow: 0 0 8px var(--accent); }
.hud-guide--v { left: 50%; top: 0; bottom: 0; width: 1px; }
.hud-guide--h { top: 50%; left: 0; right: 0; height: 1px; }
.hud-guide.show { opacity: 1; }
.hud-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; font-size: 12.5px; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: rgba(8,7,16,.7); border: 1px solid var(--line); white-space: nowrap; }

/* Alts */
.demo-alts { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; background: radial-gradient(80% 80% at 50% 0%, #1b1540, #0c0a18); }
.alt { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s; }
.alt.active { border-color: rgba(190,175,255,.4); background: rgba(155,135,255,.1); }
.alt b { display: block; font-size: 14px; line-height: 1.2; } .alt small { color: var(--muted); font-size: 12px; }
.alt__face { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(var(--c) 0 38%, #c69c7a 38% 70%, color-mix(in srgb, var(--c) 70%, #000) 70%); }
.alt--new.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { transform: scale(.96); background: rgba(155,135,255,.25); } 100% { transform: none; } }
.mini-btn { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: #fff; color: #0c0a16; transition: transform .3s var(--ease); }
.mini-btn:hover { transform: translateY(-2px); }
.mini-btn:active svg { transform: rotate(180deg); }
.mini-btn svg { transition: transform .4s var(--ease); }

/* Configs */
.demo-configs { padding: 22px; display: flex; flex-direction: column; gap: 8px; background: radial-gradient(80% 80% at 50% 0%, #161a40, #0b0a18); }
.cfg { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .3s; }
.cfg span { margin-left: auto; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--muted); }
.cfg:hover { color: var(--text); border-color: var(--line-2); }
.cfg.active { color: var(--text); border-color: rgba(190,175,255,.4); background: rgba(155,135,255,.1); }
.cfg.active span { background: #fff; color: #0c0a16; }
.cfg-actions { display: flex; gap: 6px; margin-top: auto; }
.cfg-actions i { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted); }

/* Update */
.demo-update { display: grid; place-items: center; padding: 22px; background: radial-gradient(80% 80% at 50% 100%, #221a4c, #0b0a18); }
.upd { width: 100%; max-width: 300px; padding: 18px; border-radius: 16px; background: rgba(12, 10, 22, .85); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px #000; }
.upd__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.upd__row--sm { font-size: 12.5px; color: var(--muted); }
.upd__ver { font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(155,135,255,.15); color: var(--accent-3); }
.upd__bar { height: 6px; border-radius: 4px; margin: 14px 0 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.upd__bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent-2), var(--accent-3)); box-shadow: 0 0 12px var(--glow); }

/* ---------- interactive GUI ---------- */
.gui {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); max-width: 1000px; margin: 0 auto; min-height: 600px;
  border-radius: 28px; overflow: hidden;
  background: rgba(22, 20, 26, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(30px) saturate(120%); -webkit-backdrop-filter: blur(30px) saturate(120%);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 100px -40px rgba(155,135,255,.5);
}
.gui__side { padding: 26px 18px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.gui__brand { display: flex; align-items: center; gap: 14px; padding: 0 8px; }
.gui__brand b { display: block; font-size: 18px; line-height: 1.2; }
.gui__brand small { color: var(--muted); font-size: 13px; }
.gui__label { margin: 26px 10px 8px; font-size: 12px; color: var(--dim); letter-spacing: .06em; font-weight: 600; }
.gui__tabs { display: flex; flex-direction: column; gap: 4px; }
.gui__tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; color: var(--muted); font-weight: 500; text-align: left; transition: background .3s, color .3s; }
.gui__tab svg { width: 20px; height: 20px; flex: none; }
.gui__tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.gui__tab.active { color: var(--text); background: rgba(255,255,255,.09); }
.gui__tab.active::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: #fff; }
.gui__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.08); color: var(--muted); transition: all .3s; }
.gui__tab.active .gui__badge { background: #fff; color: #111; }
.gui__badge--text { background: none; font-weight: 500; }
.gui__user { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 18px 8px 0; border-top: 1px solid var(--line); }
.gui__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); font-weight: 600; }
.gui__user b { display: block; line-height: 1.2; }
.gui__user small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.gui__user small i { width: 7px; height: 7px; border-radius: 50%; background: #48d77b; }
.gui__main { padding: 26px 26px 18px; display: flex; flex-direction: column; min-width: 0; }
.gui__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gui__head h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.gui__head small { color: var(--muted); font-size: 13px; }
.gui__search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--dim); transition: border-color .3s; }
.gui__search:focus-within { border-color: rgba(200,185,255,.4); color: var(--text); }
.gui__search input { width: 150px; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; }
.gui__list { flex: 1; display: flex; flex-direction: column; gap: 10px; max-height: 470px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.mod { border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.035); transition: border-color .3s, background .3s; animation: modIn .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes modIn { from { opacity: 0; transform: translateY(12px); } }
.mod:hover { border-color: var(--line-2); background: rgba(255,255,255,.05); }
.mod.on { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.mod__row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; user-select: none; }
.mod__text { flex: 1; min-width: 0; }
.mod__text b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.mod__text b i { font-style: normal; color: var(--dim); font-weight: 500; font-size: 13px; margin-left: 6px; }
.mod__text small { color: var(--muted); font-size: 13.5px; }
.mod__chev { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--dim); transition: transform .35s var(--ease), color .3s, background .3s; }
.mod__chev:hover { color: var(--text); background: rgba(255,255,255,.06); }
.mod.open .mod__chev { transform: rotate(90deg); color: var(--text); }
.mod__settings { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.mod.open .mod__settings { grid-template-rows: 1fr; }
.mod__settings > div { overflow: hidden; }
.mod__settings-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 18px; }
.setting { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; font-size: 13px; color: var(--muted); background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.setting b { color: var(--text); font-weight: 600; }
.gui__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.gui__pill { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.gui__pill b { color: var(--text); font-weight: 600; }
.gui__empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- gallery ---------- */
.gallery { max-width: 1100px; margin: 0 auto; perspective: 1600px; }
.gallery__frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 1600 / 835; background: #0b0a14;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 120px -40px rgba(155,135,255,.55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.gallery__img.active { opacity: 1; transform: none; }
.gallery__caps { position: relative; min-height: 60px; margin-top: 22px; text-align: center; }
.gallery__cap { position: absolute; inset: 0; margin: 0 auto; max-width: 680px; color: var(--muted); opacity: 0; transform: translateY(8px); transition: all .6s var(--ease); }
.gallery__cap.active { opacity: 1; transform: none; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(24,20,42,.7), rgba(14,12,26,.7)); backdrop-filter: blur(12px); display: flex; flex-direction: column; }
.step::after { content: ""; position: absolute; top: 46px; right: -18px; width: 18px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step:last-child::after { display: none; }
.step__num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, rgba(155, 135, 255, .3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 18px 0 6px; font-size: 19px; }
.step p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.step p b { color: var(--text); font-weight: 600; }
.link { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--accent-3); transition: color .3s; }
.link:hover { color: #fff; }
.link--muted { color: var(--dim); font-weight: 500; }

/* ---------- community ---------- */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cta-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 40px; border-radius: 28px; border: 1px solid var(--line-2);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; isolation: isolate; }
.cta-card::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -160px; border-radius: 50%; filter: blur(30px); opacity: .7; transition: transform .8s var(--ease); }
.cta-card--tg { background: linear-gradient(160deg, rgba(40, 70, 160, .5), rgba(14, 12, 30, .85) 60%); }
.cta-card--tg::after { background: radial-gradient(circle, rgba(60, 140, 255, .55), transparent 65%); }
.cta-card--media { background: linear-gradient(160deg, rgba(110, 60, 190, .5), rgba(14, 12, 30, .85) 60%); }
.cta-card--media::after { background: radial-gradient(circle, rgba(190, 110, 255, .5), transparent 65%); }
.cta-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.cta-card:hover::after { transform: scale(1.2) translate(-20px, 20px); }
.cta-card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255,255,255,.1); border: 1px solid var(--line-2); }
.cta-card__icon svg { width: 30px; height: 30px; }
.cta-card h3 { margin: 4px 0 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; line-height: 1.15; }
.cta-card p { margin: 10px 0 26px; color: var(--muted); max-width: 440px; }
.cta-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: 18px; border: 1px solid var(--line); background: rgba(18, 16, 30, .6); backdrop-filter: blur(12px); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(190,175,255,.28); background: rgba(26, 22, 44, .7); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 9px; background: rgba(255,255,255,.06); transition: transform .4s var(--ease), background .3s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { transform: rotate(180deg); background: rgba(155,135,255,.2); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { margin: 0; padding: 0 26px 24px; color: var(--muted); }
.faq__item p a { color: var(--accent-3); text-decoration: underline; text-underline-offset: 3px; }
.faq__item[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- final ---------- */
.final { position: relative; max-width: 1240px; margin: 140px auto 0; padding: 100px 24px; text-align: center; border-radius: 36px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 24, 70, .55), rgba(10, 8, 22, .7)); width: calc(100% - 48px); }
.final__glow { position: absolute; left: 50%; top: -40%; width: 800px; height: 600px; translate: -50% 0; background: radial-gradient(closest-side, rgba(140, 110, 255, .5), transparent); filter: blur(20px); z-index: -1; animation: logoPulse 6s ease-in-out infinite; }
.final__logo { width: 72px; margin: 0 auto 22px; filter: drop-shadow(0 0 24px rgba(200, 185, 255, .7)); animation: float 5s ease-in-out infinite; }
.final p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* ---------- footer ---------- */
.footer { max-width: 1240px; margin: 100px auto 0; padding: 0 24px 40px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.footer__brand p { color: var(--muted); margin: 14px 0 0; font-size: 14px; }
.footer__cols { display: flex; gap: 70px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__cols b { font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.footer__cols a { color: var(--muted); transition: color .25s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim); padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; translate: -50% 0; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: rgba(20, 17, 34, .92); border: 1px solid var(--line-2); backdrop-filter: blur(16px); font-size: 14px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .45s var(--ease); box-shadow: 0 20px 40px -10px #000; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: var(--accent-3); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide, .card--cfg { grid-column: span 2; }
.card--full { grid-column: 1 / -1; flex-direction: row; }
.card--full .card__demo { flex: 1.3; height: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line); }
.card--full .card__body { flex: 1; align-self: center; padding: 32px 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .float-card--a { left: -10px; } .float-card--b { right: -10px; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; left: 16px; right: 16px; top: 84px; flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 18px; background: rgba(12, 10, 24, .92); border: 1px solid var(--line-2); backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: all .35s var(--ease);
  }
  .nav.open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .nav__inner { background: rgba(12, 10, 24, .8); border-color: var(--line); backdrop-filter: blur(20px); }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .burger { display: block; }
  .nav__actions .btn--ghost { display: none; }
  .nav__account-link { display: block; }
  .gui { grid-template-columns: minmax(0, 1fr); }
  .gui__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .gui__label, .gui__user { display: none; }
  .gui__tabs { flex-direction: row; overflow-x: auto; margin-top: 14px; scrollbar-width: none; }
  .gui__tab { flex: none; padding: 10px 14px; }
  .gui__tab.active::before { display: none; }
  .community { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 10px 12px; }
  .nav__actions .js-download span { display: none; }
  .nav__actions .nav__account span { display: none; }
  .nav__actions .nav__account { padding: 0 11px; }
  .nav__actions .js-download { padding: 0 11px; }
  .hero { padding: 120px 18px 70px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__stage { margin-top: 56px; }
  .float-card { display: none; }
  .window { --rx: 6deg; }
  .section { padding: 100px 18px 0; }
  .bento { grid-template-columns: 1fr; }
  .card--wide, .card--cfg { grid-column: auto; }
  .card--full { flex-direction: column; }
  .card--full .card__demo { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; }
  .card--full .card__body { padding: 24px 26px 28px; }
  .card--wide .card__demo { height: 280px; }
  .hud-target { min-width: 0; }
  .steps { grid-template-columns: 1fr; }
  .cta-card { padding: 28px; }
  .gui__head { flex-direction: column; }
  .gui__search, .gui__search input { width: 100%; }
  .gui__main { padding: 18px 14px; }
  .mod__row { padding: 14px; }
  .gui__foot { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; }
  .footer__cols { gap: 40px; }
  .final { padding: 70px 20px; width: calc(100% - 24px); }
  .faq__item summary { padding: 18px 20px; font-size: 16px; }
  .faq__item p { padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .wordmark .ch { opacity: 1; transform: none; filter: none; }
}

/* fixes */
.card__demo.demo-alts { height: auto; min-height: 270px; }
.demo-hud { user-select: none; -webkit-user-select: none; }
