/* venera漫画 共享样式表 */
:root {
  --c-bg: #f7f6fc;
  --c-bg-soft: #ffffff;
  --c-bg-card: #ffffff;
  --c-text: #1d1b2e;
  --c-text-soft: #4f4b66;
  --c-text-mute: #7a7693;
  --c-line: #e8e6f4;
  --c-primary: #635bff;
  --c-primary-dark: #4a44d4;
  --c-accent: #c454e0;
  --c-warn: #ff6a5b;
  --c-ok: #20a17b;
  --c-amber: #f1b73a;
  --shadow-sm: 0 2px 8px rgba(60, 50, 130, 0.06);
  --shadow-md: 0 12px 32px rgba(60, 50, 130, 0.10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-primary-dark); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--c-text);
  font-size: 18px;
}
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-brand .word { line-height: 1; }
.nav-brand .word small {
  display: block;
  font-weight: 500;
  color: var(--c-text-mute);
  font-size: 11px;
  margin-top: 4px;
  letter-spacing: 0.4px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--c-text-soft);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--c-primary);
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.nav-cta {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { color: #fff !important; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(196, 84, 224, 0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(99, 91, 255, 0.10), transparent 65%),
    linear-gradient(180deg, #fbfaff 0%, var(--c-bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(99, 91, 255, 0.08);
  color: var(--c-primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-ok);
  box-shadow: 0 0 0 3px rgba(32, 161, 123, 0.18);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.18;
  font-weight: 800;
  margin: 18px 0 18px;
  letter-spacing: -0.4px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17px;
  color: var(--c-text-soft);
  margin: 0 0 28px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(99, 91, 255, 0.32);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(99, 91, 255, 0.40); }
.btn-ghost {
  background: var(--c-bg-soft);
  color: var(--c-text);
  border: 1px solid var(--c-line);
}
.btn-ghost:hover { color: var(--c-primary); border-color: var(--c-primary); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  color: var(--c-text-mute);
  font-size: 14px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust b { color: var(--c-text); font-size: 18px; font-weight: 800; }
.hero-trust svg { width: 18px; height: 18px; color: var(--c-primary); }

/* Hero 设备预览 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual .phone {
  position: relative;
  width: 320px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(50, 30, 110, 0.30);
  background: #111;
  border: 8px solid #1c1b2a;
  transform: rotate(2deg);
}
.hero-visual .phone img { display: block; width: 100%; }
.hero-visual .badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--c-text-soft);
}
.hero-visual .badge b { display: block; color: var(--c-text); font-size: 14px; }
.hero-visual .badge.tl { top: 28px; left: -40px; }
.hero-visual .badge.br { bottom: 36px; right: -30px; }
.hero-visual .badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-ok); }

/* ===== 通用区块 ===== */
.section {
  padding: 70px 0;
}
.section.tight { padding: 50px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.section-head .eyebrow {
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: 1.4px;
  font-size: 13px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0 14px;
  letter-spacing: -0.2px;
}
.section-head p { color: var(--c-text-soft); margin: 0; }

/* ===== 信任数据条 ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.stat {
  text-align: center;
  padding: 6px;
}
.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat span { color: var(--c-text-mute); font-size: 13px; }

/* ===== 核心功能卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.12), rgba(196, 84, 224, 0.12));
  color: var(--c-primary);
  margin-bottom: 14px;
}
.feature-card .icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--c-text); }
.feature-card p { margin: 0; color: var(--c-text-soft); font-size: 14.5px; line-height: 1.7; }

/* ===== 截图 gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery .shot {
  background: #1c1b2a;
  border-radius: 18px;
  padding: 8px;
  border: 1px solid #2a293b;
  transition: transform .2s ease;
}
.gallery .shot:hover { transform: translateY(-4px); }
.gallery .shot img { border-radius: 12px; aspect-ratio: 9/19; object-fit: cover; }
.gallery .shot span {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding: 8px 0 4px;
  opacity: .9;
}

/* ===== 深度内容入口 ===== */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cta-card {
  position: relative;
  display: block;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  color: var(--c-text);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--c-text); }
.cta-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.cta-card .num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 56px;
  font-weight: 900;
  color: rgba(99, 91, 255, 0.10);
  line-height: 1;
}
.cta-card h3 { margin: 0 0 10px; font-size: 20px; }
.cta-card p { color: var(--c-text-soft); margin: 0 0 18px; font-size: 14.5px; }
.cta-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 14px;
}

/* ===== 用户评价 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review .quote {
  font-size: 28px;
  line-height: 1;
  color: var(--c-primary);
  opacity: .35;
  font-family: Georgia, serif;
}
.review p { margin: 0 0 16px; color: var(--c-text); font-size: 14.5px; line-height: 1.75; }
.review .who { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--c-line); padding-top: 14px; }
.review .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.review .who b { display: block; color: var(--c-text); font-size: 14px; }
.review .who small { color: var(--c-text-mute); font-size: 12px; }

/* ===== FAQ 速览 ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--c-text);
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--c-primary);
  transition: transform .2s ease;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--c-text-soft); font-size: 14.5px; line-height: 1.8; }

/* ===== 下载条 ===== */
.download-band {
  background: linear-gradient(135deg, #5a52ff 0%, #b146df 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  box-shadow: 0 24px 60px rgba(99, 91, 255, 0.30);
}
.download-band h3 { margin: 0 0 6px; font-size: 24px; }
.download-band p { margin: 0; opacity: .88; }
.download-band .btn { background: #fff; color: var(--c-primary); }
.download-band .btn:hover { color: var(--c-primary-dark); transform: translateY(-2px); }

/* ===== 内页：面包屑 + H1 ===== */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--c-text-mute);
}
.breadcrumb a { color: var(--c-text-mute); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

.page-hero {
  padding: 36px 0 24px;
}
.page-hero h1 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  margin: 8px 0 12px;
  letter-spacing: -0.2px;
}
.page-hero .lede {
  color: var(--c-text-soft);
  font-size: 16px;
  max-width: 760px;
  margin: 0;
}
.page-hero .meta {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-text-mute);
}
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }

.toc {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 40px;
  box-shadow: var(--shadow-sm);
}
.toc h4 { margin: 0 0 10px; font-size: 14px; color: var(--c-text-mute); font-weight: 700; letter-spacing: 0.5px; }
.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}
.toc li { margin: 4px 0; font-size: 14.5px; }
.toc li a { color: var(--c-text-soft); }
.toc li a:hover { color: var(--c-primary); }

/* ===== 文章正文 ===== */
.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text);
}
.prose h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 44px 0 14px;
  padding-top: 8px;
  position: relative;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 16px;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-accent));
  border-radius: 2px;
}
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--c-text);
}
.prose p { margin: 0 0 14px; color: var(--c-text-soft); }
.prose strong { color: var(--c-text); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--c-text-soft); }
.prose li { margin: 4px 0; }
.prose code {
  background: #efedfb;
  color: var(--c-primary-dark);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Consolas", "Menlo", monospace;
  font-size: 13.5px;
}
.prose blockquote {
  margin: 18px 0;
  padding: 14px 20px;
  background: linear-gradient(90deg, rgba(99, 91, 255, 0.06), rgba(196, 84, 224, 0.04));
  border-left: 3px solid var(--c-primary);
  border-radius: 8px;
  color: var(--c-text-soft);
  font-size: 15px;
}
.prose .callout {
  background: #fff8e6;
  border: 1px solid #f3d97a;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  color: #6a4a00;
  font-size: 14.5px;
}
.prose .callout b { color: #553c00; }

/* 步骤卡片 */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0 8px;
  counter-reset: step;
}
.step {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}
.step .badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(99, 91, 255, 0.30);
}
.step .badge::before { content: counter(step); }
.step h3 { margin: 2px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--c-text-soft); font-size: 15px; }
.step p + .sub { margin-top: 8px; }
.step .sub { color: var(--c-text-mute); font-size: 13.5px; }

/* 功能深度卡片 */
.feat-deep {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}
.feat-deep .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.12), rgba(196, 84, 224, 0.12));
  color: var(--c-primary);
  font-size: 24px;
  font-weight: 800;
}
.feat-deep h3 { margin: 0 0 6px; font-size: 19px; }
.feat-deep .scene { color: var(--c-text-mute); font-size: 13.5px; margin-bottom: 12px; letter-spacing: 0.2px; }
.feat-deep .row { margin: 8px 0; font-size: 15px; color: var(--c-text-soft); }
.feat-deep .row b { color: var(--c-text); font-weight: 700; margin-right: 6px; }

/* FAQ 分组 */
.faq-group { margin-bottom: 36px; }
.faq-group h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--c-primary);
}

/* ===== 底部 ===== */
.footer {
  background: #14132a;
  color: #b3b0d4;
  padding: 50px 0 24px;
  font-size: 14px;
  line-height: 1.7;
}
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer h5 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
  letter-spacing: 0.4px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 6px 0; }
.footer a { color: #b3b0d4; }
.footer a:hover { color: #fff; }
.footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer .brand img { width: 32px; height: 32px; border-radius: 6px; }
.footer .brand b { color: #fff; }
.footer .desc { color: #9592ba; max-width: 320px; }
.footer .legal {
  border-top: 1px solid #2a2849;
  padding-top: 18px;
  font-size: 12.5px;
  color: #9592ba;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer .disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed #353362;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0 6px;
  color: #cfcce8;
  font-size: 13px;
}

/* 移动端 */
@media (max-width: 980px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-visual .phone { width: 260px; transform: rotate(0); }
  .hero-visual .badge.tl { left: -10px; }
  .hero-visual .badge.br { right: -10px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cta-grid, .review-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 24px; gap: 8px; border-bottom: 1px solid var(--c-line); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 0; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .nav-toggle { display: block; }
  .container { padding: 0 18px; }
  .hero h1 { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .download-band { padding: 32px 24px; text-align: center; }
  .download-band h3 { font-size: 20px; }
  .footer .grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
  .step { grid-template-columns: 1fr; }
}

/* IO 渐显（渐进增强：仅当 JS 成功运行时才隐藏元素做入场动画，JS 不可用时内容直接可见） */
html.js .io-fade { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
html.js .io-fade.visible { opacity: 1; transform: translateY(0); }

/* 图片兜底：任何情况下都不允许图片被隐藏或塌陷 */
.gallery .shot img, .phone img { display: block; max-width: 100%; height: auto; }
img { min-height: 1px; }
