:root {
  --ink: #0f1c2e;
  --ink-muted: #5a6570;
  --line: #d8dee8;
  --surface: rgba(247, 249, 252, 0.88);
  --accent: #2a6bb5;
  --ok: #0e7c66;
  --radius: 14px;
  --font: "Outfit", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max: 1180px;
  --pad-x: clamp(20px, 4.5vw, 40px);
  --section-y: clamp(48px, 6vw, 72px);
  --hero-grid: clamp(28px, 5vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #f3f5f8;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(243, 245, 248, 0.92);
  border-bottom: 1px solid rgba(216, 222, 232, 0.85);
}

.site-header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-weight: 650;
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  justify-content: flex-end;
  font-size: clamp(0.84rem, 2.2vw, 0.92rem);
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 6px 4px;
}

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

.nav .pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
}

.nav .pill:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* 桌面显示，手机隐藏（勿从 HTML 删除） */
@media (max-width: 900px) {
  .nav .pill,
  .nav-download {
    display: none !important;
  }
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  box-sizing: border-box;
}

/* —— Hero：左文右板，铺满版心 —— */
.hero {
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(36px, 5vh, 56px) 0 clamp(48px, 6vh, 72px);
  position: relative;
  overflow: hidden;
  border-top: none;
  background: linear-gradient(180deg, #e9eef4 0%, #f3f5f8 78%, #f3f5f8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 28, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 28, 46, 0.03) 1px, transparent 1px);
  background-size: var(--hero-grid) var(--hero-grid);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(-10%, -2vw, 8%);
  top: 8%;
  width: clamp(220px, 34vw, 460px);
  height: clamp(220px, 34vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 107, 181, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  width: 100%;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.hero-brand {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  animation: rise 0.7s ease both;
  word-break: break-word;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  color: var(--ink-muted);
  max-width: 36em;
  line-height: 1.65;
  animation: rise 0.7s ease 0.08s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.7s ease 0.16s both;
}

.hero-actions .btn {
  min-height: 48px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.02rem;
  border-radius: 12px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(216, 222, 232, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: 0 18px 40px rgba(15, 28, 46, 0.06);
  min-height: 280px;
}

.hero-panel-title {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.hero-panel-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f6fa;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 560;
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 520;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  opacity: 0.92;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink);
}

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

.badge-free {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ok);
  animation: rise 0.7s ease both;
}

.hero-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: rise 0.7s ease 0.12s both;
}

.hero-points li {
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}

section {
  padding: var(--section-y) 0;
}

section + section {
  border-top: 1px solid rgba(216, 222, 232, 0.55);
}

.page-home main > section.wrap {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.page-home main > section.wrap + section.wrap {
  margin-top: 24px;
  border-top: 1px solid rgba(216, 222, 232, 0.7);
}

.page-home .section-download {
  padding-top: clamp(40px, 6vw, 56px);
}

.section-head {
  max-width: 40em;
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 3.2vw, 1.55rem);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.section-desc {
  margin: 0 0 clamp(24px, 4vw, 36px);
  color: var(--ink-muted);
  max-width: 36em;
  line-height: 1.7;
}

.download-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: #b8c4d4;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.06);
  text-decoration: none;
  color: inherit;
}

.download-card strong {
  font-size: 1.08rem;
  font-weight: 650;
}

.download-card span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.download-card .pwd {
  font-size: 0.95rem;
  color: var(--ink);
}

.download-card .pwd em {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.download-go {
  margin-top: 6px;
  font-size: 0.86rem !important;
  color: var(--ink) !important;
  font-weight: 520;
}

.reasons {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.reason {
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.reason:hover {
  background: #fff;
  border-color: #c5ceda;
}

.reason-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.reason h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.reason p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
  gap: 12px;
}

.tool {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-width: 0;
}

.tool:hover {
  transform: translateY(-3px);
  border-color: #c5ceda;
  background: #fff;
}

.tool strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.tool span {
  font-size: 0.82rem;
  color: var(--ink-muted);
  word-break: break-word;
}

.audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 640px;
  width: 100%;
}

.audience li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  line-height: 1.55;
}

.audience li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: 0.15em;
  opacity: 0.35;
}

.meta-block {
  display: grid;
  gap: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 420px;
  width: 100%;
}

.meta-block > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.meta-block span {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.meta-block strong {
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

.privacy {
  border-left: 3px solid var(--ok);
  padding: 2px 0 2px 18px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.7;
  max-width: 36em;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.section-cta {
  border-top: none !important;
  margin-top: 10px !important;
  padding-bottom: clamp(32px, 5vw, 48px) !important;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: clamp(14px, 2vw, 18px);
  background: linear-gradient(135deg, rgba(15, 28, 46, 0.96), rgba(42, 107, 181, 0.88));
  color: #fff;
  width: 100%;
}

.cta-title {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 650;
}

.cta-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}

.cta-panel .btn-primary:hover {
  opacity: 0.92;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  margin-top: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--ink-muted);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* —— 软件介绍页 —— */
.page-hero {
  padding: clamp(36px, 6vw, 56px) 0 clamp(28px, 4vw, 40px);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 700;
  animation: rise 0.65s ease both;
}

.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 36em;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  animation: rise 0.65s ease 0.06s both;
}

.prose {
  max-width: 40em;
}

.prose p {
  color: var(--ink-muted);
}

.feature-ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: f;
}

.feature-ol li {
  counter-increment: f;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.feature-ol li::before {
  content: counter(f, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--accent);
  padding-top: 3px;
}

.feature-ol strong {
  display: block;
  color: var(--ink);
}

.feature-ol span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.tips {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-muted);
}

.tips li {
  margin-bottom: 8px;
}

.contact-rows {
  display: grid;
  gap: 12px;
  max-width: 420px;
  width: 100%;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: var(--ink-muted);
  flex-shrink: 0;
}

.contact-row strong {
  text-align: right;
  word-break: break-all;
}

/* —— FAQ —— */
.faq-list {
  max-width: 720px;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.faq-item .ans {
  padding: 0 0 18px;
  color: var(--ink-muted);
  margin: 0;
  animation: rise 0.35s ease both;
  overflow-wrap: anywhere;
}

.faq-group {
  margin: 48px 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}

.faq-group:first-of-type {
  margin-top: 12px;
}



@media (max-width: 900px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .hero-panel-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 6px);
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel .btn-primary {
    width: 100%;
  }

  .site-footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-panel-list {
    grid-template-columns: 1fr;
  }

  .tools {
    grid-template-columns: 1fr 1fr;
  }

  .download-grid,
  .reasons {
    grid-template-columns: 1fr;
  }

  .meta-block > div {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
