:root {
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --bg: #ffffff;
  --card: #fff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --ok: #059669;
  --warn: #d97706;
  --danger: #dc2626;
  --green: #22c55e;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.nav-links .dot { color: var(--muted); }
.link-btn {
  border: 0;
  background: transparent;
  color: #2870eb;
  cursor: pointer;
  font-size: 14px;
  padding: 7px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--text); }
.logo { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.hero { padding: 48px 0 24px; }
.hero h1 { font-size: 36px; margin: 0 0 12px; }
.hero p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 640px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 10px 16px; background: var(--brand); color: #fff; cursor: pointer; font-size: 14px; text-align: center; }
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card h3 { margin: 0 0 8px; }
.card p, .muted { color: var(--muted); line-height: 1.55; }
.price { font-size: 28px; font-weight: 700; }
.hidden { display: none !important; }
form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
input, select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
label.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; }
label.chk input { width: auto; }
.msg { font-size: 13px; color: var(--danger); min-height: 18px; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.ext-flag { font-size: 13px; margin-top: 8px; }
footer { margin-top: 40px; color: var(--muted); font-size: 12px; }
.settings { display: grid; gap: 8px; margin-top: 12px; }

.slogan {
  margin: 56px auto 48px;
  max-width: 896px;
  text-align: center;
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.35;
}
.brand-grad {
  background: linear-gradient(to right, #3b82f6, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent { color: var(--green); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 784px;
  margin: 0 auto;
}
.cta-card {
  flex: 1 1 300px;
  min-height: 280px;
  padding: 21px;
  border-radius: 21px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.cta-card.start { background: linear-gradient(to bottom right, #4095bf, #2e73b8); }
.cta-card.install { background: linear-gradient(to bottom right, #40bf8a, #2eb895); }
.cta-card h2 { margin: 0; font-size: 18px; }
.cta-card p { margin: 0; color: rgba(255, 255, 255, 0.92); line-height: 1.5; font-size: 14px; }
.cta-card .ext-flag { color: #fff; }
.cta-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.cta-btn:hover { background: rgba(0, 0, 0, 0.42); }
.cta-card.start .cta-btn { margin-top: auto; }

.demo-lead {
  margin: 48px auto 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 18px;
}

.live-demo {
  max-width: 784px;
  margin: 0 auto 28px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
  position: relative;
}
.live-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.live-text {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: #111827;
}
.live-text .w {
  border-radius: 4px;
  padding: 0 1px;
  cursor: default;
}
.live-text .w:hover { background: rgba(79, 70, 229, 0.08); }
.demo-tip {
  position: fixed;
  z-index: 40;
  pointer-events: none;
  padding: 5px 7px;
  background: rgba(10, 10, 11, 0.95);
  color: rgba(255, 255, 255, 0.93);
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.3;
  max-width: 400px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.07);
  opacity: 0;
}

.shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.shot {
  margin: 0;
  width: min(100%, 520px);
}
.shot figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.browser {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  height: 280px;
}
.chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.chrome span:first-child { background: #f87171; }
.chrome span:nth-child(2) { background: #fbbf24; }
.chrome span:nth-child(3) { background: #34d399; }
.page { padding: 22px 24px; position: relative; height: calc(100% - 31px); }
.page h4 { margin: 0 0 10px; font-size: 18px; }
.page p { margin: 0; font-size: 16px; line-height: 1.7; color: #334155; }
.page.news { background: #fffbeb; }
.page.docs { background: #f8fafc; font-family: ui-monospace, Consolas, monospace; }
.page.docs h4, .page.docs p { font-family: inherit; }
.page.paper { background: #fafaf9; box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 9px #e7e5e4; }
.hit, .full-hit {
  font-style: normal;
  background: rgba(128, 128, 128, 0.12);
  border-radius: 3px;
  padding: 0 2px;
}
.sel {
  font-style: normal;
  background: #bfdbfe;
  padding: 2px 4px;
  border-radius: 3px;
}
.tip {
  position: absolute;
  left: 38%;
  top: 78px;
  padding: 5px 8px;
  background: rgba(10, 10, 11, 0.95);
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  animation: tip 4.8s ease-in-out infinite;
}
.tip.wide { left: 22%; }
.cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: #111;
  transform: rotate(-20deg);
  top: 40px;
  left: 24px;
  animation: cursor 4.8s ease-in-out infinite;
}
.delay-2 .tip, .delay-2 .cursor { animation-delay: 0.6s; }
.delay-3 .tip, .delay-3 .cursor { animation-delay: 1.1s; }
.delay-4 .tip, .delay-4 .cursor { animation-delay: 1.6s; }
.delay-5 .tip, .delay-5 .cursor { animation-delay: 2.1s; }
.delay-6 .tip, .delay-6 .cursor { animation-delay: 2.6s; }

@keyframes cursor {
  0%, 12% { top: 36px; left: 28px; opacity: 1; }
  35%, 72% { top: 118px; left: 46%; opacity: 1; }
  88%, 100% { top: 36px; left: 28px; opacity: 1; }
}
@keyframes tip {
  0%, 28% { opacity: 0; transform: translateY(6px); }
  38%, 72% { opacity: 1; transform: translateY(0); }
  84%, 100% { opacity: 0; }
}

.price-grid { max-width: 784px; margin-left: auto; margin-right: auto; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}
.modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.modal-card h2 { margin: 0 0 12px; }
.modal-card ol { margin: 0; padding-left: 20px; color: #334155; line-height: 1.7; }
.modal-card li { margin: 8px 0; }
.copy-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.copy-row code {
  flex: 1;
  background: #f1f5f9;
  padding: 8px 10px;
  border-radius: 8px;
}
code { font-family: ui-monospace, Consolas, monospace; }

@media (max-width: 720px) {
  .slogan { margin-top: 28px; font-size: 28px; }
  .cta-card { min-height: auto; }
  .browser { height: 220px; }
  .live-text { font-size: 17px; }
}
