/* 直播AI助手官网
   视觉方向：直播控制室。深底、抖音红行动色、青色监听状态。
   记忆点是首屏的产品控制台，其余界面保持安静。 */

:root {
  --bg: #0e1013;
  --panel: #16191f;
  --panel-2: #1d2129;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f4f8;
  --dim: #aab2bf;
  --dim-2: #7d8695;
  --red: #fe2c55;
  --red-hover: #ff4468;
  --cyan: #25f4ee;
  --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 14px;
  background: var(--red);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--red);
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav__links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav__links a {
  color: var(--dim);
  font-size: 14px;
  transition: color 0.15s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--text);
}

.nav__cta {
  flex-shrink: 0;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn--small {
  padding: 9px 16px;
  font-size: 13px;
}

.btn--large {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgba(254, 44, 85, 0.22);
}

.btn--primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.btn--primary:disabled {
  background: #3a2028;
  color: #c98b98;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- 首屏 ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(254, 44, 85, 0.12), transparent 62%),
    radial-gradient(700px 420px at 8% 110%, rgba(37, 244, 238, 0.06), transparent 60%),
    var(--bg);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.16);
}

.pulse-dot--live {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(37, 244, 238, 0.18);
}

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.hero__sub {
  margin-top: 22px;
  max-width: 34em;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.9;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--dim-2);
  font-size: 13px;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

/* 首屏产品控制台（纯 CSS 产品界面） */

.console {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.console__dots {
  display: inline-flex;
  gap: 5px;
}

.console__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.console__room {
  flex: 1;
  font-size: 12px;
  color: var(--dim);
}

.console__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
}

.console__body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 340px;
}

.console__danmu {
  border-right: 1px solid var(--line);
  padding: 16px;
}

.console__answer {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.console__pane-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--dim-2);
  margin-bottom: 12px;
}

.danmu-stream {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.danmu-stream li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dim);
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.danmu-stream li b {
  flex-shrink: 0;
  color: var(--text);
  font-weight: 650;
}

.danmu-stream li.is-active {
  border-color: rgba(254, 44, 85, 0.5);
  background: rgba(254, 44, 85, 0.1);
}

.answer-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: 10px;
  background: var(--panel-2);
  padding: 12px 13px;
}

.answer-card__skill {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  color: var(--red);
  border: 1px solid rgba(254, 44, 85, 0.4);
  background: rgba(254, 44, 85, 0.12);
  border-radius: 999px;
  padding: 1px 9px;
}

.answer-card__skill--cyan {
  color: var(--cyan);
  border-color: rgba(37, 244, 238, 0.36);
  background: rgba(37, 244, 238, 0.09);
}

.answer-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
}

/* ---------- 通用区块 ---------- */

.section {
  border-bottom: 1px solid var(--line);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
}

.section__head {
  max-width: 620px;
  margin-bottom: 44px;
}

.section__head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  font-weight: 800;
}

.section__head p {
  margin-top: 14px;
  color: var(--dim);
  font-size: 15px;
}

/* ---------- 功能 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature {
  padding: 30px 28px 34px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.feature:nth-child(3n) {
  border-right: 0;
}

.feature__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--red);
  background: var(--panel);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 750;
}

.feature p {
  margin-top: 8px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 技能 ---------- */

.skills {
  background: var(--panel);
}

.skills__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.skills .section__head {
  margin-bottom: 26px;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.chip--red {
  color: var(--red);
  border-color: rgba(254, 44, 85, 0.42);
  background: rgba(254, 44, 85, 0.1);
}

.chip--cyan {
  color: var(--cyan);
  border-color: rgba(37, 244, 238, 0.36);
  background: rgba(37, 244, 238, 0.08);
}

.skills__note {
  margin-top: 22px;
  color: var(--dim-2);
  font-size: 13px;
}

.skills__mock {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  padding: 18px;
}

.skills__mock-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.skills__mock-head span {
  font-size: 11px;
  color: var(--dim-2);
}

.skills__mock-head b {
  font-size: 14px;
}

.skills__mock-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.mini-answer {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--panel);
}

.mini-answer .chip {
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: 11px;
}

.mini-answer p {
  color: var(--dim);
  font-size: 13px;
}

/* ---------- 使用步骤 ---------- */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step {
  display: flex;
  gap: 16px;
  padding-top: 22px;
  border-top: 2px solid var(--line-strong);
}

.step:first-child {
  border-top-color: var(--red);
}

.step__num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: var(--dim);
}

.step h3 {
  font-size: 17px;
  font-weight: 750;
}

.step p {
  margin-top: 6px;
  color: var(--dim);
  font-size: 14px;
}

/* ---------- 下载 ---------- */

.download {
  background:
    radial-gradient(760px 320px at 85% 120%, rgba(254, 44, 85, 0.16), transparent 62%),
    var(--bg);
}

.download__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download__copy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.35;
  font-weight: 800;
}

.download__copy p {
  margin-top: 12px;
  color: var(--dim);
  max-width: 30em;
}

.download__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download__meta {
  color: var(--dim-2);
  font-size: 12.5px;
  text-align: center;
}

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand--footer .brand__mark {
  width: 24px;
  height: 24px;
}

.brand--footer .brand__name {
  font-size: 14px;
}

.footer__note {
  color: var(--dim-2);
  font-size: 12.5px;
}

.footer__links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.footer__links a {
  color: var(--dim);
  font-size: 13px;
}

.footer__links a:hover {
  color: var(--text);
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .console {
    max-width: 640px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .feature:nth-child(2n) {
    border-right: 0;
  }

  .skills__inner {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    justify-content: space-between;
  }

  .hero__inner {
    padding: 52px 18px 64px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .console__body {
    grid-template-columns: 1fr;
  }

  .console__danmu {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section__inner {
    padding: 64px 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(3n) {
    border-right: 0;
  }

  .download__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 18px;
  }

  .download__box {
    align-items: flex-start;
  }

  .footer__inner {
    padding: 26px 18px;
  }

  .footer__links {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
