:root {
  --bg: #f6f7fc;
  --card: #ffffff;
  --ink: #17182e;
  --muted: #6b7193;
  --brand: #2997ff;
  --brand-deep: #5e5ce6;
  --brand-soft: #eef1ff;
  --border: #e8eaf4;
  --gold: #c9a227;
  --grad: linear-gradient(135deg, #2997ff, #5e5ce6);
  --radius: 20px;
  --shadow: 0 8px 30px rgba(20, 24, 60, 0.06);
  --shadow-hover: 0 22px 50px rgba(41, 151, 255, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 顶部通知栏 ---------- */
.topbar {
  background: var(--grad);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 16px;
}

/* ---------- 导航 ---------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--brand-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 28px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}

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

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px rgba(41, 151, 255, 0.32);
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(94, 92, 230, 0.4); }

.btn-ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); }

.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 32px 76px;
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.glow-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.4), transparent 70%);
  top: -120px; left: -100px;
}
.glow-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.34), transparent 70%);
  top: -40px; right: -120px;
}
.glow-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.26), transparent 70%);
  bottom: -160px; left: 38%;
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 980px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  animation: fadeUp 0.6s ease both;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  animation: fadeUp 0.6s ease 0.08s both;
}

.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  animation: fadeUp 0.6s ease 0.16s both;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.24s both;
}

.hero-points {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  animation: fadeUp 0.6s ease 0.32s both;
}

.hero-points li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 区块通用 ---------- */
.section { padding: 64px 32px; }
.container { max-width: 1120px; margin: 0 auto; }

.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.02em; font-weight: 800; }
.sec-sub { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ---------- 商品卡 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-hover);
}

.product-flag {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.product-flag.gold { background: #fbf3dd; color: var(--gold); }

.product-card h3 { font-size: 18px; font-weight: 700; }
.product-desc { color: var(--muted); font-size: 14px; }

.product-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.product-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 980px;
  padding: 4px 11px;
}
.product-tags span.hot { color: #a97707; background: #fdf3d7; }

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price { font-size: 22px; font-weight: 800; color: var(--brand-deep); }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- 为什么选我们 ---------- */
.why { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.why-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: linear-gradient(#f6f7fc, #f6f7fc) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}

.why-num {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.why-card h3 { font-size: 17px; margin: 12px 0 8px; }
.why-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 文章 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}

.article-card h3 { font-size: 17px; line-height: 1.5; }
.article-card h3 a:hover { color: var(--brand-deep); }
.article-card p { color: var(--muted); font-size: 14.5px; flex: 1; }

.read-more { color: var(--brand-deep); font-weight: 600; font-size: 14px; }
.read-more:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-list details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; color: var(--brand); font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- 售后 ---------- */
.after-sale { text-align: center; }
.after-sale-box {
  background: var(--grad);
  color: #fff;
  border-radius: 24px;
  padding: 50px 32px;
  max-width: 780px;
  margin: 0 auto;
}
.after-sale-box h2 { font-size: 28px; letter-spacing: -0.02em; }
.after-sale-box p { margin: 14px auto 26px; max-width: 560px; opacity: 0.94; font-size: 15.5px; }
.after-sale-box .btn {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

/* ---------- 页脚 ---------- */
.footer { background: #14142b; color: #c6d0e0; padding: 44px 32px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 22px;
  font-size: 14.5px;
}
.footer-links a { color: #c6d0e0; }
.footer-links a:hover { color: #fff; }

.footer .disclaimer {
  font-size: 12.5px;
  color: #8b96b4;
  max-width: 860px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.hot-search {
  font-size: 12.5px;
  color: #7c86a8;
  margin-bottom: 18px;
}

.copyright { font-size: 12.5px; color: #606a8c; }

/* ---------- 移动端底部悬浮购买栏 ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(20, 24, 60, 0.08);
}
.mobile-cta .btn { width: 100%; }

body:has(.mobile-cta) { padding-bottom: 76px; }

/* ---------- 文章页 ---------- */
.article-page { text-align: left; }
.article-page .container { max-width: 800px; }

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--brand-deep); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--ink); }

.article-title {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 30px;
}

.article-body { font-size: 16.5px; }
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article-body p { margin-bottom: 16px; color: #3c405e; }
.article-body ul { margin: 0 0 16px 20px; color: #3c405e; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }

.article-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 购买须知页 ---------- */
.notice-block { margin-bottom: 34px; }
.notice-block h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.notice-block p { color: #3c405e; margin-bottom: 10px; }
.notice-block ul { margin: 0 0 10px 20px; color: #3c405e; }
.notice-block li { margin-bottom: 8px; }

/* ---------- 购买流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.flow-step:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}
.flow-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 14.5px; }

.batch-note {
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
  font-size: 14.5px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .product-grid, .why-grid, .article-grid, .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .main-nav { padding: 12px 18px; }
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 18px 18px;
    box-shadow: 0 12px 24px rgba(20, 24, 60, 0.1);
  }
  .main-nav.open .nav-links { display: flex; }
  .nav-links a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }

  .hero { padding: 56px 20px 48px; }
  .hero-sub { font-size: 15.5px; }
  .section { padding: 46px 20px; }
  .product-grid, .why-grid, .article-grid, .flow-grid { grid-template-columns: 1fr; }
  .product-card, .article-card, .why-card { padding: 20px; }
  .mobile-cta { display: block; }
}

/* ---------- 无障碍：减弱动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .eyebrow, .hero-sub, .hero-cta, .hero-points { animation: none; }
  .product-card, .article-card, .why-card, .btn { transition: none; }
}
