/* ============================================================
   喵趣漫画 官网 — 明亮暖橙奶油白卡通杂志风
   配色：奶油白 #fff8f0 / 白卡 #ffffff / 橙 #ff8c42 / 黄 #ffd93d / 粉 #ffb6c1
   ============================================================ */

:root {
  --bg: #fff8f0;
  --bg-soft: #fff0e0;
  --card: #ffffff;
  --line: #f5e6d0;
  --text: #2d1f0e;
  --text-soft: #8a7560;
  --orange: #ff8c42;
  --orange-deep: #ff6b1a;
  --yellow: #ffd93d;
  --pink: #ffb6c1;
  --gradient: linear-gradient(135deg, #ff8c42, #ffd93d);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 6px 24px rgba(255, 140, 66, 0.12);
  --shadow-lg: 0 16px 48px rgba(255, 140, 66, 0.2);
  --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, 248, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 42px; height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.brand-name em { font-style: normal; color: var(--orange-deep); }
.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 { transition: color 0.2s; }
.nav-links a:hover { color: var(--orange-deep); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 11px 26px;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
.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: 72px 0 56px;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255, 217, 61, 0.25), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(255, 182, 193, 0.2), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--orange-deep);
  background: rgba(255, 140, 66, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-tags span {
  font-size: 13px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero-tags span:hover { border-color: var(--orange); color: var(--orange-deep); }
.hero-actions { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 36px;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero-meta {
  font-size: 13px;
  color: var(--text-soft);
}
.hero-meta b { color: var(--text); font-weight: 600; }

.hero-phone { display: flex; justify-content: center; }
.hero-phone img {
  width: 320px;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--card);
}

/* 大数字统计 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 10px;
}

/* ========== 通用 Section ========== */
.section { padding: 80px 0; }
.section-head { margin-bottom: 48px; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  background: rgba(255, 140, 66, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-head p { color: var(--text-soft); max-width: 640px; 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;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 14px; color: var(--text-soft); line-height: 1.8; }

/* ========== 频道 Pill ========== */
.channels-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}
.channels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.channel-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: default;
}
.channel-pill:hover {
  border-color: var(--orange);
  background: rgba(255, 140, 66, 0.08);
  color: var(--orange-deep);
}
.channel-pill .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ========== 榜单中心 ========== */
.rank-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.rank-tab {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.rank-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow);
}
.rank-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rank-panel.active { display: grid; }
.rank-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.rank-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-soft);
  margin-bottom: 16px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--line);
  width: 32px;
}
.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rank-info { flex: 1; }
.rank-info h5 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.rank-info span { font-size: 12px; color: var(--text-soft); }
.rank-heat { font-size: 13px; color: var(--orange-deep); font-weight: 600; }

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

/* ========== 下载 CTA ========== */
.download-cta {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
  border-radius: 50%;
}
.download-cta h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin-bottom: 12px;
  position: relative;
}
.download-cta p {
  opacity: 0.92;
  margin-bottom: 32px;
  font-size: 16px;
  position: relative;
}
.download-cta .btn-white {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 48px;
  background: #fff;
  color: var(--orange-deep);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.15s;
}
.download-cta .btn-white:hover { transform: translateY(-2px); }
.download-meta {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 20px;
  position: relative;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.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: 24px;
  color: var(--orange);
  font-weight: 300;
}
.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: 48px 0 56px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  background: var(--bg-soft);
}
.site-footer .brand { justify-content: center; margin-bottom: 12px; }
.site-footer .brand img { width: 32px; height: 32px; }
.site-footer .brand-name { font-size: 18px; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 36px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .rank-panel.active { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: 1fr; max-width: 340px; 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: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 16px;
  }
}
