:root {
  --ink: #0b1633;
  --ink-soft: #34415f;
  --muted: #6f7c96;
  --line: #dfe6f2;
  --panel: #f6f8fc;
  --blue: #4263eb;
  --blue-bright: #0d7cff;
  --blue-pale: #edf3ff;
  --green: #15a37a;
  --white: #fff;
  --shadow: 0 24px 70px rgba(23, 46, 100, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 230, 242, .78);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 760; letter-spacing: -.03em; }
.brand-mark { position: relative; width: 40px; height: 34px; display: inline-block; flex: 0 0 auto; }
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  width: 31px;
  height: 12px;
  border-radius: 4px 10px 10px 4px;
  transform: skewY(-28deg);
}
.brand-mark::before { left: 0; top: 3px; background: var(--blue); }
.brand-mark::after { right: 0; bottom: 3px; background: var(--blue-bright); transform: skewY(-28deg) rotate(180deg); }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; color: #495671; font-size: 14px; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  color: #4d5971;
  font-size: 13px;
  font-weight: 600;
}
.language-link { border: 1px solid var(--line); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); box-shadow: 0 12px 28px rgba(66, 99, 235, .25); }
.button-secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.button-light { color: var(--ink); background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 9px; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(13, 124, 255, .13), transparent 27%),
    radial-gradient(circle at 48% -8%, rgba(66, 99, 235, .09), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8faff 100%);
}
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .34;
  background-image: linear-gradient(rgba(66, 99, 235, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(66, 99, 235, .08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 76px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid #d9e4ff;
  border-radius: 999px;
  color: #3154d7;
  background: rgba(239, 244, 255, .88);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(21, 163, 122, .11); }
h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.062em; }
.gradient-text { color: transparent; background: linear-gradient(110deg, #2449d8, #0d7cff 72%); background-clip: text; }
.hero-copy { max-width: 650px; margin: 25px 0 0; color: #5e6b84; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; color: #77839a; font-size: 12px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e9f8f3; font-style: normal; font-weight: 800; }

.gateway-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(206, 219, 243, .95);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(237,244,255,.92));
  box-shadow: var(--shadow);
}
.gateway-card::before {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(208, 220, 244, .66);
  border-radius: 20px;
  content: "";
}
.gateway-top { position: absolute; left: 34px; right: 34px; top: 30px; display: flex; align-items: center; justify-content: space-between; color: #7c879c; font-size: 11px; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; }
.live::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.route-stage { position: absolute; inset: 84px 26px 28px; }
.route-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border: 1px solid #cddaff;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, #4f6ef1, #0d7cff);
  box-shadow: 0 22px 45px rgba(41, 83, 219, .3), inset 0 1px rgba(255,255,255,.5);
  transform: translate(-50%, -50%) rotate(45deg);
}
.route-center .brand-mark { transform: rotate(-45deg) scale(.95); filter: brightness(0) invert(1); }
.route-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 244px;
  height: 244px;
  border: 1px dashed rgba(66, 99, 235, .34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 28s linear infinite;
}
.route-ring::before,
.route-ring::after { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(66,99,235,.1); content: ""; }
.route-ring::before { left: 18px; top: 42px; }
.route-ring::after { right: 18px; bottom: 42px; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.endpoint {
  position: absolute;
  z-index: 2;
  min-width: 116px;
  padding: 12px 14px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  color: #3d4b67;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(52, 72, 116, .08);
  font-size: 11px;
  font-weight: 700;
}
.endpoint::before { width: 8px; height: 8px; display: inline-block; margin-right: 7px; border-radius: 3px; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); content: ""; }
.e1 { left: 0; top: 22%; }
.e2 { right: 0; top: 13%; }
.e3 { right: 0; bottom: 17%; }
.e4 { left: 3%; bottom: 11%; }
.route-line { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(13,124,255,.7), transparent); transform-origin: left center; }
.l1 { left: 21%; top: 33%; width: 32%; transform: rotate(22deg); }
.l2 { left: 49%; top: 42%; width: 37%; transform: rotate(-27deg); }
.l3 { left: 52%; top: 55%; width: 34%; transform: rotate(28deg); }
.l4 { left: 22%; top: 69%; width: 32%; transform: rotate(-25deg); }
.route-score {
  position: absolute;
  left: 50%;
  bottom: 5px;
  z-index: 4;
  width: 78%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1px solid #d9e3f5;
  border-radius: 13px;
  background: rgba(255,255,255,.91);
  transform: translateX(-50%);
  font-size: 11px;
}
.route-score strong { color: var(--blue); font-size: 18px; }

.proof { border-block: 1px solid #edf0f5; background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 27px 22px; border-right: 1px solid #edf0f5; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; margin-bottom: 5px; color: #243252; font-size: 14px; }
.proof-item span { color: #8a94a7; font-size: 12px; }

.section { padding: 108px 0; }
.section-soft { background: #f7f9fd; }
.section-dark { color: #fff; background: #0b1633; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: block; margin-bottom: 14px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-dark .kicker { color: #86a5ff; }
h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.12; letter-spacing: -.045em; }
.section-head p { margin: 18px 0 0; color: #738099; font-size: 16px; line-height: 1.75; }
.section-dark .section-head p { color: #9eabc5; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  min-height: 260px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature:hover { border-color: #c5d4ff; box-shadow: 0 20px 48px rgba(28, 56, 124, .09); transform: translateY(-5px); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 14px; color: var(--blue); background: var(--blue-pale); font-size: 20px; font-weight: 800; }
.feature h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.feature p { margin: 12px 0 0; color: #758199; font-size: 14px; line-height: 1.75; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 76px; }
.split-copy p { color: #78849a; font-size: 16px; line-height: 1.75; }
.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; color: #42506b; font-size: 14px; line-height: 1.6; }
.check-list li::before { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--blue); background: var(--blue-pale); content: "✓"; font-size: 11px; font-weight: 900; }
.code-window { overflow: hidden; border: 1px solid #223356; border-radius: 20px; background: #0e1b37; box-shadow: 0 28px 70px rgba(9, 22, 51, .25); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 17px; border-bottom: 1px solid #203154; color: #7f91b5; font-size: 11px; }
.code-bar i { width: 8px; height: 8px; border-radius: 50%; background: #385078; }
.code-bar span { margin-left: 7px; }
pre { margin: 0; padding: 28px; overflow-x: auto; color: #d8e3fb; font: 12px/1.85 "SFMono-Regular", Consolas, monospace; }
.code-blue { color: #79a7ff; }
.code-green { color: #6dd7b7; }
.code-gold { color: #f3c67a; }

.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.business-card { position: relative; overflow: hidden; min-height: 340px; padding: 38px; border: 1px solid #26375c; border-radius: 22px; background: linear-gradient(145deg, #111f3e, #0c1831); }
.business-card::after { position: absolute; right: -90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(66, 99, 235, .16); filter: blur(4px); content: ""; }
.business-card h3 { position: relative; z-index: 1; margin: 0; font-size: 24px; }
.business-card p { position: relative; z-index: 1; max-width: 480px; margin: 15px 0 0; color: #9facc4; font-size: 14px; line-height: 1.8; }
.business-card .metric { position: relative; z-index: 1; display: block; margin-top: 58px; color: #fff; font-size: 34px; font-weight: 760; letter-spacing: -.04em; }
.business-card small { position: relative; z-index: 1; color: #7f91b4; }

.faq { max-width: 850px; margin-inline: auto; }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 5px; top: 23px; color: var(--blue); content: "+"; font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: -7px 0 24px; color: #748098; font-size: 14px; line-height: 1.8; }

.cta { padding: 0 0 88px; }
.cta-panel { position: relative; overflow: hidden; padding: 62px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, #243fc7, #0d7cff); }
.cta-panel::before { position: absolute; right: -80px; top: -150px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; }
.cta-panel h2 { position: relative; max-width: 650px; }
.cta-panel p { position: relative; max-width: 620px; margin: 16px 0 28px; color: rgba(255,255,255,.78); line-height: 1.7; }

.site-footer { padding: 64px 0 30px; border-top: 1px solid var(--line); background: #fbfcfe; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-about p { max-width: 340px; margin: 17px 0 0; color: #7b869a; font-size: 13px; line-height: 1.75; }
.footer-col strong { display: block; margin-bottom: 17px; font-size: 13px; }
.footer-col a { display: block; margin: 11px 0; color: #758096; font-size: 13px; }
.footer-col a:hover { color: var(--blue); }
.copyright { display: flex; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: #929bad; font-size: 11px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 74px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero-copy { max-width: 740px; }
  .gateway-card { width: min(620px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid #edf0f5; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-col:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 30px, var(--max)); }
  .nav { height: 64px; }
  .nav-toggle { display: block; }
  .nav-actions .text-link, .nav-actions > .button { display: none; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto;
    height: calc(100vh - 64px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 22px;
    color: var(--ink);
    background: #fff;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hero { padding: 62px 0 52px; }
  h1 { font-size: clamp(38px, 12.5vw, 52px); }
  .hero-copy { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .gateway-card { min-height: 430px; border-radius: 22px; }
  .route-center { width: 104px; height: 104px; }
  .route-ring { width: 190px; height: 190px; }
  .endpoint { min-width: 98px; padding: 9px 10px; font-size: 9px; }
  .route-score { width: 92%; }
  .proof-item { padding: 22px 14px; }
  .section { padding: 76px 0; }
  .feature-grid, .business-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .business-card { min-height: 300px; padding: 29px; }
  pre { padding: 21px; font-size: 11px; }
  .cta { padding-bottom: 60px; }
  .cta-panel { padding: 38px 27px; border-radius: 21px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .copyright { align-items: flex-start; flex-direction: column; }
}
