:root {
  --ink: #141416;
  --muted: #6f6f76;
  --line: #e1e1e5;
  --surface: #f5f5f7;
  --white: #ffffff;
  --green: #4f63f6;
  --green-hover: #394bdd;
  --green-dark: #0a0a0c;
  --mint: #c8ceff;
  --lime: #dce0ff;
  --violet: #7567df;
  --shadow-sm: 0 8px 28px rgba(15, 15, 20, 0.07);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, select, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, pre:focus-visible {
  outline: 3px solid rgba(79, 99, 246, 0.25);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #edf0ee;
}

.nav-shell {
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { border-radius: 10px; box-shadow: 0 5px 16px rgba(20, 20, 24, .14); }

.nav-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7b7b82;
  font-size: 13px;
}
.release-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #4e4e56;
  background: #fafafd;
  border: 1px solid #e5e5eb;
  border-radius: 999px;
}
.release-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(79, 99, 246, .1);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--green-dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,.035), transparent 42%),
    linear-gradient(180deg, transparent 76%, rgba(0,0,0,.12));
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .055;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero-glow-one {
  width: 520px;
  height: 520px;
  top: -330px;
  right: 5%;
  background: rgba(79, 99, 246, .24);
  box-shadow: 0 0 150px rgba(79, 99, 246, .12);
}
.hero-glow-two {
  width: 280px;
  height: 280px;
  left: -170px;
  bottom: -130px;
  background: rgba(194, 200, 255, .07);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  padding: 78px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 88px;
  align-items: center;
}

.hero-copy { max-width: 620px; }
.hero-kicker {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-kicker span { width: 24px; height: 2px; background: var(--lime); }
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: clamp(54px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 760;
}
.hero-lead {
  max-width: 570px;
  margin: 30px 0 26px;
  color: #b6b6be;
  font-size: 18px;
  line-height: 1.8;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.hero-points span {
  position: relative;
  padding-left: 17px;
  color: #d8d9df;
  font-size: 12px;
  font-weight: 650;
}
.hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  transform: translateY(-50%);
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  border-bottom: 1px solid rgba(200, 206, 255, .62);
  padding-bottom: 4px;
  transition: color 160ms ease, border-color 160ms ease;
}
.hero-secondary:hover { color: var(--lime); border-color: var(--lime); }
.hero-points + .hero-secondary,
.hero-facts + .hero-secondary { margin-top: 18px; }

.download-card {
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 44px 120px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: card-enter .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes card-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  color: #68756f;
  font-size: 13px;
  font-weight: 650;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  color: #4458e3;
  background: #eff1ff;
  border-radius: 999px;
  font-size: 11px;
}
.verified-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.device-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #eff1ff;
  border-radius: 14px;
  margin-bottom: 18px;
}
.device-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.download-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.detection-note {
  margin: 8px 0 22px;
  min-height: 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.platform-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  gap: 4px;
  background: #f1f1f3;
  border-radius: 10px;
}
.platform-switcher button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  padding: 7px 8px;
  color: #707077;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.platform-switcher button:hover { color: var(--ink); }
.platform-switcher button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 20, 25, .09);
}
.current-release {
  min-height: 48px;
  margin: 16px 0 12px;
  padding: 0 3px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.current-release span,
.current-release time { color: #8a8a91; }
.current-release strong { color: var(--ink); font-size: 13px; }
.current-release time { justify-self: end; }
.download-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #fff;
  background: var(--green);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(79, 99, 246, .22);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.download-button:hover {
  transform: translateY(-2px);
  background: var(--green-hover);
  box-shadow: 0 13px 30px rgba(79, 99, 246, .28);
}
.download-button.is-disabled { opacity: .55; pointer-events: none; }
.download-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-button strong { font-size: 14px; font-weight: 700; }
.artifact-meta {
  min-height: 32px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8b8b92;
  font-size: 11px;
}
.artifact-meta span + span::before { content: "·"; margin-right: 12px; }
.artifact-meta button {
  margin-left: auto;
  border: 0;
  padding: 3px 0;
  color: var(--green);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.artifact-meta button:hover { text-decoration: underline; }
.artifact-warning {
  margin: 10px 0 0;
  padding: 10px 12px;
  color: #76541f;
  background: #fff6df;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.installer-hint {
  margin: 8px 0 0;
  color: #777780;
  font-size: 11px;
  line-height: 1.55;
}

.product-section,
.install-section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.product-section { padding: 132px 0 116px; }
.section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .14em;
}
.section-intro h2,
.ai-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.05em;
}
.section-intro > p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.product-window {
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  color: #f4f4f6;
  background: #101013;
  border: 1px solid #29292e;
  border-radius: 18px;
  box-shadow: 0 38px 100px rgba(12, 12, 16, .22);
}
.window-bar {
  height: 48px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #18181c;
  border-bottom: 1px solid #29292e;
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #48484f; }
.window-bar i:first-child { background: #ff7262; }
.window-bar i:nth-child(2) { background: #f4c451; }
.window-bar i:nth-child(3) { background: #62c77f; }
.window-bar span { margin-left: 9px; color: #707079; font-size: 11px; }
.window-body { min-height: 475px; display: grid; grid-template-columns: 220px 1fr; }
.mock-sidebar {
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #151518;
  border-right: 1px solid #29292e;
}
.mock-brand {
  margin: 0 8px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.mock-brand img { width: 27px; height: 27px; border-radius: 7px; }
.mock-sidebar > span {
  padding: 11px 13px;
  color: #85858d;
  border-radius: 8px;
  font-size: 12px;
}
.mock-sidebar > span.active { color: #e3e6ff; background: #252638; font-weight: 700; }
.mock-main { padding: 38px 40px; background: #101013; }
.mock-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-heading b { display: block; font-size: 22px; }
.mock-heading small { display: block; margin-top: 6px; color: #777780; font-size: 11px; }
.mock-heading button {
  border: 0;
  padding: 11px 17px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 11px;
}
.mock-project {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(150px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #151519;
  border: 1px solid #2b2b31;
  border-radius: 11px;
}
.mock-project + .mock-project { margin-top: 12px; }
.mock-project.feature { border-color: #555f9d; box-shadow: 0 10px 30px rgba(79,99,246,.08); }
.mock-avatar {
  width: 42px; height: 42px; display: grid; place-items: center;
  color: #dfe3ff; background: #30334d; border-radius: 10px; font-size: 13px; font-weight: 700;
}
.mock-avatar.violet { color: #ded9ff; background: #37304e; }
.mock-project b { display: block; font-size: 13px; }
.mock-project span { display: block; margin-top: 6px; color: #777780; font-size: 10px; }
.mock-people { display: flex; }
.mock-people i, .mock-people em {
  width: 27px; height: 27px; margin-left: -6px; display: grid; place-items: center;
  border: 2px solid #151519; border-radius: 50%; color: #dfe2ff; background: #36394f;
  font-size: 9px; font-style: normal;
}
.mock-people em { color: #fff; background: #55555f; }
.mock-project mark { padding: 5px 9px; color: #dce0ff; background: #282b43; border-radius: 999px; font-size: 10px; }
.mock-activity {
  margin-top: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 13px;
  background: #18181c;
  border-radius: 10px;
}
.mock-activity > span { width: 8px; height: 8px; border-radius: 50%; background: #7485ff; box-shadow: 0 0 0 5px #252943; }
.mock-activity b { display: block; font-size: 11px; }
.mock-activity small { display: block; margin-top: 3px; color: #74747d; font-size: 9px; }
.mock-activity time { color: #74747d; font-size: 9px; }

.ai-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 72px;
  align-items: center;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 115%, rgba(79,99,246,.08), transparent 36%),
    #f3f3f5;
  border: 1px solid #e2e2e6;
  border-radius: 22px;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: var(--green);
  background: #fff;
  border: 1px solid #dfe1ef;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.ai-badge svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round;
}
.ai-copy h2 { margin-top: 22px; font-size: clamp(34px, 4vw, 49px); }
.ai-copy > p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}
.copy-button {
  min-height: 50px;
  margin-top: 30px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #151518;
  font-weight: 720;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.copy-button:hover { transform: translateY(-2px); background: #2a2a2f; }
.copy-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.prompt-window {
  overflow: hidden;
  border: 1px solid #2d2d33;
  border-radius: 13px;
  background: #111114;
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
}
.prompt-toolbar {
  height: 40px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1e;
  border-bottom: 1px solid #2d2d33;
}
.prompt-toolbar span { width: 8px; height: 8px; border-radius: 50%; background: #484850; }
.prompt-toolbar small { margin-left: 7px; color: #6f6f78; font: 9px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; }
.prompt-window pre {
  height: 360px;
  margin: 0;
  padding: 23px 25px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c7c7ce;
  font: 12px/1.78 "SFMono-Regular", Consolas, monospace;
}

.install-section { padding: 124px 0 116px; }
.section-intro.compact { margin-bottom: 48px; }
.section-intro.compact h2 { font-size: clamp(34px, 4vw, 46px); }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps li {
  min-height: 210px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid #ececef;
  border-radius: 14px;
}
.steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #eceeff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 750;
}
.steps h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.steps code {
  display: inline-block;
  max-width: 100%;
  padding: 9px 11px;
  overflow-wrap: anywhere;
  color: #3448d5;
  background: #eaedff;
  border-radius: 7px;
  font: 12px/1.4 "SFMono-Regular", Consolas, monospace;
}

footer {
  min-height: 126px;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #84908b;
  font-size: 11px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand strong { display: block; color: var(--ink); font-size: 13px; }
.footer-brand span { display: block; margin-top: 2px; }
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  padding: 12px 17px;
  color: #fff;
  background: #151518;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  box-shadow: 0 16px 45px rgba(0,0,0,.24);
  opacity: 0;
  pointer-events: none;
  font-size: 13px;
  transition: opacity 170ms ease, transform 170ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .hero-shell { grid-template-columns: 1fr 420px; gap: 40px; }
  .hero h1 { font-size: clamp(48px, 6vw, 64px); }
  .ai-section { padding: 56px 42px; gap: 42px; }
}

@media (max-width: 780px) {
  .site-header { height: 64px; }
  .nav-shell,
  .hero-shell,
  .product-section,
  .ai-section,
  .install-section,
  footer { width: min(100% - 28px, 620px); }
  .brand { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .release-status { display: none; }
  .hero-shell {
    min-height: 0;
    padding: 64px 0 50px;
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-copy { text-align: center; }
  .hero-kicker { justify-content: center; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(44px, 12vw, 62px); }
  .hero-lead { margin: 24px auto 20px; font-size: 16px; }
  .hero-points { justify-content: center; }
  .download-card { max-width: 500px; width: 100%; margin: 0 auto; padding: 23px; }
  .product-section { padding: 86px 0 78px; }
  .section-intro { margin-bottom: 38px; }
  .section-intro h2, .ai-copy h2 { font-size: 34px; }
  .product-window { border-radius: 13px; }
  .window-body { min-height: 360px; grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-main { padding: 26px 18px; }
  .mock-project { grid-template-columns: 39px 1fr auto; }
  .mock-people { display: none; }
  .mock-project mark { font-size: 9px; }
  .ai-section { padding: 44px 22px; grid-template-columns: 1fr; gap: 36px; border-radius: 16px; }
  .prompt-window pre { height: 330px; padding: 20px; }
  .install-section { padding: 84px 0 78px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 170px; }
  footer { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (max-width: 440px) {
  .platform-switcher { grid-template-columns: 1fr; }
  .platform-switcher button { min-height: 35px; }
  .current-release { grid-template-columns: auto 1fr; }
  .current-release time { display: none; }
  .artifact-meta { gap: 8px; }
  .mock-heading small { max-width: 180px; }
}

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