/* ===== GeniusSpark 官网介绍页 - TapNow 风格 ===== */
:root {
  --bg-page: #080c10;
  --bg-card: #0f1419;
  --bg-strip: #0b0f14;
  --bg-elevated: #131920;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --accent-hover: #0ea5e9;
  --accent-glow: rgba(56, 189, 248, 0.2);
  --border: #1e293b;
  --border-subtle: rgba(30, 41, 59, 0.8);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 锚点滚动时留出固定顶栏高度，避免目标被遮挡 */
main > section[id] {
  scroll-margin-top: 5.5rem;
}
#hero {
  scroll-margin-top: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 跳过至主内容：仅键盘聚焦时显示，便于无障碍 */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--bg-page);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transform: translateY(-100%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- 滚动进入动效 ----- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 12, 16, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s, border-color 0.3s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo img,
.logo-img {
  display: block;
  max-height: 2.5rem;
  width: auto;
  object-fit: contain;
}
.logo .logo-name {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--bg-elevated); }
.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.nav-toggle::before { top: 0.5rem; }
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle::after { bottom: 0.5rem; }
body.nav-open .nav-toggle::before { transform: translateX(-50%) translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text-primary);
}

.nav .btn { margin-left: 0; }
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.9rem; }

.lang-toggle {
  display: flex;
  gap: 0.25rem;
}

.lang-toggle button {
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.lang-toggle button:hover:not([aria-pressed="true"]) {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #0a0e14;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #080c10;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* 主 CTA：立即开始 - 白底、黑色加粗字、高对比 */
.btn-cta-primary {
  background: #fff;
  color: #000;
  font-weight: 800;
  border: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 4px 14px rgba(0,0,0,0.25);
}
.btn-cta-primary:hover {
  background: #f1f5f9;
  color: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 8px 24px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.btn-cta-hero {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 140px;
  text-align: center;
}
.nav .btn-cta-primary { padding: 0.5rem 1.25rem; font-size: 0.95rem; min-width: auto; }
.cta-nav-bold { color: #000 !important; font-weight: 800 !important; }
.nav-top { font-weight: 600; }

.hero-cta-sub,
.cta-sub {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.strip-cta .cta-sub { margin-top: 0.5rem; }

.hero-actions .btn + .btn { margin-left: 1rem; }

/* ----- Main ----- */
main { flex: 1; }

.section-inner,
.strip-inner,
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ----- 价格体系（价目表）----- */
.pricing-section {
  padding: 4rem 0 5rem;
}

.pricing-section .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-block {
  margin-bottom: 2.5rem;
}

.pricing-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.pricing-table th {
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-elevated);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--accent-dim);
}

.pricing-cta {
  text-align: center;
  margin: 2rem 0 0;
}

.pricing-cta .btn {
  font-size: 0.95rem;
}

/* ----- Hero（TapNow 风格：全屏感 + 渐变与光晕背景）----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4rem; /* 顶部为固定 header 预留空间 */
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(56, 189, 248, 0.05), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.05), transparent);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: meshShift 20s linear infinite;
}

@keyframes meshShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(64px, 64px); }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: glowPulse 8s var(--ease-in-out) infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-glow);
  top: -100px;
  right: -100px;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.12);
  bottom: 10%;
  left: -80px;
  animation-delay: -3s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin: 0 0 1rem;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 540px;
  line-height: 1.65;
}

.hero-actions {
  margin-bottom: 2.5rem;
}

.hero-visual {
  margin-top: 2rem;
}

.hero-placeholder {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-placeholder-text { display: block; }

/* Hero 占位：轻量画布动效（节点+连线） */
.hero-mock-canvas {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.hero-mock-canvas .mock-nodes {
  position: absolute;
  inset: 2rem;
  pointer-events: none;
}

.mock-node {
  position: absolute;
  width: 48px;
  height: 32px;
  background: var(--bg-elevated);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: mockNodePulse 3s var(--ease-in-out) infinite;
}

.mock-node-1 { top: 15%; left: 20%; animation-delay: 0s; }
.mock-node-2 { top: 45%; left: 35%; animation-delay: 0.4s; }
.mock-node-3 { top: 25%; right: 25%; animation-delay: 0.8s; }
.mock-node-4 { bottom: 20%; right: 30%; animation-delay: 1.2s; }

.mock-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
  border-radius: 1px;
  transform-origin: left center;
  animation: mockLineGlow 2.5s var(--ease-in-out) infinite;
}

.mock-line-1 { top: 22%; left: 26%; width: 12%; transform: rotate(-15deg); animation-delay: 0s; }
.mock-line-2 { top: 38%; left: 42%; width: 18%; transform: rotate(8deg); animation-delay: 0.5s; }
.mock-line-3 { bottom: 28%; left: 48%; width: 14%; transform: rotate(-5deg); animation-delay: 1s; }

@keyframes mockNodePulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes mockLineGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.hero-placeholder-hint {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

/* ----- 什么是 GeniusSpark ----- */
.what-is {
  padding: 3rem 0 4rem;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.what-is-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.what-is-title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.what-is-def {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
}

.what-is-diff {
  font-size: 0.95rem;
  color: var(--accent);
  margin: 0;
  font-weight: 500;
}

/* ----- 创作面板区块 ----- */
.panel {
  padding: 5rem 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.panel-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 2rem;
  max-width: 640px;
  line-height: 1.3;
}

.panel-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.panel-placeholder {
  background: var(--bg-card);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 创作面板占位：网格+轻量动效 */
.panel-mock-canvas {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-mock-canvas .mock-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: mockGridShift 25s linear infinite;
}

@keyframes mockGridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(32px, 32px); }
}

.panel-placeholder-hint {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.panel-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.panel-demo {
  margin-top: 2rem;
  text-align: center;
}

.panel-demo-label {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.panel-demo-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16/9;
}

.panel-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.panel-demo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* ----- 创作示例 / 灵感 ----- */
.showcase {
  padding: 4rem 0 5rem;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.showcase-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: -1rem 0 1.5rem;
}
.showcase-desc-hint {
  margin-left: 0.35em;
  opacity: 0.9;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.showcase-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.showcase-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
  display: block;
  cursor: pointer;
}
.showcase-img-wrap:focus {
  outline: 2px solid rgba(56, 189, 248, 0.5);
  outline-offset: 2px;
}

.showcase-img-wrap picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 展示全图，尺寸不统一时也不裁切 */
  display: block;
}

.showcase-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.showcase-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding: 1rem 1rem 0;
  color: var(--text-primary);
}

.showcase-card p {
  margin: 0;
  padding: 0.5rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ----- 功能网格（TapNow 风格卡片）----- */
.features {
  padding: 5rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 功能要点补充 */
.feature-detail {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.feature-detail-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.feature-detail-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.feature-detail-list li { margin-bottom: 0.35rem; }

/* ----- 应用场景 / 案例 ----- */
.cases {
  padding: 4rem 0 5rem;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.case-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.case-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.case-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-card p.case-tip {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ----- 使用流程 ----- */
.how-it-works {
  padding: 5rem 0;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 2.5rem 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
  align-items: start;
}

.steps li:last-child { margin-bottom: 0; }

.step-icon {
  grid-row: span 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.step-num {
  grid-row: span 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 50%;
}

.steps strong {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.steps span:not(.step-num):not(.step-icon) {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----- 信任条 ----- */
.strip-trust {
  padding: 2rem 0;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.trust-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.trust-line {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.trust-logo-placeholder {
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----- 灵活接入多种模型（产品功能后着重展示） ----- */
.strip-engines {
  padding: 4rem 0;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.engines-prominent .engines-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.engines-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.engines-title-main {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.engines-desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.engines-desc-main {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.engines-highlight {
  padding: 1rem 1.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.engines-highlight-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.engines-placeholder-wrap {
  margin-top: 0.5rem;
}

.engines-placeholder {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.strip-engines .strip-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ----- 用户评价（横向滚动） ----- */
.testimonials {
  padding: 4rem 0;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.testimonials .section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonials-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -1.5rem;
  padding: 0.5rem 0 1rem 1.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.testimonials-scroll-wrap:active { cursor: grabbing; }
.testimonials-scroll-wrap::-webkit-scrollbar {
  height: 6px;
}
.testimonials-scroll-wrap::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 3px;
}
.testimonials-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.testimonials-scroll-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-right: 1.5rem;
}

.testimonial-card {
  flex-shrink: 0;
  width: 300px;
  min-height: 140px;
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.testimonial-author {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-hint {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----- CTA 条 ----- */
.strip-cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-strip) 0%, var(--bg-page) 100%);
  border-top: 1px solid var(--border);
}

.strip-cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.cta-desc {
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

.strip-cta .btn-cta-hero { margin: 0 auto; display: inline-block; }

/* ----- 联系我们 ----- */
.contact {
  padding: 4rem 0 5rem;
  background: var(--bg-strip);
  border-top: 1px solid var(--border);
}

.contact-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: inline-block;
}

.contact-qr-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 1rem;
  text-align: center;
}
.contact-qr-placeholder.hide { display: none; }
.contact-qr.hide { display: none; }

.contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- FAQ ----- */
.faq {
  padding: 4rem 0 5rem;
}

.faq-list {
  margin: 0;
  max-width: 640px;
  margin: 0 auto;
}

.faq-list dt {
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.faq-list dt:first-of-type { margin-top: 0; }

.faq-question {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
}
.faq-question:hover { color: var(--accent); }
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-question::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"]::after { transform: translateY(-40%) rotate(-135deg); }

.faq-answer {
  display: none;
  margin: 0;
  padding: 0.75rem 0 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-answer.is-open { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Footer ----- */
.site-footer {
  margin-top: auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-strip);
  text-align: center;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-copy {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-legal { margin: 0; font-size: 0.85rem; }

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* ----- Responsive：平板与手机 ----- */
@media (max-width: 1024px) {
  .section-inner,
  .strip-inner,
  .hero-inner { padding: 0 1.25rem; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .cases-grid { grid-template-columns: repeat(2, 1fr); }

  .panel { padding: 4rem 0; }
  .features { padding: 4rem 0; }
  .how-it-works { padding: 4rem 0; }

  .testimonials-scroll-wrap { margin: 0 -1.25rem; padding-left: 1.25rem; }
  .testimonials-track { padding-right: 1.25rem; }
}

@media (max-width: 968px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: 3.25rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }

  .nav.nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }
  .nav a:hover { background: var(--bg-elevated); }
  .nav .btn { text-align: center; margin-top: 0.5rem; }
  .nav .btn-nav-cta { order: -1; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0.75rem 1.25rem; }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 2.5rem;
  }

  .hero-title { font-size: clamp(1.85rem, 5vw, 2.5rem); }
  .hero-actions .btn + .btn { margin-left: 0.5rem; }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card { padding: 1.5rem; }

  .steps li {
    grid-template-columns: 2rem 2rem 1fr;
    margin-bottom: 1.5rem;
  }

  .step-icon { width: 2rem; height: 2rem; }
  .step-icon svg { width: 1.25rem; height: 1.25rem; }
  .step-num {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }

  .contact { padding: 3rem 0 4rem; }
  .contact-card { padding: 1.5rem; }
  .contact-qr-wrap { width: 200px; height: 200px; }

  .pricing-section { padding: 3rem 0 4rem; }
  .pricing-table th,
  .pricing-table td { padding: 0.5rem 0.75rem; font-size: 0.85rem; }

  .cases { padding: 3rem 0 4rem; }
  .cases-grid { grid-template-columns: 1fr; }
  .showcase { padding: 3rem 0 4rem; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-detail { margin-top: 2rem; padding-top: 1.5rem; }
}

@media (max-width: 480px) {
  .section-inner,
  .strip-inner,
  .hero-inner { padding: 0 1rem; }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn { width: 100%; margin-left: 0 !important; }

  .section-title { font-size: 1.5rem; }
  .panel-title { font-size: 1.35rem; }

  .contact-qr-wrap { width: 180px; height: 180px; }

  .testimonials-scroll-wrap { margin: 0 -1rem; padding-left: 1rem; }
  .testimonials-track { padding-right: 1rem; }
  .testimonial-card { width: 280px; }
}

/* ----- 点击卡片图查看大图（灯箱） ----- */
.webonly-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}
.webonly-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.webonly-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.webonly-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.webonly-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
