/* ==========================================================================
   易馆通 · 应用官网
   设计系统：Minimalist Modern（暖灰骨架 + 电光蓝渐变签名）
   token 全部集中在 :root，页面内不写魔法色值
   ========================================================================== */

:root {
  /* 字体：标题有性格（重字重 + 收紧字距），正文清晰 */
  --font-display: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans',
    'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei',
    'Noto Sans SC', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'PingFang SC',
    'Microsoft YaHei', monospace;

  /* 颜色 */
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --accent: #0052ff;
  --accent-2: #4d7cff;
  --ring: #0052ff;

  --gradient: linear-gradient(135deg, #0052ff, #4d7cff);

  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-accent: 0 4px 14px rgba(0, 82, 255, 0.25);
  --shadow-accent-lg: 0 8px 24px rgba(0, 82, 255, 0.35);

  --transition: all 200ms ease-out;
  --wrap: 1152px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------- 区块 ---------- */
.section {
  padding: 112px 0;
  position: relative;
}
/* 锚点跳转时避开吸顶导航 */
section[id] {
  scroll-margin-top: 84px;
}
.section-muted {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-dark {
  background: var(--text);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.05;
  pointer-events: none;
}
.section-dark .wrap {
  position: relative;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 18px 0 0;
}
.section-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 38em;
}

/* ---------- 签名元素：区块徽章 + 脉动点 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 82, 255, 0.3);
  background: rgba(0, 82, 255, 0.05);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.section-dark .badge {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.section-dark .dot {
  background: var(--accent-2);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.45;
  }
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 反色区块上提亮渐变，保证对比度 */
.section-dark .gradient-text {
  background: linear-gradient(135deg, #7ba1ff, #b7ccff);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.btn .ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  filter: brightness(1.06);
}
.btn-primary:hover .ico {
  transform: translateX(4px);
}
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  background: var(--surface-muted);
  border-color: rgba(0, 82, 255, 0.3);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: var(--surface-muted);
  color: var(--text);
}
.btn-light {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-md);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-sub {
  padding-left: 10px;
  border-left: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav a:hover {
  color: var(--text);
  background: var(--surface-muted);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 128px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}
.glow-hero {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -140px;
  background: var(--accent);
  opacity: 0.06;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 22px 0 0;
}
.lead {
  margin-top: 22px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* 二维码卡（顾客端 H5 入口）：浅色底为白卡，深色 CTA 区用 qr-card-dark */
.qr-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.qr-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.14);
}
.qr-card img {
  width: 108px;
  height: 108px;
  display: block;
  border-radius: 8px;
}
.qr-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  max-width: 9em;
}
.qr-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.qr-card-dark:hover {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.qr-card-dark span {
  color: #ffffff;
}
.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}
.hero-note strong {
  color: var(--accent);
}

/* Hero 图形：手机 + 浮动卡 + 旋转虚线环 + 装饰点阵 */
.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px dashed rgba(0, 82, 255, 0.28);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-frame {
  position: relative;
  z-index: 1;
  width: 244px;
  padding: 7px;
  background: var(--text);
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  animation: float 5s ease-in-out infinite;
  border-top-left-radius: 44px;
  border-bottom-right-radius: 44px;
}
.hero-frame img {
  display: block;
  width: 100%;
  border-radius: 26px;
  border-top-left-radius: 38px;
  border-bottom-right-radius: 38px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.35;
}
.float-card b {
  display: block;
  font-weight: 600;
}
.float-card i {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 12px;
}
.fc-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--gradient);
}
.fc-ico svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fc-ico-alt {
  background: var(--text);
}
.fc-1 {
  top: 92px;
  left: 0;
  animation: float 4.5s ease-in-out infinite;
}
.fc-2 {
  bottom: 84px;
  right: 0;
  animation: float 4.5s ease-in-out 1.2s infinite;
}
.dots {
  position: absolute;
  right: 34px;
  top: 44px;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(circle, var(--accent) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.4;
}
.corner {
  position: absolute;
  left: calc(50% - 148px);
  bottom: 46px;
  width: 52px;
  height: 52px;
  background: var(--gradient);
  border-radius: var(--radius);
  opacity: 0.9;
}
.float-card,
.dots,
.corner {
  z-index: 2;
}

/* ---------- 数字区 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #a9c4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat b span {
  font-size: 0.42em;
  margin-left: 4px;
  letter-spacing: 0;
}
.stat p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 功能卡 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 255, 0.22);
}
.card:hover::after {
  opacity: 1;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--text-secondary);
}
.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--gradient);
  box-shadow: var(--shadow-accent);
  transition: var(--transition);
}
.icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .icon-box {
  transform: scale(1.1);
}

/* ---------- 截图 ---------- */
.shots-group + .shots-group {
  margin-top: 64px;
}
.shots-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 28px;
}
.shots-tag {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px 28px;
}
.shot {
  margin: 0;
  text-align: center;
}
.phone {
  width: 196px;
  margin: 0 auto;
  padding: 6px;
  background: var(--text);
  border-radius: 26px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 21px;
}
.shot:hover .phone {
  transform: translateY(-4px);
}
.phone-h5 {
  background: #12306b;
}
.shot figcaption {
  margin: 16px auto 0;
  max-width: 17em;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.shot figcaption b {
  display: block;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- 流程 ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.flow-col {
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.flow-col-alt {
  margin-top: 40px;
}
.flow-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 26px;
}
.flow-tag {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.steps li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.steps li:first-child {
  border-top: 0;
  padding-top: 0;
}
.step-no {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}
.steps b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}
.steps p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- 资费 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  height: 100%;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.plan h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.price {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price .cur {
  font-size: 1.3rem;
  vertical-align: super;
  margin-right: 2px;
}
.price .unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-left: 4px;
}
.plan-desc {
  min-height: 52px;
  font-size: 14px;
  color: var(--text-secondary);
}
.plan-desc strong {
  color: var(--text);
}
.strike {
  display: block;
  text-decoration: line-through;
  opacity: 0.7;
}
.plan .btn {
  margin-top: 22px;
}
.plan-wrap {
  position: relative;
  padding: 2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient);
  box-shadow: var(--shadow-accent-lg);
}
.plan-wrap .plan {
  border: 0;
  box-shadow: none;
  border-radius: calc(var(--radius-lg) - 1px);
}
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.plan-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 36px auto 0;
  max-width: 760px;
}
.plan-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.plan-includes li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: var(--shadow-accent);
}
.pricing-note {
  max-width: 44em;
  margin: 30px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq details + details {
  margin-top: 12px;
}
.faq details[open] {
  border-color: rgba(0, 82, 255, 0.22);
  box-shadow: var(--shadow-md);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.chev {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: var(--transition);
}
.faq details[open] .chev {
  transform: rotate(-135deg) translateY(-2px);
}
.faq details p {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ---------- 结尾 CTA ---------- */
.section-cta {
  text-align: center;
}
.section-cta h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}
.section-cta p {
  max-width: 40em;
  margin: 20px auto 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
}
.download-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  margin-top: 34px;
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 24px 20px;
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.download-card > img {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: 10px;
}
.download-card strong {
  margin-top: 12px;
  font-size: 15px;
}
.download-card > span {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.app-store-badge {
  display: block;
  margin-top: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.app-store-badge:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}
.app-store-badge img {
  display: block;
  width: auto;
  height: 40px;
}
.download-android {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.download-android:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.download-grid .qr-card-vertical {
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px 28px;
  text-align: center;
}
.download-grid .qr-card-vertical span {
  max-width: none;
  line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer-brand p {
  margin-top: 14px;
  max-width: 24em;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.icp:hover {
  color: var(--accent);
}

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  transition-delay: calc(var(--d, 0) * 100ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-sub {
    display: none;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 84px 0;
  }
  .nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .hero {
    padding: 64px 0 96px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    min-height: 0;
  }
  .ring {
    width: 360px;
    height: 360px;
  }
  .fc-1 {
    top: 10px;
    left: 4%;
  }
  .fc-2 {
    bottom: 10px;
    right: 4%;
  }
  .dots {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .flow-col-alt {
    margin-top: 0;
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }
  .section {
    padding: 68px 0;
  }
  .hero-copy h1 {
    font-size: clamp(2.1rem, 9.4vw, 2.6rem);
  }
  .lead {
    font-size: 16px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .plan-wrap {
    order: -1;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stat {
    padding-left: 18px;
  }
  .stat:nth-child(3) {
    padding-left: 18px;
  }
  .flow-col {
    padding: 26px 22px;
  }
  .shots-group + .shots-group {
    margin-top: 46px;
  }
  .phone {
    width: 100%;
    max-width: 168px;
    border-radius: 22px;
  }
  .phone img {
    border-radius: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .brand-name {
    font-size: 18px;
  }
  .btn-sm {
    padding: 0 12px;
  }
  /* 窄屏顶栏只保留下载入口，避免品牌 + 双按钮撑出视口导致整页横向溢出 */
  .header-inner {
    gap: 12px;
  }
  .header-cta .btn-ghost {
    display: none;
  }
}

@media (max-width: 400px) {
  .shots {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions .qr-card,
  .download-grid .download-card,
  .download-grid .qr-card {
    width: 100%;
    justify-content: center;
  }
}

/* 无障碍：尊重系统的减少动效设置 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
