/* ============================================================
   谜妹漫画app 官网 — 粉色少女水彩风
   配色：淡粉白 #fff7fb / 粉 #ff6b9d / 黄 #f5c518 / 深粉棕 #4a2838
   ============================================================ */

:root {
  --bg: #fff7fb;
  --bg-soft: #ffeef5;
  --card: #ffffff;
  --line: #f5d5e3;
  --text: #4a2838;
  --text-soft: #a8788a;
  --pink: #ff6b9d;
  --pink-deep: #e0447a;
  --yellow: #f5c518;
  --gradient: linear-gradient(135deg, #ff6b9d, #f5c518);
  --radius: 16px;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}
.brand-name em { font-style: normal; color: var(--pink); }
.brand-tag {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-soft); }
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.9; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ========== Hero ========== */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255, 107, 157, 0.15), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(245, 197, 24, 0.15), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pink-deep);
  background: rgba(255, 107, 157, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-tagline::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
}
.hero h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 36px;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  font-size: 15px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--card);
}
.hero-meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-soft);
}
.hero-meta b { color: var(--text); font-weight: 600; }

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: 340px;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(255, 107, 157, 0.25);
}

/* ========== 通用 Section ========== */
.section { padding: 72px 0; }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-soft); max-width: 560px; margin: 0 auto; }

/* ========== 功能卡 ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(255, 107, 157, 0.12);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(245, 197, 24, 0.15));
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* ========== 应用界面 ========== */
.shots-section { background: var(--bg-soft); }
.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  background: var(--bg-soft);
}
.shot-card h4 {
  margin-top: 16px;
  font-size: 16px;
}
.shot-card span {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ========== 下载 CTA ========== */
.download-cta {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(245, 197, 24, 0.1)), var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
}
.download-cta h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 10px;
}
.download-cta p { color: var(--text-soft); margin-bottom: 28px; }
.download-meta {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 16px;
}
.download-meta b { color: var(--text); }

/* ========== FAQ ========== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--pink);
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-soft);
  font-size: 14px;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 24px 20px;
}

/* ========== Footer ========== */
.site-footer {
  padding: 40px 0 48px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.site-footer .brand { justify-content: center; margin-bottom: 10px; }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer .brand-name { font-size: 16px; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-visual img { width: 260px; }
  .features-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .shots-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(255, 107, 157, 0.08);
  }
}
