/* ============ 全局变量 ============ */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5a49d6;
  --primary-light: #a29bfe;
  --accent: #ff7675;
  --accent-2: #00cec9;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-dark: #0f1020;
  --text: #1a1d29;
  --text-muted: #6b7380;
  --border: #e6e8f0;
  --shadow: 0 10px 40px rgba(108, 92, 231, 0.12);
  --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 232, 240, 0.6);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 18px;
  box-shadow: 0 6px 18px rgba(108,92,231,0.35);
}
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
}
.nav-menu a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 4px;
  transition: color .2s;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-2));
}
.nav-cta { display: flex; gap: 10px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #7b6cf0);
  color: #fff;
  box-shadow: 0 6px 20px rgba(108,92,231,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(108,92,231,0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }

/* ============ 英雄区 ============ */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  background:
    radial-gradient(1200px 600px at 10% 0%, #efeaff 0%, transparent 55%),
    radial-gradient(1000px 500px at 100% 20%, #e3fff7 0%, transparent 55%),
    #ffffff;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero .tagline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(108,92,231,0.10);
  color: var(--primary);
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 54px; line-height: 1.15; font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #6c5ce7 0%, #00cec9 60%, #ff7675 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px; color: var(--text-muted);
  margin-bottom: 32px; max-width: 560px;
}
.hero-ctas { display: flex; gap: 14px; margin-bottom: 28px; }
.hero-trust {
  display: flex; gap: 26px; flex-wrap: wrap;
  color: var(--text-muted); font-size: 14px;
}
.hero-trust b { color: var(--text); font-size: 20px; display: block; margin-bottom: 2px; font-weight: 800; }

/* Hero 右侧预览卡 */
.hero-preview {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-preview::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(108,92,231,0.08), rgba(0,206,201,0.08)),
    repeating-linear-gradient(45deg, rgba(108,92,231,0.04) 0 2px, transparent 2px 14px);
}
.hp-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: #fafbff;
}
.hp-head span { width: 10px; height: 10px; border-radius: 50%; background: #ffbd2e; }
.hp-head span:first-child { background: #ff5f56; }
.hp-head span:last-child { background: #27c93f; }
.hp-title { margin-left: 10px; color: var(--text-muted); font-size: 13px; }
.hp-body { position: relative; z-index: 1; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-cell {
  border-radius: 12px; background: #fff;
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: 0 4px 14px rgba(30,30,60,0.04);
}
.hp-cell h5 { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.hp-cell .num { font-size: 22px; font-weight: 800; }
.hp-cell .pos { color: #00b894; font-size: 12px; margin-left: 6px; }
.hp-chart {
  grid-column: 1 / 3;
  height: 120px; border-radius: 12px;
  background: linear-gradient(135deg, #eef0ff, #e0fbf5);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.hp-chart svg { width: 100%; height: 100%; display: block; }

/* ============ 通用段落 ============ */
.section {
  padding: 90px 24px;
}
.section-soft { background: var(--bg-soft); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(108,92,231,0.08);
  color: var(--primary);
  font-size: 13px; font-weight: 600; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 38px; font-weight: 800; letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.section-head p { font-size: 17px; color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* ============ 能力网格 ============ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.feat-card::after {
  content: "";
  position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.12), transparent 70%);
  opacity: 0;
  transition: opacity .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6d8ee; }
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  margin-bottom: 18px;
}
.ic-a { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.ic-b { background: linear-gradient(135deg, #00cec9, #55efc4); }
.ic-c { background: linear-gradient(135deg, #fd79a8, #ff7675); }
.ic-d { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.feat-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text-muted); }
.feat-card a.more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 14px;
}

/* ============ 工作流展示 ============ */
.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr; gap: 50px;
  align-items: center;
}
.wf-copy h3 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.wf-copy p { color: var(--text-muted); font-size: 16px; margin-bottom: 22px; }
.wf-list { list-style: none; }
.wf-list li {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.wf-list li:last-child { border-bottom: 0; }
.wf-step {
  flex: 0 0 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.wf-step-body b { display: block; margin-bottom: 2px; }
.wf-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f6f6ff, #ecfdfa);
  padding: 28px;
  border: 1px solid var(--border);
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.wf-visual .card {
  background: #fff; border-radius: 14px; padding: 18px;
  box-shadow: 0 8px 24px rgba(30,30,60,0.06);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.wf-visual .card h5 { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.wf-visual .tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(108,92,231,0.1); color: var(--primary);
  font-size: 12px; font-weight: 600; margin-right: 6px; margin-top: 4px;
}

/* ============ 数据条 ============ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(135deg, #0f1020 0%, #1d1b4f 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  color: #fff;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 44px; font-weight: 800;
  background: linear-gradient(120deg, #a29bfe, #00cec9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 4px;
}
.stat-item .lbl { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============ 用户评价 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute; top: 8px; left: 20px;
  font-size: 60px; font-family: Georgia;
  color: rgba(108,92,231,0.15); line-height: 1;
}
.quote p { color: var(--text); font-size: 15px; margin: 16px 0 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #a29bfe, #00cec9);
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.quote .who b { display: block; font-size: 14px; }
.quote .who span { color: var(--text-muted); font-size: 12px; }

/* ============ CTA 带 ============ */
.cta-banner {
  background: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.cta-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.cta-banner p { opacity: 0.92; }
.cta-banner .btn-primary {
  background: #fff; color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* ============ 页脚 ============ */
footer {
  background: #0f1020; color: rgba(255,255,255,0.75);
  padding: 60px 24px 24px;
}
.foot-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-col h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 8px; font-size: 14px; }
.foot-col ul li a:hover { color: var(--primary-light); }
.foot-about p { font-size: 14px; margin-top: 12px; opacity: 0.7; }
.foot-bottom {
  max-width: 1280px; margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 13px; opacity: 0.6;
}

/* ============ AI 作图页 ============ */
.studio {
  max-width: 1280px; margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid; grid-template-columns: 380px 1fr; gap: 24px;
}
.panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px;
}
.panel h3 { font-size: 18px; margin-bottom: 18px; font-weight: 700; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; color: var(--text-muted); font-weight: 600;
  margin-bottom: 8px;
}
.form-group textarea, .form-group input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit;
  background: #fafbff;
  resize: vertical;
  transition: border .15s, box-shadow .15s;
}
.form-group textarea:focus, .form-group input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: #f2f3fa; color: var(--text);
  font-size: 13px; font-weight: 500;
  cursor: pointer; user-select: none;
  border: 1px solid transparent;
  transition: all .15s;
}
.chip:hover { background: #e9ebf5; }
.chip.active {
  background: rgba(108,92,231,0.12);
  color: var(--primary);
  border-color: rgba(108,92,231,0.3);
}
.studio-main {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; min-height: 560px;
  display: flex; flex-direction: column;
}
.studio-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.studio-header h3 { font-size: 18px; font-weight: 700; }
.studio-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-muted); text-align: center;
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 40px;
}
.studio-empty .big-ic {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; margin-bottom: 14px;
}
.studio-result {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
}
.studio-result img {
  max-width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.status-bar {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
  padding: 12px 16px; border-radius: 10px;
  background: #f7f8fc;
  margin-top: 14px;
}
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(108,92,231,0.25); border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress {
  flex: 1;
  height: 6px; border-radius: 4px;
  background: #e9ebf5;
  overflow: hidden;
}
.progress > div {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent-2));
  transition: width .3s;
}
.presets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.preset {
  aspect-ratio: 4/3;
  border-radius: 10px; cursor: pointer;
  background-size: cover; background-position: center;
  position: relative;
  border: 2px solid transparent;
  transition: border-color .15s;
  overflow: hidden;
}
.preset:hover { border-color: var(--primary); }
.preset span {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 6px 8px; font-size: 12px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}

/* ============ 首页快速体验小组件 ============ */
.home-scenes {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.home-scene {
  padding: 6px 10px;
  background: #f2f3fa;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: inherit;
  transition: all .15s;
}
.home-scene:hover { background: #e9ebf5; }
.home-scene.active {
  background: rgba(108,92,231,0.12);
  color: var(--primary);
  border-color: rgba(108,92,231,0.3);
  font-weight: 600;
}
.home-scene span { font-size: 12px; }

.upload-mini {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #fafbff;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.upload-mini:hover { border-color: var(--primary); color: var(--primary); }
.upload-mini.has-img { background: rgba(108,92,231,0.08); border-style: solid; border-color: var(--primary); color: var(--primary); }
.home-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 8px;
}
.home-thumbs .thumb {
  width: 56px; height: 56px; aspect-ratio: 1;
}

/* ============ 分类落地页：模块卡片网格 ============ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.module-card::after {
  content: "";
  position: absolute; top: -50px; right: -50px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.14), transparent 70%);
  opacity: 0;
  transition: opacity .25s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6d8ee; }
.module-card:hover::after { opacity: 1; }
.module-card.soon { opacity: 0.75; }
.module-card.soon:hover { transform: none; }
.module-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.module-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.module-card p { font-size: 14px; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.module-cta {
  font-size: 14px; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
}
.badge-new, .badge-soon {
  position: absolute; top: 14px; right: 14px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}
.badge-new {
  background: linear-gradient(135deg, #ff7675, #fd79a8);
  color: #fff;
  box-shadow: 0 4px 12px rgba(253,121,168,0.35);
}
.badge-soon {
  background: #f2f3fa;
  color: var(--text-muted);
}

/* 场景栏分组 */
.scene-group-label {
  flex: 0 0 auto;
  padding: 0 6px 0 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  align-self: center;
  border-left: 1px solid var(--border);
  margin-left: 4px;
  white-space: nowrap;
}
.scene-group-label:first-child { border-left: 0; padding-left: 0; margin-left: 0; }
.scene.has-new { position: relative; }
.scene.has-new::after {
  content: "NEW";
  position: absolute;
  top: -6px; right: -6px;
  padding: 2px 6px;
  background: linear-gradient(135deg, #ff7675, #fd79a8);
  color: #fff; font-size: 9px; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(253,121,168,0.35);
}

/* ============ 场景模板 Bar ============ */
.scene-bar {
  max-width: 1280px; margin: 16px auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scene-bar::-webkit-scrollbar { display: none; }
.scene-bar-inner {
  display: flex; gap: 10px;
  padding: 4px 20px;
  min-width: min-content;
}
.scene {
  flex: 0 0 auto;
  min-width: 128px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  color: var(--text);
  font-family: inherit;
}
.scene:hover { border-color: var(--primary); transform: translateY(-2px); }
.scene.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(0,206,201,0.08));
  box-shadow: 0 8px 22px rgba(108,92,231,0.15);
}
.scene .s-ic {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; margin-bottom: 4px;
}
.scene b { font-size: 14px; font-weight: 700; }
.scene small { font-size: 11px; color: var(--text-muted); }

/* ============ 上传区 ============ */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 24px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  background: #fafbff;
}
.drop-zone:hover, .drop-zone.drag {
  border-color: var(--primary);
  background: rgba(108,92,231,0.05);
}
.drop-zone .dz-ic { font-size: 34px; margin-bottom: 6px; }
.drop-zone p { margin: 0; color: var(--text); font-size: 14px; }
.thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 12px;
}
.thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f3fa;
  border: 1px solid var(--border);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .x {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; line-height: 1;
}

/* 通用 */
.btn-full { width: 100%; padding: 14px; }
.hint { font-size: 12px; color: var(--text-muted); margin-top: 10px; text-align: center; }
.hero-slim { padding: 48px 24px 18px; }
.h1-md { font-size: 40px; }
.lead-sm { margin: 14px auto 0; }

/* ============ 功能示例画廊 ============ */
.gallery-section {
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(108,92,231,0.05) 0%, transparent 55%),
    radial-gradient(1000px 500px at 85% 100%, rgba(0,206,201,0.05) 0%, transparent 55%);
}
.gallery-tabs {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.g-tab {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.g-tab:hover { border-color: var(--primary); color: var(--primary); }
.g-tab.active {
  background: linear-gradient(135deg, var(--primary), #7b6cf0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(108,92,231,0.25);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 20px;
}
.g-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.g-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30,30,60,0.1); }
.g-card-lg { grid-column: span 1; grid-row: span 2; }
.g-card-lg .g-img { aspect-ratio: 1/1.1; }
.g-img {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f6fb, #ecfdfa);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.g-img-wide { aspect-ratio: 16/9; }
.g-card-lg .g-img-wide { aspect-ratio: 16/11; }

/* 占位样式（仅当图片尚未生成时显示） */
.g-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: rgba(108,92,231,0.55);
  font-size: 14px; font-weight: 600;
  position: relative;
}
.g-img-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(108,92,231,0.04) 0 12px,
      transparent 12px 24px);
}
.g-ph-label {
  position: relative; z-index: 1;
  padding: 8px 18px;
  background: rgba(255,255,255,0.85);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.g-ph-detail { background: linear-gradient(135deg, #fff4e6, #ffe0f0); }
.g-ph-pose   { background: linear-gradient(135deg, #e6f4ff, #f0e6ff); }
.g-ph-walk   { background: linear-gradient(135deg, #fff0f6, #fce4ec); }
.g-ph-scene  { background: linear-gradient(135deg, #e6fff4, #e6f4ff); }

.g-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.g-meta { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.g-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(108,92,231,0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 8px;
  align-self: flex-start;
}
.g-meta h4 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}
.g-meta p { font-size: 13px; color: var(--text-muted); }

@media (max-width: 1080px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-card-lg { grid-column: span 2; grid-row: span 1; }
  .g-card-lg .g-img { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .g-card-lg { grid-column: span 1; }
}

/* ============ 私人定制案例 ============ */
.showcase-section {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(108,92,231,0.06) 0%, transparent 60%),
    radial-gradient(900px 400px at 85% 100%, rgba(0,206,201,0.06) 0%, transparent 60%),
    #fff;
}
.showcase-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30,30,60,0.08);
}
.sc-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #0f1020 0%, #1d1b4f 100%);
  color: #fff;
}
.sc-brand {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(120deg, #a29bfe, #00cec9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sc-type { font-size: 13px; opacity: 0.75; margin-top: 2px; }
.sc-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sc-tags span {
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
}

.sc-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.sc-video-box, .sc-model-box {
  position: relative;
  padding: 20px;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.sc-video-box { background: #000; border-right: 1px solid var(--border); }
.sc-model-box { background: linear-gradient(135deg, #f6f6ff, #ecfdfa); }
.sc-label {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--text);
  z-index: 2;
  backdrop-filter: blur(6px);
}
.sc-video-box video {
  width: 100%; flex: 1;
  max-height: 460px;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}
.sc-mute {
  position: absolute; bottom: 28px; right: 28px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2;
}
.sc-mute:hover { background: rgba(0,0,0,0.8); }
.sc-model-wrap {
  flex: 1;
  width: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #ecfdfa, #f6f6ff);
}
.sc-model-box model-viewer {
  display: block;
  --poster-color: transparent;
}
.sc-model-poster {
  width: 100%; height: 100%; min-height: 400px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  background: linear-gradient(135deg, #ecfdfa, #f6f6ff);
}
.sc-model-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(108,92,231,0.2);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
}

/* ===== 第二行：数字人 + AI 客服 ===== */
.sc-body-2 {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}
.sc-live-box {
  position: relative;
  padding: 20px;
  min-height: 460px;
  background: #000;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.sc-live-box video {
  width: 100%; flex: 1;
  max-height: 460px;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}
.sc-live-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 12px;
  background: #ff3b30;
  color: #fff;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  animation: pulse 1.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

.sc-chat-box {
  padding: 20px;
  min-height: 460px;
  background: #fafbff;
  display: flex; flex-direction: column;
  position: relative;
}
.sc-chat-card {
  flex: 1;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 36px;
}
.sc-chat-head {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(108,92,231,0.05), rgba(0,206,201,0.05));
}
.sc-bot-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.sc-bot-name { font-size: 14px; font-weight: 700; }
.sc-bot-status { font-size: 12px; color: #00b894; }

.sc-chat-body {
  flex: 1;
  padding: 14px 16px;
  overflow-y: auto;
  max-height: 260px;
  display: flex; flex-direction: column; gap: 10px;
}
.sc-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.sc-msg-bot {
  background: #f2f3fa;
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.sc-msg-user {
  background: linear-gradient(135deg, var(--primary), #7b6cf0);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.sc-typing { display: inline-flex; gap: 3px; padding: 4px 6px; }
.sc-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: bounce 1.2s infinite;
}
.sc-typing span:nth-child(2) { animation-delay: 0.2s; }
.sc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.sc-chat-quick {
  padding: 0 14px 10px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sc-qq {
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.sc-qq:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sc-chat-input {
  display: flex; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: #fafbff;
}
.sc-chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.sc-chat-input input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}
.sc-chat-input button {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary), #7b6cf0);
  color: #fff; border-radius: 10px;
  font-weight: 600; font-family: inherit;
  cursor: pointer;
  transition: transform .15s;
}
.sc-chat-input button:hover:not(:disabled) { transform: translateY(-1px); }
.sc-chat-input button:disabled { opacity: 0.5; cursor: not-allowed; }

.sc-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  padding: 22px 28px;
  background: #fafbff;
}
.sc-product-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sc-product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.sc-product-price b { font-size: 24px; color: var(--accent); font-weight: 800; }
.sc-product-price del { color: var(--text-muted); font-size: 14px; }
.sc-product-price .off {
  background: #ff7675; color: #fff;
  padding: 2px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
}
.sc-product-desc { font-size: 13px; color: var(--text-muted); }
.sc-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ 付费墙弹窗 ============ */
.paywall {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.paywall-mask {
  position: absolute; inset: 0;
  background: rgba(15, 16, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.paywall-card {
  position: relative;
  max-width: 440px; width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 30px 80px rgba(15, 16, 32, 0.35);
  text-align: center;
  animation: popup .25s ease-out;
}
@keyframes popup {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.paywall-ic {
  width: 62px; height: 62px; border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
}
.paywall-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.paywall-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.paywall-plans {
  background: #f7f8fc; border-radius: 12px;
  padding: 14px 18px; text-align: left;
  margin-bottom: 14px;
}
.pp-row {
  display: flex; gap: 10px; padding: 6px 0;
  font-size: 14px; color: var(--text);
}
.pp-row span:first-child { color: #00b894; }
.paywall-price {
  background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(0,206,201,0.08));
  border-radius: 12px; padding: 14px;
}
.paywall-price b {
  font-size: 32px; font-weight: 800;
  background: linear-gradient(120deg, #6c5ce7, #00cec9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.paywall-price span { color: var(--text-muted); font-size: 14px; }

/* 顶部额度 Banner */
.quota-banner {
  max-width: 1280px; margin: 20px auto 0;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(90deg, rgba(108,92,231,0.08), rgba(0,206,201,0.08));
  border: 1px solid rgba(108,92,231,0.18);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
}
.quota-banner .q-ic {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quota-banner b { color: var(--primary); }
.quota-banner a.up { margin-left: auto; color: var(--primary); font-weight: 600; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .hero-inner, .workflow, .studio { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
  .h1-md { font-size: 32px; }
  .nav-menu { display: none; }
  .studio { padding: 24px 16px 60px; gap: 16px; }
}
@media (max-width: 768px) {
  .nav-inner { height: 58px; padding: 0 16px; gap: 12px; }
  .logo span:nth-child(2) { font-size: 15px; }
  .nav-cta .btn { padding: 8px 14px; font-size: 13px; }
  .nav-cta .btn-ghost { display: none; }

  .hero { padding: 44px 16px 32px; }
  .hero h1 { font-size: 30px; line-height: 1.25; }
  .h1-md { font-size: 26px; }
  .hero p.lead, .lead-sm { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: 14px; font-size: 13px; }
  .hero-trust b { font-size: 17px; }
  .hero-preview { aspect-ratio: auto; }

  .section { padding: 48px 16px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }

  .grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .feat-card { padding: 22px 20px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 28px 18px; }
  .stat-item .num { font-size: 32px; }
  .foot-inner { grid-template-columns: 1fr; gap: 26px; }
  .cta-banner { padding: 28px 20px; flex-direction: column; text-align: center; }
  .cta-banner h2 { font-size: 22px; }

  /* 作图工作台 */
  .scene { min-width: 112px; padding: 10px 12px; }
  .scene b { font-size: 13px; }
  .scene small { font-size: 10px; }
  .quota-banner { margin: 12px 16px 0; padding: 10px 14px; font-size: 13px; flex-wrap: wrap; }
  .quota-banner .q-text { flex: 1 1 auto; min-width: 0; }
  .quota-banner a.up { flex-shrink: 0; }
  .studio { padding: 16px; gap: 14px; }
  .panel { padding: 18px; border-radius: 16px; }
  .studio-main { min-height: 360px; padding: 18px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .drop-zone { padding: 20px 12px; }
  .drop-zone .dz-ic { font-size: 30px; }

  /* 付费墙 */
  .paywall-card { padding: 24px 20px; border-radius: 16px; }
  .paywall-card h3 { font-size: 20px; }
  .paywall-price b { font-size: 28px; }

  /* 工作流 */
  .workflow { gap: 28px; }
  .wf-copy h3 { font-size: 22px; }
  .wf-visual { padding: 18px; min-height: auto; }

  /* 模块卡片 */
  .module-grid { grid-template-columns: 1fr; gap: 12px; }
  .module-card { padding: 20px 18px; }
  .module-ic { width: 48px; height: 48px; font-size: 24px; margin-bottom: 12px; }

  /* 案例区：堆叠 */
  .sc-body, .sc-body-2 { grid-template-columns: 1fr; }
  .sc-video-box, .sc-model-box, .sc-live-box, .sc-chat-box {
    border-right: 0;
    min-height: 340px;
  }
  .sc-video-box, .sc-live-box { border-bottom: 1px solid var(--border); }
  .sc-model-wrap { min-height: 320px; }
  .sc-model-box model-viewer { min-height: 320px !important; }
  .sc-chat-body { max-height: 220px; }
  .sc-head { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .sc-tags { justify-content: flex-start; }
  .sc-foot { padding: 18px 20px; }
  .sc-mute { bottom: 28px; right: 28px; width: 34px; height: 34px; font-size: 14px; }
}
@media (max-width: 420px) {
  .logo span:nth-child(2) { display: none; }
  .nav-cta .btn { padding: 7px 12px; font-size: 12px; }
  .hero h1 { font-size: 26px; }
  .h1-md { font-size: 22px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .hero-trust { justify-content: space-between; width: 100%; gap: 8px; }
  .hero-trust > div { flex: 0 0 calc(50% - 8px); }
}
