/* AI漫剧 · 移动端优先 */
:root {
  --bg-deep: #06060a;
  --bg-card: rgba(18, 18, 28, 0.72);
  --bg-card-solid: #12121c;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --text-muted: rgba(244, 244, 248, 0.62);
  --accent-a: #7c5cff;
  --accent-b: #00d4aa;
  --accent-glow: rgba(124, 92, 255, 0.35);
  --gold: #e8c547;
  --radius: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "SF Pro SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* 背景氛围 */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(0, 212, 170, 0.08), transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(232, 197, 71, 0.06), transparent 50%),
    var(--bg-deep);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px  calc(32px + var(--safe-bottom));
}

/* 顶栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 6, 10, 0.75);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.logo-company-name {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
  min-width: 0;
}

.logo-company-name .line1 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-company-name .line2 {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.header-cta {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-b), #5eead4);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.25);
}

/* Hero */
.hero {
  padding: 36px 0 40px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-b);
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-b);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero h1 {
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 auto 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-tags span {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: 999px;
}

/* 区块通用 */
section {
  margin-bottom: 40px;
}

.section-head {
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-a);
  margin-bottom: 8px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 卡片 */
.card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-highlight {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.08), 0 20px 40px -24px var(--accent-glow);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3 .icon {
  font-size: 18px;
  line-height: 1;
}

.card p,
.card li {
  font-size: 14px;
  color: var(--text-muted);
}

.card ul {
  list-style: none;
  margin-top: 12px;
}

.card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.stat {
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid var(--stroke);
  text-align: center;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 数字强调条 */
.figure-bar {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.2), rgba(0, 212, 170, 0.15));
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.figure-bar strong {
  color: var(--gold);
  font-weight: 700;
}

/* CTA 底部 */
.cta-block {
  text-align: center;
  padding: 28px 20px;
  margin-top: 8px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.2), rgba(18, 18, 28, 0.95));
  border: 1px solid rgba(124, 92, 255, 0.3);
}

.cta-block h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cta-block p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg-deep);
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #e8e8f0 100%);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.12);
}

.wechat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 212, 170, 0.35);
  box-shadow: 0 8px 28px rgba(0, 212, 170, 0.12);
}

.wechat-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-b);
}

.wechat-card-id {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
  text-align: center;
}

.wechat-card-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 页脚 */
.site-footer {
  text-align: center;
  padding: 24px 20px calc(20px + var(--safe-bottom));
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--stroke);
}

.site-footer a {
  color: var(--accent-b);
  text-decoration: none;
}

/* 稍大屏幕 */
@media (min-width: 400px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .wrap {
    max-width: 560px;
  }

  .header-inner {
    max-width: 560px;
  }
}
