/* ==========================================================================
   TS Video to MP3 — Official Website (Dark Pro Theme)
   Brand palette: iOS HIG dark: black bg + iOS Blue #0A84FF + iOS palette
   Font: Inter (Google Fonts)
   ========================================================================== */

:root {
  /* TS Video to MP3 App 视觉定调（iOS HIG 深色）：黑底 + iOS Blue 主色 + iOS 系统色板 */
  --brand: #0a84ff;
  --brand-strong: #0a84ff;
  --brand-deep: #0064d1;
  --ios-green: #30d158;
  --ios-orange: #ff9f0a;
  --ios-cyan: #64d2ff;
  --ios-teal: #40c8e0;
  --ios-purple: #bf5af2;
  --bg: #0a0a0f; /* 高级黑：近黑带极微蓝紫倾向，呼应品牌蓝紫渐变 */
  --bg-elev: #101018;
  --card: rgba(44, 44, 48, 0.6);
  --card-hover: rgba(10, 132, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(10, 132, 255, 0.5);
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.55);
  --ink-dim: rgba(255, 255, 255, 0.45);
  --glow: 0 0 42px rgba(10, 132, 255, 0.25);
  --radius: 16px;
  --container: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain — subtle noise over the whole page for a premium matte finish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
/* 文字列：TS Video to MP3 下方紧跟小音波（同 App 首页：渐变标题下 _BrandWave） */
.brand .brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
/* 副标题行：音波 + 小字同行（同 App 首页 Row: _BrandWave + 8px + subtitle） */
.brand .brand-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.brand-sub-text {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 品牌文字下的小音波：同 App 首页 _BrandWave（46×15 比例），青→蓝→紫循环 */
.brand .eq-bars {
  height: 14px;
  gap: 4px;
  margin: 0;
}
.brand .eq-bars span {
  width: 3px;
}
/* Brand wordmark — blue→purple gradient, matches App home header (ShaderMask iosBlue→iosPurple) */
.brand-text {
  background: linear-gradient(90deg, #0a84ff 0%, #bf5af2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 14px rgba(10, 132, 255, 0.35);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease-out;
}
.main-nav a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  /* 蓝紫双光晕（呼应品牌渐变）：左上 iOS Blue + 右上 Purple */
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(191, 90, 242, 0.13), transparent 62%),
    radial-gradient(900px 460px at 12% -8%, rgba(10, 132, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #0d0d13 0%, var(--bg) 100%);
}

/* Hero 双栏：左文案+CTA 进首屏 / 右手机截图 */
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.hero-copy { text-align: left; }
.hero-copy .btn-row { justify-content: flex-start; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 380px at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(720px 380px at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

/* WebGL fluid background (js/fluid.js) — behind content, above grid */
.fluid-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* 白字 + 加深蓝底 + 毛玻璃：WebGL 动画背景下始终清晰 */
  background: rgba(10, 132, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(10, 132, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .accent {
  color: #7cc4ff; /* 浅亮蓝单色：与蓝紫渐变主标题拉开亮度层次 */
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 0 32px;
}

/* ---------- Hero showcase (real screenshot in a phone frame) ---------- */

.hero-showcase {
  position: relative;
  max-width: 360px;
  margin: 0;
}

/* Phone device frame — real product screenshot, no mockup */
.phone-frame {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 1080 / 2208;
  margin: 0 auto;
  padding: 9px;
  background: linear-gradient(165deg, #1c1c1e 0%, #0c0c0e 70%);
  border-radius: 48px;
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(10, 132, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.phone-frame .screen {
  width: 100%;
  height: 100%;
  border-radius: 39px;
  overflow: hidden;
  background: #000;
}
.phone-frame .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  z-index: 2;
}

.hero-showcase .hero-icon {
  position: absolute;
  right: -16px;
  bottom: -24px;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  /* 无描边无光晕：仅黑投影，真实悬浮（同 iOS 主屏图标） */
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

/* Mac button — subtle disabled state until launch */
.btn-soon { opacity: 0.85; }
.btn-soon:hover { opacity: 1; }

/* Brand wave — replica of App home _BrandWave: 7 rounded bars,
   height follows |sin(2πt + i/7)|, cyan → blue → purple cycle (2200ms) */
.eq-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 40px;
  margin: 0 0 10px; /* 紧贴品牌标题（同 App：标题→音波→副标题） */
}
.eq-bars span {
  width: 8px;
  height: 100%;
  border-radius: 999px;
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
}
.eq-bars span:nth-child(3n + 1) { background: #64d2ff; }
.eq-bars span:nth-child(3n + 2) { background: #3d8bff; }
.eq-bars span:nth-child(3n) { background: #bf5af2; }
.eq-bars span:nth-child(1) { animation-delay: 0s; }
.eq-bars span:nth-child(2) { animation-delay: -0.157s; }
.eq-bars span:nth-child(3) { animation-delay: -0.314s; }
.eq-bars span:nth-child(4) { animation-delay: -0.471s; }
.eq-bars span:nth-child(5) { animation-delay: -0.629s; }
.eq-bars span:nth-child(6) { animation-delay: -0.786s; }
.eq-bars span:nth-child(7) { animation-delay: -0.943s; }

/* |sin(2πt)| height curve: 35% ↔ 100% (1100ms = half cycle) */
@keyframes wave {
  0%, 50%, 100% { transform: scaleY(0.35); }
  25%, 75% { transform: scaleY(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Buttons ---------- */

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  /* Revone-style: 克制材质感 — 仅颜色平滑过渡，无位移/缩放 */
  transition: background-color 0.25s ease-out, border-color 0.25s ease-out,
    color 0.25s ease-out, box-shadow 0.25s ease-out;
}
.btn:hover { text-decoration: none; }
.btn > * { position: relative; z-index: 1; }

/* WebGL fluid sheen layer injected into .btn-primary by js/fluid.js */
.btn .fluid-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: inherit;
  opacity: 0.22;
  pointer-events: none;
}

/* 主按钮：纯色底 + 顶部 inset 白色高光（模拟 macOS 按钮玻璃/金属质感） */
.btn-primary {
  background: #0a84ff;
  color: #fff;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.22),
    0 10px 26px rgba(10, 132, 255, 0.32);
}
.btn-primary:hover {
  background: #0064d1; /* 悬停平滑变深 */
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(10, 132, 255, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(10, 132, 255, 0.08);
  color: var(--brand);
}

.btn .store-icon { font-size: 1.15rem; line-height: 1; display: inline-flex; }
.btn .btn-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.82;
  line-height: 1.25;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

/* alternating section band (platforms / FAQ / workflow) — soft blue-violet wash */
.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 132, 255, 0.05) 14%, rgba(191, 90, 242, 0.04) 86%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

/* ---------- How it works (three steps) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.step-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.16), rgba(0, 100, 209, 0.35));
  border: 1px solid rgba(10, 132, 255, 0.22);
  color: var(--brand);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Platforms ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.platform-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.platform-card.featured {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.08), rgba(0, 100, 209, 0.12));
}
.pl-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.14), rgba(0, 100, 209, 0.32));
  border: 1px solid rgba(10, 132, 255, 0.22);
  color: var(--brand);
  margin-bottom: 18px;
}
.platform-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.platform-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin-bottom: 22px;
  flex: 1 1 auto;
}
.platform-card .btn { width: 100%; justify-content: center; }
.pl-soon {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 9px 22px;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
/* 场景卡图标色：与 App 首页 sceneCards 色板一致（按卡序 1-12，--c 供 icon/visual/chip 共用） */
.feature-card:nth-child(1) { --c: #0a84ff; } /* Video to MP3 — Blue */
.feature-card:nth-child(2) { --c: #bf5af2; } /* Vocal Remover — Purple */
.feature-card:nth-child(3) { --c: #ff9f0a; } /* Ringtone — Orange */
.feature-card:nth-child(4) { --c: #bf5af2; } /* Cut & Merge — Purple */
.feature-card:nth-child(5) { --c: #ff9f0a; } /* EQ — Orange */
.feature-card:nth-child(6) { --c: #ff375f; } /* Enhance & Denoise — Pink */
.feature-card:nth-child(7) { --c: #0a84ff; } /* Batch — Blue */
.feature-card:nth-child(8) { --c: #30d158; } /* Format — Green */
.feature-card:nth-child(9) { --c: #64d2ff; } /* Workflow — Cyan */
.feature-card:nth-child(10) { --c: #40c8e0; } /* Voice Changer — Teal */
.feature-card:nth-child(11) { --c: #ff453a; } /* Record — Red */
.feature-card:nth-child(12) { --c: #0a84ff; } /* WiFi Transfer — Blue */
/* 卡头：图标 + 标题/描述 左右分栏（Apple Why-Apple 范式） */
.fc-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.fc-text {
  min-width: 0;
}
.fc-text h3 {
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.fc-text p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* 功能视觉：全宽插图层（浅底圆角，示意产品界面） */
.fc-visual {
  width: 100%;
  height: 64px;
  color: var(--c, var(--brand));
  opacity: 0.95;
  margin: 0 0 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
}
/* 功能点 chips：彩色小标签（同卡色系），承载长尾词与格式信息 */
.fc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}
.fc-chip {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--c, var(--brand)) 82%, white);
  background: color-mix(in srgb, var(--c, var(--brand)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 26%, transparent);
}
.feature-card .fc-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c, var(--brand)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 28%, transparent);
  color: var(--c, var(--brand));
  flex: 0 0 auto;
}

/* ---------- Privacy band ---------- */

.privacy-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0064d1 0%, #0a84ff 55%, #3395ff 100%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.privacy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.privacy-band .container { position: relative; }
.privacy-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.privacy-band p { opacity: 0.9; max-width: 640px; margin: 0 auto; font-size: 1.06rem; }
.privacy-band .privacy-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.privacy-band .chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  text-align: center;
}
.price-card.highlight {
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.1), rgba(0, 100, 209, 0.16));
  box-shadow: var(--glow);
  position: relative;
}
.price-card.highlight::after {
  content: "Most popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0a84ff, #0064d1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .price-name { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.price-card .price-amount {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 12px 0 4px;
}
.price-card .price-amount .price-per { font-size: 1rem; font-weight: 600; color: var(--ink-dim); }
.price-card .price-note { color: var(--ink-dim); font-size: 0.86rem; }
.price-card .price-plans {
  margin: 16px 0 4px;
  text-align: left;
}
.price-card .plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.price-card .plan-row .plan-name { color: var(--ink-soft); }
.price-card .plan-row .plan-price { font-weight: 700; color: #fff; }
.price-card ul {
  list-style: none;
  margin: 20px 0 24px;
  text-align: left;
}
.price-card li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Enhancement workflow chain demo (matches App fx chain) ---------- */

.wf-demo {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.wf-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 auto;
}
.wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0.32;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.wf-node.active {
  opacity: 1;
  transform: translateY(-4px);
}
.wf-node .wf-icon {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--c, var(--brand));
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s, transform 0.4s;
}
.wf-node .wf-icon svg { width: 30px; height: 30px; }
.wf-node-file .wf-icon svg { width: 36px; height: 36px; }
.wf-node.active .wf-icon {
  border-color: var(--c, var(--brand));
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.14), 0 0 26px var(--c, var(--brand));
  transform: scale(1.06);
}
.wf-node span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: color 0.4s;
}
.wf-node.active span { color: var(--ink-soft); }
/* 两端 Input/Output 文件节点：比效果节点更大更醒目 */
.wf-node-file .wf-icon {
  width: 64px;
  height: 64px;
  border-radius: 19px;
}
.wf-node-file span {
  font-size: 13px;
}
.wf-node-file + .wf-link,
.wf-track .wf-link:has(+ .wf-node-file) {
  margin-top: 31px;
}

.wf-link {
  flex: 0 0 14px;
  height: 2px;
  margin-top: 27px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.wf-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: wf-flow 1.2s linear infinite;
}
@keyframes wf-flow {
  to { left: 110%; }
}

.wf-panels {
  position: relative;
  height: 92px;
  margin-top: 30px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.wf-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  pointer-events: none;
}
.wf-panel.active {
  opacity: 1;
  transform: none;
}
.p-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
.p-label {
  flex: 0 0 68px;
  color: var(--ink-soft);
}
.p-track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.p-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--c, var(--brand));
  width: 0;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.wf-panel.active .p-fill {
  width: var(--v);
}
.wf-panel.active .p-row:nth-child(2) .p-fill { transition-delay: 0.12s; }
.wf-panel.active .p-row:nth-child(3) .p-fill { transition-delay: 0.24s; }
.p-val {
  flex: 0 0 34px;
  text-align: right;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}


@media (max-width: 760px) {
  .wf-node { width: auto; }
  /* 移动端改为垂直链：节点上下排列，连线竖向流动 */
  .wf-track { flex-direction: column; align-items: center; gap: 12px; }
  .wf-link { flex-basis: auto; width: 2px; height: 16px; margin: 0; }
  .wf-link::after {
    left: 50%;
    margin: -3px 0 0 -3px;
    top: -10px;
    animation: wf-flow-v 1.2s linear infinite;
  }
}
@keyframes wf-flow-v {
  to { top: 110%; }
}

/* ---------- FAQ ---------- */

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand);
  flex: 0 0 auto;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */

.legal {
  padding: 64px 0 90px;
}
.legal h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal .legal-meta {
  color: var(--ink-dim);
  font-size: 0.9rem;
  margin-bottom: 38px;
}
.legal h2 {
  font-size: 1.14rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--ink);
}
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { word-break: break-all; }

/* ---------- Support page ---------- */

.support-intro { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.support-intro h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.support-intro p { color: var(--ink-soft); }
.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 680px;
  margin: 0 auto 20px;
}
.support-card h2 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.support-card p, .support-card li { color: var(--ink-soft); }
.support-card ul { padding-left: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #07070b;
  padding: 52px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.2s ease-out; }
.footer-grid a:hover { color: var(--brand); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; max-width: 260px; }
.footer-badges {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.footer-badges img { border-radius: 10px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #0e0e14;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
  }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 13px 4px; font-size: 1rem; }

  .hero { padding: 64px 0 56px; }
  /* 移动端单列：文案 + CTA 在手机截图上方，下载按钮首屏可见 */
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-copy .btn-row { justify-content: center; }
  .hero .tagline { margin: 0 auto 32px; }
  .hero-showcase { margin: 0 auto 34px; }
  .hero-showcase .hero-icon { width: 64px; height: 64px; border-radius: 16px; right: -6px; bottom: -16px; }
  .steps { grid-template-columns: 1fr; max-width: 460px; }
  .platform-grid { grid-template-columns: 1fr; max-width: 460px; }
  .section { padding: 60px 0; }
}
