* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #15212d;
  --muted: #637282;
  --line: #d7e0e8;
  --paper: #f4f8fa;
  --panel: #ffffff;
  --teal: #136b65;
  --teal-deep: #0f4b47;
  --red: #d93246;
  --gold: #c8912a;
  --blue: #246fc8;
  --green: #26865e;
  --violet: #7257c6;
  --shadow: 0 18px 44px rgba(24, 38, 54, 0.15);
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  background: #eef4f5;
  color: var(--ink);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.download-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(19, 107, 101, 0.1), rgba(255, 255, 255, 0) 360px),
    #eef4f5;
}

.download-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(15, 75, 71, 0.18);
  background: rgba(245, 249, 250, 0.94);
  padding: 10px clamp(14px, 3vw, 34px);
  backdrop-filter: blur(12px);
}

.download-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.download-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 9px;
  object-fit: contain;
}

.download-brand strong,
.download-brand span {
  display: block;
}

.download-brand strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.download-brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-actions a,
.download-button,
.ghost-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.download-button {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(217, 50, 70, 0.22);
}

.download-button--green {
  background: var(--green);
  box-shadow: 0 10px 22px rgba(38, 134, 94, 0.2);
}

.download-button--blue {
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(36, 111, 200, 0.18);
}

.ghost-button {
  border-color: rgba(19, 107, 101, 0.25);
  background: #fff;
  color: var(--teal-deep);
}

.hero {
  display: grid;
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(320px, 0.98fr) minmax(330px, 1.02fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(26px, 4vw, 58px) clamp(16px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.release-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(200, 145, 42, 0.45);
  border-radius: 999px;
  background: #fff8e9;
  color: #8a6119;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 900;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  color: #10222d;
  font-size: clamp(36px, 5.2vw, 76px);
  font-weight: 950;
  line-height: 1.02;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #40515f;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.72;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.install-note {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.hero-stat {
  border: 1px solid rgba(19, 107, 101, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  color: var(--teal-deep);
  font-size: 20px;
  font-weight: 950;
}

.hero-stat span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.phone-board {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(240px, 360px) minmax(210px, 290px);
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  overflow: hidden;
  border: 10px solid #17242e;
  border-radius: 32px;
  background: #17242e;
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  border-radius: 22px;
  background: #f5faf8;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #102f2d;
  color: #fff;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 900;
}

.phone-home {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.phone-home__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.phone-home__head img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.phone-home__head strong {
  display: block;
  font-size: 15px;
  font-weight: 950;
}

.phone-home__head span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.phone-pill {
  border-radius: 999px;
  background: #d93246;
  color: #fff;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 900;
}

.phone-alert {
  border-radius: 8px;
  background: #fff3dc;
  color: #78510c;
  padding: 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.phone-tile {
  min-height: 61px;
  border: 1px solid #d9e2e7;
  border-radius: 8px;
  background: #fff;
  padding: 8px 6px;
}

.phone-tile b,
.phone-tile span {
  display: block;
}

.phone-tile b {
  font-size: 12px;
  font-weight: 950;
}

.phone-tile span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
}

.phone-chart {
  overflow: hidden;
  border: 1px solid #ccd9dd;
  border-radius: 8px;
  background: #e8f0ee;
}

.phone-chart__bar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 116px;
}

.phone-chart__bar span {
  border-right: 1px solid rgba(31, 55, 68, 0.14);
  background:
    linear-gradient(180deg, transparent 0 47%, rgba(217, 50, 70, 0.7) 47% 52%, transparent 52%),
    linear-gradient(90deg, rgba(36, 111, 200, 0.11), rgba(38, 134, 94, 0.1));
}

.phone-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #dbe4e8;
  background: #fff;
}

.phone-bottom-nav span {
  padding: 9px 2px;
  color: #546573;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}

.phone-bottom-nav span:first-child {
  color: var(--red);
}

.side-stack {
  display: grid;
  gap: 12px;
}

.mini-panel {
  border: 1px solid rgba(20, 42, 53, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px;
  box-shadow: 0 12px 28px rgba(20, 42, 53, 0.08);
}

.mini-panel strong {
  display: block;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 950;
}

.mini-panel span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.section {
  padding: clamp(24px, 4vw, 54px) clamp(16px, 5vw, 72px);
}

.section-head {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(23px, 2.4vw, 36px);
  font-weight: 950;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.module-card {
  min-height: 180px;
  border: 1px solid rgba(20, 42, 53, 0.12);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  box-shadow: 0 10px 28px rgba(20, 42, 53, 0.07);
}

.module-card__mark {
  display: inline-flex;
  min-width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.module-card:nth-child(5n+1) .module-card__mark { background: var(--teal); }
.module-card:nth-child(5n+2) .module-card__mark { background: var(--red); }
.module-card:nth-child(5n+3) .module-card__mark { background: var(--blue); }
.module-card:nth-child(5n+4) .module-card__mark { background: var(--green); }
.module-card:nth-child(5n+5) .module-card__mark { background: var(--violet); }

.module-card h3 {
  margin: 13px 0 8px;
  font-size: 17px;
  font-weight: 950;
}

.module-card p {
  margin: 0;
  color: #536575;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.6;
}

.flow-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.role-tabs {
  display: grid;
  gap: 10px;
}

.role-card,
.release-card {
  border: 1px solid rgba(20, 42, 53, 0.12);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.role-card strong,
.release-card strong {
  display: block;
  font-size: 16px;
  font-weight: 950;
}

.role-card span,
.release-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.app-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(19, 107, 101, 0.17);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.map-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.map-column h3 {
  margin: 0;
  border-bottom: 2px solid rgba(19, 107, 101, 0.18);
  padding-bottom: 8px;
  color: var(--teal-deep);
  font-size: 15px;
  font-weight: 950;
}

.map-item {
  border: 1px solid #dce5ea;
  border-radius: 7px;
  background: #f8fbfc;
  padding: 9px;
}

.map-item b,
.map-item span {
  display: block;
}

.map-item b {
  font-size: 12px;
  font-weight: 950;
}

.map-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.release-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.release-card img {
  width: 68px;
  height: 68px;
  border-radius: 15px;
  object-fit: contain;
}

.download-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(19, 107, 101, 0.16);
  padding: 22px clamp(16px, 5vw, 72px) 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .phone-board {
    grid-template-columns: minmax(260px, 390px) minmax(220px, 1fr);
    justify-content: start;
  }

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

@media (max-width: 760px) {
  .download-topbar {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-button,
  .ghost-button {
    width: 100%;
  }

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

  .phone-board,
  .flow-board,
  .app-map,
  .release-grid {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-template-columns: 1fr 1fr;
  }

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

  .section-head {
    display: grid;
    align-items: start;
  }

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

@media (max-width: 460px) {
  .download-brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .download-brand strong {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .module-grid,
  .side-stack {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    border-width: 8px;
    border-radius: 28px;
  }
}
