/* =========================================================
   横风动漫 - 站点公共样式
   二次元 / 追番 视觉调性
   ========================================================= */
:root {
  --violet: #6d4aff;
  --violet-2: #a855f7;
  --pink: #ff3d77;
  --cyan: #22d3ee;
  --amber: #ffb020;
  --ink: #17142b;
  --ink-2: #2c2748;
  --muted: #6b6880;
  --muted-2: #8b88a0;
  --bg: #f6f5ff;
  --bg-2: #eeecfd;
  --card: #ffffff;
  --line: #e9e6fb;
  --dark: #14102b;
  --dark-2: #1e1840;
  --grad: linear-gradient(120deg, #6d4aff 0%, #a855f7 46%, #ff3d77 100%);
  --grad-soft: linear-gradient(120deg, rgba(109, 74, 255, .12), rgba(255, 61, 119, .12));
  --shadow: 0 18px 50px -22px rgba(60, 30, 120, .38);
  --shadow-sm: 0 8px 24px -14px rgba(60, 30, 120, .35);
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1160px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

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

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

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.brand-name span { font-size: 11px; color: var(--muted-2); letter-spacing: 1.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: .22s;
}
.nav-links a:hover { color: var(--violet); background: var(--bg-2); }
.nav-links a.active { color: #fff; background: var(--grad); box-shadow: var(--shadow-sm); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 26px -12px rgba(255, 61, 119, .9);
  transition: .22s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------------- 通用区块 ---------------- */
section { padding: 74px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--violet); text-transform: uppercase;
  background: var(--grad-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  border: none; transition: .24s; white-space: nowrap;
}
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 18px 34px -16px rgba(255, 61, 119, .95);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -16px rgba(109, 74, 255, .95); }
.btn-ghost {
  color: var(--ink); background: #fff; border: 1px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--violet); }
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 76px 0 90px;
  color: #fff;
  background: radial-gradient(1100px 560px at 82% -10%, rgba(168, 85, 247, .55), transparent 60%),
              radial-gradient(900px 520px at 8% 110%, rgba(34, 211, 238, .28), transparent 55%),
              linear-gradient(155deg, #1a1238 0%, #241a52 48%, #180f33 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-badge i {
  width: 8px; height: 8px; border-radius: 50%; background: #43e97b;
  box-shadow: 0 0 0 4px rgba(67, 233, 123, .22);
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.hero h1 .grad-text { background: linear-gradient(100deg, #ffd36e, #ff7eb3 55%, #8ec5ff); -webkit-background-clip: text; background-clip: text; }
.hero p.lead { font-size: 17.5px; color: rgba(255, 255, 255, .82); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  font-size: 13.5px; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 6px 14px; border-radius: 999px;
}

/* 手机模型 */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  width: 268px; border-radius: 40px; padding: 11px;
  background: linear-gradient(160deg, #3a2c66, #221847);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .55);
}
.phone img { border-radius: 30px; width: 100%; }
.phone.float { animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 119, .6), transparent 70%);
  filter: blur(30px); top: 12%; right: -30px; z-index: 0; animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

/* 数据条 */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 58px; position: relative; z-index: 2;
}
.stat {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 20px 18px; text-align: center;
  backdrop-filter: blur(8px);
}
.stat b { display: block; font-size: 27px; font-weight: 900; }
.stat b .grad-text { background: linear-gradient(100deg, #ffd36e, #ff7eb3); -webkit-background-clip: text; background-clip: text; }
.stat span { font-size: 13px; color: rgba(255, 255, 255, .74); }

/* ---------------- 卖点卡片 ---------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .26s; position: relative; overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff; background: var(--grad); box-shadow: var(--shadow-sm);
}
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------------- 截图预览 ---------------- */
.shots { background: linear-gradient(180deg, #fff, var(--bg)); }
.shot-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.shot {
  background: #fff; border-radius: 22px; padding: 9px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: .28s;
}
.shot:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow); }
.shot img { border-radius: 15px; width: 100%; }
.shot figcaption { text-align: center; font-size: 13px; color: var(--muted); padding: 10px 2px 4px; font-weight: 600; }

/* ---------------- 深度内容入口 ---------------- */
.entry {
  display: block; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  min-height: 236px; padding: 30px 28px; color: #fff;
  background: var(--dark); transition: .28s; border: 1px solid transparent;
}
.entry:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.entry .no { font-size: 46px; font-weight: 900; opacity: .28; line-height: 1; }
.entry h3 { font-size: 22px; margin: 12px 0 8px; }
.entry p { font-size: 14.5px; color: rgba(255, 255, 255, .78); margin: 0 0 14px; }
.entry .go { font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.entry.e1 { background: linear-gradient(150deg, #6d4aff, #4a2fd6); }
.entry.e2 { background: linear-gradient(150deg, #ff3d77, #d8286a); }
.entry.e3 { background: linear-gradient(150deg, #22d3ee, #0e9dbd); }
.entry.e4 { background: linear-gradient(150deg, #ff9f1c, #e07b00); }

/* ---------------- 功能介绍(左右交替) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.rev .split-visual { order: 2; }
.split-visual { display: flex; justify-content: center; }
.split h3 { font-size: 25px; }
.split .tag {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--pink);
  background: rgba(255, 61, 119, .1); padding: 5px 13px; border-radius: 999px; margin-bottom: 12px;
}
.split ul { list-style: none; padding: 0; margin: 18px 0 0; }
.split li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); font-size: 15.5px; }
.split li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); box-shadow: var(--shadow-sm);
}
.split li strong { color: var(--ink); }

/* ---------------- 评价 ---------------- */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .26s;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 15px; }
.review p { font-size: 15.5px; color: var(--ink-2); }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.reviewer .av {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; background: var(--grad); flex-shrink: 0;
}
.reviewer b { display: block; font-size: 15px; }
.reviewer span { font-size: 13px; color: var(--muted-2); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 840px; margin: 0 auto; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: .24s; }
.qa.open { border-color: var(--violet); box-shadow: var(--shadow-sm); }
.qa-q {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 19px 22px; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.qa-q .qmark {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--violet); font-size: 14px; font-weight: 900; flex-shrink: 0;
}
.qa-q .arrow { margin-left: auto; transition: .3s; color: var(--muted-2); flex-shrink: 0; }
.qa.open .qa-q .arrow { transform: rotate(180deg); color: var(--violet); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .34s ease; }
.qa-a .inner { padding: 0 22px 22px 64px; color: var(--muted); font-size: 15.5px; }
.qa-a a { color: var(--violet); font-weight: 600; border-bottom: 1px dashed var(--violet); }

/* ---------------- 底部下载通道 ---------------- */
.dl-band {
  background: radial-gradient(700px 320px at 20% 0%, rgba(168, 85, 247, .5), transparent 60%),
              linear-gradient(150deg, #1a1238, #2a1c5c);
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  padding: 56px 30px; margin: 0 auto; position: relative; overflow: hidden;
}
.dl-band h2 { font-size: clamp(24px, 3.4vw, 34px); }
.dl-band p { color: rgba(255, 255, 255, .8); max-width: 620px; margin: 0 auto 28px; }
.dl-band .meta { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .62); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 56px 0 26px; margin-top: 74px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer .brand-name b { color: #fff; }
.site-footer .brand-name span { color: rgba(255, 255, 255, .5); }
.site-footer p { font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { font-size: 14px; color: rgba(255, 255, 255, .72); transition: .2s; }
.site-footer a:hover { color: #fff; }
.footer-note {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .52);
}
.footer-note .disc { margin-bottom: 10px; }
.footer-note .copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 24px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------------- 内页 ---------------- */
.page-hero {
  padding: 56px 0 44px; color: #fff;
  background: radial-gradient(800px 380px at 85% -30%, rgba(168, 85, 247, .55), transparent 62%),
              linear-gradient(150deg, #1a1238, #241a52);
}
.page-hero .crumbs { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(27px, 4vw, 42px); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 760px; margin: 0; font-size: 16.5px; }
.page-hero .hero-tags { margin-top: 20px; }

.article { padding: 56px 0; }
.article .wrap { max-width: 900px; }
.article h2 { font-size: 27px; margin-top: 42px; padding-left: 16px; border-left: 5px solid var(--violet); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 20px; margin-top: 28px; color: var(--ink); }
.article p { color: var(--ink-2); font-size: 16.5px; }
.article ul, .article ol { color: var(--ink-2); padding-left: 22px; }
.article li { margin-bottom: 9px; }
.article a { color: var(--violet); font-weight: 600; border-bottom: 1px dashed var(--violet); }
.article a:hover { color: var(--pink); border-color: var(--pink); }
.article .note {
  background: var(--grad-soft); border: 1px solid var(--line); border-left: 4px solid var(--pink);
  border-radius: 14px; padding: 18px 22px; margin: 22px 0;
}
.article .note p { margin: 0; font-size: 15.5px; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li {
  counter-increment: s; position: relative; padding: 22px 24px 22px 74px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 900;
}
.steps li b { display: block; font-size: 17px; margin-bottom: 5px; }
.steps li span { color: var(--muted); font-size: 15.5px; }

.related { background: var(--bg-2); border-radius: var(--radius); padding: 26px 28px; margin-top: 42px; }
.related h3 { font-size: 18px; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related li a { font-size: 15px; color: var(--violet); font-weight: 600; }
.related li a:hover { color: var(--pink); }

.toc {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; margin-bottom: 40px;
}
.toc h3 { font-size: 17px; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 7px; }
.toc a { color: var(--violet); font-weight: 600; font-size: 15px; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--bg-2); font-weight: 700; }
.tbl tr:last-child td { border-bottom: none; }

/* 滚动显现动画
   默认完全可见(利于无 JS 环境与搜索引擎抓取);
   仅在 JS 可用(html.js)时才启用初始隐藏态 */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone.float, .hero-glow { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .shot-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 14px 18px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: .32s; pointer-events: none; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 13px 16px; border-radius: 12px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-visual { order: -1; }
  .related ul { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
}
@media (max-width: 560px) {
  .shot-row { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
  body { font-size: 15.5px; }
}
