/* ===== 云购数码官网 全局样式（Apple 风极简） ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0071e3;
  --primary-dark: #0051a3;
  --text: #1d1d1f;
  --text-sub: #6e6e73;
  --bg-gray: #f5f5f7;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-logo .logo-dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #0071e3, #7b5bff);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-sub); }
.nav-links a:hover { color: var(--primary); }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 88px 24px 64px;
  background: linear-gradient(180deg, #fbfbfd 0%, #fff 100%);
}
.hero h1 { font-size: 52px; font-weight: 700; letter-spacing: -.5px; }
.hero h1 .grad {
  background: linear-gradient(90deg, #0071e3, #7b5bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { font-size: 21px; color: var(--text-sub); margin: 16px auto 36px; max-width: 560px; }

.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff;
  padding: 14px 30px; border-radius: 999px;
  font-size: 17px; font-weight: 600;
  transition: transform .2s, background .2s;
}
.btn-store:hover { background: #000; transform: translateY(-2px); }
.btn-store svg { width: 22px; height: 22px; }
.hero .tip { font-size: 13px; color: var(--text-sub); margin-top: 14px; }

/* 手机 mockup */
.phone-wrap { display: flex; justify-content: center; margin-top: 56px; }
.phone {
  width: 300px; height: 610px; border-radius: 48px;
  background: #1d1d1f; padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: linear-gradient(160deg, #eef4ff 0%, #f6f0ff 100%);
  display: flex; flex-direction: column; padding: 22px 16px; gap: 12px;
}
.ps-search {
  height: 34px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; padding: 0 12px;
  font-size: 12px; color: #b0b0b6;
}
.ps-banner {
  height: 110px; border-radius: 14px;
  background: linear-gradient(120deg, #0071e3, #7b5bff);
  color: #fff; padding: 16px; font-size: 13px; font-weight: 600;
}
.ps-banner small { display: block; font-weight: 400; opacity: .85; margin-top: 4px; font-size: 11px; }
.ps-cats { display: flex; justify-content: space-between; }
.ps-cat { text-align: center; font-size: 10px; color: var(--text-sub); }
.ps-cat i {
  display: block; width: 42px; height: 42px; border-radius: 13px;
  background: #fff; margin: 0 auto 4px; font-style: normal;
  font-size: 19px; line-height: 42px;
}
.ps-goods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.ps-good { background: #fff; border-radius: 12px; padding: 10px; font-size: 11px; }
.ps-good .thumb { height: 64px; border-radius: 8px; background: var(--bg-gray); margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; }
.ps-good .price { color: #e53935; font-weight: 700; font-size: 13px; }

/* ===== 区块通用 ===== */
.section { padding: 80px 0; }
.section.gray { background: var(--bg-gray); }
.section h2 { text-align: center; font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.section .desc { text-align: center; color: var(--text-sub); font-size: 17px; margin-bottom: 48px; }

/* 特性卡片 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.section.gray .feature { box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.feature:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.feature .icon {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  background: linear-gradient(135deg, #eaf3ff, #f1ecff);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-sub); }

/* 品类展示 */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  border-radius: var(--radius); padding: 28px 22px; color: #fff; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end;
  font-size: 20px; font-weight: 700; position: relative; overflow: hidden;
}
.cat-card small { font-size: 13px; font-weight: 400; opacity: .85; }
.cat-card .cat-emoji { position: absolute; top: 18px; right: 18px; font-size: 34px; }
.cat-1 { background: linear-gradient(135deg, #0071e3, #00a2ff); }
.cat-2 { background: linear-gradient(135deg, #7b5bff, #a78bfa); }
.cat-3 { background: linear-gradient(135deg, #f0574d, #ff8a65); }
.cat-4 { background: linear-gradient(135deg, #0b8457, #34c98e); }

/* 下载区 */
.download-band {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, #0b0b0f 0%, #1c1b29 100%);
  color: #fff; border-radius: 28px;
}
.download-band h2 { font-size: 34px; margin-bottom: 10px; }
.download-band p { color: rgba(255,255,255,.65); margin-bottom: 32px; }

/* ===== 页脚 ===== */
.footer { background: var(--bg-gray); padding: 40px 0 32px; margin-top: 80px; }
.footer-inner { text-align: center; font-size: 13px; color: var(--text-sub); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer p { margin: 4px 0; }
.footer a.beian { color: var(--text-sub); }

/* ===== 内页（协议/支持） ===== */
.page-body { max-width: 800px; margin: 0 auto; padding: 56px 24px 80px; }
.page-body h1 { font-size: 34px; margin-bottom: 8px; }
.page-body .updated { color: var(--text-sub); font-size: 14px; margin-bottom: 36px; }
.page-body h2 { font-size: 21px; margin: 36px 0 12px; }
.page-body h3 { font-size: 17px; margin: 24px 0 8px; }
.page-body p, .page-body li { font-size: 15px; color: #3a3a3c; margin-bottom: 10px; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 12px; }
.page-body strong { color: var(--text); }

/* 支持页卡片 */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 48px; }
.contact-card {
  background: var(--bg-gray); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
}
.contact-card .icon { font-size: 30px; margin-bottom: 10px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--text-sub); margin: 0; }
.contact-card a { color: var(--primary); }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); padding: 18px 0; }
.faq-item summary {
  font-size: 16px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--text-sub); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 10px; color: var(--text-sub); font-size: 14px; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 17px; }
  .features, .cats { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; font-size: 13px; }
  .section h2 { font-size: 28px; }
  .phone { width: 260px; height: 530px; }
}
@media (max-width: 480px) {
  .features, .cats { grid-template-columns: 1fr; }
  .nav-links a.hide-m { display: none; }
}
