/* ============ 基础 ============ */
:root {
  --bg: #0d0f17;
  --bg-alt: #11141f;
  --card: #1a1e2c;
  --card-hover: #20253a;
  --border: #262c40;
  --text: #e8eaf2;
  --text-dim: #9aa1b5;
  --primary: #6b5ce7;
  --primary-light: #8b7cff;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --cyan: #22d3ee;
  --radius: 14px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 18px rgba(107, 92, 231, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107, 92, 231, .5); }
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #3a4258; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ============ 顶部导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 15, 23, .8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 44, 64, .6);
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(107, 92, 231, .4);
}
.brand-logo svg { width: 20px; height: 20px; }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: .5px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 15px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(107, 92, 231, .28), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(107, 92, 231, .4);
  background: rgba(107, 92, 231, .1);
  color: #b8adff;
  font-size: 14px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .4; } }
.hero-title {
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(120deg, var(--primary-light), #c084fc, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #b8adff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--text-dim); font-size: 14px; }
.hero-shot {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(107, 92, 231, .12);
}
.hero-shot img { width: 100%; }

/* ============ 区块 ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 16px; }

.grid { display: grid; gap: 24px; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.scenes-grid { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 92, 231, .45);
  background: var(--card-hover);
}
.feature h3 { font-size: 18px; margin: 18px 0 10px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.icon-purple { background: rgba(107, 92, 231, .15); color: var(--primary-light); }
.icon-blue   { background: rgba(59, 130, 246, .15); color: #60a5fa; }
.icon-green  { background: rgba(34, 197, 94, .15); color: #4ade80; }
.icon-orange { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.icon-red    { background: rgba(239, 68, 68, .15); color: #f87171; }
.icon-cyan   { background: rgba(34, 211, 238, .15); color: #67e8f9; }

/* ============ 截图 ============ */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.shot-card { text-align: center; }
.shot-card img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .45);
  transition: transform .25s ease;
}
.shot-card:hover img { transform: translateY(-4px); }
.shot-card figcaption { color: var(--text-dim); font-size: 14px; margin-top: 16px; }

/* ============ 场景 ============ */
.scene { text-align: center; }
.scene-emoji { font-size: 38px; display: block; margin-bottom: 14px; }
.scene h3 { font-size: 18px; margin-bottom: 10px; }
.scene p { color: var(--text-dim); font-size: 14.5px; }

/* ============ 工作流程 ============ */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 6px 20px rgba(107, 92, 231, .4);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -20px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: rotate(45deg);
}

/* ============ 下载 ============ */
.download-box {
  text-align: center;
  padding: 70px 30px;
  border-radius: 20px;
  border: 1px solid rgba(107, 92, 231, .35);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(107, 92, 231, .18), transparent 70%),
    var(--card);
}
.download-box h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.download-box p { color: var(--text-dim); margin-bottom: 32px; }
.download-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-note { font-size: 13px; margin-top: 34px; margin-bottom: 0; opacity: .75; }

/* ============ 页脚 ============ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 13px; }

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 90;
}
.back-top svg { width: 20px; height: 20px; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: var(--primary); color: var(--primary-light); }

/* ============ 滚动渐入 ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .step:nth-child(2)::after { display: none; }
  .shots { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(38, 44, 64, .5); }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .scenes-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .hero { padding-top: 120px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 27px; }
  .download-box h2 { font-size: 24px; }
}
