/* ============================================================
   星创 XingChuang — 门户落地页
   方案 D「东方黑金纪实」全站换装（2026-11-22）
   Design tokens: primitive → semantic → component (三层 token)
   底 #0C0C0E / 卡 #16161A / 浮层 #202026；描边鎏金 16%；
   主渐变鎏金琥珀 #F3D39C→#D4A359→#A6752C；次强调朱砂红/玉石青；
   胶片颗粒质感；数字 tabular-nums。
   对比度红线: 正文 ≥ 7:1 / 次要 ≥ 4.5:1 (WCAG AA+)
   ============================================================ */

:root {
  /* ---- Primitive ---- */
  --gold-100: #f7e3bd;         /* 高光鎏金（算力胶囊小字等） */
  --gold-200: #f3d39c;         /* 鎏金浅（渐变起点） */
  --gold-300: #e4bc77;         /* 图标/强调文字（10.9:1 on 底色） */
  --gold-400: #d4a359;         /* 鎏金主色（渐变中段） */
  --gold-600: #a6752c;         /* 鎏金深（渐变端点） */
  --vermilion: #e5484d;        /* 次强调 · 朱砂红（5.0:1 on 底色） */
  --jade: #2ec4b6;             /* 次强调 · 玉石青（9.0:1 on 底色） */
  --btn-text: #181206;         /* 渐变钮文字 · 深棕黑（≥8:1 on 金渐变） */
  --ink-950: #0c0c0e;          /* 页面底色 */
  --ink-900: #131316;          /* 区块底色（section--alt / footer） */
  --ink-850: #16161a;          /* 卡片底色 */
  --ink-800: #16161a;          /* 卡片底色（别名，兼容旧类名） */
  --ink-700: #202026;          /* 浮层底色（header / 移动菜单 / 悬浮胶囊） */
  --text-hi: #f5f2e8;          /* 主文字（≈17:1 on 底色） */
  --text-mid: #c2bda9;         /* 次文字（≈9.5:1 on 卡片，≥7:1 红线达标） */
  --text-low: #928f83;         /* 弱文字（≈5.5:1 on 卡片，仅辅助信息） */
  --white: #ffffff;

  /* ---- Semantic ---- */
  --color-primary: var(--gold-400);
  --color-primary-deep: var(--gold-600);
  --color-accent: var(--vermilion);
  --color-bg: var(--ink-950);
  --color-surface: var(--ink-900);
  --color-card: var(--ink-850);
  --color-float: var(--ink-700);
  --color-border: rgba(212, 175, 115, 0.16);
  --color-border-strong: rgba(212, 175, 115, 0.3);
  --color-text: var(--text-hi);
  --color-text-muted: var(--text-mid);
  --color-text-faint: var(--text-low);
  --grad-brand: linear-gradient(135deg, #f3d39c 0%, #d4a359 55%, #a6752c 100%);
  --grad-cta: linear-gradient(135deg, #f3d39c 0%, #d4a359 55%, #a6752c 100%);
  --grad-text: linear-gradient(92deg, #f3d39c 10%, #d4a359 90%);
  --glow-brand: 0 12px 40px -8px rgba(212, 175, 115, 0.35);

  /* ---- Spacing（营销页：宽松节奏 4→128） ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Typography ---- */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 52px;
  --text-hero: clamp(40px, 7.2vw, 72px);
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-body: 1.7;

  /* ---- Shape & Motion（方案 D 圆角 12/18） ---- */
  --radius-sm: 12px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums; /* 数字等宽对齐（价格/算力/编号） */
}

/* ---- 胶片质感：暗角 + 细颗粒（纯装饰，不拦截交互） ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 118;
  pointer-events: none;
  background: radial-gradient(120% 92% at 50% 38%, transparent 58%, rgba(0, 0, 0, 0.38) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 119;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(212, 175, 115, 0.4); color: var(--btn-text); }

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--grad-cta);
  color: var(--btn-text);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: var(--space-3); }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: 800px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--grad-cta);
  color: var(--btn-text);
  box-shadow: 0 8px 24px -6px rgba(166, 117, 44, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(166, 117, 44, 0.65);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px -4px rgba(166, 117, 44, 0.55); }

.btn-ghost {
  background: rgba(247, 227, 189, 0.06);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}
.btn-ghost:hover {
  background: rgba(247, 227, 189, 0.12);
  border-color: rgba(212, 175, 115, 0.45);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

.btn-outline {
  background: rgba(212, 175, 115, 0.1);
  border-color: rgba(212, 175, 115, 0.45);
  color: var(--gold-300);
}
.btn-outline:hover {
  background: rgba(212, 175, 115, 0.18);
  border-color: rgba(212, 175, 115, 0.7);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

.btn-light {
  background: var(--white);
  color: var(--btn-text);
  box-shadow: 0 10px 32px -10px rgba(247, 227, 189, 0.35);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(247, 227, 189, 0.45); }
.btn-light:active { transform: translateY(0); }

.btn-lg { min-height: 56px; padding: 0 var(--space-7); font-size: var(--text-md); }
.btn-sm { min-height: 42px; padding: 0 var(--space-5); font-size: var(--text-sm); }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(32, 32, 38, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.brand-mark { width: 26px; height: 26px; }
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-link {
  position: relative;
  font-size: 15px;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: right 0.25s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--color-text); }
.nav-link:hover::after, .nav-link:focus-visible::after { right: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}
.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: rgba(247, 227, 189, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* 纪实氛围底图（叠在暗底上，左侧压暗保证文字对比度 ≥ 7:1） */
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("../assets/showcase/hero_glow_bg.webp") center right / cover no-repeat;
  opacity: 0.5;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 14, 0.92) 0%, rgba(12, 12, 14, 0.55) 34%, rgba(12, 12, 14, 0.12) 62%, rgba(12, 12, 14, 0) 100%);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.6) 0%, rgba(12, 12, 14, 0) 26%, rgba(12, 12, 14, 0) 72%, var(--ink-950) 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero-glow--a {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(212, 175, 115, 0.3), transparent 65%);
}
.hero-glow--b {
  width: 480px;
  height: 480px;
  bottom: -200px;
  left: -180px;
  background: radial-gradient(circle, rgba(166, 117, 44, 0.16), transparent 65%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 227, 189, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 227, 189, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-6);
  padding-bottom: var(--space-9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 115, 0.4);
  background: rgba(212, 175, 115, 0.1);
  color: var(--gold-300);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* 朱砂红“REC”指示点：纪实感次强调 */
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0.06); }
}

.hero-title {
  margin-top: var(--space-5);
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-sub {
  margin-top: var(--space-5);
  max-width: 34em;
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.hero-actions {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-stats {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-6);
  max-width: 480px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: var(--space-4);
  border-left: 2px solid rgba(212, 175, 115, 0.45);
}
.hero-stats strong {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}
.hero-stats span { font-size: var(--text-sm); color: var(--color-text-faint); }

/* ---- Hero 视觉：手机 mockup ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone { position: relative; }

.phone-frame {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #26232b, #0b0a0d 60%);
  border: 1px solid rgba(212, 175, 115, 0.22);
  box-shadow:
    0 0 0 1px rgba(212, 175, 115, 0.12),
    0 24px 70px -18px rgba(0, 0, 0, 0.75),
    0 24px 60px -20px rgba(212, 175, 115, 0.2);
}
.phone-frame::before,
.phone-frame::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3a352d, #221f1b);
}
.phone-frame::before { top: 22%; height: 56px; }
.phone-frame::after { top: calc(22% + 72px); height: 56px; }

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: #000;
}
.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  border-radius: 14px;
  background: #060708;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ---- 成片封面（静态 .webp）+ 模拟播放动效 ---- */
.shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
/* 进度条缓动：仿短视频进度 */
.shot-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 44px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.shot-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left center;
  animation: shot-progress 16s linear infinite;
  animation-delay: var(--shot-delay, 0s);
}
@keyframes shot-progress {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
/* 字幕条微滚动：两行字幕循环上滑 */
.shot-sub {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 44px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(8, 8, 10, 0.68);
  border: 1px solid rgba(212, 175, 115, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
}
.shot-sub-line {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-hi);
}
.shot-sub-line:nth-child(1) { animation: shot-sub-a 9s ease-in-out infinite; animation-delay: var(--shot-delay, 0s); }
.shot-sub-line:nth-child(2) {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  opacity: 0;
  animation: shot-sub-b 9s ease-in-out infinite;
  animation-delay: var(--shot-delay, 0s);
}
@keyframes shot-sub-a {
  0%, 44% { opacity: 1; transform: translateY(0); }
  50%, 94% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes shot-sub-b {
  0%, 44% { opacity: 0; transform: translateY(6px); }
  50%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

.float-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(32, 32, 38, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 115, 0.2);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.55);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--gold-300); }
/* 玉石青次强调：成片完成态 */
.chip-b svg { color: var(--jade); }
.chip-a { top: 12%; left: -14%; }
.chip-b { bottom: 16%; right: -12%; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- 热点源跑马灯 ---- */
.hero-marquee {
  position: relative;
  border-block: 1px solid var(--color-border);
  background: rgba(247, 227, 189, 0.02);
  overflow: hidden;
  padding: var(--space-4) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-right: var(--space-6);
}
.marquee-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(212, 175, 115, 0.6);
  flex: none;
  margin-right: var(--space-6);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections 通用 ============ */
.section { padding: var(--space-10) 0; }
.section--alt { background: var(--color-surface); }
.section--flush { padding-top: 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-9);
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-300);
}
.section-title {
  margin-top: var(--space-4);
  font-size: clamp(28px, 4.6vw, var(--text-3xl));
  line-height: var(--leading-tight);
  font-weight: 800;
}
.section-sub {
  margin-top: var(--space-4);
  font-size: var(--text-md);
  color: var(--color-text-muted);
}

/* ============ 三步流程 ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 115, 0.45);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.6);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad-brand);
  color: var(--btn-text);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: var(--glow-brand);
}
.step-title {
  margin-top: var(--space-5);
  font-size: var(--text-xl);
  font-weight: 700;
}
.step-desc {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ============ 功能网格 ============ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.feature-card {
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 115, 0.5);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(212, 175, 115, 0.14);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  background: linear-gradient(150deg, rgba(212, 175, 115, 0.16), rgba(212, 175, 115, 0.05));
  border: 1px solid rgba(212, 175, 115, 0.32);
  transition: transform 0.25s var(--ease);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature-title {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  font-weight: 700;
}
.feature-desc {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

/* ============ 成品演示 ============ */
.showcase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: end;
  justify-items: center;
}
.showcase-item { text-align: center; }
.showcase-item--mid { padding-bottom: var(--space-6); }

/* 每台手机字幕/进度错峰 */
.showcase-item:nth-child(1) { --shot-delay: -1.8s; }
.showcase-item:nth-child(2) { --shot-delay: -4.6s; }
.showcase-item:nth-child(3) { --shot-delay: -7.2s; }

.phone--mini .phone-frame {
  width: min(220px, 26vw);
  border-radius: 34px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(212, 175, 115, 0.1),
    0 18px 48px -16px rgba(0, 0, 0, 0.7);
}
.phone--mini .phone-screen { border-radius: 27px; }
.phone--mini .phone-island { width: 64px; height: 18px; top: 9px; border-radius: 10px; }
.phone--mini .shot-progress { left: 10px; right: 10px; top: 34px; }
.phone--mini .shot-sub { left: 8px; right: 8px; bottom: 32px; padding: 5px 8px; border-radius: 8px; }
.phone--mini .shot-sub-line { font-size: 11px; }

.showcase-item:nth-child(1) .phone-frame { transform: rotate(-4deg); }
.showcase-item:nth-child(3) .phone-frame { transform: rotate(4deg); }
.showcase-item:hover .phone-frame {
  transform: rotate(0) translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 115, 0.16),
    0 26px 60px -16px rgba(0, 0, 0, 0.75),
    0 20px 50px -20px rgba(212, 175, 115, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.showcase-item .phone-frame { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }

.showcase-caption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
}

/* ============ 定价 ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.6);
}

.plan--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ink-850), var(--ink-850)) padding-box,
    linear-gradient(165deg, rgba(243, 211, 156, 0.9), rgba(212, 175, 115, 0.4) 55%, rgba(166, 117, 44, 0.55)) border-box;
  box-shadow: 0 26px 64px -18px rgba(212, 175, 115, 0.28);
}
.plan--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 72px -18px rgba(212, 175, 115, 0.36);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: var(--btn-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--glow-brand);
  white-space: nowrap;
}

.plan-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-muted);
}
.plan--featured .plan-name { color: var(--gold-300); }

.plan-price {
  margin-top: var(--space-4);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.plan-price .currency { font-size: var(--text-lg); font-weight: 700; color: var(--color-text); }
.plan-price strong {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.plan-price .unit { font-size: var(--text-sm); color: var(--color-text-faint); }

/* 高光算力胶囊：每卡唯一，不再重复 3 遍 */
.plan-credit {
  margin-top: var(--space-4);
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 115, 0.12);
  border: 1px solid rgba(212, 175, 115, 0.4);
  color: var(--gold-200);
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.plan-features {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
  flex: 1;
  align-content: start;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: 14px;
}
/* SVG 对勾权益（鎏金） */
.plan-features li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d39c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    rgba(212, 175, 115, 0.16);
}

.plan .btn { margin-top: var(--space-7); }

.pricing-note {
  margin-top: var(--space-7);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: var(--space-4);
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item.open { border-color: rgba(212, 175, 115, 0.45); }

.faq-q-wrap { margin: 0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: var(--space-4) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
}
.faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold-300);
  transition: transform 0.28s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  padding: 0 var(--space-6);
  color: var(--color-text-muted);
}
.faq-item.open .faq-a-inner { padding-bottom: var(--space-5); }

/* ============ Final CTA ============ */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--space-10) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 115, 0.35);
  background:
    radial-gradient(120% 150% at 50% -10%, rgba(212, 175, 115, 0.18), transparent 55%),
    linear-gradient(180deg, var(--ink-850), var(--ink-900));
}
.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 115, 0.35), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}
.cta-title {
  position: relative;
  font-size: clamp(26px, 4.4vw, var(--text-3xl));
  line-height: var(--leading-tight);
  font-weight: 800;
}
.cta-sub {
  position: relative;
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-md);
}
.cta-panel .btn { position: relative; margin-top: var(--space-7); }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--ink-900);
  padding-top: var(--space-9);
  margin-top: var(--space-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}
.footer-slogan {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.footer-contact {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-2);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}
.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
}
.footer-col ul {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
}
.footer-col a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ============ Reveal 动画（仅 JS 可用时隐藏） ============ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: 0.1s; }
html.js .reveal-d2 { transition-delay: 0.2s; }
html.js .reveal-d3 { transition-delay: 0.3s; }
html.js .reveal-d4 { transition-delay: 0.4s; }

/* ============ 响应式 ============ */
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  /* 平板 768~1099px：定价 2 列（修复单卡净宽过窄竖排折行） */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  /* 桌面 ≥1100px：定价 4 列 + 推荐卡放大 */
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .plan--featured { transform: scale(1.045); }
  .plan--featured:hover { transform: scale(1.045) translateY(-6px); }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-6);
    padding-top: var(--space-7);
  }
  .hero-visual { justify-content: flex-end; }
  .chip-a { left: -16%; }
  .chip-b { right: -14%; }
}

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-5) 20px var(--space-7);
    background: rgba(32, 32, 38, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }
  .nav-link {
    display: block;
    padding: var(--space-4) var(--space-2);
    font-size: var(--text-md);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-link::after { display: none; }
  .nav-cta { width: 100%; }

  .hero { padding-top: var(--space-5); }
  .hero-inner { padding-bottom: var(--space-8); gap: var(--space-7); }
  /* 双按钮收窄内边距防厚重折行 */
  .hero-actions { gap: var(--space-3); }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; padding-inline: var(--space-4); }
  .chip-a { left: -4%; top: 8%; }
  .chip-b { right: -4%; }

  /* Showcase 单列居中，清除 rotate(±4deg) 歪斜 */
  .showcase-row { grid-template-columns: 1fr; justify-items: center; gap: var(--space-7); }
  .showcase-item:nth-child(1) .phone-frame,
  .showcase-item:nth-child(3) .phone-frame { transform: none; }
  .phone--mini .phone-frame { width: min(260px, 68vw); }
  .showcase-item--mid { padding-bottom: 0; }

  .section { padding: var(--space-9) 0; }
  .section-head { margin-bottom: var(--space-7); }
}

@media (max-width: 400px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .float-chip { display: none; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero-marquee { overflow-x: auto; }
  .float-chip { animation: none; }
  /* 静态化模拟播放动效：定格在第一条字幕 + 满进度条 */
  .shot-progress i { animation: none; transform: none; }
  .shot-sub-line:nth-child(2) { display: none; }
}

/* ============================================================
   动效增强层（UI 库研究移植，纯 CSS/JS 无依赖）
   1) 按钮点击涟漪 —— 移植自 Beast UI button-ripple（MIT）
   2) Hero 标题字符弹簧入场 —— 模拟 motion.dev spring 物理
      （渐变短语整段交给纯 CSS background-clip: text，
        不再按字符切片测量位置 → 窗口缩放不会出现末尾字透明）
   3) Hero 光标跟随光晕 —— uiverse/spotlight 式聚光
   ============================================================ */

/* ---- 1) 涟漪：按钮仅补定位，裁剪交给独立图层，不影响原有溢出 ---- */
.btn { position: relative; }
.fx-ripple-layer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.fx-ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
}

/* ---- 2) 标题字符弹簧入场（cubic-bezier 带过冲，模拟 spring 回弹） ---- */
.hero-title .fx-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) scale(0.9);
  animation: fx-char-in 0.72s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(0.18s + var(--fx-i, 0) * 0.05s);
  will-change: transform, opacity;
}
/* 渐变短语整段入场：渐变由 .grad-text 的纯 CSS background-clip 绘制，
   缩放/重排时始终整段连续，不会出现字符切片错位 */
.hero-title .fx-grad-unit { will-change: transform, opacity; }
@keyframes fx-char-in {
  0% { opacity: 0; transform: translateY(0.55em) scale(0.9); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- 3) Hero 光标跟随光晕（z-index:-1 与 hero-bg 同层，DOM 靠后故在其上） ---- */
.hero-cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 211, 156, 0.14), rgba(212, 175, 115, 0.06) 45%, transparent 68%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  will-change: transform;
}
.hero.is-glowing .hero-cursor-glow { opacity: 1; }


/* ============ 客服微信（2026-11-25）：按钮 / 定价卡 / 悬浮球 / 弹层 ============ */
:root {
  --wechat: #07c160;
  --wechat-deep: #059a4c;
}

/* 微信绿按钮（导航 + 定价卡 + 弹层内复用） */
.btn-wechat {
  background: linear-gradient(135deg, var(--wechat) 0%, var(--wechat-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(7, 193, 96, 0.5);
}
.btn-wechat:hover { transform: translateY(-2px); }
.btn-wechat svg { width: 1.2em; height: 1.2em; }

/* 定价区客服卡 */
.kf-card {
  margin-top: var(--space-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 200px at 12% 0%, rgba(7, 193, 96, 0.12), transparent 60%),
    var(--color-card);
  border: 1px solid rgba(7, 193, 96, 0.35);
  box-shadow: 0 12px 48px -12px rgba(7, 193, 96, 0.25);
}
.kf-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--wechat);
  margin-bottom: var(--space-3);
}
.kf-card-tag .badge-dot { background: var(--wechat); }
.kf-card-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.26;
  margin-bottom: var(--space-3);
}
.kf-card-desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 46ch;
}
.kf-card-qr {
  flex-shrink: 0;
  text-align: center;
}
.kf-card-qr img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 8px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
}
.kf-card-qr figcaption {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
@media (max-width: 720px) {
  .kf-card { flex-direction: column; text-align: center; }
  .kf-card-desc { margin-inline: auto; }
}

/* 悬浮客服球 */
.kf-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 118;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--wechat) 0%, var(--wechat-deep) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px -6px rgba(7, 193, 96, 0.55);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.kf-fab:hover { transform: translateY(-3px); }
.kf-fab svg { width: 26px; height: 26px; }

/* 弹层 */
.kf-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.kf-modal[hidden] { display: none; }
.kf-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.kf-modal-panel {
  position: relative;
  padding: 40px 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--color-surface-raised, #16161a);
  border: 1px solid rgba(7, 193, 96, 0.35);
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.7);
  text-align: center;
  max-width: min(92vw, 400px);
}
.kf-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  cursor: pointer;
}
.kf-modal-x svg { width: 18px; height: 18px; }
.kf-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.kf-modal-qr {
  display: block;
  width: 280px;
  height: 280px;
  max-width: 72vw;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 10px;
  margin: 0 auto;
}
.kf-modal-tip {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* footer 客服链接 */
.footer-wx-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--gold-300);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
