:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9e1ea;
  --paper: #f7fafc;
  --white: #ffffff;
  --primary: #3b5bdb;
  --teal: #0f9f8f;
  --green: #138a54;
  --amber: #c17b14;
  --coral: #d4553f;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 17, 32, 0.78);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.hero-metrics,
.hero-bottom,
.panel-tabs {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
}

.site-nav {
  gap: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover {
  color: var(--white);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  padding: 0 18px;
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  padding: 132px max(28px, calc((100vw - 1180px) / 2)) 78px;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.92) 0%, rgba(8, 13, 24, 0.78) 42%, rgba(8, 13, 24, 0.18) 100%),
    #0b1220;
  color: var(--white);
}

.hero-visual {
  position: absolute;
  inset: 72px 0 0 auto;
  width: min(62vw, 980px);
  opacity: 0.72;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.96), rgba(11, 18, 32, 0.18) 35%, rgba(11, 18, 32, 0.3));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #8ce5d8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: var(--primary);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-metrics {
  gap: 28px;
  margin: 44px 0 0;
}

.hero-metrics div {
  min-width: 110px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 30px;
  left: max(28px, calc((100vw - 1180px) / 2));
  gap: 10px;
  overflow-x: auto;
}

.hero-bottom span {
  min-width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.section,
.intent-band {
  padding: 96px max(28px, calc((100vw - 1180px) / 2));
}

.intent-band {
  padding-top: 48px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading p,
.split p,
.pricing-inner p {
  color: var(--muted);
  font-size: 17px;
}

.intent-band {
  background: var(--white);
}

.intent-console,
.workspace-panel,
.price-box,
.flow-grid article,
.channel-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.intent-console {
  padding: 22px;
}

.query-row {
  min-height: 54px;
  padding: 15px 18px;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.intent-console ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.intent-console li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #f2f6f8;
  font-weight: 700;
}

.intent-console li span,
.step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

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

.channel-grid article {
  min-height: 120px;
  padding: 20px;
}

.channel-grid b {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.channel-grid span,
.flow-grid p,
.workspace-panel span,
.price-box span {
  color: var(--muted);
}

.channel-grid article:nth-child(3n + 1) {
  border-top: 4px solid var(--teal);
}

.channel-grid article:nth-child(3n + 2) {
  border-top: 4px solid var(--amber);
}

.channel-grid article:nth-child(3n) {
  border-top: 4px solid var(--coral);
}

.workflow {
  background: #eef4f1;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow-grid article {
  min-height: 220px;
  padding: 22px;
}

.flow-grid .step {
  margin-bottom: 30px;
  background: var(--green);
}

.workspace {
  background: var(--white);
}

.workspace-panel {
  padding: 22px;
}

.panel-tabs {
  gap: 8px;
  margin-bottom: 20px;
}

.panel-tabs button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.panel-tabs button.active {
  background: var(--ink);
  color: var(--white);
}

.workspace-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workspace-panel li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #f2f6f8;
}

.workspace-panel b,
.workspace-panel span {
  min-width: 0;
}

.pricing {
  background: #101827;
  color: var(--white);
}

.pricing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 80px;
  align-items: center;
}

.pricing-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.price-box {
  padding: 28px;
  background: var(--white);
  color: var(--ink);
}

.price-label {
  margin-bottom: 8px;
  color: var(--muted) !important;
  font-size: 14px !important;
}

.price-box strong {
  display: block;
  margin-bottom: 12px;
  font-size: 34px;
}

.price-box .button {
  width: 100%;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 12px 18px;
  }

  .site-nav {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 920px;
    padding: 112px 22px 112px;
  }

  .hero-visual {
    inset: auto -180px 30px auto;
    width: 780px;
    opacity: 0.42;
  }

  .hero-visual img {
    min-height: 600px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-metrics {
    flex-wrap: wrap;
  }

  .section,
  .intent-band {
    padding: 72px 22px;
  }

  .split,
  .reverse,
  .pricing-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .channel-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .workspace-panel li {
    flex-direction: column;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}
