/* ============================================================
   香蕉漫画app 官网 — 深色科技风 × 香蕉黄
   配色：深棕黑 #1a1408 / 卡片 #2d2314 / 香蕉黄 #ffd93d / 橙 #e67e22
   ============================================================ */

:root {
  --bg: #1a1408;
  --bg-soft: #241c10;
  --card: #2d2314;
  --line: #3d301c;
  --text: #f5e8c8;
  --text-soft: #a89880;
  --banana: #ffd93d;
  --banana-deep: #f5b800;
  --orange: #e67e22;
  --gradient: linear-gradient(135deg, #ffd93d, #e67e22);
  --radius: 12px;
  --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(26, 20, 8, 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;
  background: #fff;
}
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}
.brand-name em { font-style: normal; color: var(--banana); }
.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(--banana); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--gradient);
  color: var(--bg);
  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 48px;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255, 217, 61, 0.12), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--banana);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.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: 520px;
  margin-bottom: 24px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-tags span {
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
}
.hero-tags span:hover { border-color: var(--banana); color: var(--banana); }
.hero-actions { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  background: var(--gradient);
  color: var(--bg);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.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);
}
.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: 300px;
  border-radius: 24px;
  border: 6px solid var(--card);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

/* 大数字统计 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-cell {
  background: var(--bg);
  padding: 28px 24px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--banana);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}

/* ========== 通用 Section ========== */
.section { padding: 72px 0; }
.section-num {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--banana);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-head p { color: var(--text-soft); max-width: 640px; }

/* ========== 六大功能 ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease;
}
.feature-card:hover { border-color: var(--banana); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255, 217, 61, 0.12);
  color: var(--banana);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* ========== 搜索实验室 ========== */
.search-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.search-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.filter-group label {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tags span {
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-soft);
  cursor: pointer;
}
.filter-tags span.active {
  border-color: var(--banana);
  color: var(--banana);
}
.search-result-title {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.search-result-title b { color: var(--banana); }
.search-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.search-results li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text-soft);
}
.search-results li b { color: var(--text); font-weight: 500; margin-right: 8px; }
.search-results li span { color: var(--banana); font-size: 12px; margin-left: 8px; }

/* ========== 榜单中心 ========== */
.rank-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.rank-tab {
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--text-soft);
  cursor: pointer;
}
.rank-tab.active {
  background: var(--banana);
  border-color: var(--banana);
  color: var(--bg);
}
.rank-panels { position: relative; }
.rank-panel { display: none; }
.rank-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rank-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-soft);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rank-num {
  font-family: var(--serif);
  font-size: 22px;
  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 { color: var(--banana); }
.rank-info { flex: 1; }
.rank-info h5 { font-size: 15px; margin-bottom: 2px; }
.rank-info span { font-size: 12px; color: var(--text-soft); }
.rank-heat { font-size: 13px; color: var(--banana); }

/* ========== 周历 ========== */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.week-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.week-cell.today { border-color: var(--banana); }
.week-day {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.week-date {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.week-work {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
}
.week-time { font-size: 11px; color: var(--text-soft); }
.week-remind {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 217, 61, 0.15);
  color: var(--banana);
}

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

/* ========== 下载 CTA ========== */
.download-cta {
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.12), rgba(230, 126, 34, 0.05)), var(--card);
  border: 1px solid var(--banana);
  border-radius: var(--radius);
  padding: 56px 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: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  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(--banana);
}
.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 22px;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 22px 18px;
}

/* ========== 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: 26px; height: 26px; }
.site-footer .brand-name { font-size: 16px; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .search-filters { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr; }
  .rank-panel.active { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .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;
  }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: 1fr; }
}
