/* ============================================================
   扑飞漫画 · 官网样式
   主题：深空蓝黑底 + 电光蓝主色 + 蜜蜂黄强调
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #0b1020;
  --bg-soft: #121a33;
  --bg-card: #16203d;
  --line: rgba(148, 163, 184, 0.14);

  --primary: #38bdf8;        /* 电光蓝 */
  --primary-deep: #0ea5e9;
  --primary-dark: #0369a1;
  --accent: #fbbf24;         /* 蜜蜂黄 */
  --accent-deep: #f59e0b;

  --text: #f1f5f9;
  --text-sub: #94a3b8;
  --text-dim: #64748b;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 10px 40px rgba(14, 165, 233, 0.25);
  --maxw: 1180px;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* 用户要求：点开不自动滚动，关闭平滑滚动 */
  scroll-behavior: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- 顶部导航 ---------- */
.nav {
  position: relative;
  z-index: 10;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-name em {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-sub);
  font-size: 15px;
  transition: color 0.2s;
}

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #1a1205;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -160px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 .hl {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  color: var(--text-dim);
  font-size: 14px;
}

.hero-meta span::before {
  content: "✓";
  color: var(--accent);
  margin-right: 6px;
  font-weight: 700;
}

/* 手机样机 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  height: 600px;
  border-radius: 38px;
  background: #0a0f22;
  border: 10px solid #1e293b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  overflow: hidden;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 16, 32, 0.8);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.float-chip {
  position: absolute;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.float-chip.c1 { top: 40px; left: -30px; }
.float-chip.c2 { bottom: 120px; right: -30px; }

/* ---------- 数据条 ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
  text-align: center;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.stat-num small {
  font-size: 16px;
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  color: var(--text-sub);
  font-size: 14px;
  margin-top: 4px;
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-sub);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- 功能卡片 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 分类书库 ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  display: block;
  color: var(--text);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cat-card:hover img { transform: scale(1.06); }

.cat-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 32, 0.92) 0%, rgba(11, 16, 32, 0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.cat-mask h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cat-mask p {
  font-size: 13px;
  color: var(--text-sub);
}

/* 黄色 CTA 引导卡 */
.cat-cta {
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1205;
}

.cat-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(251, 191, 36, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-cta-inner {
  text-align: center;
  padding: 20px;
}

.cat-cta-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
}

.cat-cta-txt {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cat-cta-arrow {
  font-size: 22px;
  font-weight: 700;
}

/* ---------- 亮点截图 ---------- */
.showcase {
  background: var(--bg-soft);
}

.showcase-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.num-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}

.num-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  margin-bottom: 22px;
  letter-spacing: 2px;
}

.num-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.num-item p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 下载 CTA ---------- */
.download-cta {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.18), transparent 60%);
  pointer-events: none;
}

.download-cta .cta-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.download-cta h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.download-cta p {
  color: var(--text-sub);
  font-size: 17px;
  margin-bottom: 36px;
}

.download-cta .btn {
  font-size: 18px;
  padding: 16px 48px;
}

.cta-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.footer .foot-brand {
  color: var(--text-sub);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { padding: 50px 0 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero h1 { font-size: 40px; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }

  .nav-links { display: none; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .download-cta h2 { font-size: 30px; }

  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .phone { width: 260px; height: 520px; }
}
