:root {
  color-scheme: dark;
  --bg: #070914;
  --panel: rgba(17, 20, 42, .78);
  --panel-strong: rgba(24, 29, 59, .92);
  --line: rgba(170, 184, 255, .16);
  --text: #f4f6ff;
  --muted: rgba(226, 231, 255, .72);
  --blue: #5b8cff;
  --purple: #8a5cff;
  --cyan: #42d7ff;
  --green: #48f0a4;
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
  --splash-target-x: 62px;
  --splash-target-y: 37px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(91, 140, 255, .28), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(138, 92, 255, .24), transparent 34%),
    linear-gradient(180deg, #080a16 0%, #0b0e1f 42%, #070914 100%);
  overflow-x: hidden;
}

body.is-splashing {
  overflow: hidden;
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 72%);
  pointer-events: none;
}

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

button {
  color: inherit;
  font: inherit;
}

.logo-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease, visibility .32s ease;
}

.logo-splash::before {
  content: "";
  position: absolute;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 36, 40, .18), transparent 62%);
  filter: blur(10px);
  transform: scale(.78);
  animation: splashGlow 1.35s ease both;
}

.splash-logo {
  position: fixed;
  left: 50vw;
  top: 50vh;
  width: clamp(132px, 22vw, 230px);
  height: clamp(132px, 22vw, 230px);
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(238, 36, 40, .55)) drop-shadow(0 0 64px rgba(91, 140, 255, .22));
  transform: translate(-50%, -50%) scale(1);
  will-change: transform, left, top, width, height, opacity;
}

body.splash-animate .splash-logo {
  animation: logoDock 1.25s cubic-bezier(.18, .86, .2, 1) .38s forwards;
}

body.splash-finished .logo-splash {
  opacity: 0;
  visibility: hidden;
}

body.is-splashing .site-header {
  opacity: 0;
  visibility: hidden;
}

body.is-splashing main {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
}

.site-header,
main {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

body.page-ready .site-header,
body.page-ready main {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-cta,
.btn,
.hero-stats,
.feature-card,
.discord-window,
.security-panel,
.cta-panel,
.command-grid {
  border: 1px solid var(--line);
  background: rgba(13, 17, 36, .58);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 16px rgba(238, 36, 40, .34)) drop-shadow(0 0 16px rgba(91, 140, 255, .25));
}

.nav-links {
  display: flex;
  gap: 6px;
  padding: 7px;
  border-radius: 8px;
}

.nav-links a,
.header-cta {
  border: 0;
  padding: 10px 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover,
.header-cta:hover {
  color: #fff;
  background: rgba(91, 140, 255, .14);
  transform: translateY(-1px);
}

.header-cta {
  color: #fff;
  background: linear-gradient(135deg, rgba(91, 140, 255, .9), rgba(138, 92, 255, .9));
}

.invite-disabled,
.invite-disabled:disabled {
  position: relative;
  color: rgba(244, 246, 255, .78);
  cursor: not-allowed;
  background:
    linear-gradient(135deg, rgba(91, 140, 255, .18), rgba(138, 92, 255, .16)),
    rgba(255, 255, 255, .045);
  border: 1px solid rgba(170, 184, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 38px rgba(91, 140, 255, .12);
}

.invite-disabled::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #ffd166;
  box-shadow: 0 0 16px rgba(255, 209, 102, .7);
}

.invite-disabled:hover,
.invite-disabled:disabled:hover {
  color: rgba(244, 246, 255, .78);
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 38px rgba(91, 140, 255, .12);
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: center;
  gap: 52px;
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.12rem;
}

.hero-text,
.section-heading p,
.security-panel p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #5865f2, #8a5cff 54%, #42d7ff);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 18px 48px rgba(88, 101, 242, .32);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(91, 140, 255, .32);
}

.btn.invite-disabled,
.btn.invite-disabled:disabled {
  color: rgba(244, 246, 255, .78);
  background:
    linear-gradient(135deg, rgba(91, 140, 255, .18), rgba(138, 92, 255, .16)),
    rgba(255, 255, 255, .045);
  border-color: rgba(170, 184, 255, .18);
  opacity: 1;
}

.btn.invite-disabled:hover,
.btn.invite-disabled:disabled:hover {
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 38px rgba(91, 140, 255, .12);
}

.hero-stats {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
}

.hero-stats span {
  padding: 15px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .035);
  font-size: .88rem;
}

.hero-stats strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 1.18rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -42px 20px 42px -18px;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(91, 140, 255, .42), rgba(138, 92, 255, .22));
  filter: blur(30px);
}

.discord-window {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), transparent 34%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b8a;
}

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

.window-top span:nth-child(3) {
  background: #5cffb2;
}

.bot-profile {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.bot-profile img {
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(238, 36, 40, .25));
}

.bot-profile strong {
  display: block;
  font-size: 1.45rem;
}

.bot-profile p,
.feed-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.status-dot {
  padding: 8px 10px;
  border-radius: 999px;
  color: #04130c;
  background: var(--green);
  font-size: .78rem;
  font-weight: 800;
}

.bot-feed {
  display: grid;
  gap: 12px;
  padding: 0 24px 24px;
}

.feed-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  transform: translateX(0);
  animation: feedPulse 4.8s ease-in-out infinite;
}

.feed-item:nth-child(2) {
  animation-delay: .6s;
}

.feed-item:nth-child(3) {
  animation-delay: 1.2s;
}

.feed-item.active {
  border-color: rgba(72, 240, 164, .35);
  background: rgba(72, 240, 164, .08);
}

.feed-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(91, 140, 255, .28), rgba(138, 92, 255, .28));
  color: #fff;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card {
  position: relative;
  min-height: 310px;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 24% 0%, rgba(91, 140, 255, .2), transparent 34%);
  transition: opacity .24s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(91, 140, 255, .4);
  background: rgba(21, 26, 54, .9);
  box-shadow: 0 26px 70px rgba(91, 140, 255, .16);
}

.feature-card:hover::before {
  opacity: 1;
}

.security-card,
.panel-card {
  grid-column: span 2;
}

.card-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(88, 101, 242, .9), rgba(66, 215, 255, .66));
  font-weight: 900;
}

.feature-card h3,
.feature-card ul {
  position: relative;
}

.feature-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.48;
}

.flow-section {
  padding-top: 50px;
}

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  transform: translateY(-50%);
}

.flow-step {
  position: relative;
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 17, 36, .82);
  box-shadow: var(--shadow);
}

.flow-step span {
  position: relative;
  z-index: 1;
  font-weight: 900;
  text-align: center;
}

.flow-step::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  right: -15px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
  animation: flowBlink 1.8s ease-in-out infinite;
}

.flow-step:last-child::after {
  display: none;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 36px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 50%, rgba(72, 240, 164, .18), transparent 34%),
    linear-gradient(135deg, rgba(91, 140, 255, .12), rgba(138, 92, 255, .09)),
    var(--panel);
}

.shield-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.shield-core {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 26px;
  background: linear-gradient(135deg, #5865f2, #42d7ff);
  box-shadow: 0 0 70px rgba(91, 140, 255, .5);
  font-size: 2rem;
  font-weight: 900;
}

.orbit {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

.orbit-b {
  inset: 48px;
  animation-duration: 8s;
  animation-direction: reverse;
}

.orbit-c {
  inset: 72px;
  animation-duration: 10s;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 26%),
    rgba(8, 10, 22, .84);
}

.command-grid code {
  display: block;
  min-height: 58px;
  padding: 18px;
  border: 1px solid rgba(91, 140, 255, .22);
  border-radius: 8px;
  color: #dfe6ff;
  background: #0c1020;
  font-family: Consolas, Monaco, monospace;
  font-size: .96rem;
  box-shadow: inset 0 0 24px rgba(91, 140, 255, .06);
}

.command-grid code::before {
  content: ">";
  margin-right: 9px;
  color: var(--green);
}

.final-cta {
  padding-top: 40px;
  padding-bottom: 110px;
}

.cta-panel {
  padding: clamp(28px, 6vw, 58px);
  border-radius: 8px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(66, 215, 255, .18), transparent 38%),
    linear-gradient(135deg, rgba(91, 140, 255, .16), rgba(138, 92, 255, .13)),
    var(--panel-strong);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

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

@keyframes feedPulse {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

@keyframes flowBlink {
  0%,
  100% {
    opacity: .34;
    transform: scale(.82);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes splashGlow {
  0% {
    opacity: 0;
    transform: scale(.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoDock {
  0% {
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%) scale(.96);
  }

  34% {
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%) scale(1.08);
  }

  100% {
    left: var(--splash-target-x);
    top: var(--splash-target-y);
    width: 38px;
    height: 38px;
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 10px rgba(238, 36, 40, .32));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .logo-splash {
    display: none;
  }

  body.is-splashing .site-header,
  body.is-splashing main {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding: 12px 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .feature-grid,
  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-card,
  .panel-card {
    grid-column: span 1;
  }

  .security-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 22px, 1180px);
  }

  .brand span {
    display: none;
  }

  .header-cta {
    padding: 10px 11px;
    font-size: .78rem;
  }

  .section-pad {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .hero {
    gap: 34px;
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-actions,
  .hero-stats,
  .bot-profile,
  .flow-track,
  .feature-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
  }

  .bot-profile {
    text-align: center;
  }

  .bot-profile img,
  .status-dot {
    justify-self: center;
  }

  .flow-track::before,
  .flow-step::after {
    display: none;
  }

  .shield-orbit {
    width: 220px;
    height: 220px;
  }
}
