:root {
  color-scheme: dark;
  --ink: #e8edf7;
  --ink-2: #c3cde0;
  --muted: #8b98b4;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.16);
  --bg: #070b16;
  --tint: #0a1020;
  --surface: #0e1628;
  --surface-2: #131c32;
  --dark: #070b16;
  --dark-2: #0e1528;
  --blue: #4f7cff;
  --blue-d: #3b63e6;
  --teal: #2dd4bf;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px rgb(0 0 0 / 0.35);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 48px);
}

.container--wide {
  width: min(1400px, 100% - 48px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 20px rgb(79 124 255 / 0.35);
}

.btn--primary:hover {
  background: var(--blue-d);
}

.btn--ghost {
  color: #fff;
  border-color: rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.04);
}

.btn--ghost:hover {
  border-color: rgb(255 255 255 / 0.45);
}

.btn--ghost-dark {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgb(255 255 255 / 0.03);
}

.btn--ghost-dark:hover {
  border-color: rgb(255 255 255 / 0.35);
}

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.nav.is-scrolled {
  background: rgb(7 11 22 / 0.78);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
}

.nav__links a {
  opacity: 0.78;
  transition: opacity 0.2s;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid currentColor;
  border-color: rgb(255 255 255 / 0.2);
  border-radius: 9px;
}

.lang button {
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  color: inherit;
  background: none;
  opacity: 0.65;
  cursor: pointer;
}

.lang button[aria-pressed='true'] {
  opacity: 1;
  background: rgb(127 140 170 / 0.22);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 110px;
  color: #fff;
  background: var(--dark);
}

.hero__glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 50% at 70% 40%, rgb(79 124 255 / 0.35), transparent 70%),
    radial-gradient(30% 40% at 25% 30%, rgb(45 212 191 / 0.18), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #c9d6ff;
  background: rgb(255 255 255 / 0.05);
}

.eyebrow--dark {
  border-color: rgb(79 124 255 / 0.3);
  color: #9fb6ff;
  background: rgb(79 124 255 / 0.1);
}

.hero h1 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  text-wrap: balance;
}

:lang(en) .hero h1 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.hero__sub {
  max-width: 560px;
  margin-top: 20px;
  font-size: 18px;
  color: #b4c0d8;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #93a3c2;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- 产品截图 ---------- */

.shot {
  margin: 0;
}

.frame {
  width: 100%;
  height: auto;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 14px;
  background: #1b1b1b;
  box-shadow: 0 40px 80px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(0 0 0 / 0.3),
    0 0 120px rgb(79 124 255 / 0.18);
}

/* ---------- 产品演示 ---------- */

.tour {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 32px;
}

.tour__tabs {
  display: grid;
  gap: 6px;
}

.tour__tab {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}

.tour__tab:hover {
  background: rgb(255 255 255 / 0.03);
}

.tour__tab[aria-selected='true'] {
  border-color: rgb(79 124 255 / 0.4);
  background: var(--surface);
}

.tour__tab[aria-selected='true']::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -1px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

.tour__tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.tour__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}

.tour__label svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #9fb6ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour__label em {
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #5eead4;
  background: rgb(45 212 191 / 0.12);
}

.tour__desc {
  padding-left: 32px;
  font-size: 14px;
  color: var(--muted);
}

.tour__tab[aria-selected='true'] .tour__desc {
  color: var(--ink-2);
}

.tour__stage {
  display: grid;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

.tour__panel {
  grid-area: 1 / 1;
}

.tour__panel:not(.is-active) {
  visibility: hidden;
  opacity: 0;
}

.tour__panel.is-active {
  z-index: 1;
}

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

.section {
  padding: 110px 0;
}

.section--tint {
  border-block: 1px solid var(--line);
  background: var(--tint);
}

.section--dark {
  color: #fff;
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
}

.section__head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
}

.section__head p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, box-shadow 0.25s, translate 0.25s;
}

.card:hover {
  border-color: rgb(79 124 255 / 0.4);
  box-shadow: var(--shadow);
  translate: 0 -3px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgb(79 124 255 / 0.18), rgb(45 212 191 / 0.14));
}

.card__icon svg,
.channel svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #9fb6ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 18px;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
}

.card--wide {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 22px;
  border-color: rgb(45 212 191 / 0.3);
  background:
    radial-gradient(60% 120% at 0% 50%, rgb(45 212 191 / 0.1), transparent 70%),
    var(--surface);
}

.card--wide .card__icon {
  flex: none;
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

.card--wide .card__icon svg {
  width: 28px;
  height: 28px;
  stroke: #5eead4;
}

.card--wide h3 {
  font-size: 20px;
}

.card--wide p {
  max-width: 820px;
}

/* ---------- 流程 ---------- */

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

.step {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step__num {
  display: block;
  margin-bottom: 14px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  font-size: 19px;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* ---------- 部署与价格 ---------- */

.plan-card,
.price {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.plan-card--dark {
  border-color: rgb(79 124 255 / 0.35);
  background:
    radial-gradient(80% 90% at 100% 0%, rgb(79 124 255 / 0.3), transparent 60%),
    var(--surface-2);
}

.plan-card h3 {
  margin: 16px 0 20px;
  font-size: 24px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #9fb6ff;
  background: rgb(79 124 255 / 0.14);
}

.pill--teal {
  color: #5eead4;
  background: rgb(45 212 191 / 0.12);
}

.checks {
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 30px;
}

.checks li::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E")
      center / 13px no-repeat,
    linear-gradient(135deg, var(--blue), var(--teal));
}

.plan-card--dark .checks li {
  color: #d3dcf0;
}

.pricing {
  max-width: 920px;
  margin-inline: auto;
}

.price {
  display: flex;
  flex-direction: column;
}

.price h3 {
  font-size: 22px;
}

.price__desc {
  margin-top: 6px;
  color: var(--muted);
}

.price__amount {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
  font-weight: 800;
}

.price .checks {
  flex: 1;
  margin-bottom: 30px;
}

.price--featured {
  border: 2px solid var(--blue);
  background:
    radial-gradient(80% 50% at 50% 0%, rgb(79 124 255 / 0.14), transparent 70%),
    var(--surface);
  box-shadow: 0 24px 60px rgb(79 124 255 / 0.15);
}

.price__badge {
  position: absolute;
  top: -14px;
  left: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #22b8a8);
}

/* ---------- 常见问题 ---------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  translate: 0 -50%;
  transition: rotate 0.2s;
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- 联系 ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 64px;
}

.contact h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
}

.contact__intro > p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 17px;
  color: #a9b6d0;
}

.channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.04);
  transition: border-color 0.2s, background-color 0.2s;
}

a.channel:hover {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.07);
}

.channel svg {
  flex: none;
  stroke: #9fb6ff;
}

.channel strong,
.channel small {
  display: block;
}

.channel small {
  color: #93a3c2;
  word-break: break-all;
}

.channel--soon small {
  color: #6b7a99;
}

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35);
}

.form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: rgb(255 255 255 / 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(79 124 255 / 0.15);
}

.form__status {
  min-height: 1.6em;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

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

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: #7f8cab;
  background: var(--dark);
  font-size: 13px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer__inner p:first-of-type {
  flex: 1;
  min-width: 260px;
}

.brand--light {
  color: #fff;
  font-size: 16px;
}

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

@media (max-width: 1000px) {
  .hero__inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .shot {
    max-width: 720px;
  }

  .tour {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tour__tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .tour__tab {
    padding: 14px 16px;
  }

  .tour__tab[aria-selected='true']::before {
    top: -1px;
    right: 16px;
    bottom: auto;
    left: 16px;
    width: auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
  }

  .tour__desc {
    display: none;
  }

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

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

  .nav__actions {
    margin-left: auto;
  }

  .grid--3,
  .grid--2,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 120px 0 80px;
  }
}

@media (max-width: 520px) {
  .nav .btn--sm {
    display: none;
  }

  .card--wide {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .tour__label {
    gap: 8px;
    font-size: 15px;
  }

  .tour__label em {
    display: none;
  }

  .form,
  .plan-card,
  .price {
    padding: 24px;
  }
}
