:root {
  --accent: #ffffaf;
  --bg: #0e0e10;
  --panel: rgba(18, 18, 20, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f4f0;
  --muted: rgba(244, 244, 240, 0.62);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

.site-body {
  overflow-x: hidden;
}

.landing-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2)),
    #111;
}

.hero {
  position: relative;
  min-height: 78vh;
  padding: 28px clamp(22px, 5vw, 72px) 48px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.04), #0e0e10 96%);
}

.top-nav,
.hero-content,
.features,
.site-footer {
  position: relative;
  z-index: 1;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-dot {
  display: inline-block;
  width: 12px;
  height: 34px;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(255, 255, 175, 0.38);
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
}

.hero-content {
  width: min(720px, 100%);
  padding-top: clamp(80px, 14vh, 150px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
}

.slogan {
  max-width: 560px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.download-panel {
  width: min(520px, 100%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 18, 20, 0.92);
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.platform-tab,
.download-button,
button {
  font: inherit;
}

.platform-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px;
  cursor: pointer;
}

.platform-tab.is-active {
  color: #111;
  background: var(--accent);
}

.platform-pane {
  display: none;
}

.platform-pane.is-active {
  display: block;
}

.download-button {
  display: flex;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 16px 18px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  cursor: pointer;
}

.download-button.is-disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  cursor: not-allowed;
}

.download-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.launcher-frame {
  position: absolute;
  right: clamp(24px, 7vw, 100px);
  bottom: clamp(40px, 10vh, 110px);
  width: min(720px, 52vw);
  min-width: 420px;
  aspect-ratio: 1563 / 861;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 22, 0.86);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.38), 0 28px 60px rgba(0, 0, 0, 0.28);
  contain: layout paint;
}

.launcher-side {
  position: absolute;
  inset: 0 auto 0 0;
  width: 76px;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
}

.launcher-side span {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.launcher-main {
  position: absolute;
  inset: 0 0 0 76px;
  padding: 34px;
}

.launcher-logo {
  display: inline-grid;
  gap: 8px;
  padding-top: 6px;
  color: white;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
}

.launcher-logo span {
  color: var(--accent);
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.82;
}

.launcher-logo b {
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
}

.launcher-copy {
  position: absolute;
  left: 34px;
  bottom: 36px;
  width: 290px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.launcher-copy strong,
.launcher-copy span {
  display: block;
}

.launcher-copy strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.launcher-copy span {
  color: rgba(255, 255, 255, 0.62);
}

.launcher-start {
  position: absolute;
  right: 36px;
  bottom: 36px;
  min-width: 210px;
  padding: 16px 24px;
  border-radius: 36px;
  background: var(--accent);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 44px));
  margin: -24px auto 0;
  border: 1px solid var(--line);
  background: var(--line);
  content-visibility: auto;
  contain-intrinsic-size: 760px 220px;
}

.features article {
  min-height: 190px;
  padding: 28px;
  background: rgba(20, 20, 22, 0.92);
}

.features span {
  color: var(--accent);
  font-weight: 800;
}

.features h2 {
  margin: 36px 0 10px;
  font-size: 20px;
}

.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 44px));
  margin: 40px auto 0;
  padding: 24px 0 38px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .launcher-frame {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    margin-top: 48px;
  }

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

@media (max-width: 620px) {
  .nav-links {
    gap: 10px;
  }

  .hero-content {
    padding-top: 62px;
  }

  .download-meta,
  .site-footer {
    flex-direction: column;
  }

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

  .launcher-side,
  .launcher-copy {
    display: none;
  }

  .launcher-main {
    inset: 0;
  }

  .launcher-start {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}
