:root {
  --page-bg: #f3f7fd;
  --surface: #ffffff;
  --surface-soft: #ecf4ff;
  --surface-strong: #0f1f37;
  --surface-line: rgba(21, 58, 116, 0.12);
  --text-main: #13233d;
  --text-muted: #5f7393;
  --accent: #1677ff;
  --accent-strong: #0a56cb;
  --accent-soft: rgba(22, 119, 255, 0.12);
  --accent-glow: rgba(22, 119, 255, 0.2);
  --success: #1d9a68;
  --warning: #f5a524;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 60px rgba(18, 41, 79, 0.08);
  --shadow-card: 0 18px 36px rgba(16, 43, 87, 0.08);
  --max-width: 1180px;
}

body.page-home {
  --accent: #1677ff;
  --accent-strong: #0a56cb;
  --accent-soft: rgba(22, 119, 255, 0.12);
  --accent-glow: rgba(22, 119, 255, 0.2);
}

body.page-download {
  --accent: #1363e2;
  --accent-strong: #0e4eb4;
  --accent-soft: rgba(19, 99, 226, 0.12);
  --accent-glow: rgba(19, 99, 226, 0.22);
}

body.page-guide {
  --accent: #0b8b88;
  --accent-strong: #0a6d6b;
  --accent-soft: rgba(11, 139, 136, 0.12);
  --accent-glow: rgba(11, 139, 136, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(95, 176, 255, 0.2), transparent 34%),
    radial-gradient(circle at top right, rgba(11, 139, 136, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 58%, #f6f9fe 100%);
  line-height: 1.7;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 54, 107, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 54, 107, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

button {
  font: inherit;
}

::selection {
  background: rgba(22, 119, 255, 0.18);
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(19, 43, 78, 0.08);
  background: rgba(247, 251, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #77b6ff 100%);
  box-shadow: 0 14px 30px var(--accent-glow);
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 700;
  transition: all 0.22s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(17, 54, 107, 0.06);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--accent-strong);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.12);
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(232, 241, 252, 0.78));
  border-top: 1px solid rgba(16, 43, 87, 0.06);
  border-bottom: 1px solid rgba(16, 43, 87, 0.06);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-title {
  margin: 16px 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.hero {
  padding: 64px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy-block,
.hero-side {
  position: relative;
}

.hero-card,
.glass-card,
.surface-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 41, 76, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--accent-glow), transparent 68%);
  pointer-events: none;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 22px 0 18px;
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-title .accent-text {
  color: var(--accent-strong);
}

.hero-summary {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #6fb6ff 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px var(--accent-glow);
}

.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 20px 40px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  box-shadow: inset 0 0 0 1px rgba(15, 41, 76, 0.1);
}

.btn-secondary:hover {
  color: var(--text-main);
  box-shadow: inset 0 0 0 1px rgba(15, 41, 76, 0.18), 0 12px 24px rgba(18, 41, 79, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.2);
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.9;
  transform: none;
}

.quick-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(17, 54, 107, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-note {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dashboard-card {
  padding: 24px;
  height: 100%;
}

.dashboard-title,
.panel-title {
  margin: 0 0 16px;
  font-size: 1.08rem;
  font-weight: 800;
}

.signal-stack {
  display: grid;
  gap: 14px;
}

.signal-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 245, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(17, 54, 107, 0.06);
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.signal-head strong {
  font-size: 0.98rem;
}

.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 54, 107, 0.08);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, #71b7ff 100%);
}

.signal-item p,
.small-note,
.list-note,
.meta-note,
.step-card p,
.download-card p,
.feature-card p,
.quote-card p,
.tip-card p,
.article-card p,
.detail-card p,
.faq-answer p,
.cta-band p,
.surface-card p,
.update-card p {
  margin: 0;
  color: var(--text-muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mini-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(238, 245, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(17, 54, 107, 0.06);
}

.mini-card strong,
.stat-box strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stat-box {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 41, 76, 0.08);
}

.stat-box .number {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-strong);
  line-height: 1;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.detail-card,
.download-card,
.quote-card,
.tip-card,
.article-card,
.update-card,
.step-card,
.cta-band,
.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 41, 76, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.feature-card,
.detail-card,
.download-card,
.quote-card,
.tip-card,
.article-card,
.update-card,
.step-card {
  padding: 24px;
}

.feature-top,
.detail-top,
.tip-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-strong);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08);
}

.feature-card h3,
.detail-card h3,
.download-card h3,
.quote-card h3,
.tip-card h3,
.article-card h3,
.update-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.bullet-list,
.check-list,
.plain-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullet-list li,
.check-list li,
.plain-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.bullet-list svg,
.check-list svg,
.plain-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
}

.download-card.featured {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(122, 184, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.98));
}

.download-chip-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(15, 41, 76, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.version-box {
  display: grid;
  gap: 12px;
}

.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(240, 246, 255, 0.84);
  box-shadow: inset 0 0 0 1px rgba(17, 54, 107, 0.07);
}

.version-row strong {
  display: block;
  font-size: 0.98rem;
}

.version-row span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #71b7ff 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quote-card {
  position: relative;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(22, 119, 255, 0.12);
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 900;
}

.quote-card p {
  position: relative;
  min-height: 150px;
}

.quote-author {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #7bc1ff 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.quote-author strong {
  display: block;
  line-height: 1.2;
}

.quote-author span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: var(--text-main);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(22, 119, 255, 0.04);
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--accent-strong);
  transition: transform 0.24s ease;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer-inner {
  padding: 0 22px 22px;
}

.faq-answer p + p {
  margin-top: 8px;
}

.compare-wrap {
  overflow-x: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 41, 76, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(15, 41, 76, 0.08);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: rgba(236, 245, 255, 0.88);
  font-size: 0.95rem;
}

.compare-table td {
  color: var(--text-muted);
}

.compare-table td strong {
  color: var(--text-main);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  gap: 18px;
}

.article-card {
  height: 100%;
}

.article-card strong {
  color: var(--text-main);
}

.cta-band {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.site-footer {
  padding: 24px 0 44px;
}

.footer-box {
  padding: 24px;
  border-radius: 24px;
  background: rgba(15, 31, 55, 0.95);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 48px rgba(10, 19, 36, 0.24);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(30, 154, 104, 0.12);
  color: #90ebc4;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.callout {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(242, 248, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(15, 41, 76, 0.08);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.subtle {
  color: var(--text-muted);
}

.inline-link {
  font-weight: 800;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .download-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .quote-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .grid-3,
  .grid-4,
  .grid-2,
  .quote-grid,
  .steps-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-bar {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-card,
  .dashboard-card,
  .feature-card,
  .detail-card,
  .download-card,
  .quote-card,
  .tip-card,
  .article-card,
  .update-card,
  .step-card,
  .cta-band {
    padding: 20px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .nav-links {
    width: 100%;
  }

  .nav-link {
    flex: 1 1 calc(33.333% - 8px);
    text-align: center;
  }

  .quick-tag,
  .chip,
  .tag {
    width: 100%;
    justify-content: center;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .version-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
