:root {
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --blue-soft: #eef4ff;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e6ecf5;
  --bg: #ffffff;
  --soft: #f6f9ff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.container.narrow {
  max-width: 820px;
}

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-2), #6366f1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.brand-name {
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 12px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--soft);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
  border-radius: 12px;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 15% -10%, #e8f0ff 0%, rgba(232, 240, 255, 0) 60%),
    radial-gradient(900px 500px at 90% 0%, #eef2ff 0%, rgba(238, 242, 255, 0) 55%),
    #fff;
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #dbe7ff;
  padding: 4px 12px;
  border-radius: 999px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 16px 0 14px;
}

.grad {
  background: linear-gradient(120deg, var(--blue) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 26px 0 12px;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 12.5px;
  color: #93a1b5;
}

.hero-visual {
  position: relative;
}

/* ---------- Window frame ---------- */
.window {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f4f6fb;
  border-bottom: 1px solid var(--border);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4dbe8;
}

.window-bar i:nth-child(1) {
  background: #ff5f57;
}
.window-bar i:nth-child(2) {
  background: #febc2e;
}
.window-bar i:nth-child(3) {
  background: #28c840;
}

.window-bar span {
  margin-left: 10px;
  font-size: 11.5px;
  color: #9aa6b8;
}

.window img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
}

.section-head h2 {
  font-size: 30px;
  line-height: 1.28;
  margin: 10px 0 12px;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Preview ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.price .cur {
  font-size: 18px;
  margin-right: 2px;
}

.price .per {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.price-card li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 7px 0 7px 22px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.16);
}

.price-card .tag {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.price-note {
  text-align: center;
  color: #93a1b5;
  font-size: 12.5px;
  margin: 22px 0 0;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 18px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 14.5px;
  list-style: none;
  position: relative;
  padding-right: 26px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- Download ---------- */
.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.download-inner h2 {
  margin: 8px 0 6px;
  font-size: 26px;
}

.download-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-weight: 700;
  font-size: 14px;
}

.footer-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 12.5px;
  color: #9aa6b8;
}

/* ICP 备案号：法规要求在网站底部标明并链接工信部备案系统 */
.footer-beian {
  width: 100%;
  font-size: 12px;
  color: #9aa6b8;
}

.footer-beian a {
  color: inherit;
  text-decoration: none;
}

.footer-beian a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Legal ---------- */
.legal {
  padding: 48px 0 80px;
}

.legal .container {
  max-width: 780px;
}

.legal h1 {
  font-size: 30px;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

.legal .back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--blue);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .cards,
  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
  }
  .nav.open .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 22px 14px;
  }
  .nav.open .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid #f1f4f9;
  }
  .nav.open .nav-cta {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 22px 16px;
    background: #fff;
    flex-direction: column;
  }
  .nav.open .nav-cta .btn {
    width: 100%;
  }
  .hero h1 {
    font-size: 30px;
  }
  .section {
    padding: 56px 0;
  }
  .section-head h2 {
    font-size: 24px;
  }
}
