/* ===== 图梦 AI 落地页样式 ===== */

:root {
  /* 品牌色 */
  --brand-start: #5E45FF;
  --brand-end: #A445FF;
  --brand-gradient: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  --accent: #727ff7;
  --accent-end: #a46bfa;

  /* 背景 */
  --bg-primary: #0f0f1a;
  --bg-card: #1a1b26;
  --bg-card-alt: #1f2127;
  --bg-nav: rgba(15, 15, 26, 0.85);
  --bg-section-alt: #12121e;

  /* 边框 */
  --border: #2a2b3d;
  --border-light: rgba(255, 255, 255, 0.06);

  /* 文字 */
  --text-primary: #ffffff;
  --text-body: #e0e0e8;
  --text-secondary: #8b8d92;
  --text-muted: #5a5b66;

  /* 状态 */
  --success: #a6e3a1;
  --error: #f38ba8;

  /* 尺寸 */
  --card-radius: 16px;
  --btn-radius: 10px;
  --section-padding: 100px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 固定导航高 72px，锚点跳转时留出空间，避免标题被顶栏遮住 */
[id] { scroll-margin-top: 84px; }
body {
  font-family: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ===== 导航栏 ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s;
}
header.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--brand-gradient);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }
.nav-reg {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 18px;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-reg:hover { background: rgba(114,127,247,0.1); }

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
/* Lucide 图标基础样式 */
.lucide { display: inline-block; vertical-align: middle; }

/* ===== Hero ===== */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  /* clip 不产生滚动容器：装饰元素溢出若用 hidden，浏览器滚动锚定会把容器内部滚走，
     内容被顶出视口后滚轮无法滚回，只能刷新 */
  overflow: hidden;
  overflow: clip;
  padding: 140px 0 100px;
}
/* 背景装饰 */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94,69,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(164,69,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(114,127,247,0.1);
  border: 1px solid rgba(114,127,247,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(114,127,247,0.08); }
.hero-stats {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-stats span strong { color: var(--text-body); font-weight: 600; }

/* Hero Mockup */
.hero-mockup { position: relative; }

/* 浮动装饰标签 */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(26, 27, 38, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.float-badge .lucide { color: var(--accent); }
.float-badge-1 { top: 12%; right: 2%; animation-delay: 0s; }
.float-badge-2 { top: 44%; right: -6%; animation-delay: 0.6s; }
.float-badge-3 { bottom: 30%; right: 0%; animation-delay: 1.2s; }
.float-badge-4 { bottom: 8%; right: -10%; animation-delay: 0.3s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 装饰光晕 */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 300px; height: 300px;
  top: -10%; right: 10%;
  background: radial-gradient(circle, rgba(94,69,255,0.1) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}
.hero-glow-2 {
  width: 200px; height: 200px;
  bottom: 5%; left: 5%;
  background: radial-gradient(circle, rgba(164,69,255,0.08) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite 2s;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}


.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94,69,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(164,69,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mockup-frame {
  width: 100%;
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, #1a1b2e, #24253a);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}
.mockup-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.mockup-screen img { width: 100%; height: 100%; object-fit: cover; }
.mockup-dot {
  position: absolute;
  top: 12px;
  left: 16px;
  display: flex;
  gap: 6px;
}
.mockup-dot span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot span:nth-child(1) { background: #ff5f57; }
.mockup-dot span:nth-child(2) { background: #febc2e; }
.mockup-dot span:nth-child(3) { background: #28c840; }

/* ===== 徽标条 ===== */
.logo-bar {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.logo-bar p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.logo-bar-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.logo-bar-logos span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0 20px;
}
.logo-bar-logos span + span {
  border-left: 1px solid var(--border);
}

/* ===== 功能特性 ===== */
.features { padding: var(--section-padding) 0; text-align: left; }
.features .section-desc {
  font-size: 16px;
  margin-bottom: 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(114,127,247,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.feature-card ul {
  list-style: none;
  padding: 0;
}
.feature-card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feature-card ul li + li {
  margin-top: 6px;
}
.feature-card ul li .lucide { margin-top: 4px; flex-shrink: 0; }

/* ===== 产品研究（差异化卖点） ===== */
.research-section {
  padding: var(--section-padding) 0;
  background: var(--bg-section-alt);
  position: relative;
  text-align: left;
}
.research-section .section-desc {
  font-size: 16px;
  margin-bottom: 60px;
}
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.research-steps { position: relative; }
.research-step {
  display: flex;
  gap: 24px;
  margin-bottom: 44px;
  position: relative;
}
.research-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  width: 2px;
  height: calc(100% + 4px);
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.step-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 对比卡片 */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.comparison-card {
  padding: 28px 24px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
}
.comparison-card.bad { background: rgba(243,139,168,0.05); border-color: rgba(243,139,168,0.2); }
.comparison-card.good { background: rgba(166,227,161,0.05); border-color: rgba(166,227,161,0.2); }
.comparison-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.comparison-card.bad h4 { color: var(--error); }
.comparison-card.good h4 { color: var(--success); }
.comparison-card ul {
  list-style: none;
  padding: 0;
}
.comparison-card ul li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.comparison-card ul li .lucide { margin-top: 3px; flex-shrink: 0; }
.comparison-card ul li .lucide { flex-shrink: 0; }

/* ===== 价格 ===== */
.pricing-section {
  padding: var(--section-padding) 0;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(114,127,247,0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 16px 0;
}
.pricing-price .unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}
.pricing-points {
  font-size: 13px;
  color: var(--text-muted);
  margin: 8px 0;
}
.pricing-points strong { color: var(--text-body); }
.pricing-gift {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: rgba(166,227,161,0.1);
  padding: 4px 12px;
  border-radius: 6px;
  margin: 8px 0 20px;
}
.pricing-total {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0 16px;
}
.pricing-total strong {
  color: var(--accent);
}
.pricing-estimate {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.pricing-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
}
.pricing-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.pricing-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.pricing-note strong { color: var(--text-body); }
.pricing-bonus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(114,127,247,0.12);
  border: 1px solid rgba(114,127,247,0.3);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 16px;
  font-weight: 500;
}
.pricing-bonus .lucide { color: var(--accent); }
.pricing-bonus strong { color: var(--accent); }

/* ===== 下载 ===== */
.download-section {
  padding: var(--section-padding) 0;
  text-align: center;
  background: var(--bg-section-alt);
}
.download-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
  text-align: left;
}
.download-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  text-align: center;
}
.download-step .step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(114,127,247,0.1);
  border-radius: 16px;
}
.download-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.download-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.download-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.download-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.download-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.download-box .btn-primary { font-size: 18px; padding: 18px 36px; min-width: 200px; justify-content: center; }
.download-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-reqs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.download-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.download-links a {
  font-size: 13px;
  color: var(--accent);
}
.download-links a:hover { text-decoration: underline; }

/* ===== 下载引导 CTA ===== */
.download-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-section-alt);
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(94,69,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.download-cta h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
}
.download-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}
.download-cta .btn-primary {
  font-size: 18px;
  padding: 18px 48px;
  position: relative;
}
.cta-trust-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
}
.cta-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
}
.cta-links a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}
.cta-links a:hover { text-decoration: underline; }

/* ===== FAQ ===== */
.faq-section {
  padding: var(--section-padding) 0;
  max-width: 720px;
  margin: 0 auto;
}
.faq-section .section-title { text-align: center; }
.faq-list { margin-top: 40px; }
details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
details.faq-item[open] { border-color: var(--accent); }
details.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-secondary);
  transition: transform 0.3s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 页脚 ===== */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.footer-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 返回顶部 ===== */
/* 滚动引导 */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.scroll-hint .lucide { color: var(--text-muted); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ===== 通用区块样式 (用于新品深度展示区) ===== */
.section-alt {
  padding: var(--section-padding) 0;
  background: var(--bg-section-alt);
  position: relative;
  text-align: left;
}
.section-alt .section-desc {
  font-size: 16px;
  margin-bottom: 60px;
}
.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.alt-grid-flip .alt-visual { order: 2; }
.alt-grid-flip .alt-content { order: 1; }
.alt-grid-flip { grid-template-columns: 5fr 9fr; }
.alt-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.alt-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.alt-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.alt-visual {
  position: relative;
}
.alt-audience-notes {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  background: rgba(114,127,247,0.06);
  border: 1px solid rgba(114,127,247,0.15);
  border-radius: 12px;
}
.alt-audience-notes p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.alt-footnote {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== 模型标签 ===== */
.model-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.model-tag {
  display: inline-block;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(114,127,247,0.1);
  border: 1px solid rgba(114,127,247,0.25);
  border-radius: 20px;
}

/* ===== AI 图像工具箱 ===== */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.toolkit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.toolkit-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.toolkit-icon {
  width: 48px;
  height: 48px;
  background: rgba(114,127,247,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.toolkit-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.toolkit-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Photoshop 插件 ===== */
.ps-plugin-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 60px;
  /* 用默认 stretch：左栏撑满到与右侧截图等高，两栏上下边都齐平 */
  align-items: stretch;
  margin-top: 40px;
}
.ps-plugin-left {
  display: flex;
  flex-direction: column;
}
.ps-plugin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 两行等分左栏剩余高度，卡片外框随截图高度拉伸，避免底部对齐后上方空一块 */
  grid-template-rows: 1fr 1fr;
  column-gap: 28px;
  row-gap: 48px;
  flex: 1;
}
/* 这里的卡片比工具箱区块的更紧凑：内边距、图标、字号都收小 */
.ps-plugin-cards .toolkit-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 18px;
}
.ps-plugin-cards .toolkit-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.ps-plugin-cards .toolkit-icon svg { width: 20px; height: 20px; }
.ps-plugin-cards .toolkit-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.ps-plugin-cards .toolkit-card p {
  font-size: 12.5px;
  line-height: 1.6;
}
.ps-panel-frame {
  max-width: 310px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  /* 图片按宽度自适应不会溢出，用 clip 确保这里不产生滚动容器 */
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.ps-panel-frame img { display: block; width: 100%; height: auto; }
.ps-plugin-cta {
  margin-top: 24px;
  text-align: center;
}
.ps-plugin-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 模型卡片（替代截图） ===== */
.model-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.model-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.model-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.model-card-icon.grad-1 { background: linear-gradient(135deg, rgba(114,127,247,0.2), rgba(114,127,247,0.05)); }
.model-card-icon.grad-2 { background: linear-gradient(135deg, rgba(164,105,250,0.2), rgba(164,105,250,0.05)); }
.model-card-icon.grad-3 { background: linear-gradient(135deg, rgba(94,69,255,0.2), rgba(94,69,255,0.05)); }
.model-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.model-card .model-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(114,127,247,0.08);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.model-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
  padding: 0 2px;
}

/* ===== 提示词库 Mockup ===== */
.prompt-mockup {
  display: flex;
  background: linear-gradient(135deg, #1a1b2e, #24253a);
  border: 1px solid var(--border);
  border-radius: 16px;
  /* 同 .hero：固定高度的 mockup 内部内容偏高，用 hidden 有被滚走的风险 */
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  height: 520px;
}
.prompt-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.prompt-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.prompt-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 10px;
}
.prompt-new-btn {
  font-size: 12px;
  color: var(--accent);
  background: rgba(114,127,247,0.12);
  border: 1px solid rgba(114,127,247,0.2);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: default;
  white-space: nowrap;
}
.prompt-sidebar {
  width: 130px;
  min-width: 130px;
  background: rgba(0,0,0,0.2);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}
.prompt-sidebar-item {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: default;
  transition: background 0.2s;
}
.prompt-sidebar-item.active {
  color: var(--text-primary);
  background: rgba(114,127,247,0.15);
}
.prompt-sidebar-add {
  font-size: 12px;
  color: var(--accent);
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: auto;
  cursor: default;
}
.prompt-cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  align-content: center;
}
.prompt-status {
  padding: 8px 16px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  text-align: center;
  flex-shrink: 0;
}
.prompt-mini-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px;
  transition: border-color 0.2s;
}
.prompt-mini-card:hover {
  border-color: rgba(114,127,247,0.3);
}
.pmc-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pmc-preview {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== 免费体验横幅 ===== */
.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(114,127,247,0.12), rgba(164,69,255,0.08));
  border: 1px solid rgba(114,127,247,0.3);
  border-radius: 16px;
  margin-bottom: 40px;
  text-align: left;
}
.trial-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trial-banner-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trial-banner-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.trial-banner-text p {
  font-size: 13px;
  color: var(--text-secondary);
}
.trial-banner .btn-primary {
  padding: 12px 28px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .ps-plugin-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .hero-mockup { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .alt-grid { grid-template-columns: 1fr; gap: 40px; }
  .alt-grid-flip { grid-template-columns: 1fr; }
  .alt-grid-flip .alt-visual { order: 1; }
  .alt-grid-flip .alt-content { order: 2; }
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
  .trial-banner { flex-direction: column; text-align: center; }
  .trial-banner-left { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  :root { --section-padding: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 12px;
    left: auto;
    width: min(200px, 70%);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 16px;
    gap: 14px;
    align-items: stretch;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 999;
  }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .float-badge { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .download-steps { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .alt-grid { grid-template-columns: 1fr; gap: 32px; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .ps-plugin-cards { grid-template-columns: 1fr; }
  .model-cards { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .prompt-mockup { height: 380px; max-width: none; }
  .prompt-sidebar { width: 100px; min-width: 100px; padding: 12px 8px; }
  .prompt-sidebar-item { font-size: 11px; padding: 6px 8px; }
  .prompt-cards { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .prompt-mini-card { padding: 8px; }
  .pmc-title { font-size: 10px; }
  .pmc-preview { font-size: 9px; }
  .prompt-toolbar { padding: 8px 12px; }
  .prompt-search-box { font-size: 11px; padding: 4px 8px; }
  .prompt-new-btn { font-size: 11px; padding: 4px 10px; }
  .prompt-status { font-size: 10px; padding: 6px 12px; }
  .trial-banner { padding: 20px; }
}
