/* ===== 酷易Studio 介绍页 · 深色录音棚主题 ===== */

:root {
  --bg: #080a0f;
  --bg-2: #0c0f16;
  --surface: #0f1219;
  --surface-2: #141822;
  --line: #212736;
  --line-2: #2d3445;
  --text: #e9ecf4;
  --muted: #9aa3b6;
  --faint: #6d7688;
  --accent: #ffb45c;
  --accent-2: #ff7a59;
  --teal: #5eead4;
  --violet: #c084fc;
  --danger: #ff6b6b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --grad: linear-gradient(120deg, #ff7a59, #ffb45c);
  --grad-soft: linear-gradient(120deg, rgba(255, 122, 89, .18), rgba(255, 180, 92, .10));
  --container: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景氛围光 */
body::before, body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
body::before { background: #ff7a59; top: -260px; left: -200px; }
body::after  { background: #5eead4; top: 40%; right: -260px; opacity: .18; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: "Cascadia Mono", "JetBrains Mono", Consolas, monospace; background: #1a1f2b; padding: 2px 7px; border-radius: 5px; font-size: .88em; color: #ffd7a8; }
pre { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--accent); color: #1c1206;
  padding: 8px 16px; border-radius: 8px; z-index: 999;
}
.skip:focus { left: 8px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 10, 15, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 9px; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .4px; }
.brand-name em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted); font-size: 14px; position: relative; transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: 14px; padding: 8px 16px !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; border-radius: var(--radius-sm);
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 11px 20px; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center;
}
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 11px; }
.btn-primary { background: var(--grad); color: #1c1206; box-shadow: 0 10px 30px -10px rgba(255, 122, 89, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255, 122, 89, .7); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== HERO ===== */
.hero { padding: 72px 0 60px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.08; margin: 18px 0 20px; font-weight: 800; letter-spacing: -1px;
}
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.meta-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px;
  color: var(--faint); font-size: 13px;
}
.meta-list li { position: relative; }
.meta-list li:not(:last-child)::after {
  content: "·"; margin-left: 18px; color: var(--line-2);
}

/* Window mock */
.hero-visual { position: relative; }
.window-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .window-mock { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg); }
.wm-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; background: #0a0d14; border-bottom: 1px solid var(--line);
}
.wm-dots { display: inline-flex; gap: 6px; }
.wm-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2d3445; display: block; }
.wm-title { font-size: 12px; color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-badge {
  font-size: 10px; color: var(--accent); background: #1c160d; border: 1px solid #3a2b17;
  padding: 2px 8px; border-radius: 20px; letter-spacing: .5px;
}
.wm-body { padding: 16px; }
.wm-timeline { position: relative; height: 22px; margin-bottom: 8px; }
.tm-ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0, var(--line-2) 1px, transparent 1px, transparent 32px);
}
.tm-label {
  position: absolute; top: 2px; font-size: 10px; color: var(--faint);
  background: rgba(0,0,0,.4); padding: 1px 6px; border-radius: 4px;
}
.tm-intro  { left: 2%;   color: var(--teal); }
.tm-verse  { left: 22%; }
.tm-chorus { left: 50%; }
.tm-outro  { right: 4%; color: var(--teal); }

.wm-wave {
  display: flex; align-items: center; gap: 2px; height: 64px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; overflow: hidden;
}
.wm-wave span {
  flex: 1; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 2px; min-height: 2px; animation: wave 1.8s var(--ease) infinite;
}
@keyframes wave { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.wm-stems { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.stem-row {
  display: grid; grid-template-columns: 14px 44px 1fr 60px 30px 30px;
  align-items: center; gap: 8px; padding: 7px 9px; border-radius: 7px;
  background: var(--bg-2); border: 1px solid transparent; transition: border .2s, opacity .2s;
}
.stem-row:hover { border-color: var(--line-2); }
.stem-dot { width: 11px; height: 11px; border-radius: 50%; }
.stem-row[data-stem="vocals"] .stem-dot { background: #ff8a5c; }
.stem-row[data-stem="drums"]  .stem-dot { background: #f2c94c; }
.stem-row[data-stem="bass"]   .stem-dot { background: #5eead4; }
.stem-row[data-stem="other"]  .stem-dot { background: #8b9dff; }
.stem-row[data-stem="piano"]  .stem-dot { background: #c084fc; }
.stem-row[data-stem="guitar"] .stem-dot { background: #4ade80; }
.stem-name { font-size: 12px; color: var(--text); }
.stem-mini { display: flex; align-items: center; gap: 1px; height: 18px; overflow: hidden; }
.stem-mini i { flex: 1; border-radius: 1px; background: var(--line-2); }
.stem-db { font-size: 11px; color: var(--faint); text-align: right; }
.chip {
  background: #161a24; border: 1px solid var(--line-2); color: var(--faint);
  border-radius: 5px; font-size: 10px; padding: 3px 0; cursor: pointer;
  transition: all .15s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.on-m { background: var(--danger); color: #fff; border-color: var(--danger); }
.chip.on-s { background: var(--teal); color: #0c0f16; border-color: var(--teal); }
.stem-row.is-muted { opacity: .4; }

.wm-foot {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.wm-chip {
  font-size: 11px; color: var(--accent); background: rgba(255,180,92,.1);
  border: 1px solid rgba(255,180,92,.3); padding: 4px 10px; border-radius: 20px;
}

.float-chip {
  position: absolute; font-size: 12px; padding: 8px 14px; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: var(--shadow); animation: float 4s var(--ease) infinite;
}
.fc-a { top: 12px; right: -10px; color: var(--teal); border-color: rgba(94,234,212,.3); }
.fc-b { bottom: 20px; left: -18px; color: var(--accent); border-color: rgba(255,180,92,.3); animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== STATS ===== */
.stats { padding: 8px 0 56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 22px 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.stat strong { display: block; font-size: 34px; font-weight: 800; color: var(--text); }
.stat strong .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,180,92,.03), transparent); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 12px 0 10px; font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-ico { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }
.ico-split   { background: linear-gradient(135deg, #ff8a5c, #ffb45c); }
.ico-midi    { background: linear-gradient(135deg, #c084fc, #8b9dff); }
.ico-score   { background: linear-gradient(135deg, #5eead4, #4ade80); }
.ico-time    { background: linear-gradient(135deg, #f2c94c, #ff8a5c); }
.ico-merge   { background: linear-gradient(135deg, #8b9dff, #c084fc); }
.ico-privacy { background: linear-gradient(135deg, #4ade80, #5eead4); }
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ===== PIPELINE ===== */
.pipeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  position: relative;
}
.pipeline::before {
  content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--teal));
  z-index: 0;
}
.pipe-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative; z-index: 1;
  transition: transform .25s var(--ease), border-color .25s;
}
.pipe-step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pipe-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.pipe-step h3 { font-size: 16px; margin: 0 0 6px; }
.pipe-step p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.pipe-out {
  display: inline-block; font-family: monospace; font-size: 11px; color: var(--teal);
  background: rgba(94,234,212,.08); padding: 3px 8px; border-radius: 5px;
}

/* ===== STEMS ===== */
.stem-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; transition: all .25s var(--ease);
  cursor: pointer;
}
.stem-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.stem-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.stem-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: .25;
}
.stem-icon::after {
  content: "♪"; font-size: 24px; font-family: serif;
}
.stem-card[data-stem="vocals"] .stem-icon { color: #ff8a5c; }
.stem-card[data-stem="drums"]  .stem-icon { color: #f2c94c; }
.stem-card[data-stem="bass"]   .stem-icon { color: #5eead4; }
.stem-card[data-stem="other"]  .stem-icon { color: #8b9dff; }
.stem-card[data-stem="piano"]  .stem-icon { color: #c084fc; }
.stem-card[data-stem="guitar"] .stem-icon { color: #4ade80; }
.stem-card h3 { font-size: 16px; margin: 0 0 6px; }
.stem-card p { color: var(--muted); margin: 0; font-size: 13px; }

/* ===== SPLIT (timeline) ===== */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-text h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 14px; font-weight: 800; }
.split-text p { color: var(--muted); margin: 0 0 20px; }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  padding: 8px 0 8px 28px; position: relative; color: var(--text); font-size: 14.5px;
}
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--teal); font-weight: 700; background: rgba(94,234,212,.12);
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

.score-mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.sm-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.sm-tempo { color: var(--accent); }
.staff { width: 100%; height: auto; display: block; }
.playhead { animation: scan 4s linear infinite; }
@keyframes scan { 0% { transform: translateX(-340px); } 100% { transform: translateX(360px); } }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.spec-table tbody tr:hover { background: rgba(255,180,92,.04); }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td code { font-size: 12px; }

/* ===== DOWNLOAD ===== */
.download-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px;
  box-shadow: var(--shadow);
}
.dl-text h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 12px; font-weight: 800; }
.dl-text p { color: var(--muted); margin: 0 0 20px; }
.dl-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.req-list li {
  padding: 8px 0 8px 26px; position: relative; color: var(--muted); font-size: 14px;
}
.req-list li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 2px; background: var(--accent);
}

.dl-code { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.code-tabs { display: flex; border-bottom: 1px solid var(--line); }
.code-tabs .tab {
  flex: 1; background: transparent; border: none; color: var(--faint);
  padding: 11px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.code-tabs .tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.code-block {
  position: relative; margin: 0; padding: 18px 16px; min-height: 150px;
  color: #cfe0f7; font-family: "Cascadia Mono", Consolas, monospace; font-size: 13px; line-height: 1.7;
  white-space: pre; overflow-x: auto;
}
.code-block.hidden { display: none; }
.copy-btn {
  position: absolute; top: 10px; right: 10px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--muted);
  padding: 4px 11px; border-radius: 6px; font-size: 11px; cursor: pointer; transition: all .15s;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn.copied { color: var(--teal); border-color: var(--teal); }

/* ===== FAQ ===== */
.narrow { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--accent); font-weight: 300; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; font-size: 14.5px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 0; background: #06080c; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand strong { font-size: 15px; }
.foot-brand p { margin: 2px 0 0; color: var(--faint); font-size: 12px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--accent); }
.foot-bot { border-top: 1px solid var(--line); margin-top: 30px; padding: 18px 0; text-align: center; }
.foot-bot p { color: var(--faint); font-size: 12px; margin: 0; }

/* ===== MODAL ===== */
.modal {
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  color: var(--text); padding: 32px; max-width: 520px; width: 90%; box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.modal h3 { margin: 0 0 10px; font-size: 20px; }
.modal p { color: var(--muted); margin: 0 0 14px; }
.modal-steps { padding-left: 20px; color: var(--muted); line-height: 1.8; }
.modal-steps b { color: var(--text); }
.modal-note { font-size: 13px; color: var(--faint); background: rgba(255,180,92,.06); padding: 10px 12px; border-radius: 8px; }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: transparent; border: none;
  color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--accent); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: 640px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .download-card { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline::before { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .nav-inner { height: 58px; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 56px 0; }
  .grid-3, .grid-6, .pipeline, .stats-grid { grid-template-columns: 1fr; }
  .window-mock { transform: none; }
  .float-chip { display: none; }
  .download-card { padding: 24px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
