/* ============================================
   阅站漫画 · 官网样式
   主色：青绿 teal #0D9488 / #14B8A6 / #06B6D4
   ============================================ */

:root {
  --teal-900: #134E4A;
  --teal-800: #115E59;
  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-300: #5EEAD4;
  --teal-100: #CCFBF1;
  --teal-50:  #F0FDFA;
  --cyan-500: #06B6D4;
  --ink-900: #134E4A;
  --ink-600: #4B5563;
  --ink-400: #8B8FA3;
  --bg: #FFFFFF;
  --bg-alt: #F0FDFA;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(13,148,136,.1);
  --shadow-lg: 0 20px 50px rgba(13,148,136,.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: #fff;
  color: var(--teal-700);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(0,0,0,.28); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

.btn-small { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 44px; font-size: 17px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--teal-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 15px;
  color: var(--ink-600);
  font-weight: 500;
}
.nav-links a:hover { color: var(--teal-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-600) 50%, var(--cyan-500) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(94,234,212,.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(19,78,74,.5), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 100px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--teal-100);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.92);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex; gap: 40px; list-style: none;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; color: var(--teal-100); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.75); }

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-art {
  width: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.3);
  transform: rotate(3deg);
}
.hero-art img { width: 100%; height: auto; }

/* ---------- 通用 Section ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--teal-900); color: #fff; }
.section-dark .section-eyebrow { color: var(--teal-300); }
.section-dark .section-desc { color: rgba(255,255,255,.65); }
.section-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-desc {
  text-align: center;
  color: var(--ink-400);
  max-width: 560px;
  margin: 0 auto 50px;
}

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-thumb {
  height: 220px;
  overflow: hidden;
  background: var(--teal-100);
}
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 22px 24px 28px; }
.feature-body h3 { font-size: 19px; margin-bottom: 8px; }
.feature-body p { font-size: 14px; color: var(--ink-400); }

/* ---------- 截图 ---------- */
.screen-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 680px;
  margin: 0 auto;
}
.screen-item {
  background: var(--teal-800);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid rgba(94,234,212,.2);
  text-align: center;
}
.screen-item img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.screen-item figcaption {
  padding: 14px 0 6px;
  font-size: 14px;
  color: var(--teal-300);
  font-weight: 500;
}

/* ---------- 分类卡片 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal-500);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 12px;
}
.cat-blue  { background: #DBEAFE; color: #1D4ED8; }
.cat-cyan  { background: #CFFAFE; color: #0E7490; }
.cat-red   { background: #FEE2E2; color: #B91C1C; }
.cat-purple{ background: #EDE9FE; color: #6D28D9; }
.cat-gold  { background: #FEF3C7; color: #B45309; }
.cat-card h3 { font-size: 19px; margin-bottom: 8px; }
.cat-card p { font-size: 14px; color: var(--ink-400); }

/* ---------- 榜单 ---------- */
.rank-list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--bg-alt);
}
.rank-item:last-child { border-bottom: none; }
.rank-no {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink-400);
  width: 44px;
  text-align: center;
}
.rank-no-1 { color: var(--teal-500); }
.rank-no-2 { color: #94A3B8; }
.rank-no-3 { color: #B45309; }
.rank-item h3 { font-size: 17px; }
.rank-item p { font-size: 13px; color: var(--ink-400); }
.rank-heat {
  margin-left: auto;
  font-size: 13px;
  color: var(--teal-600);
  font-weight: 600;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--teal-800), var(--cyan-500));
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(94,234,212,.3), transparent 60%);
}
.cta-inner { position: relative; }
.cta-mascot {
  width: 90px; height: 90px;
  object-fit: cover;
  border-radius: 22px;
  margin: 0 auto 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cta h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); margin-bottom: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 18px; margin-bottom: 0 !important; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--teal-900);
  color: rgba(255,255,255,.75);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.footer-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a:hover { color: var(--teal-300); }
.copyright { font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 50px 0 70px; }
  .hero-art { width: 240px; margin-top: 20px; }
  .feature-grid, .cat-grid { grid-template-columns: 1fr; }
  .screen-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .rank-heat { display: none; }
}
