:root {
  --primary: #4d6bfe;
  --primary-dark: #3658f6;
  --primary-soft: rgba(77, 107, 254, 0.1);
  --ink: #121623;
  --muted: #5d6475;
  --line: #e7eaf3;
  --soft: #f6f8ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--white);
  letter-spacing: 0;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 234, 243, 0.72);
}

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

.brand img {
  display: block;
  width: 126px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  position: relative;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  overflow: hidden;
}

#capabilities,
#workflow,
#use-cases {
  scroll-margin-top: 88px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 64px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 176px);
  margin: 0 auto;
  padding: 32px 0 38px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -76px calc((100% - 100vw) / 2) -44px;
  z-index: -2;
  background:
    linear-gradient(rgba(77, 107, 254, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 107, 254, 0.055) 1px, transparent 1px),
    conic-gradient(
      from 132deg at 72% 10%,
      rgba(77, 107, 254, 0.15),
      rgba(245, 248, 255, 0.2),
      rgba(255, 255, 255, 0.98),
      rgba(228, 235, 255, 0.5),
      rgba(255, 255, 255, 0.94)
    ),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 76%);
  background-size:
    54px 54px,
    54px 54px,
    100% 100%,
    100% 100%;
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -76px calc((100% - 100vw) / 2) -44px;
  z-index: -1;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0 22%, transparent 22% 100%),
    linear-gradient(146deg, transparent 0 58%, rgba(255, 255, 255, 0.68) 58% 100%),
    linear-gradient(24deg, rgba(77, 107, 254, 0.04), transparent 56%);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 72% 96%, 36% 86%, 0 100%);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 9vw, 112px);
  line-height: 0.98;
  font-weight: 800;
}

.slogan {
  margin-bottom: 22px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 750;
}

.intro {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 16px 36px rgba(77, 107, 254, 0.28);
}

.button.primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 20px 46px rgba(77, 107, 254, 0.35);
}

.agent-console {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(246, 248, 255, 0.9), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 28px 80px rgba(44, 58, 116, 0.14);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.agent-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), transparent 34%);
  opacity: 0.75;
}

.agent-console:hover {
  border-color: rgba(77, 107, 254, 0.22);
  box-shadow: 0 34px 90px rgba(44, 58, 116, 0.2);
  transform: translateY(-4px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9dfef;
}

.console-top span:first-child {
  background: var(--primary);
}

.console-top strong {
  margin-left: auto;
  color: var(--ink);
}

.mission {
  padding: 22px;
  border: 1px solid rgba(77, 107, 254, 0.16);
  border-radius: 8px;
  background: var(--white);
}

.mission p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.mission h2 {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 1.35;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1fb;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.agent-grid article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.agent-grid article:hover {
  border-color: rgba(77, 107, 254, 0.28);
  box-shadow: 0 12px 30px rgba(44, 58, 116, 0.08);
  transform: translateY(-3px);
}

.agent-grid b,
.agent-grid span {
  display: block;
}

.agent-grid b {
  margin-bottom: 10px;
  font-size: 16px;
}

.agent-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section,
.workflow {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.section h2,
.workflow h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.2;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

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

.feature-grid article {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 36px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(18, 22, 35, 0.02);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-grid article::after,
.case-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(77, 107, 254, 0.09), transparent 36%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-grid article:hover,
.case-grid article:hover {
  border-color: rgba(77, 107, 254, 0.24);
  box-shadow: 0 26px 70px rgba(44, 58, 116, 0.12);
  transform: translateY(-8px);
}

.feature-grid article:hover::after,
.case-grid article:hover::after {
  opacity: 1;
}

.feature-icon,
.case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--soft);
  font-size: 24px;
  font-weight: 800;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.feature-grid article:hover .feature-icon,
.case-grid article:hover .case-icon {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-2px) scale(1.04);
}

.feature-kicker {
  margin-bottom: 28px;
  color: #9aa3b8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-grid .feature-kicker {
  margin-bottom: 28px;
  color: #9aa3b8;
  font-size: 14px;
  line-height: 1.2;
}

.feature-grid h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.feature-grid p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #252b3a;
  font-size: 15px;
  line-height: 1.5;
}

.feature-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-grid li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
}

.workflow-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(77, 107, 254, 0.07), rgba(77, 107, 254, 0.025)),
    #f5f8ff;
}

.workflow-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(77, 107, 254, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 107, 254, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
  padding: 86px 0;
}

.workflow ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.workflow li {
  counter-increment: flow;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(18, 22, 35, 0.02);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.workflow li::before {
  content: counter(flow, decimal-leading-zero);
  width: 48px;
  color: var(--primary);
  font-size: 15px;
}

.workflow li:hover {
  border-color: rgba(77, 107, 254, 0.24);
  box-shadow: 0 16px 42px rgba(44, 58, 116, 0.1);
  transform: translateX(6px);
}

.use-cases {
  padding-top: 94px;
}

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

.case-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(18, 22, 35, 0.02);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.case-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 21px;
}

.case-grid h3 {
  margin-bottom: 20px;
  font-size: 23px;
}

.case-grid p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

@media (prefers-reduced-motion: no-preference) {
  .agent-console,
  .feature-grid article,
  .workflow li,
  .case-grid article {
    animation: rise-in 520ms ease both;
  }

  .feature-grid article:nth-child(2),
  .case-grid article:nth-child(2) {
    animation-delay: 80ms;
  }

  .feature-grid article:nth-child(3),
  .case-grid article:nth-child(3) {
    animation-delay: 150ms;
  }

  .case-grid article:nth-child(4) {
    animation-delay: 220ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  padding: 22px 24px 28px;
  background: #f0f0f0;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  color: #626262;
  font-size: 12px;
  line-height: 1.4;
}

.beian a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 680px);
    min-height: auto;
    gap: 42px;
    padding: 34px 0 48px;
  }

  .hero::before,
  .hero::after {
    inset: -76px calc((100% - 100vw) / 2) -28px;
  }

  .section,
  .workflow {
    width: min(100% - 32px, 680px);
  }

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

@media (max-width: 560px) {
  .brand img {
    width: 108px;
  }

  h1 {
    font-size: 64px;
  }

  .slogan {
    font-size: 30px;
  }

  .intro {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .agent-console {
    padding: 16px;
  }

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

  .feature-grid article {
    min-height: 0;
  }

  .section {
    padding: 68px 0;
  }

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

  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .beian {
    font-size: 11px;
  }
}
