/* SET 1 — 专业蓝白官网 · 顶栏 + 全宽 Hero + 纵向区块堆叠 */
:root {
  --primary: #1a5cff;
  --primary-dark: #0e45d4;
  --primary-soft: #e8efff;
  --primary-mist: #f0f4ff;
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --muted: #6b7a8d;
  --white: #ffffff;
  --gray-bg: #f5f7fb;
  --line: rgba(26, 92, 255, 0.12);
  --shadow: 0 10px 32px rgba(26, 92, 255, 0.12);
  --radius: 8px;
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
ul, ol { padding-left: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(26, 92, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.logo:hover { color: var(--primary); }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 18px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: var(--white);
}

.header-cta { flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 92, 255, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(14, 69, 212, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-blue {
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-blue:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a5cff 0%, #3d7bff 45%, #5b93ff 100%);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 40, 160, 0.25) 0%, transparent 45%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 760;
  line-height: 1.35;
  max-width: 820px;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 760px;
  opacity: 0.95;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.88rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--gray-bg);
}

.section-head {
  margin-bottom: 36px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.35;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.prose p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.prose h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin: 28px 0 12px;
}

.prose h2 {
  font-size: 1.45rem;
  color: var(--ink);
  margin: 36px 0 14px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 1.25em;
  color: var(--ink-soft);
}

.prose li { margin-bottom: 8px; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.section-alt .feature-card {
  box-shadow: 0 2px 12px rgba(26, 40, 80, 0.04);
}

.feature-card:hover {
  border-color: rgba(26, 92, 255, 0.35);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Platform cards */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.platform-card svg {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-inline: auto;
}

.platform-card h3 {
  font-size: 1.1rem;
  color: var(--ink);
}

.platform-card p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

/* Deep feature blocks */
.deep-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.deep-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.deep-num {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.deep-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.deep-item p {
  color: var(--ink-soft);
}

/* Testimonials */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.review-card blockquote {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.review-meta span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Stats / trust */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.stat-box {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 16px;
}

.stat-box strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-box span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.trust-panel {
  background: var(--primary-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.trust-panel h3 {
  margin-bottom: 12px;
  color: var(--ink);
}

.trust-panel p {
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.trust-panel p:last-child { margin-bottom: 0; }

/* Compare table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--primary-soft);
  color: var(--ink);
  font-weight: 600;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.compare-table .hl {
  color: var(--primary);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.section:not(.section-alt) .faq-item {
  background: var(--gray-bg);
  border-color: transparent;
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Download hero compact */
.download-hero {
  background: linear-gradient(160deg, var(--primary-mist) 0%, var(--white) 55%, var(--gray-bg) 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}

.download-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 14px;
  color: var(--ink);
  max-width: 800px;
}

.download-hero .lead {
  color: var(--ink-soft);
  max-width: 740px;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.download-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.download-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.download-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.download-panel > p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.download-side {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
}

.download-side h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.download-side p {
  opacity: 0.92;
  margin-bottom: 14px;
}

.download-side ul {
  list-style: none;
  margin-bottom: 22px;
}

.download-side li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}

.download-side li:last-child { border-bottom: none; }

.download-side .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: none;
}

.download-side .btn-primary:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* Requirements */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.req-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.req-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.req-card svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.req-card ul {
  list-style: disc;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.req-card li { margin-bottom: 6px; }

/* Changelog */
.changelog {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.change-item {
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.change-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.change-item time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.change-item p {
  color: var(--ink-soft);
}

/* Article page */
.article-hero {
  background: var(--gray-bg);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--ink);
}

.article-hero .lead {
  color: var(--ink-soft);
  max-width: 760px;
  font-size: 1.05rem;
}

.article-body {
  padding: 48px 0 72px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.article-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 14px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-soft);
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
  color: var(--ink);
}

.article-content p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.article-content ul {
  list-style: disc;
  padding-left: 1.3em;
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.article-content li { margin-bottom: 8px; }

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #3d7bff 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 28px 26px;
  margin: 32px 0;
}

.cta-box h3 {
  color: var(--white);
  margin: 0 0 10px;
  border: none;
  font-size: 1.2rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: none;
}

.cta-box .btn-primary:hover {
  background: var(--primary-soft);
}

.cta-box a.btn-outline {
  margin-left: 10px;
}

.sidebar-card {
  background: var(--gray-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: sticky;
  top: 80px;
}

.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.sidebar-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.sidebar-card ul {
  list-style: none;
  margin-bottom: 18px;
}

.sidebar-card li {
  margin-bottom: 8px;
}

.sidebar-card a {
  font-size: 0.92rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #0f1a2e;
  color: rgba(255, 255, 255, 0.82);
  padding: 40px 0 28px;
}

.footer-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.footer-safe {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.footer-safe svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #7eb0ff;
  margin-top: 2px;
}

.footer-safe p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-nav a:hover { color: var(--white); }

/* Utilities */
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-main { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .main-nav a { padding: 8px 12px; font-size: 0.88rem; }
  .feature-grid,
  .req-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .platform-grid,
  .steps,
  .stats-row { grid-template-columns: 1fr; }
  .deep-item { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .cta-box a.btn-outline { margin-left: 0; margin-top: 10px; display: inline-flex; }
}
