:root {
  color-scheme: dark;
  --bg: #030407;
  --bg-soft: #070911;
  --panel: rgba(13, 15, 24, 0.78);
  --panel-strong: rgba(19, 22, 34, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-bright: rgba(142, 170, 255, 0.38);
  --text: #f5f7fb;
  --muted: #9aa2b6;
  --faint: #666f87;
  --accent: #83a3ff;
  --accent-hot: #f28bb7;
  --accent-green: #61dca3;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: rgba(131, 163, 255, 0.34);
}

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

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(134, 160, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 12% 36%, rgba(73, 119, 255, 0.12), transparent 21rem),
    radial-gradient(circle at 90% 58%, rgba(242, 139, 183, 0.1), transparent 23rem),
    linear-gradient(180deg, #05060a 0%, #020306 42%, #030407 100%);
}

.ambient,
.noise,
.grid-fade,
.stars {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.ambient {
  filter: blur(70px);
  opacity: 0.48;
  transform: translateZ(0);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.ambient-one {
  background:
    radial-gradient(circle at 18% 18%, rgba(82, 111, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.08), transparent 16rem);
}

.ambient-two {
  background:
    radial-gradient(circle at 72% 70%, rgba(238, 92, 143, 0.12), transparent 18rem),
    radial-gradient(circle at 40% 80%, rgba(97, 220, 163, 0.08), transparent 16rem);
}

.noise {
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.grid-fade {
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(131, 163, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 163, 255, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 50% 12%, black, transparent 68%);
}

.stars span {
  position: absolute;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  transform: rotate(45deg);
  opacity: 0.6;
  box-shadow: 0 0 18px rgba(131, 163, 255, 0.42);
  animation: pulse-star 4s ease-in-out infinite;
}

.stars span:nth-child(1) { left: 7%; top: 14%; }
.stars span:nth-child(2) { left: 20%; top: 29%; animation-delay: 0.6s; }
.stars span:nth-child(3) { left: 31%; top: 17%; animation-delay: 1.4s; }
.stars span:nth-child(4) { left: 46%; top: 35%; animation-delay: 0.9s; }
.stars span:nth-child(5) { left: 59%; top: 19%; animation-delay: 1.9s; }
.stars span:nth-child(6) { left: 73%; top: 42%; animation-delay: 0.3s; }
.stars span:nth-child(7) { left: 88%; top: 15%; animation-delay: 1.2s; }
.stars span:nth-child(8) { left: 94%; top: 61%; animation-delay: 2.1s; }
.stars span:nth-child(9) { left: 16%; top: 78%; animation-delay: 0.5s; }
.stars span:nth-child(10) { left: 36%; top: 67%; animation-delay: 1.8s; }
.stars span:nth-child(11) { left: 63%; top: 84%; animation-delay: 0.8s; }
.stars span:nth-child(12) { left: 82%; top: 76%; animation-delay: 1.6s; }
.stars span:nth-child(13) { left: 52%; top: 9%; animation-delay: 2.5s; }
.stars span:nth-child(14) { left: 11%; top: 51%; animation-delay: 1.1s; }
.stars span:nth-child(15) { left: 71%; top: 10%; animation-delay: 2.8s; }

@keyframes pulse-star {
  0%, 100% {
    opacity: 0.28;
    transform: rotate(45deg) scale(0.84);
  }
  50% {
    opacity: 0.84;
    transform: rotate(45deg) scale(1.18);
  }
}

@keyframes ambient-drift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes liquid-shine {
  from {
    transform: translateX(-130%) skewX(-18deg);
  }
  to {
    transform: translateX(130%) skewX(-18deg);
  }
}

@keyframes soft-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes progress-glow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 18px 32px;
  background: linear-gradient(180deg, rgba(3, 4, 7, 0.88), rgba(3, 4, 7, 0.58) 70%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #1d2438;
  box-shadow: 0 0 24px rgba(131, 163, 255, 0.3);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a,
.ghost-link,
.mobile-menu a {
  color: #a4adc2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.ghost-link:hover,
.mobile-menu a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta,
.primary-button,
.secondary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.35);
  transition:
    transform 250ms cubic-bezier(0.1, 0.4, 0.2, 1),
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease,
    filter 250ms ease;
}

.nav-cta::before,
.primary-button::before,
.secondary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035) 42%, rgba(131, 163, 255, 0.13)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 2px 2px 0.5px -2px rgba(255, 255, 255, 0.9),
    inset -2px -2px 0.5px -2px rgba(255, 255, 255, 0.5),
    inset 0 0 14px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 255, 255, 0.08);
}

.nav-cta::after,
.primary-button::after,
.secondary-button::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -40%;
  z-index: -1;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  transform: translateX(-130%) skewX(-18deg);
}

.nav-cta {
  min-height: 36px;
  padding: 0 20px;
  border-color: rgba(131, 163, 255, 0.24);
  background: rgba(131, 163, 255, 0.1);
  color: #c9d5ff;
}

.primary-button {
  padding: 0 25px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 36px rgba(0, 0, 0, 0.32);
}

.secondary-button {
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.035);
  color: #c7cede;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px) scale(1.025);
  border-color: rgba(131, 163, 255, 0.44);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  filter: brightness(1.08);
}

.nav-cta:hover::after,
.primary-button:hover::after,
.secondary-button:hover::after {
  opacity: 1;
  animation: liquid-shine 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-cta:active,
.primary-button:active,
.secondary-button:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.93);
}

.primary-button svg,
.secondary-button svg,
.eyebrow svg,
.menu-button svg {
  width: 17px;
  height: 17px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  z-index: 19;
  top: 76px;
  left: 24px;
  right: 24px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 10, 17, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-menu.open {
  display: grid;
  animation: menu-drop 180ms ease-out both;
}

.mobile-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.section-pad {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(440px, 1.07fr);
  gap: 58px;
  align-items: center;
  min-height: 100vh;
  padding-top: 116px;
  padding-bottom: 58px;
}

.hero-copy {
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aebdff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.compact {
  min-height: 28px;
  margin-bottom: 18px;
  color: #c3ccff;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero h1 {
  display: inline-block;
  margin-top: 46px;
  padding-bottom: 0.08em;
  font-size: clamp(3.8rem, 7.5vw, 6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 4%, #dce2f7 47%, #7d8499 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 24px 80px rgba(131, 163, 255, 0.2);
}

.tagline {
  margin-top: 28px;
  color: #d6dbe7;
  font-size: clamp(1.28rem, 2.4vw, 1.65rem);
  font-style: italic;
  font-weight: 700;
}

.tagline::after {
  content: "";
  display: inline-block;
  width: 88px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(131, 163, 255, 0.8), transparent);
}

.hero-description {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-visual {
  min-width: 0;
  perspective: 1000px;
  perspective-origin: center;
  --installer-rotate: 18deg;
  --installer-scale: 1.04;
  --installer-translate: 0px;
}

.desktop-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 28, 43, 0.9), rgba(10, 12, 20, 0.94));
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.29),
    0 37px 37px rgba(0, 0, 0, 0.26),
    0 84px 50px rgba(0, 0, 0, 0.15),
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform:
    translateY(var(--installer-translate))
    rotateX(var(--installer-rotate))
    scale(var(--installer-scale));
  transform-origin: center top;
  transform-style: preserve-3d;
  will-change: transform;
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.58);
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b81;
}

.window-topbar span:nth-child(2) {
  background: #ffd166;
}

.window-topbar span:nth-child(3) {
  background: #61dca3;
}

.window-topbar p {
  margin-left: 8px;
  color: #8e96aa;
  font-size: 0.76rem;
  font-weight: 800;
}

.client-preview {
  display: grid;
  grid-template-columns: 64px 154px 1fr;
  min-height: 462px;
}

.server-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  background: rgba(4, 5, 9, 0.72);
}

.server-dot {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(131, 163, 255, 0.45), rgba(242, 139, 183, 0.38)),
    #151929;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.server-dot.active {
  border-color: rgba(131, 163, 255, 0.68);
  box-shadow: 0 0 24px rgba(131, 163, 255, 0.32);
}

.server-dot.small {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.channel-list {
  padding: 20px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 20, 0.62);
}

.workspace-title {
  margin-bottom: 22px;
  color: #f4f6fb;
  font-size: 0.88rem;
  font-weight: 900;
}

.channel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: #8790a6;
  font-size: 0.77rem;
  font-weight: 800;
}

.channel + .channel {
  margin-top: 5px;
}

.channel svg {
  width: 15px;
  height: 15px;
}

.channel.active {
  background: rgba(131, 163, 255, 0.14);
  color: #dbe3ff;
}

.mod-panel {
  padding: 24px;
  background:
    radial-gradient(circle at 72% 12%, rgba(131, 163, 255, 0.14), transparent 15rem),
    rgba(12, 14, 24, 0.62);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.panel-kicker {
  color: var(--accent-green);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-header h2 {
  margin-top: 5px;
  font-size: 1.48rem;
  line-height: 1.15;
}

.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(97, 220, 163, 0.28);
  border-radius: 999px;
  background: rgba(97, 220, 163, 0.1);
  color: #9af0c6;
  font-size: 0.68rem;
  font-weight: 900;
}

.progress-card,
.message-preview,
.toggle-card,
.feature-card,
.stat-card,
.install-step,
.download-card,
.community-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.stat-card,
.feature-card,
.install-step,
.download-card,
.community-panel {
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.stat-card:hover,
.feature-card:hover,
.install-step:hover,
.download-card:hover {
  transform: translateY(-5px);
  border-color: rgba(131, 163, 255, 0.36);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.progress-card {
  padding: 18px;
}

.progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #cbd2e2;
  font-size: 0.8rem;
  font-weight: 800;
}

.progress-track {
  overflow: hidden;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-track span {
  display: block;
  width: 96%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  animation: progress-glow 2.6s ease-in-out infinite;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.toggle-card {
  display: grid;
  min-height: 82px;
  place-items: center;
  gap: 8px;
  color: #9ba4b9;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.toggle-card svg {
  width: 20px;
  height: 20px;
}

.toggle-card.on {
  border-color: rgba(131, 163, 255, 0.32);
  background: rgba(131, 163, 255, 0.1);
  color: #dbe3ff;
}

.message-preview {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: cover;
  box-shadow: 0 0 18px rgba(131, 163, 255, 0.24);
}

.message-name {
  margin-bottom: 5px;
  color: #eef2ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.message-name b {
  display: inline-flex;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(131, 163, 255, 0.18);
  color: #c9d5ff;
  font-size: 0.58rem;
}

.message-preview p {
  color: #9fa8bb;
  font-size: 0.8rem;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 18px 0 92px;
}

.stat-card {
  display: grid;
  min-height: 156px;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.stat-card svg {
  width: 30px;
  height: 30px;
  color: #e4e8f5;
}

.stat-card strong {
  margin-top: 18px;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
}

.stat-card span {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 800;
}

.plugin-library,
.feature-intro,
.installer,
.download,
.community {
  padding-bottom: 108px;
}

.plugin-library {
  scroll-margin-top: 92px;
}

.library-hero {
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 18%, rgba(131, 163, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 15% 0%, rgba(242, 139, 183, 0.08), transparent 20rem),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.library-hero h2 {
  max-width: 720px;
  font-size: clamp(2.45rem, 6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 900;
}

.library-hero p {
  max-width: 940px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.library-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  color: #aeb7ca;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-meta strong {
  color: #f7f9ff;
}

.library-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d5ff;
}

.library-meta svg {
  width: 16px;
  height: 16px;
}

.plugin-toolbar {
  margin-top: 22px;
}

.plugin-search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.plugin-search-shell:focus-within {
  border-color: rgba(131, 163, 255, 0.42);
  background: rgba(131, 163, 255, 0.055);
  box-shadow:
    0 0 0 4px rgba(131, 163, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plugin-search-shell svg {
  width: 19px;
  height: 19px;
  color: #8f98ad;
}

.plugin-search-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

.plugin-search-shell input::placeholder {
  color: #798299;
}

.plugin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.plugin-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #a7b0c4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.plugin-filters button:hover,
.plugin-filters button.active {
  transform: translateY(-1px);
  border-color: rgba(131, 163, 255, 0.38);
  background: rgba(131, 163, 255, 0.13);
  color: #dbe3ff;
}

.plugin-count {
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.plugin-card {
  position: relative;
  min-height: 208px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 0%, rgba(131, 163, 255, 0.08), transparent 11rem),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    opacity 180ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.plugin-card.is-starred {
  border-color: rgba(255, 210, 92, 0.34);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 210, 92, 0.14), transparent 11rem),
    radial-gradient(circle at 10% 0%, rgba(131, 163, 255, 0.09), transparent 12rem),
    rgba(255, 255, 255, 0.04);
}

.plugin-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 0 14px rgba(97, 220, 163, 0.66);
  opacity: 0.78;
}

.plugin-card:hover {
  transform: translateY(-5px);
  border-color: rgba(131, 163, 255, 0.36);
  background:
    radial-gradient(circle at 88% 0%, rgba(131, 163, 255, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.plugin-card.is-hidden {
  display: none;
}

.plugin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plugin-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #dfe5f3;
}

.plugin-icon svg {
  width: 19px;
  height: 19px;
}

.plugin-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.plugin-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 23px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #aeb7ca;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plugin-badges .star-badge {
  border-color: rgba(255, 210, 92, 0.5);
  background: rgba(255, 210, 92, 0.16);
  color: #ffe08a;
  box-shadow: 0 0 16px rgba(255, 210, 92, 0.12);
}

.plugin-badges .star-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.plugin-card h3 {
  margin-top: 22px;
  color: #f7f9ff;
  font-size: 1rem;
  line-height: 1.22;
}

.plugin-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.plugin-empty {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 42px;
  max-width: none;
  align-items: end;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.04;
  font-weight: 900;
}

.section-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.section-heading.split p {
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 214px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(10, 12, 20, 0.7);
}

.feature-card svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.feature-card h3,
.install-step h3,
.download-card h3,
.community-panel h2 {
  margin-top: 22px;
  color: #f7f9ff;
  font-size: 1.16rem;
  line-height: 1.25;
}

.feature-card p,
.install-step p,
.download-card p,
.community-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.68;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: install;
}

.install-step {
  position: relative;
  min-height: 196px;
  padding: 26px;
}

.install-step span {
  color: rgba(131, 163, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 410px));
  gap: 18px;
  justify-content: center;
}

.download-card {
  position: relative;
  padding: 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(131, 163, 255, 0.15), transparent 14rem),
    rgba(13, 15, 24, 0.82);
}

.download-card.subtle {
  background: rgba(255, 255, 255, 0.035);
}

.badge {
  border-color: rgba(131, 163, 255, 0.35);
  background: rgba(131, 163, 255, 0.12);
  color: #c9d5ff;
}

.badge.muted {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: #aab3c7;
}

.download-card .version {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.download-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.download-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5ccdc;
  font-size: 0.88rem;
  font-weight: 700;
}

.download-card li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-green);
}

.download-card .primary-button,
.download-card .secondary-button {
  width: 100%;
}

.community-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 139, 183, 0.12), transparent 18rem),
    radial-gradient(circle at 90% 0%, rgba(131, 163, 255, 0.16), transparent 20rem),
    rgba(13, 15, 24, 0.76);
}

.community-panel h2 {
  margin-top: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

.community-panel p {
  max-width: 620px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer div {
  display: flex;
  gap: 20px;
  color: #9fa8bb;
}

.site-footer .disclaimer {
  justify-self: end;
}

@media (max-width: 1020px) {
  :root {
    --container: min(100% - 38px, 780px);
  }

  .site-header {
    min-height: 76px;
    padding: 16px 24px;
  }

  .nav-links,
  .ghost-link {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .desktop-frame {
    max-width: 720px;
    margin: 0 auto;
  }

  .stats,
  .plugin-grid,
  .feature-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .plugin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .section-heading.split p {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 620px);
  }

  .site-header {
    padding: 14px;
  }

  .brand span:last-child {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    gap: 38px;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(4rem, 14vw, 7.2rem);
    margin-top: 34px;
  }

  .tagline::after {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .client-preview {
    grid-template-columns: 54px 1fr;
    min-height: 540px;
  }

  .hero-visual {
    --installer-scale: 0.88;
  }

  .channel-list {
    display: none;
  }

  .mod-panel {
    padding: 18px;
  }

  .panel-header,
  .community-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .plugin-grid,
  .toggle-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    padding-bottom: 72px;
  }

  .plugin-library,
  .feature-intro,
  .installer,
  .download,
  .community {
    padding-bottom: 76px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer div,
  .site-footer .disclaimer {
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 1rem;
  }

  .header-actions {
    gap: 8px;
  }

  .mobile-menu {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .eyebrow {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    line-height: 1.25;
    padding: 8px 12px;
  }

  .window-topbar p {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .client-preview {
    grid-template-columns: 46px 1fr;
  }

  .server-dot {
    width: 32px;
    height: 32px;
  }

  .toggle-card {
    min-height: 74px;
  }

  .library-hero {
    padding: 24px;
  }

  .plugin-card {
    padding: 20px;
  }

  .plugin-card-top {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .desktop-frame {
    transform: none !important;
  }
}
