:root {
  color-scheme: dark;
  --bg: #030813;
  --panel: rgba(13, 20, 38, 0.68);
  --panel-strong: rgba(16, 25, 48, 0.86);
  --line: rgba(191, 206, 255, 0.2);
  --line-strong: rgba(207, 220, 255, 0.34);
  --text: #f5f7ff;
  --muted: #a8b2c9;
  --soft: #77839d;
  --cyan: #31c8ff;
  --blue: #2f86ff;
  --violet: #7c4cff;
  --purple: #b84dff;
  --green: #33df97;
  --amber: #ffbd35;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 34%, rgba(116, 63, 255, 0.24), transparent 23rem),
    radial-gradient(circle at 82% 42%, rgba(36, 202, 255, 0.2), transparent 26rem),
    linear-gradient(180deg, #030713 0%, #050a16 46%, #030813 100%);
  color: var(--text);
  line-height: 1.5;
}

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

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 8rem),
    radial-gradient(circle at 16% 72%, rgba(70, 55, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 70%, rgba(18, 171, 255, 0.16), transparent 24rem);
}

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

svg {
  display: block;
}

.page-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 24px 72px 48px;
}

.site-header {
  position: sticky;
  top: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid rgba(202, 215, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 31, 72, 0.34), rgba(9, 18, 35, 0.3)),
    rgba(4, 9, 20, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(26px) saturate(1.25);
}

.brand,
.github-link,
.button,
.platform-option,
.footer-title,
.social-links,
.launcher-platforms {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 20px;
  font-weight: 750;
}

.brand img,
.footer-title img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-left: auto;
  font-size: 13px;
  color: #d7def0;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-columns a:hover,
.github-link:hover {
  color: #ffffff;
}

.github-link {
  gap: 8px;
  min-height: 38px;
  margin-left: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: #dce4f7;
  font-size: 13px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.github-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.github-link svg,
.button svg {
  width: 17px;
  height: 17px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 930px;
  padding: 54px 0 12px;
  text-align: center;
}

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

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(72px, 9vw, 112px);
  font-weight: 850;
  line-height: 0.98;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.35),
    0 18px 58px rgba(130, 163, 255, 0.24);
}

.hero-subtitle {
  margin: 10px 0 0;
  color: #c5c9ee;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 500;
}

.hero-subtitle-spacer {
  height: clamp(35px, 4vw, 45px);
  margin-top: 10px;
}

.hero-description {
  max-width: 610px;
  margin: 8px auto 0;
  color: #a6afc5;
  font-size: 17px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 26px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 12, 26, 0.72);
  color: #f3f5ff;
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.platform-option {
  position: relative;
  gap: 9px;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d9def0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.platform-option:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
}

.platform-option.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124, 76, 255, 0.45), rgba(49, 200, 255, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 24px rgba(92, 113, 255, 0.32),
    0 0 36px rgba(49, 200, 255, 0.16);
}

.platform-option:active {
  transform: scale(0.98);
}

.platform-pill svg {
  width: 20px;
  height: 20px;
}

.platform-pill .divider {
  width: 1px;
  min-height: 22px;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
}

.download-icon-windows,
.download-button[data-platform="windows"] .download-icon-macos,
.download-button[data-platform="macos"] .download-icon-windows {
  display: none;
}

.download-button[data-platform="windows"] .download-icon-windows {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 31px;
}

.button {
  justify-content: center;
  gap: 12px;
  min-width: 226px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 650;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button-primary {
  border: 1px solid rgba(96, 223, 255, 0.58);
  background: linear-gradient(135deg, rgba(126, 71, 255, 0.96), rgba(22, 137, 178, 0.75));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 18px 48px rgba(76, 80, 255, 0.24);
}

.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 22px 58px rgba(75, 127, 255, 0.34);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #f3f5ff;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.launcher-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 500px;
  margin-top: 40px;
  place-items: center;
}

.app-preview {
  position: relative;
  z-index: 2;
  width: min(840px, 92%);
  margin: 0;
  overflow: visible;
  border-radius: 16px;
  background: rgba(7, 12, 26, 0.4);
}

.app-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.62),
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 88px rgba(76, 96, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.aurora {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  opacity: 0.9;
  filter: blur(7px);
  transform: rotate(-22deg);
}

.aurora::before {
  position: absolute;
  inset: 54px;
  content: "";
  border: 42px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  filter: blur(10px);
}

.aurora-left {
  left: 70px;
  top: 10px;
  color: rgba(120, 57, 255, 0.78);
  box-shadow: -20px 18px 90px rgba(100, 55, 255, 0.58);
}

.aurora-right {
  right: 90px;
  top: 72px;
  color: rgba(44, 214, 255, 0.62);
  transform: scaleX(-1) rotate(-24deg);
  box-shadow: 20px 20px 92px rgba(47, 175, 255, 0.46);
}

.launcher-card {
  position: relative;
  z-index: 2;
  width: min(630px, 100%);
  min-height: 450px;
  padding: 49px 52px 18px;
  overflow: hidden;
  border: 1px solid rgba(204, 218, 255, 0.43);
  border-radius: 18px;
  background:
    radial-gradient(circle at 6% 3%, rgba(139, 119, 255, 0.34), transparent 14rem),
    radial-gradient(circle at 96% 75%, rgba(53, 208, 255, 0.24), transparent 13rem),
    linear-gradient(135deg, rgba(35, 32, 76, 0.75), rgba(10, 24, 42, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -60px 120px rgba(0, 0, 0, 0.16),
    var(--shadow);
  text-align: left;
  backdrop-filter: blur(28px);
}

.launcher-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(17, 31, 55, 0.9), transparent);
}

.window-controls {
  position: absolute;
  top: 18px;
  left: 23px;
  display: flex;
  gap: 10px;
}

.control {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.control.red {
  background: #ff5f57;
}

.control.yellow {
  background: #ffbd2e;
}

.control.green {
  background: #28c840;
}

.settings-button {
  position: absolute;
  top: 16px;
  right: 21px;
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9e6ff;
  cursor: pointer;
  place-items: center;
}

.settings-button svg {
  width: 20px;
  height: 20px;
}

.search-field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(189, 203, 255, 0.13);
  border-radius: 12px;
  background: rgba(13, 20, 43, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #9ea8bf;
}

.search-field svg {
  width: 21px;
  height: 21px;
  color: #cbd7ff;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  background: rgba(112, 134, 178, 0.16);
  color: #eef3ff;
  font: inherit;
  font-size: 14px;
}

.command-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.command-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: #eef3ff;
  font-size: 17px;
}

.command-list li:last-child {
  border-bottom: 0;
}

.command-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
}

.command-icon svg {
  width: 25px;
  height: 25px;
}

.command-icon.cyan {
  color: var(--cyan);
}

.command-icon.green {
  color: #26ee83;
}

.command-icon.amber {
  color: var(--amber);
}

.command-icon.purple {
  color: #a74bff;
}

.command-icon.blue {
  color: #20b9ff;
}

.command-icon.violet {
  color: #a894ff;
}

.launcher-platforms {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 2;
  justify-content: center;
  gap: 13px;
  color: #aeb9d0;
  font-size: 15px;
}

.tiny-divider {
  width: 1px;
  height: 17px;
  background: rgba(255, 255, 255, 0.18);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: -8px;
}

.feature-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 176px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(80, 145, 255, 0.1), transparent 12rem),
    rgba(12, 19, 35, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(190, 207, 255, 0.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(80, 145, 255, 0.16), transparent 12rem),
    rgba(15, 24, 44, 0.72);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
}

.feature-icon svg {
  width: 49px;
  height: 49px;
}

.feature-icon.electric {
  color: #2bbcff;
}

.feature-icon.plugin {
  color: var(--purple);
}

.feature-icon.open {
  color: #38d7a2;
}

.feature-icon.platform {
  color: #1ca6ff;
}

.feature-card h2 {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: #9fa9c0;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  column-gap: 92px;
  row-gap: 40px;
  margin-top: 64px;
  padding: 38px 50px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 3%, rgba(89, 92, 255, 0.09), transparent 15rem),
    rgba(8, 15, 29, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.footer-brand {
  padding-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  gap: 16px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
}

.footer-title img {
  width: 49px;
  height: 49px;
}

.footer-brand p {
  max-width: 215px;
  margin: 22px 0 24px;
  color: #aeb8cd;
  font-size: 17px;
}

.social-links {
  gap: 24px;
}

.social-links a {
  color: #828da5;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.social-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.social-links svg {
  width: 25px;
  height: 25px;
}

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

.footer-columns h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 17px;
}

.footer-columns a {
  display: block;
  margin: 0 0 10px;
  color: #9ea8bd;
  font-size: 16px;
  transition: color 160ms ease;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8994a9;
  text-align: center;
  font-size: 15px;
}

@media (max-width: 1120px) {
  .page-shell {
    padding-inline: 36px;
  }

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

  .feature-card {
    min-height: 150px;
  }
}

@media (max-width: 840px) {
  .page-shell {
    padding: 16px 18px 32px;
  }

  .site-header {
    top: 12px;
    flex-wrap: wrap;
    gap: 14px;
    min-height: auto;
  }

  .brand {
    font-size: 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .github-link {
    margin-left: 0;
  }

  .hero {
    min-height: 800px;
    padding-top: 48px;
  }

  .hero-description {
    font-size: 15px;
  }

  .platform-pill {
    padding: 5px 12px;
  }

  .platform-option {
    min-height: 32px;
    padding: 0 14px;
    font-size: 14px;
  }

  .button {
    min-width: min(100%, 290px);
    min-height: 52px;
    font-size: 16px;
  }

  .launcher-stage {
    min-height: 270px;
    margin-top: 28px;
  }

  .app-preview {
    width: 100%;
    border-radius: 14px;
  }

  .app-preview img {
    border-radius: 13px;
  }

  .launcher-card {
    min-height: 404px;
    padding: 48px 18px 18px;
    border-radius: 16px;
  }

  .search-field {
    gap: 10px;
  }

  .command-list li {
    grid-template-columns: 31px 1fr auto;
    min-height: 46px;
    font-size: 15px;
  }

  .command-list kbd,
  .search-field kbd {
    min-width: 39px;
    min-height: 27px;
    padding: 0 8px;
    font-size: 13px;
  }

  .aurora {
    width: 280px;
    height: 280px;
  }

  .aurora-left {
    left: -70px;
    top: 42px;
  }

  .aurora-right {
    right: -76px;
    top: 90px;
  }

  .feature-grid,
  .footer-columns,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    row-gap: 30px;
    padding: 32px 26px 24px;
  }

  .footer-brand {
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .hero-actions {
    gap: 12px;
  }

  .platform-pill {
    border-radius: 16px;
  }

  .launcher-card {
    width: calc(100vw - 36px);
  }

  .search-field span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .feature-card {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    min-height: 140px;
    padding: 24px 22px;
  }

  .feature-icon,
  .feature-icon svg {
    width: 43px;
    height: 43px;
  }

  .feature-card h2 {
    font-size: 20px;
  }

  .footer-title {
    font-size: 25px;
  }
}
