/* ==========================================================================
   PicACG漫画 picacgmanhua.cn —— 营销单页样式
   主题：暗黑霓虹 · 粒子氛围 · 移动端优先
   目录：1.变量  2.基础  3.导航  4.面包屑  5.Hero(粒子+3D摇摆)  6.优势卡
        7.流程时间线  8.界面快照  9.下载通道  10.评价  11.FAQ  12.页脚
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --bg: #14101f;            /* 深紫黑底 */
  --bg-2: #1b1530;          /* 卡片底 */
  --c-pink: #ff4d8f;        /* 品红主色 */
  --c-purple: #9b5cff;      /* 紫辅助 */
  --c-cyan: #53e5d8;        /* 青点缀 */
  --text: #e9e4f5;
  --text-soft: #a89fc4;
  --line: rgba(255, 77, 143, .25);
  --radius: 16px;
  --maxw: 1120px;
}

/* ---------- 2. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-pink); text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
section { scroll-margin-top: 76px; }

.section { padding: 64px 0; }
.section-kicker { font-size: 13px; letter-spacing: 2px; color: var(--c-pink); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.section h2 { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.section-sub { color: var(--text-soft); margin-bottom: 34px; max-width: 640px; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  text-align: center; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--c-pink), var(--c-purple)); color: #fff; box-shadow: 0 8px 24px rgba(255, 77, 143, .35); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid rgba(155, 92, 255, .7); }
.btn-download { background: var(--c-pink); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ---------- 3. 导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(20, 16, 31, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(155, 92, 255, .22); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--text); }
.brand-icon { display: inline-flex; }
.brand-icon img { border-radius: 8px; }
.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--text-soft); }
.main-nav a:hover { background: rgba(255, 77, 143, .14); color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.main-nav.open { display: flex; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; background: #1b1530; border-bottom: 1px solid var(--line); padding: 10px 18px 16px; }

/* ---------- 4. 面包屑 ---------- */
.breadcrumb { padding: 14px 18px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 6px; font-size: 13px; color: var(--text-soft); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb [aria-current] { color: var(--c-pink); font-weight: 600; }

/* ---------- 5. Hero：粒子 + 3D摇摆 ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 80px; }
.hero-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 143, .28), rgba(155, 92, 255, .14) 45%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
/* 粒子由 JS 生成，这里仅定义上升动画 */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; bottom: -10px; border-radius: 50%; opacity: 0;
  animation: riseUp linear infinite;
}
@keyframes riseUp {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .8; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

.hero-inner { display: flex; flex-direction: column; gap: 44px; position: relative; }
.hero-tag { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(155, 92, 255, .16); border: 1px solid rgba(155, 92, 255, .4); color: var(--c-cyan); font-size: 13px; font-weight: 600; margin-bottom: 16px; letter-spacing: 1px; }
.hero h1 { font-size: 32px; line-height: 1.35; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--c-pink), var(--c-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { font-size: 16px; color: var(--text-soft); margin-bottom: 26px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; list-style: none; }
.hero-stats strong { font-size: 20px; color: var(--c-pink); }
.hero-stats span { font-size: 13px; color: var(--text-soft); }

/* 手机样机：本站Hero动画方向 —— 3D透视左右摇摆 + 轨道光环旋转 */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; padding: 40px 0 10px; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 77, 143, .35); pointer-events: none; }
.orbit-a { width: 330px; height: 330px; animation: spin 26s linear infinite; }
.orbit-b { width: 250px; height: 250px; border-color: rgba(83, 229, 216, .3); animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: relative; width: 208px; padding: 9px; border-radius: 32px;
  background: linear-gradient(160deg, #2b2145, #120e1e);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 34px rgba(255, 77, 143, .28), inset 0 0 0 2px rgba(155, 92, 255, .35);
  animation: phoneSway 7s ease-in-out infinite; transform-style: preserve-3d;
}
.phone-notch { width: 82px; height: 19px; background: #120e1e; border-radius: 0 0 12px 12px; margin: 0 auto 7px; }
.phone img { border-radius: 21px; width: 100%; }
.phone-chip { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); background: linear-gradient(135deg, var(--c-pink), var(--c-purple)); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px rgba(255, 77, 143, .4); }
@keyframes phoneSway {
  0%, 100% { transform: perspective(700px) rotateY(-8deg) translateX(-6px); }
  50% { transform: perspective(700px) rotateY(8deg) translateX(6px); }
}
/* 版本核对卡片：与手机错位浮动 */
.version-card {
  position: absolute; top: 0; right: 6%; width: 148px; padding: 14px; border-radius: 14px;
  background: rgba(27, 21, 48, .92); border: 1px solid rgba(83, 229, 216, .35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  animation: cardFloat 5s ease-in-out infinite;
}
.version-card .vc-label { font-size: 10px; letter-spacing: 1px; color: var(--c-cyan); }
.version-card .vc-name { font-size: 15px; font-weight: 800; margin: 4px 0 2px; }
.version-card .vc-meta { font-size: 11px; color: var(--text-soft); }
.version-card .vc-status { display: inline-block; margin-top: 8px; font-size: 10px; color: var(--c-cyan); border: 1px solid rgba(83, 229, 216, .4); border-radius: 999px; padding: 2px 8px; }
@keyframes cardFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

/* ---------- 6. 优势亮点卡 ---------- */
.features { background: linear-gradient(180deg, var(--bg), #181227); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card {
  position: relative; background: var(--bg-2); border: 1px solid rgba(155, 92, 255, .28);
  border-radius: var(--radius); padding: 24px 20px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--c-pink); box-shadow: 0 14px 34px rgba(255, 77, 143, .18); }
.feature-idx { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 800; color: var(--c-pink); letter-spacing: 1px; font-family: "Consolas", monospace; }
.feature-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: linear-gradient(var(--c-pink), var(--c-purple)); opacity: .8; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; padding-left: 6px; }
.feature-card p { font-size: 14px; color: var(--text-soft); padding-left: 6px; }

/* ---------- 7. 使用流程时间线 ---------- */
.flow { background: var(--bg); }
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--c-pink), var(--c-purple), var(--c-cyan)); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 22px 52px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-num {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-pink), var(--c-purple)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
  box-shadow: 0 0 16px rgba(255, 77, 143, .45);
}
.tl-body h3 { font-size: 17px; margin-bottom: 4px; }
.tl-body p { font-size: 14px; color: var(--text-soft); }

/* ---------- 8. 界面快照 ---------- */
.shots { background: #181227; }
.shot-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shot { flex: 0 0 auto; width: 172px; text-align: center; scroll-snap-align: start; }
.shot img { width: 172px; border-radius: 16px; border: 1px solid rgba(155, 92, 255, .3); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); }
.shot figcaption { margin-top: 8px; font-size: 13px; color: var(--text-soft); }
.shot-scroll::-webkit-scrollbar { height: 6px; }
.shot-scroll::-webkit-scrollbar-thumb { background: var(--c-purple); border-radius: 3px; }

/* ---------- 9. 下载中心 ---------- */
.download { background: linear-gradient(160deg, #241a3f, var(--bg)); }
.channel-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 34px; }
.channel-card {
  display: block; background: var(--bg-2); border: 1px solid rgba(155, 92, 255, .3);
  border-radius: var(--radius); padding: 22px 20px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.channel-card:hover { transform: translateY(-5px); border-color: var(--c-cyan); box-shadow: 0 14px 30px rgba(83, 229, 216, .15); }
.channel-tag { font-size: 11px; color: var(--c-cyan); font-family: "Consolas", monospace; letter-spacing: 1px; }
.channel-card h3 { font-size: 18px; margin: 6px 0 6px; }
.channel-card p { font-size: 13px; color: var(--text-soft); margin-bottom: 10px; }
.channel-go { font-size: 14px; font-weight: 700; color: var(--c-pink); }
.download-cta { text-align: center; }
.cta-note { margin-top: 12px; font-size: 13px; color: var(--text-soft); }

/* ---------- 10. 用户评价 ---------- */
.reviews { background: var(--bg); }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card {
  background: var(--bg-2); border: 1px solid rgba(155, 92, 255, .25); border-radius: var(--radius);
  padding: 22px 20px; font-style: normal;
}
.review-text { font-size: 14px; color: var(--text); margin-bottom: 14px; }
.review-card footer { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--c-pink), var(--c-purple)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.reviewer { font-size: 14px; font-weight: 600; }
.role { font-size: 12px; color: var(--text-soft); }

/* ---------- 11. FAQ ---------- */
.faq { background: #181227; }
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--bg-2); border: 1px solid rgba(155, 92, 255, .25); border-radius: 14px; padding: 0 18px; }
.faq-item summary { list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--c-pink); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 14px; color: var(--text-soft); padding-bottom: 18px; }

/* ---------- 12. 页脚 ---------- */
.site-footer { background: #0e0b18; border-top: 1px solid rgba(155, 92, 255, .2); color: var(--text-soft); padding: 44px 0 0; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; padding-bottom: 26px; }
.footer-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.footer-note { font-size: 13px; opacity: .8; max-width: 460px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--text-soft); font-size: 14px; }
.footer-links a:hover { color: var(--c-pink); }
.footer-meta { border-top: 1px solid rgba(155, 92, 255, .16); padding: 16px 18px; font-size: 12px; opacity: .75; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }

.back-top { position: fixed; right: 18px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c-pink), var(--c-purple)); color: #fff; border: 0; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 8px 20px rgba(255, 77, 143, .4); z-index: 90; }
.back-top.show { opacity: 1; visibility: visible; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero-inner { flex-direction: row; align-items: center; gap: 50px; }
  .hero-copy { flex: 1.1; }
  .hero-visual { flex: 1; }
  .hero h1 { font-size: 40px; }
  .section { padding: 84px 0; }
  .section h2 { font-size: 32px; }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .timeline::before { left: 8px; right: 8px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .tl-item { padding: 0 0 0 0; text-align: center; }
  .tl-num { left: 50%; transform: translateX(-50%); top: 0; }
  .tl-body { margin-top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
