:root {
  --ink: #0f172a;
  --muted: #526174;
  --line: #dbe6f3;
  --soft: #f3f7fb;
  --blue: #2f7cf6;
  --blue-dark: #1554c8;
  --green: #16a36b;
  --amber: #d98200;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #edf3fa;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(219, 230, 243, .82);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.site-nav { display: flex; gap: 22px; margin-left: auto; color: var(--muted); font-size: 14px; }
.site-nav a:hover { color: var(--blue); }
.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.header-action,
.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: var(--ink);
}
.primary-action {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 124, 246, .25);
}
.primary-action:hover { background: var(--blue-dark); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 144px clamp(22px, 6vw, 96px) 112px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(237,243,250,.98) 0%, rgba(237,243,250,.84) 42%, rgba(237,243,250,.38) 100%),
    url("/assets/img/login-head.png") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: rgba(255,255,255,.52);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}
h1, h2, h3, p { letter-spacing: 0; }
h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
}
.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #334155;
  font-size: 20px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-points span {
  padding: 8px 12px;
  border: 1px solid rgba(47, 124, 246, .22);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: #24415f;
  font-weight: 700;
}

.hero-scene {
  position: absolute;
  z-index: 1;
  right: clamp(-280px, -9vw, -80px);
  bottom: 70px;
  width: min(980px, 68vw);
  min-width: 720px;
  opacity: .94;
}
.product-window {
  overflow: hidden;
  border: 1px solid #cbd9ec;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(30, 64, 105, .18);
}
.window-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f7faff;
}
.window-top span { width: 10px; height: 10px; border-radius: 50%; background: #b7c7d9; }
.window-top strong { margin-left: 12px; color: #1e293b; }
.window-body {
  display: grid;
  grid-template-columns: 150px 1fr 270px;
  min-height: 430px;
}
.window-body aside {
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #f8fbff;
}
.window-body aside b {
  display: block;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #46617d;
}
.window-body aside b:nth-child(2) { background: #e8f1ff; color: var(--blue); }
.window-body section { padding: 24px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.metric-row i {
  display: block;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  font-style: normal;
  font-weight: 800;
}
.invoice-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
  margin-bottom: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}
.invoice-line.active { border-color: #8db9ff; background: #edf5ff; }
.invoice-line strong { color: var(--blue); }
.window-body article {
  padding: 24px 18px;
  border-left: 1px solid var(--line);
  background: #f8fbff;
}
.window-body article h3 { margin-top: 0; }
.window-body article p {
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.window-body article em {
  display: block;
  margin-top: 14px;
  color: var(--amber);
  font-style: normal;
  font-weight: 800;
}

.section {
  padding: 72px clamp(22px, 6vw, 96px);
  background: #edf3fa;
}
.section-head { max-width: 760px; margin-bottom: 34px; }
.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}
.section-head p:not(.eyebrow),
.trust p,
.download p {
  color: var(--muted);
  font-size: 17px;
}
.steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step,
.feature-grid article,
.download-panel,
.trust {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
}
.step { padding: 22px; }
.step b {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}
.step h3,
.feature-grid h3 { margin: 18px 0 8px; }
.step p,
.feature-grid p { margin: 0; color: var(--muted); }
.feature-band { background: #f7fbff; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { padding: 24px; }

.trust {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  margin: 72px clamp(22px, 6vw, 96px);
  padding: 36px;
  background: #fff;
}
.trust h2 { margin: 0; }
.trust dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.trust dl div {
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
}
.trust dt { color: var(--green); font-weight: 800; }
.trust dd { margin: 8px 0 0; color: var(--muted); }

.download { padding-top: 0; }
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  background: #fff;
}
.download-panel h2 { margin: 0; }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(22px, 6vw, 96px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}
.site-footer div { display: flex; gap: 10px; align-items: baseline; }
.site-footer strong { color: var(--ink); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--blue); }

@media (max-width: 1100px) {
  .hero-scene { opacity: .28; right: -340px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: auto; min-height: 64px; flex-wrap: wrap; padding: 14px 18px; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; margin-left: 0; gap: 12px; }
  .header-action { margin-left: auto; }
  .hero { min-height: 720px; padding-top: 156px; }
  .hero-copy { font-size: 17px; }
  .hero-scene { min-width: 560px; right: -360px; bottom: 110px; }
  .steps,
  .feature-grid,
  .trust dl { grid-template-columns: 1fr; }
  .download-panel,
  .site-footer { align-items: flex-start; flex-direction: column; }
  .window-body { grid-template-columns: 120px 1fr 210px; }
}
