:root {
  color-scheme: dark;
  --background: #090a12;
  --surface: #11121d;
  --surface-light: #191a28;
  --text: #f5f4fa;
  --muted: #a4a4b7;
  --purple: #a995ff;
  --mint: #8cf0cf;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(ellipse at 75% 13%, rgba(119, 88, 232, 0.14), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(169, 149, 255, 0.4);
  border-radius: 11px;
  background: rgba(169, 149, 255, 0.12);
  color: var(--purple);
  font-size: 0.8rem;
}

.header-link,
.text-link,
.footer-email {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-link:hover,
.text-link:hover,
.footer-email:hover {
  color: var(--text);
}

.header-link span {
  margin-left: 5px;
  color: var(--purple);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 42px;
  align-items: center;
  min-height: 600px;
  padding: 74px 0 90px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status-dot,
.online-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(140, 240, 207, 0.65);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  margin-top: 21px;
  font-size: clamp(3.4rem, 6.4vw, 5.65rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

h1 span {
  color: var(--purple);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--purple);
  box-shadow: 0 10px 32px rgba(137, 112, 255, 0.23);
  color: #14111f;
}

.button-primary:hover {
  background: #b7a8ff;
  box-shadow: 0 14px 36px rgba(137, 112, 255, 0.34);
}

.button-primary span,
.button-light span {
  font-size: 1.1rem;
}

.hero-note {
  margin-top: 20px;
  color: #77778b;
  font-size: 0.8rem;
}

.bot-preview {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
}

.preview-glow {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(132, 105, 255, 0.16);
  filter: blur(80px);
}

.preview-window {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #171824;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  transform: rotate(1.5deg);
}

.window-top {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #b9b8c8;
  font-size: 0.7rem;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555568;
}

.window-dots i:first-child {
  background: #ed818e;
}

.window-dots i:nth-child(2) {
  background: #e9c274;
}

.window-dots i:last-child {
  background: #7cdaa7;
}

.window-menu {
  color: #727286;
  letter-spacing: 2px;
}

.server-layout {
  display: grid;
  min-height: 285px;
  grid-template-columns: 45px 126px 1fr;
}

.server-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  background: #11121b;
}

.server-icon,
.server-add {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  background: #252637;
  color: #d7d4ee;
  font-size: 0.7rem;
  font-weight: 700;
}

.server-icon.selected {
  border-radius: 9px;
  background: #8d78e7;
  color: white;
}

.server-add {
  border: 1px dashed #56566d;
  background: transparent;
  color: var(--mint);
  font-size: 1rem;
}

.channel-list {
  position: relative;
  padding: 14px 9px;
  background: #191a27;
}

.server-name {
  margin-bottom: 21px;
  color: #efeff6;
  font-size: 0.65rem;
  font-weight: 700;
}

.server-name span {
  float: right;
  color: #77778d;
}

.channel {
  margin: 9px 0;
  color: #77778d;
  font-size: 0.55rem;
  font-weight: 700;
}

.channel.active {
  color: #c9c4e7;
}

.bot-label {
  position: absolute;
  right: 7px;
  bottom: 12px;
  left: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #deddea;
  font-size: 0.57rem;
}

.bot-avatar,
.message-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #8d78e7;
  color: white;
}

.bot-avatar {
  width: 23px;
  height: 23px;
  font-size: 0.65rem;
}

.bot-label small,
.message-name small {
  margin-left: 3px;
  padding: 1px 3px;
  border-radius: 3px;
  background: #7770b4;
  color: white;
  font-size: 0.42rem;
}

.online-dot {
  width: 6px;
  height: 6px;
  margin-left: auto;
}

.chat {
  position: relative;
  padding: 0 12px;
  background: #20212e;
}

.chat-heading {
  height: 40px;
  padding-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e3ee;
  font-size: 0.63rem;
  font-weight: 700;
}

.chat-heading span {
  margin-right: 5px;
  color: #89899b;
}

.message {
  display: flex;
  gap: 8px;
  margin-top: 17px;
  color: #dcdae6;
  font-size: 0.57rem;
  line-height: 1.7;
}

.message-avatar {
  width: 23px;
  height: 23px;
  font-size: 0.65rem;
}

.message-name {
  margin-bottom: 3px;
  color: #e8e5f4;
  font-weight: 700;
}

.message-muted {
  color: #9c9bab;
}

.second-message {
  margin-top: 20px;
}

.user-avatar {
  background: #d48d74;
}

.chat-input {
  position: absolute;
  right: 10px;
  bottom: 12px;
  left: 10px;
  padding: 8px;
  border-radius: 6px;
  background: #2a2b39;
  color: #77778c;
  font-size: 0.53rem;
}

.floating-tag {
  position: absolute;
  right: -5px;
  bottom: 25px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #1b1c29;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: #e4e2ed;
  font-size: 0.72rem;
}

.floating-tag .status-dot {
  width: 7px;
  height: 7px;
}

.sparkle {
  position: absolute;
  color: var(--purple);
}

.sparkle-one {
  top: 28px;
  right: 25px;
  font-size: 1.5rem;
}

.sparkle-two {
  bottom: 70px;
  left: 0;
  color: var(--mint);
  font-size: 1.2rem;
}

.section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.solutions {
  padding: 78px 0 84px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 13px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section-description {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.95rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 36px;
}

.solution-card {
  position: relative;
  min-height: 208px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 180ms ease, transform 180ms ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 149, 255, 0.38);
}

.card-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  background: rgba(169, 149, 255, 0.13);
  color: var(--purple);
  font-size: 1.15rem;
}

.community-icon {
  background: rgba(140, 240, 207, 0.11);
  color: var(--mint);
}

.custom-icon {
  background: rgba(251, 183, 142, 0.11);
  color: #f2ad82;
}

.solution-card h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 600;
}

.solution-card p {
  max-width: 270px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.card-number {
  position: absolute;
  right: 20px;
  bottom: 17px;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 65px;
  padding: 34px;
  border: 1px solid rgba(169, 149, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 85% 50%, rgba(169, 149, 255, 0.13), transparent 45%),
    var(--surface);
}

.contact .eyebrow {
  margin-bottom: 10px;
}

.contact h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}

.contact p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.discord-username {
  color: var(--text);
  font-weight: 700;
}

.button-light {
  flex: 0 0 auto;
  background: var(--text);
  color: #15141d;
}

.button-light:hover {
  background: #ded9f3;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
}

.site-footer {
  min-height: 88px;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand {
  font-size: 0.9rem;
}

.site-footer .brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  font-size: 0.7rem;
}

.site-footer p {
  color: #77778b;
  font-size: 0.75rem;
}

.footer-email {
  font-size: 0.78rem;
}

a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 40px, 620px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 68px 0 76px;
  }

  .bot-preview {
    min-height: 350px;
  }

  .preview-window {
    width: min(100%, 470px);
  }

  .floating-tag {
    right: 0;
    bottom: 4px;
  }

  .solutions {
    padding: 62px 0;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 175px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 48px;
    padding: 27px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  .site-header {
    min-height: 72px;
  }

  .header-link {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 0;
    padding: 58px 0 66px;
  }

  .eyebrow {
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.5rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .bot-preview {
    min-height: 300px;
  }

  .server-layout {
    grid-template-columns: 36px 95px 1fr;
    min-height: 245px;
  }

  .server-icon,
  .server-add {
    width: 25px;
    height: 25px;
  }

  .channel-list {
    padding: 13px 7px;
  }

  .chat {
    padding: 0 8px;
  }

  .floating-tag {
    right: 1px;
    bottom: -3px;
    padding: 8px 10px;
    font-size: 0.65rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .section-description {
    font-size: 0.88rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 20px 0;
  }
}

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