:root {
  --bg: #f5f5f7;
  --ink: #101114;
  --muted: #5c6370;
  --faint: #8b909a;
  --line: #e4e5ea;
  --card: #ffffff;
  --cta: #111114;
  --soft: #ececf1;
  --shadow: 0 20px 60px rgba(16, 17, 20, 0.08);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: start;
  font: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.lang-menu button:hover,
.lang-menu button[aria-current="true"] { background: var(--soft); }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  cursor: pointer;
}
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-dark { background: var(--cta); color: #fff; }
.btn-dark:hover { background: #2a2b31; }
.btn-lg { min-height: 46px; padding: 0 20px; }

.hero {
  text-align: center;
  padding: 72px 0 28px;
}
.mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 8px 20px rgba(16, 17, 20, 0.12));
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.055em;
  line-height: 0.95;
  font-weight: 650;
}
.lede {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 430;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

.trust { text-align: center; padding: 48px 0 16px; }
.trust p { margin: 0 0 18px; color: var(--faint); font-size: 13px; }
.platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 40px;
  color: #3c4048;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.02em;
}
.platforms span { opacity: 0.72; }

.section { padding: 88px 0 24px; }
.section h2 {
  margin: 0 auto 36px;
  max-width: 720px;
  text-align: center;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  font-weight: 650;
}

.stage {
  border-radius: 28px;
  padding: 28px 28px 0;
  background:
    radial-gradient(80% 80% at 20% 10%, #d7c8ff 0%, transparent 55%),
    radial-gradient(80% 90% at 90% 20%, #9bb6ff 0%, transparent 50%),
    linear-gradient(160deg, #7f8cff 0%, #5b6ee8 42%, #8a6bff 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock {
  width: min(920px, 100%);
  height: 420px;
  margin: 18px auto 0;
  background: #f6f7f8;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 24px 50px rgba(16, 17, 20, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.titlebar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #eceef1;
  border-bottom: 1px solid #e1e3e7;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.titlebar b { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 550; }
.mock-body { display: flex; flex: 1; min-height: 0; }
.side {
  width: 210px;
  background: #f1f2f4;
  border-right: 1px solid #e4e6ea;
  padding: 12px 10px;
}
.search {
  height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.me { display: flex; align-items: center; gap: 8px; margin: 12px 4px; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #111114, #5a64d6);
}
.me small { display: block; color: var(--faint); font-size: 11px; }
.list { margin-top: 8px; }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 13px;
}
.row.on { background: #dce6ff; }
.row .st { font-size: 11px; color: #1a9d6c; }
.row .off { color: var(--faint); }
.canvas { flex: 1; position: relative; background: #1c2230; }
.win-desk {
  position: absolute; inset: 16px 16px 22px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 30%),
    #243044;
  overflow: hidden;
}
.task {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
  background: rgba(12, 16, 24, 0.72);
}
.pad {
  position: absolute; left: 22px; top: 22px; width: 220px; height: 140px;
  background: #fff; border-radius: 6px; color: #222;
  padding: 12px; font-size: 12px; box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.hud {
  position: absolute; top: 10px; right: 14px;
  color: #d7deea; font-size: 11px; letter-spacing: 0.02em;
}

.features {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 64px 8px 8px;
}
.feat h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.feat p { margin: 0 0 36px; color: var(--muted); font-size: 16px; max-width: 560px; }
.toc { position: sticky; top: 92px; align-self: start; }
.toc a {
  display: block;
  padding: 8px 0;
  color: var(--faint);
  font-size: 15px;
}
.toc a:hover, .toc a.active { color: var(--ink); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--soft);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .meta { margin-top: auto; padding-top: 18px; color: var(--faint); font-size: 13px; }

.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.why-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.step em {
  display: block;
  font-style: normal;
  color: var(--faint);
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.cta-band {
  text-align: center;
  padding: 96px 0 40px;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lede { margin-top: 0; }

.footer {
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.footer nav { display: flex; gap: 18px; }
.footer a:hover { color: var(--ink); }

@media (max-width: 1180px) {
  .nav-cta .btn-dark { display: none; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-top: 48px; }
  .mock { height: 320px; }
  .side { display: none; }
  .features, .cards, .path, .why-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .section { padding-top: 64px; }
}
