:root {
    --bg-deep: #070b14;
    --bg-card: rgba(18, 26, 43, 0.72);
    --bg-card-hover: rgba(28, 40, 66, 0.9);
    --cyan: #00e5ff;
    --cyan-dim: rgba(0, 229, 255, 0.45);
    --magenta: #b14bff;
    --text-main: #e8f0fa;
    --text-sub: #8fa3bd;
    --border-glow: rgba(0, 229, 255, 0.22);
    --radius: 14px;
    --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font);
    background-color: var(--bg-deep);
    background-image:
      radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.07) 0%, transparent 40%),
      radial-gradient(circle at 85% 30%, rgba(177, 75, 255, 0.08) 0%, transparent 45%),
      linear-gradient(180deg, #070b14 0%, #0a1120 50%, #070b14 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img {
    max-width: 100%;
    display: block;
    border: none;
  }

  /* ---------- 顶部导航 ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-glow);
  }

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .brand-block img {
    height: 34px;
    width: auto;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00e5ff, #b14bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    font-size: 0.85rem;
    color: var(--text-sub);
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.25s, background 0.25s;
  }

  .main-nav a:hover {
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
  }

  /* ---------- 通用区块 ---------- */
  section {
    scroll-margin-top: 80px;
  }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 20px;
  }

  .section-head {
    margin-bottom: 36px;
    text-align: left;
  }

  .section-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
  }

  .section-head h2 {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
  }

  .section-head p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--text-sub);
    max-width: 720px;
  }

  /* ---------- 首屏 ---------- */
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 88vh;
    padding: 60px 20px 80px;
    overflow: hidden;
  }

  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
  }

  .hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
  }

  .hero-copy h1 .accent {
    background: linear-gradient(90deg, #00e5ff, #b14bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero-copy p.lead {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-sub);
    max-width: 520px;
  }

  .download-row {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: transform 0.25s, box-shadow 0.25s;
  }

  .dl-btn:hover {
    transform: translateY(-2px);
  }

  .dl-btn-android {
    background: linear-gradient(90deg, #00c853, #00e5ff);
    color: #04121a;
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
  }

  .dl-btn-ios {
    background: linear-gradient(90deg, #b14bff, #ff4bd8);
    color: #ffffff;
    box-shadow: 0 0 22px rgba(177, 75, 255, 0.35);
  }

  .dl-btn .btn-icon {
    font-size: 1.1rem;
    line-height: 1;
  }

  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .hero-poster {
    width: 48%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
  }

  .hero-poster:nth-child(2) {
    transform: translateY(28px);
  }

  .hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
  }

  .hero-poster:hover img {
    transform: scale(1.05);
  }

  /* ---------- 卡片网格 ---------- */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .media-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
  }

  .media-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 229, 255, 0.55);
  }

  .media-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .media-card .card-body {
    padding: 14px 16px 18px;
  }

  .media-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
  }

  .media-card p {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.6;
  }

  .media-card .tag-line {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.7rem;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
    border-radius: 4px;
    padding: 1px 6px;
  }

  /* ---------- 横向滑动 ---------- */
  .scroll-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.4) transparent;
  }

  .scroll-strip::-webkit-scrollbar {
    height: 6px;
  }

  .scroll-strip::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.4);
    border-radius: 3px;
  }

  .strip-item {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-glow);
    background: var(--bg-card);
  }

  .strip-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .strip-item .strip-cap {
    padding: 10px 12px;
    font-size: 0.82rem;
    color: var(--text-main);
  }

  /* ---------- 两大分类（AI短剧 / AI漫剧） ---------- */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .feature-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .feature-panel img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .feature-panel .panel-body {
    padding: 22px;
  }

  .feature-panel h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
  }

  .feature-panel p {
    font-size: 0.9rem;
    color: var(--text-sub);
  }

  /* ---------- 教程步骤 ---------- */
  .step-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: steps;
  }

  .step-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    padding: 26px 22px 22px;
  }

  .step-item::before {
    counter-increment: steps;
    content: "0" counter(steps);
    position: absolute;
    top: -14px;
    left: 20px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cyan);
    background: var(--bg-deep);
    padding: 0 6px;
    letter-spacing: 1px;
  }

  .step-item h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
  }

  .step-item p {
    font-size: 0.86rem;
    color: var(--text-sub);
  }

  /* ---------- 问答 ---------- */
  .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    padding: 20px 22px;
  }

  .faq-item h3 {
    font-size: 0.98rem;
    color: #ffffff;
    margin-bottom: 8px;
  }

  .faq-item p {
    font-size: 0.86rem;
    color: var(--text-sub);
  }

  /* ---------- 证书 ---------- */
  .cert-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
  }

  .cert-layout .cert-notes {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .cert-notes .note-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .note-bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
  }

  .note-row h3 {
    font-size: 0.98rem;
    color: #ffffff;
    margin-bottom: 4px;
  }

  .note-row p {
    font-size: 0.86rem;
    color: var(--text-sub);
  }

  .cert-figure {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 26px rgba(0, 229, 255, 0.12);
  }

  /* ---------- 专题推荐 ---------- */
  .topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .topic-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-glow);
    transition: transform 0.3s;
  }

  .topic-card:hover {
    transform: scale(1.015);
  }

  .topic-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .topic-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 20px 18px;
    background: linear-gradient(180deg, transparent, rgba(7, 11, 20, 0.94));
  }

  .topic-overlay h3 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 4px;
  }

  .topic-overlay p {
    font-size: 0.82rem;
    color: var(--text-sub);
  }

  /* ---------- 页面更新说明条 ---------- */
  .update-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-sub);
    padding: 6px 20px 0;
  }

  /* ---------- 页脚 ---------- */
  .site-footer {
    border-top: 1px solid rgba(143, 163, 189, 0.14);
    padding: 40px 20px 34px;
    text-align: center;
  }

  .footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-search-words {
    font-size: 0.76rem;
    color: rgba(143, 163, 189, 0.7);
    line-height: 1.9;
  }

  .footer-search-words span {
    margin: 0 4px;
  }

  .footer-legal {
    font-size: 0.74rem;
    color: rgba(143, 163, 189, 0.6);
  }

  .footer-legal a {
    color: rgba(143, 163, 189, 0.75);
  }

  .footer-legal a:hover {
    color: var(--cyan);
  }

  .footer-time {
    font-size: 0.72rem;
    color: rgba(143, 163, 189, 0.5);
  }

  /* ---------- 百度弹窗 ---------- */
  .mask-layer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.72);
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .mask-layer.is-open {
    display: flex;
  }

  .copy-dialog {
    width: 100%;
    max-width: 420px;
    background: #0e1728;
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 14px;
    padding: 26px 22px 22px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
  }

  .copy-dialog p.tip {
    font-size: 0.9rem;
    color: #ffd166;
    margin-bottom: 14px;
    line-height: 1.6;
  }

  .copy-dialog .link-box {
    background: rgba(0, 229, 255, 0.08);
    border: 1px dashed rgba(0, 229, 255, 0.4);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.82rem;
    color: var(--cyan);
    word-break: break-all;
    margin-bottom: 16px;
  }

  .copy-dialog .dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
  }

  .copy-dialog button {
    font-family: var(--font);
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
  }

  .btn-copy {
    background: var(--cyan);
    color: #04121a;
    font-weight: 600;
  }

  .btn-close {
    background: transparent;
    border: 1px solid rgba(143, 163, 189, 0.4);
    color: var(--text-sub);
  }

  /* ---------- 响应式 ---------- */
  @media (max-width: 1024px) {
    .hero-inner {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .hero-visual {
      max-width: 520px;
    }
    .hero-copy h1 {
      font-size: 2rem;
    }
    .card-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .step-list {
      grid-template-columns: 1fr;
    }
    .faq-list {
      grid-template-columns: 1fr;
    }
    .cert-layout {
      grid-template-columns: 1fr;
    }
    .two-col {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .header-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    .main-nav {
      width: 100%;
    }
    .hero {
      min-height: auto;
      padding: 44px 20px 56px;
    }
    .hero-copy h1 {
      font-size: 1.6rem;
    }
    .hero-copy p.lead {
      font-size: 0.92rem;
    }
    .download-row {
      gap: 12px;
    }
    .dl-btn {
      flex: 1 1 140px;
      justify-content: center;
      padding: 12px 18px;
      font-size: 0.9rem;
    }
    .hero-visual {
      gap: 12px;
    }
    .hero-poster:nth-child(2) {
      transform: translateY(18px);
    }
    .section-inner {
      padding: 48px 18px;
    }
    .section-head h2 {
      font-size: 1.3rem;
    }
    .card-grid {
      grid-template-columns: 1fr;
    }
    .topic-grid {
      grid-template-columns: 1fr;
    }
    .strip-item {
      width: 160px;
    }
    .brand-name {
      font-size: 1rem;
    }
  }