/* ============================================================
   TrackForge 官网 — 品牌主题完全复刻自软件 ui-1.85.0.css
   深色玻璃拟态 + 橙色火焰渐变 + 三层星星背景 + 轨道旋转动画
   ============================================================ */

/* ---------- 品牌系统（原样取自 ui-1.85.0.css Brand system） ---------- */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080a0d;
  --bg-glow-1: #ff7a0017;
  --bg-glow-2: #d8dde50b;
  --glass: #11151adb;
  --glass-strong: #13181ef2;
  --surface-1: #0d1115;
  --surface-2: #ffffff08;
  --surface-3: #ffffff0e;
  --border: #d8dde51a;
  --border-strong: #d8dde52e;
  --border-glow: #ff8a1f70;
  --text-1: #f3f5f7;
  --text-2: #aeb5bd;
  --text-3: #737c86;
  --accent-a: #ff6a00;
  --accent-b: #ffad45;
  --accent-grad: linear-gradient(120deg, #ff6400 0%, #ff7a00 54%, #ffad45 100%);
  --accent-soft: #ff7a001c;
  --accent-text: #ff9a3d;
  --accent-contrast: #17100a;
  --ok: #43c79a;
  --warn: #ffbd59;
  --danger: #ff6b6b;
  --glow-accent: 0 0 22px #ff7a0042;
  --shadow-card: 0 1px 0 #ffffff09 inset, 0 16px 42px #0000004d;
  --shadow-float: 0 24px 64px #00000073, 0 0 0 1px #ff7a000d;
  --header-bg: #090c10ed;
  --star-1: #ffffffd9;
  --star-2: #ffd9b3cc;
  --star-3: #ffb877bf;
  --star-glow: #ffffff47;
  background: #080a0d;
  color: var(--text-1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f1ed;
  --bg-glow-1: #ff7a0012;
  --bg-glow-2: #6b72800a;
  --glass: #fffdf9df;
  --glass-strong: #fffdf9f5;
  --surface-1: #fffdf9;
  --surface-2: #252a3109;
  --surface-3: #252a3110;
  --border: #292d331c;
  --border-strong: #292d3330;
  --border-glow: #e96a0066;
  --text-1: #1a1d21;
  --text-2: #555c65;
  --text-3: #858c94;
  --accent-a: #e96500;
  --accent-b: #f49a35;
  --accent-grad: linear-gradient(120deg, #e85f00 0%, #f07810 55%, #f4a34a 100%);
  --accent-soft: #f4770017;
  --accent-text: #c95500;
  --accent-contrast: #fff;
  --header-bg: #faf8f4ed;
  --star-1: #4a3f31d9;
  --star-2: #b06a2ecc;
  --star-3: #d98a3fbf;
  --star-glow: #6b4a1f47;
  --shadow-card: 0 1px 0 #fff inset, 0 14px 34px #34302a17;
  background: #f3f1ed;
  color: var(--text-1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: MiSans, "HarmonyOS Sans SC", "OPPO Sans", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  transition: background-color 0.25s, color 0.25s;
}

/* ---------- 背景辉光（复刻 .app-shell::before） ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 14% -8%, #ff7a0014, transparent 64%),
    radial-gradient(680px 400px at 96% 8%, #d8dde508, transparent 62%);
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(760px 420px at 14% -8%, #ff7a0010, transparent 64%),
    radial-gradient(680px 400px at 96% 8%, #6b72800a, transparent 62%);
}

::selection { background: #ff7a0047; }

/* ---------- 三层星星背景（复刻 .bg-stars / .stars-layer 动画） ---------- */
.bg-stars {
  z-index: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  opacity: 0.24;
}
.stars-layer {
  background-repeat: repeat;
  position: absolute;
  inset: 0;
}
.stars-far {
  background-image: radial-gradient(1px 1px at 25px 32px, var(--star-1) 50%, transparent 51%),
    radial-gradient(1px 1px at 152px 80px, var(--star-2) 50%, transparent 51%),
    radial-gradient(1px 1px at 240px 160px, var(--star-3) 50%, transparent 51%);
  background-size: 340px 340px;
  animation: 90s linear infinite stars-drift-far;
}
.stars-near {
  background-image: radial-gradient(1.4px 1.4px at 40px 60px, var(--star-1) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 220px 140px, var(--star-2) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 300px 240px, var(--star-3) 50%, transparent 51%);
  background-size: 480px 480px;
  animation: 50s linear infinite stars-drift-near, 9s ease-in-out infinite alternate stars-breathe;
}
.stars-glint {
  background-image: radial-gradient(2.4px 2.4px at 90px 70px, var(--star-1) 40%, var(--star-glow) 60%, transparent 100%),
    radial-gradient(2.2px 2.2px at 420px 240px, var(--star-2) 40%, var(--star-glow) 60%, transparent 100%),
    radial-gradient(2px 2px at 700px 120px, var(--star-3) 40%, var(--star-glow) 60%, transparent 100%);
  background-size: 760px 760px;
  animation: 7s ease-in-out infinite alternate stars-twinkle;
}
@keyframes stars-drift-far {
  0% { background-position: 0 0; }
  to { background-position: 340px 680px; }
}
@keyframes stars-drift-near {
  0% { background-position: 0 0; }
  to { background-position: -420px 420px; }
}
@keyframes stars-breathe {
  0% { opacity: 0.45; }
  to { opacity: 0.85; }
}
@keyframes stars-twinkle {
  0% { opacity: 0.25; }
  55% { opacity: 0.95; }
  to { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .stars-layer { animation: none; }
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 52;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--header-bg) 94%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}
.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-1);
}
.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  border: 1px solid #d8dde52b;
  background: #080a0d;
  box-shadow: 0 8px 24px #0008, 0 0 0 1px #ff7a0012;
  object-fit: cover;
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover {
  color: var(--text-1);
  background: #ffffff08;
}
.nav-download {
  height: 38px;
  padding: 0 16px;
}

/* ---------- 按钮（复刻 .primary-button / .secondary-button） ---------- */
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease,
    background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.primary-button {
  color: #fff;
  background: var(--accent-grad);
  box-shadow: 0 12px 26px #ff6a0029;
}
.primary-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px #ff6a0038;
}
.primary-button.big {
  height: 52px;
  padding: 0 26px;
  font-size: 15px;
}
.secondary-button {
  height: 44px;
  padding: 0 20px;
  color: var(--text-1);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
}
.secondary-button:hover {
  color: var(--accent-text);
  border-color: #ff8a1f4f;
  background: #ff7a0010;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 84px 0 72px;
}
.hero-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: center;
}

/* 轨道旋转 logo（复刻 .activation-logo-orbit 并适配品牌橙） */
.activation-logo-orbit {
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  width: 330px;
  height: 330px;
  margin: 0 auto;
  display: grid;
  position: relative;
}
.activation-logo-orbit::before {
  content: "";
  background: linear-gradient(145deg, #ff7a0029, #ffad4514);
  border: 1px solid #ff8a1f45;
  border-radius: 48px;
  position: absolute;
  inset: 38px;
  transform: rotate(45deg);
  box-shadow: 0 0 60px #ff7a0033, inset 0 0 35px #ff7a0021;
  animation: orbit-diamond 22s linear infinite;
}
@keyframes orbit-diamond {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
.activation-logo-orbit::after {
  content: "";
  border: 1px solid #ff8a1f2e;
  border-radius: 50%;
  animation: 12s linear infinite activation-orbit;
  position: absolute;
  inset: 0;
}
@keyframes activation-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.activation-logo-orbit i {
  background: #ffad45;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: 5s linear infinite activation-satellite;
  position: absolute;
  box-shadow: 0 0 14px #ff9a3d;
}
.activation-logo-orbit i:nth-child(2) {
  animation-direction: reverse;
  animation-delay: -2.5s;
}
@keyframes activation-satellite {
  0% { transform: rotate(0deg) translateX(158px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(158px) rotate(-360deg); }
}
.activation-logo-orbit img {
  z-index: 2;
  filter: drop-shadow(0 0 22px #ff7a0057);
  border-radius: 42px;
  width: 190px;
  height: 190px;
  object-fit: cover;
  border: 1px solid #d8dde52b;
  animation: logo-float 6s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 轨道内均衡器跳动环（声波可视化） */
.orbit-eq {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
}
.orbit-eq span {
  position: absolute;
  top: 50%;
  width: 7px;
  margin-top: -30px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffad45, #ff6a00);
  box-shadow: 0 0 10px #ff7a0055;
  animation: orbit-eq-bounce 1.2s ease-in-out infinite;
  transform-origin: center;
}
.orbit-eq span:nth-child(1) { left: calc(50% - 56px); height: 48px; animation-delay: 0s; }
.orbit-eq span:nth-child(2) { left: calc(50% - 28px); height: 84px; animation-delay: 0.12s; }
.orbit-eq span:nth-child(3) { left: calc(50% - 3px); height: 120px; animation-delay: 0.24s; }
.orbit-eq span:nth-child(4) { left: calc(50% + 21px); height: 76px; animation-delay: 0.36s; }
.orbit-eq span:nth-child(5) { left: calc(50% + 49px); height: 52px; animation-delay: 0.48s; }
@keyframes orbit-eq-bounce {
  0%, 100% { transform: translateY(28px) scaleY(0.45); }
  50% { transform: translateY(-28px) scaleY(1); }
}

/* 环绕旋转文字环 */
.orbit-ring-text {
  position: absolute;
  inset: -30px;
  width: 390px;
  height: 390px;
  z-index: 0;
  animation: ring-text-spin 26s linear infinite;
  pointer-events: none;
}
.orbit-ring-text text {
  fill: var(--text-3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
@keyframes ring-text-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 扩散声波脉冲环 */
.orbit-ripple {
  position: absolute;
  inset: -6px;
  border: 1.5px solid rgba(255, 138, 31, 0.35);
  border-radius: 50%;
  animation: ripple-out 3.6s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}
.orbit-ripple.r2 {
  animation-delay: 1.8s;
}
@keyframes ripple-out {
  0% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

/* 浮动数据徽章（定位在轨道容器内，相对 logo 中心环绕） */
.hero-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--glass-strong) 88%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px #ff7a000d;
  animation: float-badge 7s ease-in-out infinite;
}
.hero-float b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.hero-float small { display: block; color: var(--text-3); font-size: 11px; margin-top: 1px; }
.hero-float .float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--accent-text);
  border: 1px solid #ff8a1f45;
  background: #ff7a0014;
  flex: 0 0 auto;
}
.float-songs { top: -6px; left: -10px; }
.float-users { top: 118px; right: -26px; animation-delay: -2.4s; }
.float-mastering { bottom: -8px; left: 40px; animation-delay: -4.6s; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------- Hero 文案 ---------- */
.hero-copy .eyebrow,
.section-head .eyebrow,
.download-card .eyebrow {
  color: var(--accent-text);
  letter-spacing: 1.8px;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}
.hero-copy h1 {
  letter-spacing: -2px;
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
  font-weight: 800;
}
.hero-copy .lead {
  max-width: 560px;
  color: var(--text-2);
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions .primary-button { height: 46px; padding: 0 24px; }
.hero-actions .secondary-button { height: 46px; padding: 0 22px; }

.feature-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 48px;
}
.feature-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-2);
  background: var(--surface-2);
  font-size: 13px;
}
.feature-strip span svg { color: var(--accent-text); }

/* ---------- 通用 section ---------- */
.section {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.5px;
}
.section-head p {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--text-2);
}

/* ---------- 功能卡片（复刻 .panel 玻璃拟态） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px 24px;
  background: linear-gradient(145deg, #ffffff06, transparent 52%), var(--glass);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.panel:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px #00000059, 0 0 0 1px #ff7a000d;
}
.panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--accent-text);
  border: 1px solid #ff8a1f45;
  background: #ff7a0014;
  margin-bottom: 16px;
}
.panel h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.2px; }
.panel p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.75; }

/* ---------- 数据统计区 ---------- */
.stats-section { padding-top: 36px; }
.stats-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background:
    radial-gradient(640px 220px at 50% -40%, #ff7a0014, transparent 70%),
    linear-gradient(145deg, #ffffff05, transparent 52%), var(--glass);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.stat-item {
  padding: 34px 28px 30px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
}
.stat-num b {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stat-num span { font-size: 18px; font-weight: 800; color: var(--accent-text); }
.stat-label { font-size: 15px; font-weight: 700; color: var(--text-1); }
.stat-item p { margin: 7px 0 0; color: var(--text-3); font-size: 12px; }

/* ---------- 功能卡片特性清单 ---------- */
.feature-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 19px;
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.6;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 8px #ff7a0055;
}

/* ---------- 工作流程 pipeline ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.pipeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8a1f45 20%, #ff8a1f45 80%, transparent);
}
.pipeline-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.pipeline-node {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  color: var(--accent-text);
  background: linear-gradient(145deg, #ff7a0024, #ffad450c), var(--surface-1);
  box-shadow: 0 0 22px #ff7a0033;
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pipeline-step h3 { margin: 0 0 8px; font-size: 16px; }
.pipeline-step p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* ---------- 亮点 ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.highlight {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  background: linear-gradient(145deg, #ffffff06, transparent 52%), var(--glass);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.highlight:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}
.hl-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.highlight h3 { margin: 0 0 8px; font-size: 16px; }
.highlight p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* ---------- 下载区 ---------- */
.download-section { padding-top: 72px; padding-bottom: 88px; }
.download-card {
  text-align: center;
  padding: 56px 32px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background:
    radial-gradient(560px 260px at 50% -30%, #ff7a0018, transparent 70%),
    linear-gradient(145deg, #ffffff06, transparent 52%), var(--glass-strong);
  box-shadow: var(--shadow-float);
}
.download-card h2 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.5px; }
.download-card p { margin: 12px 0 28px; color: var(--text-2); }
.download-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.download-actions .secondary-button { height: 52px; padding: 0 24px; font-size: 15px; }
.download-note {
  margin: 18px 0 0 !important;
  color: var(--text-3) !important;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* ---------- 客服对话框（复刻激活页 customer-service 交互） ---------- */
.support-dialog {
  width: min(390px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--text-1);
  background: transparent;
  overflow: visible;
}
.support-dialog::backdrop {
  background: rgba(3, 5, 12, 0.76);
  backdrop-filter: blur(7px);
}
.support-panel {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(255, 138, 31, 0.24);
  border-radius: 22px;
  background: linear-gradient(155deg, #171c2a, #0d111b);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
  text-align: center;
}
.support-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #9ca5bf;
  background: rgba(255, 255, 255, 0.06);
  font-size: 21px;
  line-height: 1;
  border: 0;
  cursor: pointer;
}
.support-close:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.12); }
.support-tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffc17f;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 138, 31, 0.24);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.support-panel h2 { margin: 14px 0 7px; font-size: 24px; }
.support-panel p { margin: 0 0 17px; color: var(--text-2); font-size: 13px; line-height: 1.65; }
.support-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 11px 12px 11px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}
.support-id span { display: block; color: var(--text-3); font-size: 10px; }
.support-id strong {
  display: block;
  margin-top: 2px;
  color: var(--text-1);
  font: 700 16px Consolas, monospace;
  letter-spacing: 0.4px;
}
.support-copy {
  flex: none;
  height: 38px;
  padding: 0 13px;
  color: #ffd7b0;
  background: rgba(255, 122, 0, 0.14);
  border: 1px solid rgba(255, 138, 31, 0.28);
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.support-copy:hover {
  background: rgba(255, 122, 0, 0.22);
  border-color: rgba(255, 138, 31, 0.45);
}
.support-tip { display: block; margin-top: 12px; color: var(--text-3); font-size: 11px; }

/* ---------- 登录 / 客户中心对话框 ---------- */
.login-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--text-1);
  background: transparent;
  overflow: visible;
}
.login-dialog::backdrop {
  background: rgba(3, 5, 12, 0.76);
  backdrop-filter: blur(7px);
}
.login-panel {
  position: relative;
  padding: 30px 30px 26px;
  border: 1px solid rgba(255, 138, 31, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 50% -20%, rgba(255, 122, 0, 0.12), transparent 70%),
    linear-gradient(155deg, #171c2a, #0d111b);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.login-brand .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
.login-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffc17f;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 138, 31, 0.24);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.login-panel h2 { margin: 0 0 6px; font-size: 24px; }
.login-lead { margin: 0 0 20px; color: var(--text-2); font-size: 13px; line-height: 1.65; }
.login-panel label { display: block; margin: 14px 0 7px; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.login-panel input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(133, 146, 206, 0.22);
  border-radius: 12px;
  outline: none;
  background: #0b0e18;
  color: var(--text-1);
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.login-panel input:focus {
  border-color: #ff8a1f;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.13);
}
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-send {
  flex: 0 0 118px;
  height: 46px;
  border: 1px solid rgba(255, 138, 31, 0.28);
  border-radius: 12px;
  color: #ffd7b0;
  background: rgba(255, 122, 0, 0.14);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.code-send:hover:not(:disabled) { background: rgba(255, 122, 0, 0.24); }
.code-send:disabled { cursor: not-allowed; opacity: 0.55; }
.login-submit {
  width: 100%;
  height: 48px;
  margin-top: 20px;
  font-size: 15px;
}
.login-msg {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
}
.login-msg.ok { color: var(--ok); }
.login-msg.error { color: #ffb0b7; }
.login-tip { display: block; margin-top: 16px; color: var(--text-3); font-size: 11px; text-align: center; }

/* 客户中心 */
.center-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.center-id span { color: var(--text-3); font-size: 11px; }
.center-id strong {
  color: var(--text-1);
  font: 700 15px Consolas, monospace;
  letter-spacing: 0.3px;
  word-break: break-all;
  text-align: right;
}
.center-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ok);
  font-size: 12.5px;
  margin-bottom: 20px;
}
.center-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
.center-actions { display: grid; gap: 10px; }
.center-actions .primary-button,
.center-actions .secondary-button { width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 34px 0;
  background: color-mix(in srgb, var(--header-bg) 94%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}
.footer-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand strong { display: block; font-size: 14px; }
.footer-brand span {
  display: block;
  margin-top: 3px;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: 1.2px;
}
.footer-note { margin: 0; color: var(--text-3); font-size: 12.5px; }

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.card-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.06s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.18s; }
.pipeline .reveal:nth-child(2) { transition-delay: 0.08s; }
.pipeline .reveal:nth-child(3) { transition-delay: 0.16s; }
.pipeline .reveal:nth-child(4) { transition-delay: 0.24s; }
.highlights-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.highlights-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.highlights-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .activation-logo-orbit { grid-column: 1; grid-row: 1; width: 260px; height: 260px; }
  .activation-logo-orbit img { width: 148px; height: 148px; }
  .activation-logo-orbit::before { inset: 30px; }
  .orbit-ring-text { inset: -22px; width: 304px; height: 304px; }
  .orbit-eq span:nth-child(1) { left: calc(50% - 46px); }
  .orbit-eq span:nth-child(2) { left: calc(50% - 23px); }
  .orbit-eq span:nth-child(3) { left: calc(50% - 3px); }
  .orbit-eq span:nth-child(4) { left: calc(50% + 17px); }
  .orbit-eq span:nth-child(5) { left: calc(50% + 40px); }
  .float-songs { top: -4px; left: 2px; }
  .float-users { top: 96px; right: -10px; }
  .float-mastering { bottom: -4px; left: 24px; }
  @keyframes activation-satellite {
    0% { transform: rotate(0deg) translateX(124px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(124px) rotate(-360deg); }
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .pipeline::before { display: none; }
  .highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-download { display: none; }
  .nav-login { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 52px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .primary-button, .hero-actions .secondary-button { width: 100%; }
  .activation-logo-orbit { width: 230px; height: 230px; }
  .activation-logo-orbit img { width: 132px; height: 132px; }
  .orbit-ring-text { inset: -16px; width: 262px; height: 262px; }
  .orbit-eq span:nth-child(1) { left: calc(50% - 40px); }
  .orbit-eq span:nth-child(2) { left: calc(50% - 20px); }
  .orbit-eq span:nth-child(3) { left: calc(50% - 3px); }
  .orbit-eq span:nth-child(4) { left: calc(50% + 14px); }
  .orbit-eq span:nth-child(5) { left: calc(50% + 34px); }
  .hero-float { padding: 9px 12px; gap: 8px; }
  .hero-float b { font-size: 14px; }
  .hero-float small { font-size: 10px; }
  .hero-float .float-icon { width: 26px; height: 26px; }
  .float-songs { top: -8px; left: 0; }
  .float-users { top: 82px; right: -8px; }
  .float-mastering { bottom: -6px; left: 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid var(--border); }
  .pipeline { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .download-actions { flex-direction: column; }
  .download-actions .primary-button, .download-actions .secondary-button { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .activation-logo-orbit::before,
  .activation-logo-orbit::after,
  .activation-logo-orbit i,
  .activation-logo-orbit img,
  .orbit-eq span,
  .orbit-ring-text,
  .orbit-ripple,
  .hero-float {
    animation: none;
  }
  .reveal { transition: none; opacity: 1; transform: none; }
}
