/* 91PO传媒官网 - 原创暗色品牌站 */
:root {
  --bg-deep: #06060c;
  --bg-surface: #0f0f18;
  --bg-card: #14141f;
  --bg-elevated: #1a1a28;
  --border: rgba(255, 255, 255, 0.07);
  --text-primary: #f2f2f7;
  --text-secondary: #9a9ab0;
  --text-muted: #6b6b82;
  --brand-orange: #ff8f1f;
  --brand-orange-dim: #e67a00;
  --accent-purple: #7c5cfc;
  --accent-blue: #3d8bfd;
  --gradient-brand: linear-gradient(135deg, #ff8f1f 0%, #ff6b35 45%, #7c5cfc 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 143, 31, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(124, 92, 252, 0.12) 0%, transparent 50%),
    var(--bg-deep);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --nav-h: 60px;
  --sticky-ads-h: 0px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffb347; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(6, 6, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand:hover { color: var(--text-primary); }

.nav-desktop {
  display: none;
  gap: 28px;
  list-style: none;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-primary);
}

.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 999;
  list-style: none;
}

.nav-mobile.open { display: block; }

.nav-mobile li { border-bottom: 1px solid var(--border); }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--brand-orange); }

/* ===== 固定下载广告条 ===== */
.sticky-ads-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(12, 12, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
}

.sticky-ads-bar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-ads-bar #ads-sticky {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 10px;
  max-width: 480px;
  margin: 0 auto;
}

.sticky-ads-bar #ads-sticky > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 8px);
  min-width: 68px;
  max-width: 80px;
}

.sticky-ads-bar #ads-sticky img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.sticky-ads-bar #ads-sticky .caption {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* ===== 广告位 ===== */
.ads-section {
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 8px;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 0;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 12px);
  min-width: 72px;
  max-width: 90px;
}

#ads img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}

#ads a { border-radius: 16px; display: inline-block; }
#ads img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 28px rgba(255, 143, 31, 0.15);
}

#ads .caption {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.page-without-ads .ads-section { display: none; }
.page-without-ads { padding-top: var(--nav-h); }

/* ===== Hero ===== */
.hero {
  background: var(--gradient-hero);
  padding: 48px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 143, 31, 0.12);
  border: 1px solid rgba(255, 143, 31, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--brand-orange);
  margin-bottom: 20px;
  position: relative;
}

.hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative;
}

.hero h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  position: relative;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.hero-tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ===== 数据条 ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: -28px auto 0;
  max-width: 680px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== 通用区块 ===== */
.section {
  padding: 56px 0;
}

.section-alt { background: var(--bg-surface); }

.section-header {
  margin-bottom: 36px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 640px;
}

/* ===== 3:7 图文布局 ===== */
.content-ratio-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ratio-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.ratio-visual {
  position: relative;
}

.ratio-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.ratio-visual .img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255, 143, 31, 0.9);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
}

.ratio-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--brand-orange);
}

.ratio-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.ratio-text ul {
  list-style: none;
  margin-top: 14px;
}

.ratio-text li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ratio-text li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
}

.ratio-block.reverse .ratio-visual { order: -1; }

/* ===== 功能 Bento 网格 ===== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: border-color 0.25s, transform 0.25s;
}

.bento-card:hover {
  border-color: rgba(255, 143, 31, 0.3);
  transform: translateY(-2px);
}

.bento-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 143, 31, 0.1);
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.bento-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== 纯文案模块 ===== */
.prose-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  margin-bottom: 20px;
}

.prose-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.prose-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.prose-block p:last-child { margin-bottom: 0; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
}

.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand-orange);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 400px; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 48px 20px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(255, 143, 31, 0.25);
}

.btn-download:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 143, 31, 0.35);
}

/* ===== 子页面 ===== */
.page-hero {
  padding: calc(var(--nav-h) + 32px) 0 28px;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb span { color: var(--text-muted); }

.legal-content {
  padding: 40px 0 60px;
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* ===== 错误页 ===== */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 5rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.error-page p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 400px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--brand-orange);
  color: #000;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-nav h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.footer-nav ul { list-style: none; }

.footer-nav li { margin-bottom: 8px; }

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav a:hover { color: var(--brand-orange); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 12px;
}

.footer-keywords a {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }

  .ratio-block {
    grid-template-columns: 3fr 7fr;
    gap: 36px;
    align-items: center;
  }

  .ratio-block.reverse {
    grid-template-columns: 7fr 3fr;
  }

  .ratio-block.reverse .ratio-visual { order: 2; }
  .ratio-block.reverse .ratio-text { order: 1; }

  .ratio-visual img { max-width: 100%; margin: 0; }

  .bento-grid { grid-template-columns: repeat(3, 1fr); }

  .bento-card.span-2 { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .section { padding: 72px 0; }
}

/* ===== 步骤指南 ===== */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: guide;
}

.guide-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
}

.guide-step::before {
  counter-increment: guide;
  content: counter(guide);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 143, 31, 0.12);
  border: 1px solid rgba(255, 143, 31, 0.3);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.guide-step h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 截图展示网格 ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.showcase-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}

.showcase-item:hover { border-color: rgba(255, 143, 31, 0.25); }

.showcase-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top center;
}

.showcase-caption {
  padding: 14px 14px 16px;
}

.showcase-caption h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.showcase-caption p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== 双栏文案 ===== */
.text-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.text-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.text-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--brand-orange);
}

.text-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

.text-col p:last-child { margin-bottom: 0; }

.text-col ul {
  list-style: none;
  margin-top: 8px;
}

.text-col li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.text-col li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--brand-orange);
  font-weight: 700;
}

@media (min-width: 640px) {
  .showcase-grid { grid-template-columns: repeat(4, 1fr); }
  .text-columns { grid-template-columns: repeat(2, 1fr); }
}
