:root {
  --bg: #fbfcff;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --ink: #172033;
  --ink-soft: #536078;
  --muted: #7a8498;
  --line: #dfe6f2;
  --accent: #2364d8;
  --accent-strong: #1749a8;
  --violet: #6b4be8;
  --aqua: #12a9b8;
  --paper: #fff9ec;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.12);
  --radius: 8px;
  --max: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(223, 230, 242, 0.82);
  background: rgba(251, 252, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(107, 75, 232, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 52%, #edf5ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 58px;
  align-items: center;
  padding: 72px 22px 96px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 820px;
}

.hero-lead,
.page-lead {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.85;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 720;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(35, 100, 216, 0.24);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgba(35, 100, 216, 0.38);
  box-shadow: 0 12px 22px rgba(23, 32, 51, 0.08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.proof-item {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.proof-item strong {
  display: block;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.product-card {
  border: 1px solid rgba(223, 230, 242, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fd;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff5f57;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #28c840;
}

.editor-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 390px;
  background: var(--surface);
}

.hero-screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: #f7f9fd;
}

.mock-pane {
  padding: 28px;
}

.mock-pane + .mock-pane {
  border-left: 1px solid var(--line);
  background: #fbfdff;
}

.mock-heading {
  height: 22px;
  width: 72%;
  background: linear-gradient(90deg, var(--ink), #495675);
  border-radius: 5px;
}

.mock-line {
  height: 11px;
  margin-top: 18px;
  border-radius: 99px;
  background: #d8e0ee;
}

.mock-line.short {
  width: 58%;
}

.mock-line.mid {
  width: 78%;
}

.mock-code {
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: #172033;
}

.mock-code span {
  display: block;
  height: 9px;
  margin: 10px 0;
  border-radius: 99px;
  background: #8eb7ff;
}

.mock-code span:nth-child(2) {
  width: 68%;
  background: #9ee6ed;
}

.mock-code span:nth-child(3) {
  width: 78%;
  background: #b7a6ff;
}

.floating-icon {
  position: absolute;
  width: 118px;
  height: 118px;
  right: -22px;
  bottom: -38px;
  border-radius: 22px;
  box-shadow: 0 22px 44px rgba(37, 60, 104, 0.25);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: 0;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card,
.scenario-card,
.quote-card,
.faq-card,
.download-panel,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.feature-card,
.scenario-card,
.quote-card,
.faq-card,
.step-card {
  padding: 26px;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--accent);
  margin-bottom: 18px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.scenario-card h3,
.quote-card h3,
.faq-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.feature-card p,
.scenario-card p,
.quote-card p,
.faq-card p,
.step-card p,
.download-panel p,
.download-panel li {
  color: var(--ink-soft);
}

.band {
  background:
    linear-gradient(135deg, rgba(18, 169, 184, 0.12), transparent 34%),
    linear-gradient(135deg, #172033, #23365e);
  color: #fff;
}

.band .section-head h2,
.band h3,
.band strong {
  color: #fff;
}

.band .section-head p,
.band p,
.band li,
.band span {
  color: rgba(255, 255, 255, 0.78);
}

.band .feature-card,
.band .scenario-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.image-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack {
  display: grid;
  gap: 18px;
}

.quote-card {
  position: relative;
}

.quote-card p {
  font-size: 17px;
}

.quote-card span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 76px 0 54px;
  background:
    radial-gradient(circle at 80% 10%, rgba(35, 100, 216, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #cfe0ff;
}

.download-panel {
  overflow: hidden;
}

.download-panel-main {
  padding: 30px;
  background: linear-gradient(135deg, #ffffff, #eef5ff);
}

.download-panel-main h2,
.download-panel-main h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.download-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.download-meta strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.download-meta span {
  color: var(--muted);
  font-size: 13px;
}

.download-panel-foot {
  padding: 24px 30px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.code-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #172033;
  color: #eef4ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  overflow-x: auto;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline-item time {
  color: var(--accent);
  font-weight: 740;
}

.timeline-item h3 {
  margin: 0 0 6px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(10, 16, 28, 0.56);
}

.modal-backdrop.is-open {
  display: flex;
}

.download-modal {
  width: min(820px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.modal-head p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px 28px 8px;
}

.qr-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  grid-template-columns: 124px 1fr;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  display: block;
  margin: 0 auto;
}

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

.qr-card p {
  color: var(--ink-soft);
  font-size: 14px;
}

.modal-links {
  padding: 10px 28px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 0.55fr);
  gap: 28px;
  padding: 46px 22px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 10px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .image-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 52px;
    gap: 36px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qr-card img {
    margin: 0 auto 12px;
  }

  .hero-proof,
  .download-meta {
    grid-template-columns: 1fr;
  }

  .editor-mock {
    grid-template-columns: 1fr;
  }

  .mock-pane + .mock-pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .floating-icon {
    width: 86px;
    height: 86px;
    right: 12px;
    bottom: -24px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-lead,
  .page-lead,
  .section-head p {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .hero-actions,
  .page-actions,
  .modal-links {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
