:root {
  --rose: #ff4f86;
  --rose-deep: #e72a68;
  --rose-soft: #ffd6e3;
  --ink: #1f1724;
  --muted: #746a7b;
  --line: rgba(231, 42, 104, .15);
  --bg: #fff7fa;
  --card: #ffffff;
  --shadow: 0 24px 70px -28px rgba(231, 42, 104, .45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 124, 164, .32), transparent 32%),
    radial-gradient(circle at 8% 22%, rgba(255, 210, 224, .7), transparent 28%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: top .2s;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 247, 250, .82);
  backdrop-filter: blur(18px) saturate(1.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img,
.footer-brand img {
  border-radius: 15px;
  box-shadow: 0 12px 26px -14px rgba(231, 42, 104, .72);
}

.brand span {
  font-size: 20px;
}

.main-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a,
.footer-links a {
  transition: color .2s ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--rose-deep);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nav-download {
  padding: 10px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow: var(--shadow);
}

.button {
  padding: 14px 26px;
}

.button:hover,
.nav-download:hover,
.wechat-card:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--rose-deep);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -30px rgba(231, 42, 104, .6);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  padding: 82px 0 74px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: .68;
  pointer-events: none;
}

.glow-one {
  width: 360px;
  height: 360px;
  top: 8%;
  right: -110px;
  background: #ff8fb2;
}

.glow-two {
  width: 300px;
  height: 300px;
  left: -110px;
  bottom: 0;
  background: #ffd0df;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  align-items: center;
  gap: 54px;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--rose-deep);
  font-weight: 900;
}

.badge {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 14px 36px -28px rgba(231, 42, 104, .7);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: .2em;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.hero h1 span,
.section-head h2 span {
  color: transparent;
  background: linear-gradient(120deg, var(--rose), var(--rose-deep));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-desc {
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.quick-service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 700;
}

.quick-service button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-deep);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.hero-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 36px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  text-align: center;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 79, 134, .1), rgba(255, 255, 255, .72));
}

.app-icon {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 30px;
  box-shadow: 0 18px 44px -22px rgba(231, 42, 104, .7);
}

.hero-card h2 {
  font-size: 30px;
  line-height: 1.2;
}

.hero-card p {
  margin-top: 6px;
  color: var(--muted);
}

.version-pill {
  width: max-content;
  margin: 22px auto;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--rose-deep);
  background: #fff0f5;
  font-weight: 900;
}

.hero-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

.center {
  text-align: center;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-head h2,
.showcase-copy h2,
.install-grid h2,
.service-wrap h2 {
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -.6px;
}

.section-head p,
.showcase-copy p,
.install-grid p,
.service-wrap p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.stats-section {
  padding: 0 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-grid div {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 44px -34px rgba(231, 42, 104, .52);
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--rose-deep);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article,
.steps article,
.wechat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 60px -38px rgba(231, 42, 104, .58);
}

.feature-grid article {
  padding: 26px;
}

.feature-grid span,
.steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  font-weight: 950;
}

.feature-grid h3,
.steps h3 {
  margin-top: 18px;
  font-size: 20px;
}

.feature-grid p,
.steps p {
  margin-top: 8px;
  color: var(--muted);
}

.showcase-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 223, 233, .36));
}

.showcase-grid,
.install-grid,
.service-wrap,
.footer-grid {
  display: grid;
  align-items: center;
  grid-template-columns: .88fr 1.12fr;
  gap: 46px;
}

.showcase-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.showcase-card img {
  width: 100%;
  border-radius: 24px;
}

.showcase-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.showcase-copy .button {
  margin-top: 28px;
}

.install-grid {
  grid-template-columns: .75fr 1.25fr;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps article {
  padding: 24px;
}

.service-section {
  padding-bottom: 92px;
}

.service-wrap {
  padding: 34px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .24), transparent 30%),
    linear-gradient(135deg, #ff6f9d, #e72a68 58%, #b8174a);
  box-shadow: var(--shadow);
}

.service-wrap .eyebrow,
.service-wrap p {
  color: rgba(255, 255, 255, .82);
}

.wechat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wechat-card {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 24px;
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .15);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(14px);
  transition: transform .18s ease, background .18s ease;
}

.wechat-card:hover {
  background: rgba(255, 255, 255, .22);
}

.wechat-card span {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 800;
}

.wechat-card strong {
  font-size: 30px;
  letter-spacing: .02em;
}

.wechat-card em {
  justify-self: end;
  color: #e72a68;
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-style: normal;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0 104px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
}

.footer-grid {
  grid-template-columns: 1fr auto;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px -24px rgba(31, 23, 36, .35);
  backdrop-filter: blur(16px);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 16px;
  color: var(--rose-deep);
  background: #fff0f5;
  font-weight: 900;
}

.mobile-bar a:last-child {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 80;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 23, 36, .92);
  font-weight: 800;
  transition: .22s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .showcase-grid,
  .install-grid,
  .service-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stats-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    height: 64px;
  }

  .brand span {
    font-size: 18px;
  }

  .nav-download {
    display: none;
  }

  .hero {
    padding: 48px 0 46px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card,
  .service-wrap {
    border-radius: 28px;
    padding: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .feature-grid,
  .stats-grid,
  .steps,
  .wechat-list {
    grid-template-columns: 1fr;
  }

  .stats-section {
    padding-bottom: 16px;
  }

  .showcase-card {
    padding: 10px;
    border-radius: 24px;
  }

  .showcase-card img {
    border-radius: 18px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .mobile-bar {
    display: grid;
  }
}
