:root {
    --bg: #0b0d17;
    --bg-card: #151829;
    --bg-card-hover: #1c2038;
    --text: #e8eaf6;
    --text-muted: #8b92b5;
    --accent: #7c4dff;
    --accent-light: #b388ff;
    --accent-gradient: linear-gradient(135deg, #7c4dff, #e040fb);
    --border: #2a2e4a;
    --radius: 16px;
    --radius-sm: 10px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  /* ===== Header ===== */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11,13,23,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 34px; width: 34px; border-radius: 8px; object-fit: cover; }
  .brand span { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
  .nav-links { display: flex; gap: 22px; align-items: center; }
  .nav-links a {
    font-size: 14px; color: var(--text-muted); transition: color .2s;
  }
  .nav-links a:hover { color: var(--accent-light); }
  .nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    padding: 80px 24px 100px;
    text-align: center;
    background:
      radial-gradient(ellipse 800px 500px at 20% 10%, rgba(124,77,255,0.18), transparent),
      radial-gradient(ellipse 700px 500px at 85% 80%, rgba(224,64,251,0.12), transparent);
    overflow: hidden;
  }
  .hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%237c4dff' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
  .hero-badge {
    display: inline-block; padding: 6px 18px;
    border-radius: 100px;
    background: rgba(124,77,255,0.15);
    border: 1px solid rgba(124,77,255,0.35);
    color: var(--accent-light); font-size: 13px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff, #b8bde0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero h1 em { font-style: normal; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .hero-desc { font-size: 17px; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; }
  .hero-desc strong { color: var(--text); font-weight: 600; }
  .download-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .dl-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 100px;
    font-size: 15px; font-weight: 600;
    transition: transform .25s, box-shadow .25s;
    border: 1px solid transparent;
  }
  .dl-btn:hover { transform: translateY(-3px); }
  .dl-btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 8px 28px rgba(124,77,255,0.4);
  }
  .dl-btn-primary:hover { box-shadow: 0 12px 36px rgba(124,77,255,0.55); }
  .dl-btn-outline {
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    color: var(--text);
  }
  .dl-btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }
  .dl-icon { font-size: 18px; }
  .hero-note { margin-top: 22px; font-size: 13px; color: var(--text-muted); }

  /* ===== Section generic ===== */
  .section { padding: 80px 24px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-head { text-align: center; margin-bottom: 48px; }
  .section-tag {
    display: inline-block; font-size: 13px; color: var(--accent-light);
    letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase;
  }
  .section-head h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; margin-bottom: 12px; }
  .section-head p { color: var(--text-muted); font-size: 15px; max-width: 600px; margin: 0 auto; }

  /* ===== AI短剧展示 ===== */
  .drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
  }
  .drama-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s, border-color .3s, box-shadow .3s;
  }
  .drama-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,77,255,0.5);
    box-shadow: 0 16px 40px rgba(124,77,255,0.15);
  }
  .drama-poster { position: relative; aspect-ratio: 3/4; overflow: hidden; }
  .drama-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  .drama-card:hover .drama-poster img { transform: scale(1.05); }
  .drama-score {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.7);
    color: #ffd54f; font-size: 13px; font-weight: 700;
    padding: 3px 10px; border-radius: 100px;
  }
  .drama-info { padding: 16px 18px 20px; }
  .drama-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .drama-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
  .drama-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .drama-tags span {
    font-size: 12px; padding: 3px 10px; border-radius: 100px;
    background: rgba(124,77,255,0.12); color: var(--accent-light);
  }
  .drama-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

  /* ===== 安装步骤 ===== */
  .steps-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
  }
  .step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px 28px;
  }
  .step-card::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute; top: -18px; left: 24px;
    font-size: 40px; font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
  }
  .step-card h3 { font-size: 18px; margin-bottom: 10px; margin-top: 4px; }
  .step-card p { font-size: 14px; color: var(--text-muted); }

  /* ===== 常见问题 ===== */
  .faq-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    transition: border-color .25s;
  }
  .faq-item:hover { border-color: rgba(124,77,255,0.4); }
  .faq-q { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
  .faq-q::before {
    content: "Q"; flex-shrink: 0;
    width: 24px; height: 24px; border-radius: 6px;
    background: var(--accent-gradient); color: #fff;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .faq-q h3 { font-size: 15px; font-weight: 600; }
  .faq-a { display: flex; gap: 12px; padding-left: 36px; }
  .faq-a::before { content: "A"; flex-shrink: 0; color: var(--accent-light); font-weight: 700; font-size: 14px; }
  .faq-a p { font-size: 14px; color: var(--text-muted); }

  /* ===== 用户热评 ===== */
  .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .25s, border-color .25s;
  }
  .review-card:hover { transform: translateY(-4px); border-color: rgba(224,64,251,0.4); }
  .review-top { display: flex; align-items: center; gap: 12px; }
  .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent-gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; color: #fff;
  }
  .review-user { font-size: 14px; font-weight: 600; }
  .review-stars { font-size: 12px; color: #ffd54f; letter-spacing: 1px; }
  .review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

  /* ===== 隐私安全 ===== */
  .privacy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
  }
  .privacy-card h3 { font-size: 17px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
  .privacy-card h3::before {
    content: ""; width: 4px; height: 18px; border-radius: 2px;
    background: var(--accent-gradient);
  }
  .privacy-card ul { list-style: none; display: grid; gap: 10px; }
  .privacy-card li { font-size: 14px; color: var(--text-muted); padding-left: 18px; position: relative; }
  .privacy-card li::before {
    content: "✓"; position: absolute; left: 0; color: var(--accent-light); font-weight: 700;
  }

  /* ===== 创作者计划 & 交流社区 ===== */
  .creator-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .creator-main {
    background: linear-gradient(145deg, rgba(124,77,255,0.15), rgba(224,64,251,0.06));
    border: 1px solid rgba(124,77,255,0.3);
    border-radius: var(--radius);
    padding: 36px;
  }
  .creator-main h3 { font-size: 22px; margin-bottom: 14px; }
  .creator-main p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
  .creator-features { display: grid; gap: 12px; }
  .creator-features div {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14px; color: var(--text);
  }
  .creator-features div span { color: var(--accent-light); font-weight: 700; }
  .community-side {
    display: grid; gap: 16px; align-content: start;
  }
  .community-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
  }
  .community-item h4 { font-size: 15px; margin-bottom: 6px; }
  .community-item p { font-size: 13px; color: var(--text-muted); }

  /* ===== 截图墙 ===== */
  .shot-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
  .shot-wall img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: transform .3s;
  }
  .shot-wall img:hover { transform: scale(1.04); }

  /* ===== 底部下载区 ===== */
  .final-cta {
    position: relative;
    padding: 80px 24px;
    text-align: center;
    background: radial-gradient(ellipse 700px 400px at 50% 50%, rgba(124,77,255,0.2), transparent);
  }
  .final-cta h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 16px; }
  .final-cta > .section-inner > p { color: var(--text-muted); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
  .final-tips { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 900px; margin-left: auto; margin-right: auto; }
  .final-tips div {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px; font-size: 13px; color: var(--text-muted);
  }
  .final-tips div strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 14px; }

  /* ===== Footer ===== */
  .site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 24px;
    text-align: center;
    font-size: 12px;
    color: #5c6284;
  }
  .site-footer p { margin-bottom: 8px; }
  .site-footer a { color: #5c6284; }
  .site-footer a:hover { color: var(--accent-light); }
  .site-footer time { display: inline-block; }

  /* ===== Responsive ===== */
  @media (max-width: 1024px) {
    .creator-layout { grid-template-columns: 1fr; }
    .privacy-layout { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .nav-links {
      position: absolute; top: 64px; left: 0; right: 0;
      background: rgba(11,13,23,0.98);
      flex-direction: column; gap: 0;
      padding: 0; max-height: 0; overflow: hidden;
      transition: max-height .3s ease;
      border-bottom: 1px solid var(--border);
    }
    .nav-links.open { max-height: 400px; padding: 12px 0; }
    .nav-links a { padding: 12px 24px; width: 100%; }
    .nav-toggle { display: block; }
    .hero { padding: 56px 20px 70px; }
    .section { padding: 56px 20px; }
    .download-group { flex-direction: column; align-items: stretch; }
    .dl-btn { justify-content: center; }
  }