/* 美掌柜官网 · 全局样式 */

:root {
  --plum: #3b2f4e;
  --plum-deep: #241c31;
  --plum-soft: #f6f4f9;
  --brand-pink: #f2a0bb;
  --brand-purple: #8b6fc4;
  --brand-gold: #c9a227;
  --accent: #b8443c;
  --ink: #1d1827;
  --text: #4a4458;
  --muted: #7d7689;
  --line: #eae6f0;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(59, 47, 78, 0.06);
  --shadow: 0 12px 40px rgba(59, 47, 78, 0.1);
  --shadow-lg: 0 30px 80px rgba(36, 28, 49, 0.18);
  --gradient: linear-gradient(135deg, #f6b8c9 0%, #b18bd8 52%, #6b4e9b 100%);
  --container: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 布局 ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--plum-soft);
}

.section--dark {
  background: var(--plum-deep);
  color: rgba(255, 255, 255, 0.72);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 111, 196, 0.1);
  color: #6b4e9b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.section--dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #e8dcff;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.section--dark .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--plum);
  color: #fff;
  box-shadow: 0 12px 26px rgba(59, 47, 78, 0.24);
}

.btn--primary:hover {
  background: #4a3c62;
  box-shadow: 0 16px 32px rgba(59, 47, 78, 0.3);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.btn--sm {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(59, 47, 78, 0.06);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

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

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--plum);
  background: var(--plum-soft);
}

.nav a.is-active {
  color: var(--plum);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--plum-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 88px 0 104px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -140px;
  background: radial-gradient(circle, rgba(177, 139, 216, 0.42) 0%, rgba(177, 139, 216, 0) 68%);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -260px;
  left: -160px;
  background: radial-gradient(circle, rgba(242, 160, 187, 0.28) 0%, rgba(242, 160, 187, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: #efe7ff;
}

.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ee0b0;
  box-shadow: 0 0 0 4px rgba(126, 224, 176, 0.18);
}

.hero h1 {
  margin: 24px 0 22px;
  color: #fff;
  font-size: clamp(32px, 4.6vw, 54px);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #f7c6d6 0%, #c9a9e8 55%, #9b7fd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.66);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 34px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: #9b7fd0;
}

/* 手机模型 */

.phone {
  position: relative;
  width: 296px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #4a3d61, #221a2e);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #f7f5fa;
  height: 560px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 999px;
  background: #1a1424;
  z-index: 3;
}

.phone-head {
  background: var(--plum);
  padding: 44px 18px 46px;
  color: #fff;
}

.phone-head .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.82;
}

.phone-head .store {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}

.phone-income {
  margin: -30px 14px 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8ea, #fdf1e2);
  box-shadow: 0 10px 26px rgba(176, 58, 18, 0.12);
}

.phone-income .label {
  font-size: 11px;
  color: #8a6b4a;
}

.phone-income .value {
  margin-top: 4px;
  font-size: 27px;
  font-weight: 800;
  color: #b03a12;
  letter-spacing: -0.02em;
}

.phone-income .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 14px;
  text-align: center;
}

.phone-income .grid b {
  display: block;
  font-size: 11px;
  color: #6b5540;
  font-weight: 600;
}

.phone-income .grid span {
  display: block;
  font-size: 9px;
  color: #a08b74;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 14px 0;
}

.phone-actions .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #5a5468;
}

.phone-actions .ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
}

.phone-card {
  margin: 16px 14px 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.phone-card .title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.phone-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 62px;
  margin-top: 14px;
}

.phone-bars i {
  flex: 1;
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, #c9a9e8, #8b6fc4);
  opacity: 0.55;
}

.phone-bars i:nth-child(4) {
  opacity: 1;
}

.phone-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #a39caf;
  text-align: center;
}

.phone-nav .on {
  color: var(--plum);
  font-weight: 700;
}

/* ---------- 数据条 ---------- */

.stats {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.stat b {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--plum);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat span {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 卡片网格 ---------- */

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 111, 196, 0.35);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(242, 160, 187, 0.18), rgba(139, 111, 196, 0.2));
  color: #6b4e9b;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card-tags li {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--plum-soft);
  color: #6b4e9b;
  font-size: 12px;
}

/* ---------- 功能清单（左文右图） ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split--reverse .split-media {
  order: -1;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.feature-list li {
  display: flex;
  gap: 14px;
}

.feature-list .tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 111, 196, 0.12);
  color: #6b4e9b;
}

.feature-list .tick svg {
  width: 14px;
  height: 14px;
}

.feature-list b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 3px;
}

.feature-list span {
  font-size: 14px;
  color: var(--muted);
}

/* 模拟浏览器窗口 */

.window {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #f6f4f9;
  border-bottom: 1px solid var(--line);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd6e6;
}

.window-bar i:nth-child(1) { background: #f2a0bb; }
.window-bar i:nth-child(2) { background: #e9c46a; }
.window-bar i:nth-child(3) { background: #9ad4b4; }

.window-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 330px;
}

.window-side {
  padding: 16px 12px;
  background: var(--plum);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.window-side .brand-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 18px;
}

.window-side .brand-mini img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.window-side li {
  padding: 7px 9px;
  border-radius: 7px;
  margin-bottom: 3px;
}

.window-side li.on {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.window-main {
  padding: 18px;
  background: #faf9fc;
}

.window-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi {
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.kpi small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.kpi b {
  font-size: 17px;
  color: var(--ink);
}

.kpi b.accent {
  color: var(--accent);
}

.chart {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.chart .head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
}

.chart-bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #cbb0e8, #8b6fc4);
  opacity: 0.7;
}

.chart-bars i:nth-child(3n) {
  opacity: 1;
}

.mini-table {
  margin-top: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  font-size: 10.5px;
}

.mini-table .tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.mini-table .tr:last-child {
  border-bottom: 0;
}

.mini-table .tr.th {
  background: #faf9fc;
  color: #9a93a6;
  font-weight: 600;
}

.mini-table .tr b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 解决方案 ---------- */

.solution-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(242, 160, 187, 0.18), rgba(139, 111, 196, 0.16));
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solution-card .emoji {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-soft);
  font-size: 22px;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--muted);
}

.solution-card ul {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text);
}

.solution-card ul li::before {
  content: "·";
  color: var(--brand-purple);
  font-weight: 800;
  margin-right: 8px;
}

/* ---------- 步骤 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-purple);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 价格 ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

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

.price-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card--featured {
  border-color: transparent;
  background: linear-gradient(170deg, #40324f, #241c31);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
}

.price-card--featured h3 {
  color: #fff;
}

.price-card--featured .price {
  color: #fff;
}

.price-card--featured .price small {
  color: rgba(255, 255, 255, 0.5);
}

.price-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, #f2a0bb, #8b6fc4);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.price-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.price-card .desc {
  font-size: 13px;
  color: var(--muted);
  min-height: 38px;
}

.price {
  margin: 14px 0 4px;
  font-size: 36px;
  font-weight: 800;
  color: var(--plum);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  font-size: 14px;
}

.price-card ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.price-card ul svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: #6b4e9b;
}

.price-card--featured ul svg {
  color: #c9a9e8;
}

/* 对比表 */

.compare-wrap {
  margin-top: 56px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare th {
  background: var(--plum-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.compare td:first-child,
.compare th:first-child {
  text-align: left;
  color: var(--text);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr:hover {
  background: #fbfafd;
}

.compare .yes {
  color: #3f9c6a;
  font-weight: 700;
}

.compare .no {
  color: #c3bccd;
}

/* ---------- App 下载 ---------- */

.app-hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.download-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr {
  width: 176px;
  height: 176px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    repeating-conic-gradient(from 0deg, #3b2f4e 0deg 90deg, #fff 90deg 180deg) 0 0/16px 16px;
  border: 10px solid #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative;
}

.qr::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff url("../img/logo.png") center/38px no-repeat;
  box-shadow: 0 0 0 5px #fff;
}

.download-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.download-card p {
  font-size: 13px;
  color: var(--muted);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  justify-content: center;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  border-color: var(--plum);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  color: var(--plum);
}

.store-badge small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.2;
}

.store-badge b {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .chev {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-soft);
  color: var(--plum);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-q .chev {
  transform: rotate(180deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 60px;
  background: linear-gradient(120deg, #3b2f4e 0%, #57406f 55%, #7a5a99 100%);
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 160, 187, 0.35), transparent 68%);
}

.cta-band h2 {
  position: relative;
  color: #fff;
  font-size: clamp(24px, 3.2vw, 34px);
}

.cta-band p {
  position: relative;
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 15px;
}

.cta-band .hero-actions {
  position: relative;
  justify-content: center;
  margin-top: 30px;
}

/* ---------- 联系页 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item .icon-box {
  margin-bottom: 0;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.contact-item b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 14px;
  color: var(--muted);
  word-break: break-all;
}

.form-card {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fbfafd;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(63, 156, 106, 0.1);
  color: #2f7d53;
  font-size: 13.5px;
}

.form-success.is-visible {
  display: block;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 64px 0 28px;
  background: #1c1626;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 页面头（内页） ---------- */

.page-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(700px 320px at 85% -20%, rgba(139, 111, 196, 0.16), transparent 70%),
    radial-gradient(500px 260px at 8% 0%, rgba(242, 160, 187, 0.16), transparent 70%),
    #faf9fc;
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  max-width: 820px;
}

.page-hero p {
  margin-top: 16px;
  max-width: 680px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- 滚动出现动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero p.lead {
    max-width: none;
  }

  .phone {
    max-width: 100%;
  }

  .grid--4,
  .price-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .app-hero,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse .split-media {
    order: 0;
  }

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

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(59, 47, 78, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 40px 24px;
  }

  .compare th,
  .compare td {
    padding: 13px 14px;
  }
}

@media (max-width: 560px) {
  .grid--4,
  .price-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-side {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-card {
    padding: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}
