/* 首页基础变量与系统字体：不加载外部字体和未经授权的第三方视觉资源。 */
:root {
  color-scheme: light;
  --navy-950: #050d20;
  --navy-900: #07142f;
  --navy-800: #0b2250;
  --blue-700: #235ad8;
  --blue-600: #3975ee;
  --blue-100: #eaf1ff;
  --cyan-400: #63d8e3;
  --ink: #10203f;
  --muted: #65718a;
  --line: #dce4f2;
  --surface: #ffffff;
  --surface-soft: #f5f8fd;
  --success: #2ebd85;
  --warning: #ffba55;
  --shadow: 0 24px 70px rgba(28, 54, 105, 0.12);
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* 顶部导航。 */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 64px), var(--content));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(32, 100, 239, 0.28);
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 34px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: white;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 750;
  backdrop-filter: blur(14px);
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* 首屏背景与核心信息。 */
.hero {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  color: white;
  background: var(--navy-950);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 12, 31, 0.5) 0%, rgba(4, 12, 31, 0.14) 52%, rgba(4, 12, 31, 0.04) 100%),
    url("assets/agentflow-home-hero-desktop.png");
  background-position: center;
  background-size: cover;
}

.hero-backdrop::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 36%, rgba(42, 101, 229, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(3, 9, 25, 0.08), rgba(3, 9, 25, 0.46));
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 64px), var(--content));
  min-height: min(900px, 100svh);
  margin: 0 auto;
  padding: 152px 0 94px;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
  gap: 76px;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.release-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  border: 1px solid rgba(129, 181, 255, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  color: #cbdcff;
  background: rgba(32, 72, 145, 0.28);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.release-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 5px rgba(99, 216, 227, 0.12);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(225, 233, 249, 0.78);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
}

.hero-actions,
.final-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 780;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #0b2454;
  background: white;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-proof {
  display: flex;
  gap: 34px;
  margin-top: 42px;
}

.hero-proof div {
  display: grid;
  gap: 5px;
}

.hero-proof strong {
  font-size: 18px;
}

.hero-proof span {
  color: rgba(216, 226, 245, 0.56);
  font-size: 12px;
}

/* 首屏右侧流程预览卡。 */
.hero-console {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(14, 34, 75, 0.78), rgba(5, 16, 42, 0.62));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
}

.console-header,
.console-footer,
.console-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-header {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.console-header div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(46, 189, 133, 0.12);
}

.console-badge {
  border: 1px solid rgba(103, 220, 198, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: #9de8d5;
  background: rgba(32, 136, 109, 0.12);
  font-size: 11px;
}

.console-project {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.console-project span,
.console-project small,
.console-flow small,
.console-footer span {
  color: rgba(221, 230, 247, 0.58);
}

.console-project span,
.console-project small {
  font-size: 11px;
}

.console-project strong {
  font-size: 14px;
}

.console-flow {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-flow li {
  display: grid;
  min-height: 68px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(2, 11, 32, 0.42);
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
}

.console-flow li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 800;
}

.console-flow li div {
  display: grid;
  gap: 4px;
}

.console-flow b {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.console-flow small,
.console-flow em {
  font-size: 10px;
  font-style: normal;
}

.console-flow em {
  color: rgba(255, 255, 255, 0.42);
}

.console-flow .completed > span {
  color: #8ee1cc;
  background: rgba(46, 189, 133, 0.15);
}

.console-flow .completed em {
  color: #8ee1cc;
}

.console-flow .active {
  border-color: rgba(81, 142, 255, 0.5);
  background: rgba(46, 94, 189, 0.18);
  box-shadow: inset 3px 0 #5f91ff;
}

.console-flow .active > span {
  color: white;
  background: rgba(81, 142, 255, 0.28);
}

.console-flow .active em {
  color: #a9c4ff;
}

.console-footer {
  margin-top: 16px;
  padding: 0 2px;
  font-size: 10px;
}

.console-footer b {
  color: #a9c4ff;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 24px;
  background: linear-gradient(white, transparent);
}

/* 通用内容区与标题。 */
.section {
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.boundary-copy h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.16;
  text-wrap: balance;
}

.section-heading > p:last-child,
.boundary-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

/* 三个产品价值卡片。 */
.value-section {
  padding-top: 124px;
}

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

.value-card {
  position: relative;
  min-height: 284px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(26, 51, 101, 0.06);
}

.value-card::after {
  position: absolute;
  right: -42px;
  bottom: -62px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 132, 241, 0.13), transparent 70%);
  content: "";
}

.value-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 58px;
  border-radius: 12px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 12px;
  font-weight: 850;
}

.value-card h3 {
  margin-bottom: 13px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.featured-card {
  color: white;
  border-color: transparent;
  background: linear-gradient(145deg, #153e91, #0b2250);
  box-shadow: 0 24px 60px rgba(21, 62, 145, 0.25);
}

.featured-card .value-index {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.featured-card p {
  color: rgba(231, 238, 252, 0.72);
}

/* 纵向工作流。 */
.workflow-section {
  padding-top: 90px;
}

.workflow-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.workflow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, #b7c9ec 8%, #b7c9ec 92%, transparent);
}

.workflow-step {
  position: relative;
  display: grid;
  min-height: 210px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  background: white;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workflow-step:hover {
  border-color: #b8caf0;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #c4cee0;
  font-size: 12px;
  font-weight: 850;
}

.step-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 17px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 17px;
  font-weight: 850;
}

.workflow-step small {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
}

.workflow-step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gate-step {
  border-color: #eedab6;
  background: #fffbf4;
}

.gate-step .step-icon {
  color: #a96b17;
  background: #fff0d4;
}

.gate-step small {
  color: #a96b17;
}

.parallel-step {
  border-color: #c8d8fa;
  background: #f7faff;
}
