/* =================================================================
   动漫共和国 - 独立 SEO 专题站
   主题：深蓝紫渐变 + 珊瑚粉强调 + 暖金徽章
   ================================================================= */

:root {
  --bg-0: #0a0a1f;
  --bg-1: #11112a;
  --bg-2: #1a1a3a;
  --bg-3: #23234d;
  --surface: #1d1d44;
  --surface-2: #272754;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f3fb;
  --text-2: #b9b9d2;
  --text-3: #8888a8;
  --primary: #7B3DC4;
  --primary-2: #4F2DA6;
  --accent: #FF4C7A;
  --accent-2: #FF7AA0;
  --gold: #F5B847;
  --cyan: #2DD4FF;
  --gradient-hero: linear-gradient(135deg, #1A0F3E 0%, #2D1B6B 35%, #4F2DA6 70%, #7B3DC4 100%);
  --gradient-cta: linear-gradient(135deg, #FF4C7A 0%, #FF7AA0 100%);
  --gradient-line: linear-gradient(90deg, transparent 0%, #FF4C7A 30%, #F5B847 70%, transparent 100%);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 10px 30px rgba(255, 76, 122, 0.35);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --content-w: 1200px;
  --gap-1: 8px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 32px;
  --gap-5: 48px;
  --gap-6: 72px;
}

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

html, body { background: var(--bg-0); color: var(--text); }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(123, 61, 196, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(255, 76, 122, 0.18), transparent 60%),
    var(--bg-0);
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

.container { max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }

/* ============== 顶部导航 ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 31, 0.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: var(--content-w); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand .name {
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: 0.5px;
}
.brand .name small { color: var(--text-3); font-weight: 400; font-size: 11px; margin-left: 6px; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
  color: var(--text-2); font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gradient-cta); border-radius: 2px;
}
.nav-cta {
  background: var(--gradient-cta); color: #fff;
  padding: 9px 18px; border-radius: 99px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-glow);
}
.nav-cta:hover { color: #fff; transform: translateY(-1px); }

.nav-toggle { display: none; background: transparent; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ============== Hero ============== */
.hero {
  position: relative; padding: 72px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 76, 122, 0.25), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(45, 212, 255, 0.2), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-strong);
  padding: 6px 14px; border-radius: 99px; font-size: 13px; color: var(--text-2);
  margin-bottom: 18px;
}
.hero-tag .dot { width: 8px; height: 8px; background: #2DD4FF; border-radius: 50%; box-shadow: 0 0 10px #2DD4FF; }
.hero h1 {
  font-size: 46px; line-height: 1.15; font-weight: 900; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero h1 em {
  font-style: normal;
  background: var(--gradient-cta); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.88);
  max-width: 560px; margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px; font-weight: 700; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease; border: 0; cursor: pointer;
}
.btn-primary { background: var(--gradient-cta); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 76, 122, 0.5); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-meta { margin-top: 24px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.7); }
.hero-meta b { color: #fff; font-weight: 700; }
.hero-updated { margin-top: 12px; color: rgba(255,255,255,0.82); font-size: 13px; }

.hero-device-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-device {
  width: 280px; aspect-ratio: 9/19; border-radius: 36px; overflow: hidden;
  border: 8px solid #15152f; box-shadow: var(--shadow-lg), 0 0 60px rgba(255,76,122,0.25);
  transform: rotate(-3deg); position: relative; z-index: 2;
}
.hero-device img { width: 100%; height: 100%; object-fit: cover; }
.hero-device-bg {
  position: absolute; right: -30px; top: 30px; width: 220px; aspect-ratio: 9/19;
  border-radius: 30px; overflow: hidden; border: 6px solid #1a1a3a;
  opacity: 0.6; transform: rotate(8deg); z-index: 1;
}
.hero-device-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }

/* ============== 数据信任条 ============== */
.trust-bar {
  background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; }
.trust-item .num { font-size: 32px; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.trust-item .label { font-size: 14px; color: var(--text-2); }

/* ============== 通用 section ============== */
.section { padding: 80px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; color: var(--accent); font-weight: 700;
  letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase;
}
.section-title {
  font-size: 36px; font-weight: 900; color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.section-title span {
  background: var(--gradient-cta); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-sub { font-size: 16px; color: var(--text-2); max-width: 720px; margin: 0 auto; }

/* ============== 核心卖点 ============== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; transition: all .3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,76,122,0.06), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient-cta); display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 20px; font-size: 24px; font-weight: 800;
  box-shadow: var(--shadow-glow);
}
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }

/* ============== 截图画廊 ============== */
.gallery-wrap { position: relative; padding: 40px 0 20px; }
.gallery-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  perspective: 1200px;
}
.preview-card {
  border-radius: 22px; overflow: hidden; border: 5px solid #15152f;
  box-shadow: var(--shadow-md); transition: transform .35s ease, box-shadow .35s ease;
  aspect-ratio: 9/19; position: relative;
}
.preview-card img { width: 100%; height: 100%; object-fit: cover; }
.preview-card:nth-child(1) { transform: translateY(20px) rotate(-3deg); }
.preview-card:nth-child(2) { transform: translateY(-8px) rotate(-1deg); }
.preview-card:nth-child(3) { transform: translateY(14px) rotate(1deg); z-index: 2; }
.preview-card:nth-child(4) { transform: translateY(-10px) rotate(2deg); }
.preview-card:nth-child(5) { transform: translateY(18px) rotate(3deg); }
.preview-card:hover { transform: translateY(-12px) scale(1.04); box-shadow: var(--shadow-lg); z-index: 5; }
.preview-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff; font-size: 12px; font-weight: 600; text-align: center;
}

/* ============== 深度内容入口卡 ============== */
.deep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deep-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; transition: all .3s ease;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.deep-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.deep-card::after {
  content: "→"; position: absolute; right: 28px; top: 32px;
  font-size: 28px; color: var(--accent); transition: transform .3s ease;
}
.deep-card:hover::after { transform: translateX(6px); }
.deep-card .badge {
  display: inline-block; padding: 4px 12px; background: rgba(255, 76, 122, 0.15);
  color: var(--accent); border-radius: 99px; font-size: 12px; font-weight: 700;
  width: fit-content;
}
.deep-card h3 { font-size: 20px; font-weight: 800; color: var(--text); }
.deep-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; flex: 1; }
.deep-card .more { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ============== 真实评价 ============== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; position: relative;
}
.review-quote::before {
  content: "\201C"; position: absolute; top: 10px; right: 24px;
  font-size: 70px; color: var(--accent); opacity: 0.2; line-height: 1; font-family: serif;
}
.review-card p { color: var(--text); line-height: 1.8; margin-bottom: 18px; font-size: 15px; }
.review-user { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-cta); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.review-name { font-weight: 700; color: var(--text); font-size: 14px; }
.review-meta { color: var(--text-3); font-size: 12px; }
.review-stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }

/* ============== FAQ 速览 ============== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; color: var(--text); font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 24px; transition: transform .3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-2); line-height: 1.8; font-size: 14.5px; }

/* ============== 内页 hero（小） ============== */
.page-hero {
  padding: 64px 0 48px; background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 76, 122, 0.18), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero h1 {
  font-size: 40px; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.page-hero h1 span {
  background: var(--gradient-cta); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 720px; }
.page-hero .meta-pills { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: 99px; font-size: 12.5px; color: #fff;
}

/* ============== 文章正文 ============== */
.article { padding: 60px 0; }
.article-grid { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.article-body { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 44px; }
.article-body h2 {
  font-size: 26px; font-weight: 800; color: var(--text);
  margin: 32px 0 16px; padding-left: 14px; border-left: 4px solid var(--accent);
  line-height: 1.3;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin: 26px 0 12px;
}
.article-body p { color: var(--text-2); margin-bottom: 14px; line-height: 1.85; font-size: 15.5px; }
.article-body ul, .article-body ol { color: var(--text-2); margin: 12px 0 18px 22px; font-size: 15.5px; line-height: 1.85; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); }
.article-body em { color: var(--accent-2); font-style: normal; font-weight: 600; }
.article-body blockquote {
  background: rgba(255, 76, 122, 0.08); border-left: 4px solid var(--accent);
  padding: 16px 20px; margin: 18px 0; border-radius: 0 12px 12px 0;
  color: var(--text); font-size: 15px;
}

.toc {
  position: sticky; top: 88px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px;
}
.toc h4 { color: var(--text); font-size: 15px; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; }
.toc ol li { margin-bottom: 8px; }
.toc ol li a { color: var(--text-2); font-size: 13.5px; line-height: 1.5; display: block; padding: 4px 0; }
.toc ol li a:hover { color: var(--accent); }

.callout {
  background: var(--gradient-hero); border-radius: var(--radius-md);
  padding: 28px 32px; margin: 28px 0; color: #fff;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.callout .text { flex: 1; min-width: 220px; }
.callout h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.callout p { color: rgba(255,255,255,0.85); font-size: 14.5px; }

/* ============== 底部下载条 ============== */
.download-band {
  background: var(--gradient-hero); padding: 60px 0; text-align: center;
  position: relative; overflow: hidden;
}
.download-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 76, 122, 0.25), transparent 60%);
}
.download-band h2 { color: #fff; font-size: 32px; font-weight: 900; margin-bottom: 14px; position: relative; }
.download-band p { color: rgba(255,255,255,0.85); margin-bottom: 30px; position: relative; }
.download-band .btn { position: relative; }

/* ============== 页脚 ============== */
.footer {
  background: #050514; border-top: 1px solid var(--border);
  padding: 50px 0 30px; color: var(--text-2);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer h4 { color: var(--text); font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; font-size: 13.5px; }
.footer ul li a { color: var(--text-2); }
.footer ul li a:hover { color: var(--accent); }
.footer-brand .name { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: var(--text-3); }
.disclaimer {
  border-top: 1px solid var(--border); padding-top: 22px;
  color: var(--text-3); font-size: 12.5px; line-height: 1.7;
}
.disclaimer b { color: var(--text-2); }
.copyright { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 18px; }

/* ============== 响应式 ============== */
@media (max-width: 980px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .features-grid, .deep-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery-track { grid-template-columns: repeat(3, 1fr); }
  .preview-card:nth-child(n) { transform: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 30px; }
  .article-body { padding: 28px 22px; }
}
@media (max-width: 620px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 64px; right: 16px; background: var(--bg-2); padding: 20px 26px; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 15px; }
  .features-grid, .deep-grid, .review-grid { grid-template-columns: 1fr; }
  .gallery-track { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 22px; }
  .section-title { font-size: 24px; }
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
}
