:root {
  /* 首页品牌、文字、边界和版心尺寸。 */
  color-scheme: dark;
  --ink: #111827;
  --ink-soft: #1f2937;
  --paper: #f8fafc;
  --line: rgba(255, 255, 255, 0.13);
  --muted: #aeb9ca;
  --yellow: #ffd84d;
  --yellow-bright: #ffe777;
  --success: #54d7a2;
  --container: min(1320px, calc(100vw - 64px));
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--ink);
}

body {
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 216, 77, 0.08), transparent 28%),
    linear-gradient(180deg, #0b111c 0%, #111827 72%, #0d1421 100%);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  /* 顶部导航保持轻量，让首屏大屏成为视觉主体。 */
  position: relative;
  z-index: 20;
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__logo {
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #c7d0de;
  font-size: 0.94rem;
}

.site-nav a,
.header-cta,
.button,
.flow-step button {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--yellow-bright);
}

.header-cta {
  padding: 10px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
}

.header-cta:hover,
.header-cta:focus-visible,
.button--primary:hover,
.button--primary:focus-visible {
  background: var(--yellow-bright);
  transform: translateY(-2px);
}

.hero {
  /* 首屏采用左侧价值说明与右侧产品大屏的双栏结构。 */
  width: var(--container);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 54px 0 56px;
  display: grid;
  grid-template-columns: minmax(390px, 0.88fr) minmax(610px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 4.4vw, 68px);
}

.hero__copy {
  position: relative;
  z-index: 4;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--yellow-bright);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(3.15rem, 4.25vw, 4.45rem);
  line-height: 1.045;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: #bac4d3;
  font-size: clamp(1rem, 1.22vw, 1.16rem);
  line-height: 1.85;
}

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

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
}

.button--primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 14px 36px rgba(255, 216, 77, 0.12);
}

.button--quiet {
  color: #e5eaf1;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.button--quiet:hover,
.button--quiet:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.play-icon {
  color: var(--yellow);
  font-size: 0.72rem;
}

.hero__proof {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #8f9bad;
  font-size: 0.84rem;
  list-style: none;
}

.hero__proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 8px 1px 0;
  display: inline-block;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(84, 215, 162, 0.1);
}

.hero__visual {
  position: relative;
  min-width: 0;
  padding-bottom: 82px;
}

.screen-shell {
  /* 大屏只承载项目真实界面截图，不重绘或伪造产品 UI。 */
  position: relative;
  z-index: 2;
  padding: 7px;
  background: #202938;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.4);
}

.screen-shell__topbar {
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #788599;
  background: #111826;
  border-radius: 17px 17px 0 0;
}

.screen-shell__topbar > span {
  width: 8px;
  height: 8px;
  background: #334155;
  border-radius: 50%;
}

.screen-shell__topbar p {
  margin: 0 auto;
  padding-left: 48px;
  font-size: 0.72rem;
}

.screen-shell__topbar em {
  color: var(--success);
  font-size: 0.7rem;
  font-style: normal;
}

.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3f9;
  border-radius: 0 0 17px 17px;
}

.screen__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035) translateY(7px);
  transition:
    opacity 620ms ease,
    transform 900ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.screen__frame.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.screen__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.screen__frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 216, 77, 0.93);
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.2);
}

.flow-steps {
  position: absolute;
  z-index: 4;
  left: 4%;
  right: 4%;
  bottom: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
}

.flow-step button {
  position: relative;
  width: 100%;
  min-height: 66px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #8995a8;
  text-align: left;
  background: #121b2a;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  cursor: pointer;
}

.flow-step button:hover,
.flow-step button:focus-visible,
.flow-step.is-active button {
  color: #f8fafc;
  background: #1a2537;
  border-color: rgba(255, 216, 77, 0.3);
}

.flow-step__number {
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 850;
}

.flow-step b,
.flow-step small {
  display: block;
}

.flow-step b {
  font-size: 0.88rem;
}

.flow-step small {
  margin-top: 3px;
  color: #778397;
  font-size: 0.7rem;
}

.flow-step i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  display: block;
  background: var(--yellow);
}

.flow-step.is-active i {
  animation: step-progress 4.4s linear both;
}

.section {
  /* 首页下半部分共用的内容区容器。 */
  width: var(--container);
  margin: 0 auto 28px;
  padding: clamp(62px, 7vw, 92px) clamp(24px, 4.5vw, 64px);
  border-radius: 28px;
}

.section--light {
  color: var(--ink);
  background: #f6f8fb;
}

.section--dark {
  background: #151f2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section--docs {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
  background: #0a101a;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading--left {
  margin: 0;
  text-align: left;
}

.section-kicker {
  margin: 0 0 15px;
  color: #b28b00;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--dark .section-kicker,
.section--docs .section-kicker {
  color: var(--yellow);
}

.section-heading h2,
.docs-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3.35vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-heading > p:last-child,
.docs-cta > p {
  margin: 20px auto 0;
  color: #687386;
  font-size: 1rem;
  line-height: 1.85;
}

.section-heading--left > p:last-child,
.docs-cta > p {
  color: #a9b4c4;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5eaf1;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.capability-card__copy {
  flex: 1;
  padding: 26px 26px 28px;
}

.capability-card__copy > span {
  color: #b18b00;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.capability-card__copy h3 {
  margin: 11px 0 0;
  font-size: clamp(1.3rem, 1.75vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.capability-card__copy p {
  margin: 13px 0 0;
  color: #6b7689;
  font-size: 0.92rem;
  line-height: 1.72;
}

.capability-card__copy a {
  margin-top: 19px;
  display: inline-flex;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.capability-card__media {
  aspect-ratio: 16 / 9;
  margin: 12px 12px 0;
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid #dae1eb;
  border-radius: 12px;
}

.capability-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
}

.explain-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.text-link {
  margin-top: 26px;
  display: inline-flex;
  gap: 8px;
  color: var(--yellow-bright);
  font-weight: 800;
}

.status-shot {
  margin: 0;
  overflow: hidden;
  background: #f3f6fa;
  border: 7px solid #253044;
  border-radius: 18px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}

.status-shot img {
  width: 100%;
  display: block;
}

.status-shot figcaption {
  padding: 10px 13px;
  color: #8d9aaf;
  background: #111927;
  font-size: 0.72rem;
}

.docs-cta h2 {
  max-width: 600px;
}

.docs-cta .hero__actions {
  align-items: center;
}

.docs-cta .text-link {
  margin-top: 0;
}

.docs-index {
  display: grid;
  gap: 10px;
}

.docs-index a {
  min-height: 96px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.docs-index a:hover,
.docs-index a:focus-visible {
  background: rgba(255, 216, 77, 0.08);
  border-color: rgba(255, 216, 77, 0.28);
}

.docs-index span {
  grid-row: 1 / 3;
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 900;
}

.docs-index b {
  font-size: 1rem;
}

.docs-index small {
  margin-top: 5px;
  color: #7f8ca0;
  font-size: 0.78rem;
}

.site-footer {
  width: var(--container);
  min-height: 150px;
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  color: #8591a4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand {
  color: #f8fafc;
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.84rem;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--yellow);
}

@keyframes step-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  :root {
    --container: min(100% - 40px, 980px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 4.6rem);
  }

  .hero__visual {
    margin-top: 4px;
  }

  .section--docs,
  .explain-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100% - 28px);
  }

  .site-header {
    min-height: 64px;
  }

  .brand__logo {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .hero {
    padding: 38px 0 32px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10.1vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero__copy .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero__copy .button--quiet {
    min-height: 40px;
    padding: 0 8px;
    justify-self: center;
    background: transparent;
    border-color: transparent;
  }

  .hero__proof {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    font-size: 0.77rem;
  }

  .hero__proof li:last-child {
    grid-column: 1 / -1;
  }

  .hero__visual {
    padding-bottom: 0;
  }

  .screen-shell {
    padding: 5px;
    border-radius: 16px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  }

  .screen-shell__topbar {
    height: 31px;
    border-radius: 15px 15px 0 0;
  }

  .screen-shell__topbar p {
    padding-left: 0;
  }

  .screen-shell__topbar em {
    display: none;
  }

  .screen {
    border-radius: 0 0 15px 15px;
  }

  .screen__frame figcaption {
    left: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: 0.68rem;
  }

  .flow-steps {
    position: static;
    margin-top: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .flow-step button {
    min-height: 58px;
    padding: 9px 7px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    text-align: center;
    border-radius: 10px;
  }

  .flow-step b {
    font-size: 0.77rem;
  }

  .flow-step small {
    display: none;
  }

  .section {
    margin-bottom: 18px;
    padding: 48px 18px;
    border-radius: 20px;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-heading > p:last-child {
    margin-left: 0;
  }

  .capability-grid,
  .section--docs,
  .explain-layout {
    grid-template-columns: 1fr;
  }

  .capability-card__copy {
    padding: 22px 22px 24px;
  }

  .status-shot {
    border-width: 5px;
    border-radius: 14px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
