/* ========== 微密圈 · 品牌配色（取自 Logo 渐变圆环） ========== */
:root {
  --purple: #8b5cf6;
  --magenta: #d946ef;
  --pink: #ec4899;
  --orange: #f97316;
  --blue: #3b82f6;
  --deep: #1e1b4b;
  --ink: #2a2450;
  --muted: #6b688a;
  --bg: #f7f6fc;
  --card: #ffffff;
  --grad: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 30%, var(--orange) 62%, var(--blue) 100%);
  --grad-soft: linear-gradient(120deg, rgba(139,92,246,.12), rgba(217,70,239,.12), rgba(249,115,22,.12), rgba(59,130,246,.12));
  --shadow-lg: 0 24px 60px -18px rgba(80, 56, 180, .28);
  --shadow-md: 0 12px 32px -12px rgba(80, 56, 180, .2);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
/* src 留空时隐藏破图图标，保留渐变底框 */
img[src=""], img:not([src]) { opacity: 0; }

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

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(860px, 92%); }

/* ========== 通用按钮 ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 14px 34px -10px rgba(190, 80, 200, .55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(190, 80, 200, .65); }
.btn-ghost {
  background: rgba(255,255,255,.75); color: var(--ink);
  border: 1.5px solid rgba(139, 92, 246, .35); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--magenta); color: var(--magenta); }

/* ========== 顶部导航 ========== */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -10px rgba(80, 56, 180, .18);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 6px 16px -6px rgba(190, 80, 200, .5);
}
.logo-text {
  font-size: 21px; font-weight: 800; letter-spacing: 1px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.nav-link:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2.5px;
  background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.nav-link:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--grad); color: #fff; padding: 9px 22px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(190, 80, 200, .55); transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(190, 80, 200, .7); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========== 首屏 Hero ========== */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 48% at 12% 18%, rgba(139, 92, 246, .20), transparent 70%),
    radial-gradient(38% 44% at 88% 12%, rgba(249, 115, 22, .16), transparent 70%),
    radial-gradient(46% 52% at 78% 88%, rgba(59, 130, 246, .16), transparent 70%),
    radial-gradient(34% 40% at 22% 86%, rgba(217, 70, 239, .14), transparent 70%),
    var(--bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 999px;
}
.badge-version { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(190, 80, 200, .6); }
.badge-date { background: #fff; color: var(--muted); border: 1px solid rgba(139, 92, 246, .28); }
.badge-size { background: #fff; color: var(--muted); border: 1px solid rgba(59, 130, 246, .3); }

.hero-title {
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.28;
  letter-spacing: 1px; margin-bottom: 20px; color: var(--deep);
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 16.5px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-points li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--muted); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--grad);
}

/* --- 三图叠加展示 --- */
.hero-shots { position: relative; height: 480px; perspective: 1200px; }
.shot {
  position: absolute; top: 50%; left: 50%; width: 216px; height: 440px;
  margin: -220px 0 0 -108px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), z-index 0s, filter .5s;
  cursor: pointer;
}
.shot-frame {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(160deg, #fff, #f1eefc);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.shot-frame::after { /* 屏幕渐变占位，img 填入后自然被图片覆盖 */
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; background: transparent; }
.shot-1 .shot-frame { background: linear-gradient(165deg, #efe9ff 0%, #d9ccff 55%, #c4b0ff 100%); }
.shot-2 .shot-frame { background: linear-gradient(165deg, #ffe9f5 0%, #ffd0e8 55%, #ffb4d9 100%); }
.shot-3 .shot-frame { background: linear-gradient(165deg, #e8f1ff 0%, #cfe2ff 55%, #b0ccff 100%); }
.shot-label {
  position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,.9); padding: 5px 16px; border-radius: 999px;
  box-shadow: var(--shadow-md); white-space: nowrap;
  transition: color .3s;
}
/* 默认扇形叠放 */
.shot-1 { transform: translateX(-58%) rotate(-9deg) scale(.92); z-index: 1; filter: saturate(.92); }
.shot-2 { transform: translateX(0) translateY(-16px) scale(1); z-index: 2; }
.shot-3 { transform: translateX(58%) rotate(9deg) scale(.92); z-index: 1; filter: saturate(.92); }
/* 悬停（或触屏点选）：该图提到最前并放大 */
.shot.active { z-index: 5; filter: none; }
.shot-1.active { transform: translateX(-58%) translateY(-26px) rotate(0deg) scale(1.08); }
.shot-2.active { transform: translateX(0) translateY(-30px) scale(1.08); }
.shot-3.active { transform: translateX(58%) translateY(-26px) rotate(0deg) scale(1.08); }
.shot.active .shot-label { color: var(--magenta); }
.hero-shots:hover .shot:not(.active) { filter: saturate(.85) brightness(.97); }

/* ========== 数据条 ========== */
.stats { padding: 12px 0 46px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat strong {
  display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 14px; color: var(--muted); }

/* ========== 通用 Section ========== */
.section { padding: 88px 0; }
.section-alt {
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(139, 92, 246, .07), transparent 70%),
    radial-gradient(50% 60% at 6% 100%, rgba(249, 115, 22, .06), transparent 70%),
    #fff;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 3px;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
  background: var(--grad-soft); color: var(--magenta);
}
.section-head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--deep); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

/* ========== 功能卡片 ========== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: 0 6px 22px -12px rgba(80, 56, 180, .14);
  border: 1px solid rgba(139, 92, 246, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px; position: relative; }
.feature-icon::after {
  content: ""; position: absolute; inset: 15px; border-radius: 50%;
  border: 3.5px solid rgba(255,255,255,.95); border-top-color: rgba(255,255,255,.35);
  transform: rotate(35deg);
}
.fi-1 { background: linear-gradient(135deg, var(--purple), var(--magenta)); }
.fi-2 { background: linear-gradient(135deg, var(--magenta), var(--pink)); }
.fi-3 { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.fi-4 { background: linear-gradient(135deg, var(--orange), #fbbf24); }
.fi-5 { background: linear-gradient(135deg, var(--blue), #22d3ee); }
.fi-6 { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.feature-card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; color: var(--deep); }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ========== 四步流程 ========== */
.steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px; align-items: stretch;
}
.step {
  background: #fff; border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-md);
  transition: transform .3s; min-width: 0;
}
.step:hover { transform: translateY(-6px); }
.step em {
  display: inline-block; font-style: normal; font-size: 30px; font-weight: 800; margin-bottom: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 17px; margin-bottom: 6px; color: var(--deep); }
.step p { font-size: 13.5px; color: var(--muted); }
.step-arrow {
  align-self: center; width: 26px; height: 12px;
  background:
    linear-gradient(var(--magenta), var(--magenta)) left center / 18px 2.5px no-repeat;
  position: relative;
}
.step-arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--magenta);
}

/* ========== 用户评价 ========== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  box-shadow: 0 6px 22px -12px rgba(80, 56, 180, .14);
  border: 1px solid rgba(139, 92, 246, .1);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stars { color: #fbbf24; letter-spacing: 3px; font-size: 15px; }
.review-card p { font-size: 14.5px; color: var(--ink); flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
.a1 { background: linear-gradient(135deg, var(--purple), var(--magenta)); }
.a2 { background: linear-gradient(135deg, var(--magenta), var(--pink)); }
.a3 { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.a4 { background: linear-gradient(135deg, var(--orange), #fbbf24); }
.a5 { background: linear-gradient(135deg, var(--blue), #22d3ee); }
.a6 { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.reviewer strong { display: block; font-size: 15px; color: var(--deep); }
.reviewer small { font-size: 12.5px; color: var(--muted); }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .14);
  box-shadow: 0 4px 16px -10px rgba(80, 56, 180, .12);
  transition: box-shadow .3s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 19px 24px; font-size: 16px; font-weight: 600; color: var(--deep); font-family: inherit;
}
.faq-q i {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; position: relative;
  background: var(--grad-soft); transition: transform .35s ease, background .35s;
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--magenta); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-q i::before { width: 10px; height: 2px; }
.faq-q i::after { width: 2px; height: 10px; transition: opacity .3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); background: var(--grad); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: #fff; }
.faq-item.open .faq-q i::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); }

/* ========== 下载区域 ========== */
.download { position: relative; padding: 100px 0; overflow: hidden; }
.download-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 60% at 15% 20%, rgba(139, 92, 246, .5), transparent 70%),
    radial-gradient(40% 55% at 85% 25%, rgba(249, 115, 22, .4), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(59, 130, 246, .45), transparent 70%),
    linear-gradient(150deg, #241d5c 0%, #3b2070 50%, #1c2a63 100%);
}
.download-inner { text-align: center; color: #fff; }
.download-logo {
  width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 24px;
  background: var(--grad); box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .5);
}
.download h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.download > .container > p, .download-inner > p { color: rgba(255, 255, 255, .82); margin-bottom: 22px; font-size: 16px; }
.download-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.btn-download {
  padding: 18px 52px; font-size: 19px; font-weight: 700; color: var(--deep);
  background: #fff; border-radius: 999px;
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-download:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 28px 60px -14px rgba(0, 0, 0, .6); }
.btn-download svg { color: var(--magenta); }
.download-tip { display: block; margin-top: 18px; color: rgba(255, 255, 255, .65); font-size: 13.5px; }

/* ========== 页脚 ========== */
.footer { background: #17133a; color: rgba(255, 255, 255, .75); padding: 54px 0 34px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer .logo-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.footer-slogan { font-size: 14px; color: rgba(255, 255, 255, .55); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin: 6px 0; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 13px; color: rgba(255, 255, 255, .4); }

/* ========== 滚动入场动画 ========== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-text { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-points { align-items: center; }
  .hero-shots { height: 460px; }
  .feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; right: 4%; left: 4%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px);
    border-radius: 18px; padding: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-14px); pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 12px 14px; border-radius: 12px; text-align: center; }
  .nav-link:not(.nav-cta):hover { background: var(--grad-soft); }
  .nav-link:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 6px; }

  .hero { padding: 120px 0 70px; }
  .hero-shots { height: 400px; }
  .shot { width: 172px; height: 352px; margin: -176px 0 0 -86px; }
  .shot-1 { transform: translateX(-52%) rotate(-8deg) scale(.9); }
  .shot-3 { transform: translateX(52%) rotate(8deg) scale(.9); }
  .shot-1.active { transform: translateX(-52%) translateY(-20px) rotate(0) scale(1.05); }
  .shot-2.active { transform: translateX(0) translateY(-24px) scale(1.05); }
  .shot-3.active { transform: translateX(52%) translateY(-20px) rotate(0) scale(1.05); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 24px 18px; }
  .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .step-arrow { justify-self: center; transform: rotate(90deg); margin: 4px 0; }
  .section { padding: 64px 0; }
  .btn-download { width: 100%; max-width: 340px; }
}
