:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #dbe3ee;
  --line-strong: #c9d5e4;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --accent: #0f766e;
  --accent-soft: #d9f3ef;
  --accent-strong: #0b5f58;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.06);
  --radius-2xl: 28px;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.06), transparent 26%),
    linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 100%);
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.hero-actions,
.hero-badges,
.download-actions {
  display: flex;
  gap: 12px;
}

.brand {
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small,
.eyebrow,
.hero-badges span,
.mini-card span,
.download-brand span,
.download-tip,
.site-footer p {
  color: var(--text-muted);
}

.site-nav {
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 14px;
  color: var(--text-soft);
}

.site-nav a:hover {
  color: var(--accent-strong);
}

.header-link,
.button,
.preview-download {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.header-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.header-link {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.header-link:hover,
.button:hover,
.preview-download:hover {
  transform: translateY(-1px);
}

.section {
  padding: 42px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding-top: 68px;
}

.hero-copy {
  padding-top: 6px;
}

.hero-badges {
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 14px 0 0;
  font-family: "Alibaba PuHuiTi 3.0", "MiSans", "HarmonyOS Sans SC", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(44px, 8vw, 78px);
}

.hero-lead,
.section-heading p,
.feature-card p,
.category-card p,
.faq-item p,
.update-card p {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-lead {
  max-width: 34ch;
  margin: 22px 0 0;
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  margin: 30px 0 22px;
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-list,
.download-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.hero-list li {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.store-preview,
.mini-card,
.feature-card,
.category-card,
.update-card,
.download-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.store-preview {
  padding: 24px;
}

.preview-top,
.preview-app,
.download-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.preview-top {
  justify-content: space-between;
}

.preview-top span {
  color: var(--text-muted);
  font-size: 13px;
}

.preview-top strong,
.preview-app strong,
.mini-card strong,
.download-brand strong {
  font-size: 18px;
}

.preview-app {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.preview-app img,
.download-brand img,
.footer-brand img {
  display: block;
  object-fit: cover;
}

.preview-app img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.preview-app small,
.preview-grid small {
  color: var(--text-muted);
}

.preview-tag {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
}

.preview-grid,
.feature-grid,
.category-grid,
.faq-grid,
.mini-grid,
.update-grid {
  display: grid;
  gap: 16px;
}

.preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.preview-grid div {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.preview-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.preview-download {
  display: block;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.mini-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 56px);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.update-card {
  padding: 24px;
}

.feature-card h3,
.category-card h3,
.update-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.update-version {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-card h3 {
  margin-top: 16px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.category-card span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accent-cyan span,
.accent-blue span,
.accent-amber span,
.accent-slate span {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.download-card {
  padding: 24px;
}

.download-brand img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.download-notes {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.download-notes li {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.download-actions {
  margin-top: 22px;
  flex-wrap: wrap;
}

.download-tip {
  margin: 18px 0 0;
  line-height: 1.7;
}

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

.faq-item {
  padding: 22px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 700;
}

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

.faq-item p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 44px;
}

.footer-brand {
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

@media (max-width: 1100px) {
  .hero,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-nav {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    padding: 12px 14px;
    border-radius: 22px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .header-link,
  .button {
    width: 100%;
  }

  .feature-grid,
  .category-grid,
  .preview-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .store-preview,
  .feature-card,
  .category-card,
  .update-card,
  .download-card,
  .faq-item {
    padding: 18px;
  }

  .preview-app,
  .download-brand {
    align-items: flex-start;
  }

  .preview-tag {
    margin-left: 0;
  }
}
