:root {
  --bg: #f6f8fc;
  --bg-soft: #f0f4fa;
  --surface: #ffffff;
  --text: #1b2434;
  --muted: #6b7787;
  --border: #e3e9f1;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eaf1ff;
  --free: #0f9d58;
  --free-soft: #e8f7ee;
  --shadow: 0 12px 38px rgba(28, 48, 84, 0.09);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; flex-shrink: 0; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo span { color: var(--brand); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg); color: var(--text);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 14px; color: var(--muted); justify-content: flex-end; }
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-cta { padding: 9px 17px; border-radius: 10px; background: var(--brand); color: #fff !important; font-weight: 700; }
.nav-cta:hover { background: var(--brand-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 11px; font-size: 15px; font-weight: 700;
  border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: #c9d5e6; }

/* —— Hero —— */
.hero { position: relative; overflow: hidden; padding: 76px 0 84px; }
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: -280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 68%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: center; gap: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px;
  background: var(--free-soft); color: var(--free); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--free); box-shadow: 0 0 0 4px rgba(15, 157, 88, 0.12); }
.hero h1 { margin: 22px 0 10px; font-size: clamp(38px, 5.2vw, 58px); line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; }
.hero .lead { font-size: clamp(19px, 2.4vw, 26px); font-weight: 600; color: #243447; margin-bottom: 14px; }
.hero .desc { color: var(--muted); max-width: 32em; font-size: 15px; line-height: 1.85; }
.free-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.free-line span {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--free-soft); color: #0b7a43; font-size: 12px; font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 12px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero-visual {
  position: relative; display: flex; justify-content: center; min-height: 400px;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(37, 99, 235, 0.09), transparent 65%);
  border-radius: 24px; padding: 32px 20px;
}
.panel-mock {
  width: min(88%, 350px); align-self: center; background: #fff;
  border: 1px solid var(--border); border-radius: 15px; box-shadow: 0 26px 60px rgba(28, 48, 84, 0.15);
  overflow: hidden; transform: rotate(-1.5deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.pm-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.pm-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ccd5e2; }
.pm-bar i:first-child { background: var(--brand); }
.pm-bar span { margin-left: 6px; }
.pm-tabs { display: flex; gap: 5px; padding: 11px 12px 2px; }
.pm-tabs b { padding: 3px 10px; border-radius: 7px; font-size: 11px; font-weight: 500; color: var(--muted); }
.pm-tabs b.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.pm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px 12px 18px; }
.pm-grid div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 2px 5px; border-radius: 8px; font-size: 10px; color: var(--muted); }
.pm-grid div:nth-child(2) { background: var(--surface-soft); }
.pm-grid em { width: 32px; height: 32px; border-radius: 9px; background: var(--surface-soft); border: 1px solid var(--border); display: block; }
.edge-tag {
  position: absolute; right: 16px; bottom: 22px; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: 12px; color: var(--muted);
}
.edge-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* —— Feature rows：左右交错 —— */
.feature-section { padding: 72px 0; }
.feature-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-index { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); margin-bottom: 14px; }
.feature-copy h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.28; letter-spacing: -0.02em; margin-bottom: 14px; }
.feature-copy .sub { font-size: 16px; font-weight: 600; color: #314255; margin-bottom: 12px; }
.feature-copy > p:not(.sub) { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 32em; }
.feature-points { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.feature-points li { position: relative; padding-left: 21px; font-size: 13px; color: #314255; }
.feature-points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.feature-visual {
  position: relative; min-height: 300px; border-radius: 20px; border: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 55% at 50% 25%, rgba(37, 99, 235, 0.08), transparent 60%), var(--surface);
  display: flex; align-items: center; justify-content: center; padding: 30px; box-shadow: var(--shadow);
}
.visual-caption { position: absolute; left: 16px; bottom: 12px; font-size: 11px; color: rgba(27, 36, 52, 0.45); letter-spacing: 0.03em; }

.edge-mock { position: relative; width: min(80%, 330px); aspect-ratio: 16/10; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(135deg, #f7f9ff, #eaf1fb); }
.edge-mock::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44%; height: 38%; transform: translate(-50%, -50%); border: 1px dashed rgba(37, 99, 235, 0.3); border-radius: 8px; }
.edge-mock .strip { position: absolute; right: -6px; top: 20%; height: 60%; width: 22px; background: #fff; border: 1px solid rgba(37, 99, 235, 0.25); border-radius: 8px 0 0 8px; box-shadow: -8px 12px 24px rgba(37, 99, 235, 0.12); display: grid; place-items: center; gap: 10px; }
.edge-mock .strip i { width: 10px; height: 10px; border-radius: 4px; background: rgba(37, 99, 235, 0.2); }
.edge-mock .cursor { position: absolute; right: 24px; bottom: 20%; width: 0; height: 0; border-left: 7px solid #1b2434; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transform: rotate(-18deg); }

.theme-mock { width: min(80%, 330px); display: grid; gap: 12px; }
.theme-mock .tm-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: 0 6px 18px rgba(28, 48, 84, 0.05); font-size: 12px; color: var(--muted); }
.theme-mock .swatches { display: flex; gap: 6px; margin-left: auto; }
.theme-mock .swatches i { width: 15px; height: 15px; border-radius: 50%; background: var(--brand); border: 1px solid rgba(21, 32, 43, 0.1); }
.theme-mock .swatches i:nth-child(2) { background: #7c5cff; }
.theme-mock .swatches i:nth-child(3) { background: #e24a32; }
.theme-mock .swatches i:nth-child(4) { background: #1b2434; }

.keys-mock { width: min(82%, 340px); display: grid; gap: 12px; }
.keys-mock .km-row { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: 0 6px 18px rgba(28, 48, 84, 0.05); font-size: 12px; color: var(--muted); }
.keys-mock kbd { margin-left: auto; padding: 4px 9px; border-radius: 6px; border: 1px solid #d5deea; background: var(--bg); color: var(--text); font-size: 11px; font-weight: 700; box-shadow: 0 2px 0 rgba(21, 32, 43, 0.08); }

/* —— Free band —— */
/* —— Download —— */
.download { padding: 88px 0 96px; }
.section-head { max-width: 620px; margin-bottom: 34px; }
.section-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 14px; }
.dl-grid.is-empty { grid-template-columns: 1fr; }
.dl-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 52px 20px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }
.dl-empty-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.dl-empty strong { font-size: 16px; }
.dl-empty p { font-size: 13px; color: var(--muted); }
.dl-empty a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.dl-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 68px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 4px 16px rgba(28, 48, 84, 0.04); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.dl-card:hover { transform: translateY(-2px); border-color: #c9daf6; box-shadow: var(--shadow); }
.dl-card:only-child { max-width: 520px; width: 100%; justify-self: center; }
.dl-card.is-featured { border-color: #bfd3fb; }
.dl-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.dl-mark svg { width: 18px; height: 18px; }
.dl-info { flex: 1 1 auto; min-width: 0; }
.dl-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); }
.dl-tag { padding: 2px 7px; border-radius: 999px; background: var(--free-soft); color: var(--free); font-size: 10px; font-weight: 700; }
.dl-sub { margin-top: 4px; font-size: 12px; color: var(--muted); }
.dl-copy { margin-left: 8px; border: 0; background: transparent; color: var(--brand); font-size: 12px; cursor: pointer; padding: 0; }
.dl-btn { flex: 0 0 auto; min-width: 84px; padding: 0 22px; height: 34px; border-radius: 999px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; }
.dl-btn.is-off { background: var(--surface-soft); color: var(--muted); cursor: default; }
.dl-btn.is-ready:hover { background: var(--brand-dark); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.dl-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 7px; vertical-align: middle; }

/* —— Footer —— */
.site-footer { border-top: 1px solid var(--border); background: #fff; padding: 26px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a:hover { color: var(--brand); }

/* —— Reveal —— */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 330px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-visual { order: initial; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 14px 28px rgba(21, 32, 43, 0.08); }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 8px 0; }
  .nav-cta { text-align: center; }
}
@media (max-width: 620px) {
  .wrap { width: min(1280px, calc(100% - 32px)); }
  .hero { padding: 52px 0 60px; }
  .feature-section, .download { padding: 56px 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .edge-tag { right: 6px; bottom: 12px; }
}
