/* VoiceStudio Plus · 官网样式
   品牌色取自应用图标：深紫底 + 粉→橙渐变（#93c5fd → #3b82f6 → #0ea5e9 → #22d3ee） */
:root {
  --ink: #0e1420;
  --ink-2: #322c40;
  --muted: #5f6b7d;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f7f9fc;
  --brand: #2563eb;
  --brand-d: #1d4ed8;
  --brand-l: #eff6ff;
  --orange: #0ea5e9;
  --deep: #0b1220;
  --deep-2: #241a33;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(18, 16, 26, .05), 0 8px 24px rgba(18, 16, 26, .06);
  --grad: linear-gradient(120deg, #ffb3cb, #f45c88 32%, #f97e5b 64%, #ffc46b);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.seal {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--deep);
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(26, 20, 36, .32);
}
.seal svg { width: 24px; height: 24px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; letter-spacing: .2px; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); }

.nav-links { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav-links a {
  color: var(--ink-2); font-size: 14px; padding: 7px 11px; border-radius: 8px;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-links a:hover { background: var(--soft); color: var(--ink); }

/* ---------- 语言选择器 ---------- */
.lang-menu { position: relative; margin-inline-start: 4px; }
.lang-btn {
  display: flex; align-items: center; gap: 5px; cursor: pointer; list-style: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff;
  white-space: nowrap;
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover { background: var(--soft); color: var(--ink); }
.lang-btn .globe { font-size: 13px; line-height: 1; }
.lang-menu[open] .lang-btn { background: var(--soft); color: var(--ink); }
.lang-list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 34px rgba(18, 16, 26, .16); padding: 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 300px; max-height: 60vh; overflow: auto;
}
.lang-list a {
  display: block; padding: 7px 10px; border-radius: 7px; font-size: 13px;
  color: var(--ink-2); white-space: nowrap;
}
.lang-list a:hover { background: var(--soft); color: var(--ink); }
.lang-list a[aria-current="page"] { background: var(--brand-l); color: var(--brand-d); font-weight: 600; }
.foot-langs {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px;
}
.foot-langs a { color: #8f8799; }
.foot-langs a:hover { color: #fff; }

/* ---------- RTL 基础适配 ---------- */
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif; }
html[dir="rtl"] .bar i { background: linear-gradient(270deg, #f45c88, #f97e5b); }
html[dir="rtl"] .btn .win-ico { transform: scaleX(-1); }
html[dir="rtl"] .mock-mode i { transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] .wave path { transform: scaleX(-1); transform-origin: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; padding: 11px 20px;
  font-family: inherit; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, #f45c88, #f97e5b 70%, #ff9a4d);
  color: #fff; box-shadow: 0 4px 14px rgba(224, 68, 111, .3);
}
.btn-primary:hover { color: #fff; box-shadow: 0 6px 20px rgba(224, 68, 111, .4); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.win-ico { flex: none; }

/* ---------- HERO ---------- */
.hero {
  padding: 76px 0 68px; position: relative; overflow: hidden;
  background:
    radial-gradient(760px 380px at 82% -8%, rgba(244, 92, 136, .13), transparent 62%),
    radial-gradient(620px 320px at 6% 6%, rgba(249, 126, 91, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fdfafc 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--brand-d);
  background: var(--brand-l); border: 1px solid #f7d7e2; border-radius: 999px;
  padding: 5px 13px; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; line-height: 1.18; margin: 0 0 20px; letter-spacing: -.5px; }
.h1-kicker {
  display: block; font-size: 14px; font-weight: 600; letter-spacing: 0;
  color: var(--brand-d); margin-bottom: 10px;
}
.grad {
  background: linear-gradient(120deg, #f45c88, #f97e5b 55%, #ff9a4d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 17px; color: var(--ink-2); margin: 0 0 28px; }
.cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.hero-meta li { font-size: 13.5px; color: var(--muted); padding-inline-start: 20px; position: relative; }
.hero-meta li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: #d8cbd4;
}

/* 界面示意 */
.mock {
  background: var(--deep); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 20, 36, .34), 0 2px 8px rgba(18, 16, 26, .12);
  border: 1px solid #2f2440;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  background: var(--deep-2); border-bottom: 1px solid #372a4a;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #453a56; }
.mock-title { margin-inline-start: 10px; font-size: 12px; color: #a79cb8; }
.mock-body { display: grid; grid-template-columns: 1fr 168px; gap: 14px; padding: 16px; }
.mock-mode-list { display: flex; flex-direction: column; gap: 8px; }
.mock-mode {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px;
  border-radius: 9px; background: var(--deep-2); border: 1px solid #372a4a;
  color: #bdb3cc; font-size: 12.5px;
}
.mock-mode.active {
  background: linear-gradient(135deg, rgba(244, 92, 136, .26), rgba(249, 126, 91, .14));
  border-color: #9b4667; color: #ffd9e4;
}
.mock-mode i { font-style: normal; font-size: 14px; }
.mock-preview {
  border-radius: 10px; background: #15101d; border: 1px solid #372a4a;
  display: grid; place-items: center; padding: 10px;
}
/* 波形预览：与应用图标的波形同源（5 峰，粉→橙渐变） */
.mock-wave {
  width: 100%; aspect-ratio: 3 / 4; border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(244, 92, 136, .22), transparent 68%),
    linear-gradient(160deg, #241a33, #15101d 60%, #1d1429);
  display: grid; place-items: center; overflow: hidden;
}
.mock-wave svg { width: 88%; height: auto; }
.mock-prog { grid-column: 1 / -1; margin-top: 2px; }
.mock-prog-row {
  display: flex; justify-content: space-between; font-size: 11.5px;
  color: #a79cb8; margin-bottom: 6px;
}
.mock-prog-row b { color: #ffc0a3; }
.bar { height: 5px; border-radius: 999px; background: #372a4a; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #f45c88, #f97e5b); }

/* ---------- 通用区块 ---------- */
.sec { padding: 76px 0; }
.sec-soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.sec-head h2 { font-size: 32px; margin: 0 0 14px; letter-spacing: -.3px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 16px; }

/* 三个模式 */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); position: relative;
}
.mode-tag {
  position: absolute; top: 18px; inset-inline-end: 18px; font-size: 11.5px; font-weight: 600;
  color: var(--brand-d); background: var(--brand-l); border-radius: 999px; padding: 3px 10px;
}
.mode-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.mode h3 { font-size: 18px; margin: 0 0 8px; }
.mode p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.mode ul { margin: 0; padding-inline-start: 18px; font-size: 13.5px; color: var(--ink-2); }
.mode li { margin-bottom: 5px; }

/* 功能网格 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
}
.feature-i {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-l); color: var(--brand-d);
  display: grid; place-items: center; font-size: 18px;
}
.feature h4 { margin: 0 0 5px; font-size: 15px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none;
  position: relative; padding-inline-end: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: -1px;
  font-size: 20px; color: var(--muted); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
.faq details p + p { margin-top: 8px; }

/* ---------- 下载 ---------- */
.dl-box {
  max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 40px 36px; box-shadow: var(--shadow);
}
.dl-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-info { flex: 1 1 260px; }
.dl-info h3 { margin: 0 0 5px; font-size: 18px; }
.dl-info p { margin: 0; font-size: 13.5px; color: var(--muted); }
.dl-hint {
  margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.65;
  word-break: break-word;
}
.req {
  margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.req div {
  background: var(--soft); border-radius: 10px; padding: 14px 16px; font-size: 13px;
}
.req b { display: block; font-size: 12px; color: var(--muted); font-weight: 600;
  letter-spacing: .3px; margin-bottom: 4px; }

/* ---------- 页脚 ---------- */
.foot { background: var(--deep); color: #a89db8; padding: 46px 0 32px; font-size: 13.5px; }
.foot-inner { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.foot a { color: #cdc4d8; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid #30263f;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #877d97;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero { padding: 46px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 16px; }
  .modes, .features { grid-template-columns: 1fr; }
  .modes { gap: 14px; }
  .sec { padding: 54px 0; }
  .sec-head h2 { font-size: 26px; }
  .nav-links a:not(.lang) { display: none; }
  .nav-inner { gap: 12px; }
  .dl-box { padding: 28px 20px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-preview { display: none; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .brand-text em { display: none; }
  .hero h1 { font-size: 28px; }
  .btn-lg { width: 100%; }
  .cta { flex-direction: column; }
}
