:root {
  color-scheme: light;
  --ink: #15203a;
  --muted: #65718b;
  --line: #dfe4f1;
  --surface: #ffffff;
  --soft: #f6f7fc;
  --brand: #5549e8;
  --brand-dark: #3d32c7;
  --brand-soft: #eeecff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfbfe;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(223, 228, 241, .86);
  background: rgba(251, 251, 254, .9);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.site-header nav { display: flex; align-items: center; gap: 32px; color: #4c5871; font-size: 14px; font-weight: 600; }
.site-header nav a:hover, .site-footer a:hover { color: var(--brand); }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0 17px; border-radius: 10px; font-size: 14px; }
.button-primary { color: white; background: linear-gradient(135deg, #665bf2, #4438d4); box-shadow: 0 14px 30px rgba(79, 70, 229, .24); }
.button-outline { border-color: #cbd2e3; background: white; }
.button-ghost { color: #3f4a63; border-color: #dde2ef; background: rgba(255, 255, 255, .65); }

.hero {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 62px;
  min-height: 690px;
  padding-block: 76px 88px;
}

.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
}

.eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: .05em; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #62d49a; box-shadow: 0 0 0 5px rgba(98, 212, 154, .14); }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 5.2vw, 74px); line-height: 1.07; letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.15; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.02em; }
.hero-lead { max-width: 610px; margin-bottom: 12px; color: #4d5a73; font-size: 19px; }
.hero-english { max-width: 570px; color: #8690a7; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: #66728b; font-size: 13px; font-weight: 650; }
.hero-proof span::before { content: "✓"; margin-right: 7px; color: #2a9f6d; font-weight: 900; }

.hero-visual { position: relative; }
.visual-glow { position: absolute; inset: 8% 5%; border-radius: 50%; background: rgba(88, 73, 232, .28); filter: blur(70px); }
.hero-visual img { position: relative; width: 112%; max-width: none; border: 1px solid #d9deed; border-radius: 18px; background: white; box-shadow: 0 34px 90px rgba(37, 45, 82, .18), 0 4px 16px rgba(37, 45, 82, .08); }

.workflow-strip { border-block: 1px solid var(--line); background: white; }
.workflow-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 82px; color: #66718a; font-size: 13px; }
.workflow-inline strong { color: var(--ink); }
.workflow-inline i { color: #b5bdcf; font-style: normal; }

.block-section { padding-block: 112px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 70px; margin-bottom: 50px; }
.section-heading h2 { margin: 0; }
.section-heading > p { margin: 0 0 7px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 224px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.feature-card::after { content: ""; position: absolute; right: -34px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); opacity: .11; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-index { display: block; margin-bottom: 36px; color: var(--accent); font-size: 12px; font-weight: 850; }
.accent-purple { --accent: #6558ed; }
.accent-blue { --accent: #3275df; }
.accent-cyan { --accent: #00a3a3; }
.accent-orange { --accent: #e38128; }
.accent-green { --accent: #289b67; }
.accent-pink { --accent: #d75c91; }

.workflow-section { padding-block: 112px; background: #121a31; color: white; }
.workflow-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: center; }
.workflow-copy > p:not(.section-kicker) { color: #aeb8ce; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: #a9a2ff; font-weight: 750; }
.workflow-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.workflow-steps li { display: flex; align-items: center; gap: 18px; padding: 21px 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.045); }
.workflow-steps b { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; color: #d3d0ff; background: rgba(111, 99, 242, .25); }
.workflow-steps strong, .workflow-steps span { display: block; }
.workflow-steps span { margin-top: 2px; color: #97a3bc; font-size: 13px; }

.preview-section { padding-bottom: 125px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.preview-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(38, 47, 83, .08); }
.preview-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.preview-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; }
.preview-card figcaption span { color: var(--muted); font-size: 13px; }
.preview-wide { grid-column: 1 / -1; }
.preview-wide img { aspect-ratio: 2 / 1; }

.quick-start { display: grid; grid-template-columns: .82fr 1.18fr; gap: 84px; align-items: center; padding-block: 90px 120px; }
.quick-start > div > p:last-child { max-width: 480px; color: var(--muted); }
.code-card { overflow: hidden; border: 1px solid #26324c; border-radius: 18px; background: #10182b; box-shadow: 0 26px 60px rgba(24, 31, 56, .18); }
.code-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-top span { width: 9px; height: 9px; border-radius: 50%; background: #ff6d6d; }
.code-top span:nth-child(2) { background: #ffcc68; }
.code-top span:nth-child(3) { background: #68d391; }
.code-top em { margin-left: auto; color: #77839d; font-size: 11px; font-style: normal; }
pre { margin: 0; padding: 25px 28px 30px; overflow-x: auto; color: #c7d1e8; font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code span { color: #9f96ff; }

.cta-section { color: white; background: linear-gradient(125deg, #5d52ed, #3d32c7); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-block: 74px; }
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner p:not(.section-kicker) { margin: 0; color: #dddafe; }
.cta-inner .section-kicker { color: #c9c5ff; }
.cta-actions { display: flex; flex: 0 0 auto; gap: 12px; }
.button-light { color: #3f35c9; background: white; }
.button-dark-outline { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.07); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 112px; color: #778198; font-size: 12px; }
.footer-brand { color: var(--ink); font-size: 18px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer > div:last-child { display: flex; justify-self: end; gap: 22px; }

@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero-copy { max-width: 720px; }
  .hero-visual img { width: 100%; }
  .workflow-inline { flex-wrap: wrap; justify-content: center; padding-block: 20px; }
  .workflow-inline strong { width: 100%; text-align: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-layout, .quick-start { grid-template-columns: 1fr; gap: 50px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 64px; padding-inline: 14px; }
  .site-header > .button { display: none; }
  .brand { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .hero { gap: 42px; padding-block: 48px 60px; }
  h1 { font-size: 43px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 9px 16px; }
  .workflow-inline { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; }
  .workflow-inline i { display: none; }
  .block-section { padding-block: 78px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .feature-grid, .preview-grid { grid-template-columns: 1fr; }
  .preview-wide { grid-column: auto; }
  .preview-wide img, .preview-card img { aspect-ratio: 16 / 10; }
  .preview-card figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .workflow-section { padding-block: 80px; }
  .workflow-steps li { align-items: flex-start; }
  .quick-start { padding-block: 78px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding-block: 32px; text-align: center; }
  .site-footer > div:last-child { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

