:root {
  --bg: #f7f7f3;
  --surface: #ffffff;
  --ink: #202124;
  --muted: #5f665f;
  --line: #dde1d8;
  --brand: #d9415d;
  --brand-dark: #9d2340;
  --green: #227b5b;
  --blue: #256aa8;
  --yellow: #f2bd46;
  --shadow: 0 18px 60px rgba(28, 34, 30, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.75;
}

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark .logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #31362f;
  font-size: 15px;
}

.site-menu a:hover {
  background: #f0f2ed;
  color: var(--brand-dark);
}

.menu-toggle,
.menu-mask {
  display: none;
}

.section {
  padding: 76px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(217, 65, 93, .10), rgba(34, 123, 91, .09)),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.22;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-lead {
  max-width: 760px;
  color: #3d443d;
  font-size: 18px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
}

.hero-points,
.check-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: #404840;
}

.hero-points li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 330px;
  min-height: 550px;
  padding: 18px;
  color: #172018;
  background: #121416;
  border: 10px solid #22272a;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.phone-frame img{
    width:100%;
    height:100%;
    object-fit: contain;
}    

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
}

.phone-top span,
.phone-top i {
  display: block;
  width: 52px;
  height: 8px;
  background: #343a3f;
  border-radius: 99px;
}

.app-search {
  margin: 18px 0 14px;
  padding: 12px 14px;
  color: #6b716a;
  background: #f3f4ef;
  border-radius: 8px;
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.app-tabs span {
  padding: 8px 0;
  color: #f5f5f0;
  text-align: center;
  border: 1px solid #343a3f;
  border-radius: 8px;
}

.app-tabs .active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.comic-grid article {
  padding: 10px;
  background: #f9faf5;
  border-radius: 8px;
}

.comic-grid strong,
.comic-grid small {
  display: block;
}

.comic-grid small {
  color: var(--muted);
  font-size: 12px;
}

.cover {
  height: 132px;
  margin-bottom: 9px;
  border-radius: 7px;
}

.cover-a {
  background: linear-gradient(135deg, #d9415d, #f2bd46);
}

.cover-b {
  background: linear-gradient(135deg, #227b5b, #79c49b);
}

.cover-c {
  background: linear-gradient(135deg, #256aa8, #9bc2e4);
}

.cover-d {
  background: linear-gradient(135deg, #2c2f33, #d9415d);
}

.app-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 14px;
  background: #1b1f22;
  border-radius: 12px;
}

.app-bottom span {
  height: 8px;
  background: #596069;
  border-radius: 99px;
}

.compact-band {
  padding: 28px 0;
  background: #fff;
  border-block: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metrics div {
  padding: 22px 24px;
  background: #f7f7f3;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
}

.metrics span {
  color: var(--muted);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head p {
  color: #4f574f;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-info p {
  color: #454d45;
}

.download-actions {
  flex-direction: column;
}

.download-btn {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 15px;
  color: #fff;
  border-radius: 8px;
}

.download-btn span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.download-btn strong,
.download-btn small {
  grid-column: 2;
}

.download-btn strong {
  font-size: 18px;
  line-height: 1.2;
}

.download-btn small {
  opacity: .86;
}

.download-btn.local {
  background: var(--brand);
}

.download-btn.quark {
  background: var(--green);
}

.download-btn.thunder {
  background: var(--blue);
}

.muted {
  background: #edefe8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card p {
  margin-bottom: 0;
  color: #4d554d;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.note-box {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding: 28px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.step-list li::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  color: #fff;
  content: counter(step);
  background: var(--brand);
  border-radius: 8px;
  font-weight: 800;
}

.step-list p {
  margin-bottom: 0;
  color: #4d554d;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: #4d554d;
}

.cta-section {
  color: #fff;
  background: #202124;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner p {
  max-width: 760px;
  color: #d7dbd4;
}

.page-hero {
  color: #fff;
  background: linear-gradient(120deg, #202124, #96304a);
}

.page-hero p {
  max-width: 760px;
  color: #f2eee9;
}

.site-footer {
  padding: 36px 0;
  color: #d8ddd6;
  background: #181a1b;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: #aeb6ad;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer a {
  color: #fff;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 54px;
  height: 54px;
  color: #fff;
  cursor: pointer;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
  font-weight: 800;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

  .phone-stage {
    justify-content: flex-start;
  }

  .feature-grid,
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .nav-shell {
    min-height: 64px;
  }

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

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 99px;
  }

  .site-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(292px, 78vw);
    height: 100vh;
    padding: 86px 18px 24px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 40px rgba(0, 0, 0, .16);
    transform: translateX(105%);
    transition: transform .22s ease;
  }

  .site-menu a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .menu-mask {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(0, 0, 0, .36);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-menu {
    transform: translateX(0);
  }

  body.menu-open .menu-mask {
    opacity: 1;
    pointer-events: auto;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 38px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

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

  .hero-actions,
  .cta-inner,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .phone-stage {
    justify-content: center;
  }

  .phone-frame {
    width: min(100%, 340px);
    min-height: 0;
    border-width: 8px;
  }

  .cover {
    height: 116px;
  }

  .metrics,
  .feature-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .download-panel {
    padding: 22px;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
