/* ============ 欲漫社 官网样式（深梅紫 + 亮橙撞色） ============ */
:root {
  --bg: #1e1220;
  --bg-2: #2a1829;
  --card: #2d1b2e;
  --border: rgba(255, 159, 10, 0.18);
  --primary: #ff9f0a;
  --primary-2: #ffb340;
  --grad: linear-gradient(135deg, #ffb340 0%, #ff9f0a 55%, #ff6b35 100%);
  --text: #faf3ee;
  --muted: #b09aa8;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.grad-text {
  background: linear-gradient(135deg, #ffb340, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ico { width: 18px; height: 18px; flex: none; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #2a1503;
  box-shadow: 0 10px 26px rgba(255, 159, 10, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 159, 10, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 159, 10, 0.1); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 18, 32, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; }
.brand-name { font-size: 21px; font-weight: 900; letter-spacing: 1px; }
.brand-name em { font-style: normal; background: linear-gradient(135deg, #ffb340, #ff6b35); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 28px; }
.nav-link { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-download { padding: 9px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ============ Hero ============ */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .28; }
.blob-1 { width: 460px; height: 460px; background: #ff9f0a; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #c026d3; bottom: -120px; left: -60px; opacity: .2; }

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid rgba(255, 159, 10, 0.35);
  color: #ffb340;
  font-size: 13px;
  margin-bottom: 22px;
}
.hero-title { font-size: 52px; line-height: 1.18; font-weight: 900; letter-spacing: 1px; }
.hero-sub { margin: 22px 0 32px; color: var(--muted); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
  margin-top: 44px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 900; color: #ffb340; }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: 300px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #ffb340, #ff6b35);
  box-shadow: var(--shadow);
}
.phone-img { border-radius: 32px; width: 100%; }

/* ============ 通用 Section ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: #ffb340;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 38px; font-weight: 900; line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 159, 10, 0.5); }
.feature-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,159,10,.22), rgba(255,107,53,.22));
  color: #ffb340;
  margin-bottom: 18px;
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ============ 应用展示 ============ */
.shots-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.shot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.shot:hover { transform: translateY(-6px); border-color: rgba(255, 159, 10, 0.5); }
.shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }
.shot figcaption {
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ============ 下载 CTA ============ */
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  background: var(--grad);
  border-radius: 26px;
  padding: 54px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(255, 159, 10, 0.3);
}
.download-info h2 { font-size: 34px; font-weight: 900; margin: 18px 0 14px; color: #2a1503; }
.download-info p { color: #5c3308; margin-bottom: 28px; max-width: 460px; }
.download-logo { width: 64px; height: 64px; border-radius: 16px; background: #2a1503; padding: 6px; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.download-side { display: flex; justify-content: flex-end; }
.download-side img {
  height: 300px;
  border-radius: 20px;
  border: 4px solid #2a1503;
  box-shadow: 0 14px 36px rgba(0,0,0,.3);
  object-fit: cover;
}

/* ============ 页脚 ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-2);
}
.footer-wrap { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.footer-logo { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand span { font-weight: 600; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin-bottom: 18px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.copyright { color: #7a6570; font-size: 13px; }

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #2a1503;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(255, 159, 10, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero { padding: 50px 0 70px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-title { font-size: 38px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; padding: 36px; }
  .download-side { justify-content: center; }

  .nav-links, .nav-download { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 18px 6%;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .hero-title { font-size: 30px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .shots-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-stats { gap: 22px; }
  .phone-frame { width: 240px; }
  .download-info h2 { font-size: 26px; }
}
