:root {
  --bg: #f3f7ff;
  --bg-deep: #e7eeff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #182133;
  --muted: #5c6780;
  --line: rgba(102, 125, 177, 0.18);
  --line-strong: rgba(90, 116, 175, 0.32);
  --primary: #1f5eff;
  --primary-deep: #1146cc;
  --green: #1ba469;
  --yellow: #ffb01f;
  --red: #ef5544;
  --shadow: 0 24px 60px rgba(37, 70, 144, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(66, 133, 244, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(52, 168, 83, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 58%, #edf3ff 100%);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  backdrop-filter: blur(18px);
  background: rgba(243, 247, 255, 0.68);
  border-bottom: 1px solid rgba(122, 145, 193, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid rgba(121, 142, 190, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(44, 78, 148, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(231, 239, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(111, 132, 180, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 11px 18px;
  border-radius: 999px;
  color: #4d5b76;
  font-weight: 600;
  transition: 0.24s ease;
}

.nav-links a:hover {
  color: var(--primary-deep);
  background: rgba(31, 94, 255, 0.08);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #4a78ff 100%);
  box-shadow: 0 14px 30px rgba(31, 94, 255, 0.22);
}

.page-main {
  padding: 30px 0 72px;
}

.hero {
  padding: 26px 0 34px;
}

.hero-grid,
.download-hero-grid,
.story-grid,
.article-grid,
.cta-band {
  display: grid;
  gap: 26px;
}

.hero-grid,
.download-hero-grid,
.article-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.hero-copy,
.hero-panel,
.section-card,
.story-panel,
.article-panel,
.cta-panel,
.feature-card,
.platform-card,
.quote-card,
.faq-card,
.log-card,
.tip-card,
.compare-card,
.metric-card,
.step-card,
.tiny-card,
.aside-card,
.reading-card,
.copy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.story-panel,
.article-panel,
.cta-panel,
.section-card,
.aside-card,
.reading-card,
.copy-card {
  padding: 34px;
}

.eyebrow,
.panel-tag,
.section-kicker,
.note-pill,
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(31, 94, 255, 0.08);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow svg,
.panel-tag svg,
.section-kicker svg,
.note-pill svg,
.mini-pill svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero-copy h1,
.download-hero-copy h1,
.article-panel h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy p,
.download-hero-copy p,
.article-panel p,
.section-head p,
.platform-card p,
.feature-card p,
.quote-card p,
.faq-card p,
.log-card p,
.tip-card p,
.compare-card p,
.step-card p,
.copy-card p,
.reading-card p,
.aside-card p {
  margin: 0;
  color: var(--muted);
}

.hero-actions,
.button-row,
.link-row,
.platform-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions,
.button-row,
.cta-actions {
  margin-top: 28px;
}

.download-btn,
.primary-link,
.secondary-link,
.cta-link,
.jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.download-btn {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, #5a86ff 100%);
  box-shadow: 0 18px 34px rgba(31, 94, 255, 0.24);
}

.download-btn:hover {
  transform: translateY(-2px);
}

.download-btn svg,
.primary-link svg,
.secondary-link svg,
.cta-link svg,
.jump-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.download-btn:disabled {
  cursor: wait;
  opacity: 0.92;
}

.primary-link,
.cta-link {
  color: #ffffff;
  background: linear-gradient(135deg, #102c80 0%, #1d57ff 100%);
  box-shadow: 0 18px 34px rgba(19, 55, 153, 0.22);
}

.secondary-link,
.jump-link {
  color: var(--primary-deep);
  background: rgba(31, 94, 255, 0.08);
  border: 1px solid rgba(31, 94, 255, 0.14);
}

.primary-link:hover,
.secondary-link:hover,
.cta-link:hover,
.jump-link:hover {
  transform: translateY(-2px);
}

.hero-note-grid,
.metric-grid,
.feature-grid,
.platform-grid,
.quote-grid,
.faq-grid,
.log-grid,
.tip-grid,
.compare-grid,
.step-grid,
.mini-grid,
.story-grid,
.article-list,
.reading-grid {
  display: grid;
  gap: 18px;
}

.hero-note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.metric-grid,
.feature-grid,
.compare-grid,
.tip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-grid,
.faq-grid,
.log-grid,
.reading-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-grid,
.story-grid,
.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.platform-card,
.quote-card,
.faq-card,
.log-card,
.tip-card,
.compare-card,
.metric-card,
.step-card,
.tiny-card {
  padding: 24px;
}

.metric-card {
  min-height: 144px;
}

.metric-card strong,
.platform-card h3,
.feature-card h3,
.quote-card h3,
.faq-card h3,
.log-card h3,
.tip-card h3,
.compare-card h3,
.step-card h3,
.aside-card h3,
.reading-card h3,
.copy-card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 20px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(66, 133, 244, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 245, 255, 0.92));
}

.hero-panel::after,
.story-panel::after,
.article-panel::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 94, 255, 0.18), rgba(31, 94, 255, 0));
  pointer-events: none;
}

.flow-board {
  position: relative;
  display: grid;
  gap: 16px;
}

.flow-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(111, 132, 180, 0.16);
}

.flow-icon,
.card-icon,
.platform-icon,
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 94, 255, 0.14), rgba(88, 132, 255, 0.08));
  color: var(--primary-deep);
}

.flow-icon svg,
.card-icon svg,
.platform-icon svg,
.icon-chip svg {
  width: 24px;
  height: 24px;
}

.flow-row strong,
.platform-top strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.flow-row p,
.platform-top span,
.quote-meta,
.list-block li,
.timeline li,
.keyword-list li,
.feature-list li {
  color: var(--muted);
}

.list-block,
.timeline,
.keyword-list,
.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list-block li,
.timeline li,
.keyword-list li,
.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.list-block li svg,
.timeline li svg,
.keyword-list li svg,
.feature-list li svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.section {
  padding: 22px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2,
.section-card h2,
.story-panel h2,
.article-panel h2,
.cta-panel h2,
.copy-card h2,
.reading-card h2,
.aside-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
}

.section-copy {
  max-width: 740px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 290px;
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-badge {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-deep);
  background: rgba(31, 94, 255, 0.08);
}

.platform-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 240, 255, 0.92));
  border-color: rgba(31, 94, 255, 0.18);
}

.platform-meta {
  font-size: 14px;
}

.quote-card {
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "“";
  position: absolute;
  right: 18px;
  top: 8px;
  font-size: 68px;
  line-height: 1;
  color: rgba(31, 94, 255, 0.12);
}

.quote-meta {
  margin-top: 14px;
  font-size: 14px;
}

.faq-card details {
  border-top: 1px solid rgba(110, 132, 178, 0.12);
  padding: 16px 0;
}

.faq-card details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-card details:last-of-type {
  padding-bottom: 0;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 94, 255, 0.08);
  color: var(--primary-deep);
  flex: 0 0 28px;
}

.faq-card details p {
  margin-top: 10px;
}

.split-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.install-sheet,
.download-hero-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.download-hero-copy {
  background:
    radial-gradient(circle at 20% 10%, rgba(52, 168, 83, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(237, 244, 255, 0.95));
}

.install-sheet {
  display: grid;
  gap: 14px;
}

.install-sheet .tiny-card {
  background: rgba(255, 255, 255, 0.84);
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-card .badge-line,
.reading-card .badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge-line span,
.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 94, 255, 0.08);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-panel,
.article-panel,
.cta-panel {
  position: relative;
  overflow: hidden;
}

.story-panel > *,
.article-panel > *,
.cta-panel > * {
  position: relative;
  z-index: 1;
}

.story-panel {
  background:
    radial-gradient(circle at top left, rgba(52, 168, 83, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(237, 247, 241, 0.94));
}

.article-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 176, 31, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 247, 255, 0.96));
}

.cta-panel {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  isolation: isolate;
  background:
    radial-gradient(circle at right center, rgba(31, 94, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #102c80 0%, #1845bb 55%, #1f5eff 100%);
  color: #ffffff;
}

.cta-panel p,
.cta-panel .keyword-list li {
  color: rgba(255, 255, 255, 0.94);
}

.cta-panel::after {
  z-index: 0;
}

.cta-panel .note-pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.cta-panel h2,
.cta-panel p,
.cta-panel a,
.cta-panel .note-pill {
  text-shadow: 0 2px 10px rgba(9, 24, 74, 0.2);
}

.cta-panel .cta-link,
.cta-panel .secondary-link {
  box-shadow: none;
}

.cta-panel .secondary-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.data-strip .tiny-card strong {
  display: block;
  margin-bottom: 8px;
}

.reading-card {
  min-height: 100%;
}

.footer {
  padding: 10px 0 56px;
}

.footer-card {
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(36, 64, 120, 0.1);
  display: grid;
  gap: 10px;
  color: #42506a;
}

.footer-card strong {
  color: var(--text);
}

.muted-note {
  font-size: 14px;
  color: var(--muted);
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-body p {
  margin: 0;
}

.compare-card ul,
.tip-card ul,
.log-card ul,
.aside-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.compare-card li,
.tip-card li,
.log-card li,
.aside-card li {
  margin-bottom: 8px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .download-hero-grid,
  .article-grid,
  .split-layout,
  .download-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .feature-grid,
  .compare-grid,
  .tip-grid,
  .step-grid,
  .story-grid,
  .article-list,
  .data-strip,
  .hero-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 12px 0;
  }

  .nav-shell {
    border-radius: 28px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }

  .hero-copy,
  .hero-panel,
  .section-card,
  .story-panel,
  .article-panel,
  .cta-panel,
  .install-sheet,
  .download-hero-copy,
  .aside-card,
  .reading-card,
  .copy-card {
    padding: 24px;
  }

  .platform-grid,
  .quote-grid,
  .faq-grid,
  .log-grid,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    text-align: left;
  }

  .cta-actions,
  .hero-actions,
  .button-row,
  .platform-actions {
    align-items: stretch;
  }

  .download-btn,
  .primary-link,
  .secondary-link,
  .cta-link,
  .jump-link {
    width: 100%;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }
}
