:root {
  color-scheme: dark;
  --background: #080a12;
  --surface: #10131e;
  --foreground: #f4f5fc;
  --muted: #aeb5c9;
  --border: #272c3e;
  --cyan: #59dbfa;
  --violet: #aa93ff;
  --pink: #f28cce;
  font: 16px/1.65 "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.wrap { width: min(1248px, calc(100% - 7rem)); margin-inline: auto; }
.header {
  position: sticky; top: 0; z-index: 10;
  background: #080a12e8; border-bottom: 1px solid #ffffff13; backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 1.61rem; font-weight: 820; letter-spacing: -.06em; line-height: 1; }
.brand img { width: 34px; height: 38px; object-fit: contain; }
.brand span { color: var(--violet); margin-left: -5px; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 36px); color: var(--muted); font-size: .91rem; font-weight: 610; }
.nav nav a:hover, .footer a:hover { color: var(--cyan); }
.nav-actions, .actions, .contact-actions { display: flex; align-items: center; gap: 10px; }
.button, .language {
  border: 1px solid transparent; border-radius: 8px; display: inline-flex;
  min-height: 45px; align-items: center; justify-content: center; padding: .55rem 1rem;
  font-weight: 720; white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s;
}
.language { border-color: var(--border); min-width: 46px; padding-inline: .5rem; font-size: .84rem; }
.outline { background: #131725; color: var(--foreground); border-color: #33394c; }
.outline:hover, .language:hover { background: #20253a; border-color: #6974a2; }
.primary { color: #0c1020; background: #f4f5ff; box-shadow: 0 0 28px #a2b3ff30; }
.primary:hover { background: #bcefff; box-shadow: 0 0 35px #6ad9ef55; }
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,var(--cyan),var(--violet),var(--pink)); z-index: 11; pointer-events: none; }

.hero {
  overflow: hidden; position: relative; border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 75% 39%, #261b4c 0%, #101429 34%, transparent 65%), #080a12;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(#a4b5ff0d 1px,transparent 1px),linear-gradient(90deg,#a4b5ff0d 1px,transparent 1px);
  background-size: 52px 52px; mask-image: linear-gradient(110deg,transparent 13%,#000 68%,transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: .90fr 1.1fr; align-items: center; min-height: 610px; position: relative; }
.hero-copy { padding: 45px 0; position: relative; z-index: 2; }
.eyebrow {
  color: var(--violet); font-weight: 760; font-size: .77rem; letter-spacing: .17em;
  line-height: 1.45; text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: #c5bdff; }
.eyebrow i, .visual-label span {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px #5ee4ffb0;
}
.hero h1 {
  font-size: clamp(3.6rem,6.7vw,7rem); letter-spacing: -.075em; line-height: 1.04;
  font-weight: 850; margin: 23px 0 22px;
}
html[lang=en] .hero h1 { font-size: clamp(3.25rem,5.8vw,6.25rem); }
.hero h1 span {
  color: #c2afff; background: linear-gradient(100deg,#78e7ff,#b29aff,#ff9cd3,#b29aff,#78e7ff);
  background-size: 250% auto; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradient-travel 12s linear infinite;
}
@keyframes gradient-travel { to { background-position: 166.67% center; } }
.intro { color: var(--muted); font-size: 1.08rem; line-height: 1.8; max-width: 28rem; }
.actions { margin-top: 32px; flex-wrap: wrap; }
.visual {
  position: relative; height: 565px; min-width: 0; isolation: isolate;
  background: radial-gradient(ellipse at 51% 50%,#3744a030,transparent 67%);
}
#globe { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.visual-label {
  position: absolute; z-index: 1; top: 8%; right: 3%; display: inline-flex; gap: 8px; align-items: center;
  color: #c5cdec; font-size: .76rem; letter-spacing: .14em; font-weight: 720;
}
.globe-hint { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); color: #b6bfdc; font-size: .78rem; white-space: nowrap; pointer-events: none; }
.market {
  position: absolute; pointer-events: none; right: 0; top: 49%; display: grid; gap: 2px;
  max-width: 168px; min-width: 118px; padding: 11px 13px; background: #12192ce8;
  border: 1px solid #56629a; border-radius: 9px; box-shadow: 0 10px 35px #0306138c; backdrop-filter: blur(12px);
}
.market strong { font-size: 1.06rem; }
.market small, .market span { color: #b7c5e5; font-size: .74rem; }
.regions, .choices { display: flex; gap: 5px; flex-wrap: wrap; }
.regions { position: absolute; bottom: 3.5%; left: 50%; transform: translateX(-50%); width: max-content; max-width: 100%; justify-content: center; padding: 4px; background: #101425; border: 1px solid #353d61; border-radius: 10px; }
.regions button, .choices button {
  background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 6px;
  padding: .37rem .63rem; font-size: .86rem; font-weight: 680;
}
.regions button:hover, .choices button:hover { color: white; background: #1c2239; }
.regions button[aria-pressed=true], .choices button[aria-pressed=true] { color: #e0d8ff; background: #28224a; border-color: #514582; }
.stats {
  display: grid; grid-template-columns: repeat(4,1fr); position: relative;
  border-top: 1px solid #ffffff21; padding: 27px 0 32px;
}
.stats div { border-left: 1px solid #ffffff21; padding-left: clamp(13px,3vw,34px); }
.stats div:first-child { border: 0; padding-left: 0; }
.stats strong { display: block; font-size: clamp(2rem,4.1vw,3.6rem); font-weight: 760; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.stats strong span { color: var(--violet); }
.stats p { margin-top: 8px; color: var(--muted); font-size: .93rem; }

.section { padding-block: clamp(64px,8vw,112px); }
.section-head { margin-bottom: 30px; }
.section-head h2, .contact h2 {
  margin: 11px 0 14px; font-size: clamp(2.15rem,4.4vw,4.2rem); line-height: 1.09; letter-spacing: -.06em; font-weight: 780;
}
.section-head > p:last-of-type, .cards article > p:not(.eyebrow), .panel p:not(.eyebrow), .contact p:not(.eyebrow) { color: var(--muted); max-width: 37rem; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.cards article, .panel { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: clamp(19px,2.2vw,30px); }
.cards article { transition: background .22s, border .22s, transform .22s; }
.cards article:hover, .cards article:focus-within { background: #171a2a; border-color: #575075; transform: translateY(-4px); }
.cards h3, .panel h3 { font-size: 1.27rem; margin: 14px 0 8px; line-height: 1.35; }
.symbol { display: grid; place-items: center; color: var(--cyan); background: #162a39; width: 42px; height: 42px; font-size: 1.42rem; border-radius: 8px; }
article:nth-child(2) .symbol { color: var(--violet); background: #251d3b; }
article:nth-child(3) .symbol { color: var(--pink); background: #301d35; }
.cases a { display: inline-block; margin-top: 16px; color: #bfb0ff; font-weight: 680; text-decoration: underline; text-underline-offset: 4px; }
.cases a:hover { color: var(--cyan); }
.split { display: grid; grid-template-columns: 1fr 1.12fr; gap: 7%; align-items: center; }
.split .section-head { margin: 0; }
.tint, .dark, .contact { border-block: 1px solid var(--border); }
.tint { background: radial-gradient(ellipse at 82% 58%, #211936,transparent 66%),#0c101b; }
.dark { background: radial-gradient(ellipse at 17% 40%, #142938,transparent 60%),#080b13; }
.tags { display: flex; gap: 8px; margin-top: 25px; flex-wrap: wrap; }
.tags span { padding: 4px 10px; border: 1px solid #343c55; border-radius: 20px; color: #d3daf0; font-size: .87rem; }
.panel { position: relative; isolation: isolate; min-width: 0; }
.choices { margin-bottom: 21px; }
#channel-text { min-height: 3.5em; }
.flow { display: flex; align-items: flex-start; justify-content: center; min-width: 0; margin-top: 28px; border-top: 1px solid var(--border); padding-top: 22px; --flow-color: var(--cyan); }
.panel[data-channel=oem] .flow { --flow-color: var(--violet); }
.panel[data-channel=app] .flow { --flow-color: var(--pink); }
.flow-node { display: grid; justify-items: center; gap: 8px; flex: 1 1 90px; text-align: center; color: #d8deef; font-size: .83rem; line-height: 1.33; }
.flow-node i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--flow-color); background: #15182a; box-shadow: 0 0 16px var(--flow-color); }
.flow-track { flex: 1 2 55px; min-width: 12px; height: 2px; margin: 6px -8px 0; border-radius: 3px; background-color: #35405b; background-image: linear-gradient(90deg,transparent,var(--flow-color),transparent); background-size: 44% 100%; background-repeat: no-repeat; animation: signal-flow 2.4s linear infinite; }
.flow-track:nth-child(4) { animation-delay: .7s; }
@keyframes signal-flow { from { background-position: -90% 50%; } to { background-position: 190% 50%; } }

/* CSS adaptation of Magic UI's Border Beam pattern. */
.beam-frame::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--beam-angle), transparent 0 77%,#58e3ff30 82%,#a08aff 88%,#e88bcd 91%,transparent 95%);
  mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite: exclude; animation: trace-border 8s linear infinite;
}
@property --beam-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes trace-border { to { --beam-angle: 360deg; } }
.steps { border-top: 1px solid #344258; }
.steps details { border-bottom: 1px solid #344258; padding: .82rem 0; }
.steps summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; font-weight: 700; }
.steps summary::-webkit-details-marker { display: none; }
.steps summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; }
.steps details[open] summary::after { content: "−"; }
.steps p { padding: 5px 25px 3px 0; color: var(--muted); }
.steps details[open] p { animation: enter .28s ease both; }

.contact { background: radial-gradient(ellipse at 82% 55%,#2a1c47,transparent 68%),#111421; }
.contact-inner,.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-inner { padding-block: 57px; }
.contact-actions { flex-wrap: wrap; position: relative; }
.contact-actions [role=status] { position: absolute; top: 100%; left: 0; color: var(--cyan); font-size: .85rem; }
.footer { padding-block: 24px; color: var(--muted); font-size: .9rem; }
.footer .brand { color: var(--foreground); }
.hero-copy { animation: enter .7s ease both; }
@keyframes enter { from { opacity: .2; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
[data-reveal].in-view { animation: enter .65s ease both; }

@media(max-width:980px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-grid { min-height: 495px; }
  .visual { height: 460px; }
  .split { gap: 4%; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
@media(max-width:690px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { min-height: 65px; gap: 5px 12px; flex-wrap: wrap; padding: 8px 0; }
  .nav nav { order: 3; width: 100%; justify-content: space-between; gap: 5px; font-size: .79rem; }
  .nav .button, .language { min-height: 37px; padding: 4px 9px; font-size: .84rem; }
  .hero-grid,.split,.cards { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px 0 0; }
  .hero h1 { font-size: clamp(3rem,11.6vw,5rem); margin-block: 15px 18px; }
  html[lang=en] .hero h1 { font-size: clamp(2.82rem,9vw,4.8rem); }
  .intro { font-size: 1rem; }
  .actions { margin-top: 21px; }
  .visual { height: clamp(320px,89vw,445px); }
  .visual-label { top: 6%; right: 0; }
  .market { right: 0; padding: 8px 9px; max-width: 132px; min-width: 92px; }
  .market span,.market small { font-size: .7rem; }
  .globe-hint { bottom: 15%; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
  .stats div:nth-child(odd) { padding-left: 0; border: 0; }
  .split { gap: 25px; }
  .footer { flex-wrap: wrap; }
  .footer > span { order: 3; width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.partners {
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 85% 42%, #251b3b, transparent 62%), var(--background);
}
.partner-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.partner-list li {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 8px 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: clamp(.96rem, 1.7vw, 1.35rem);
  font-weight: 750;
}
.partner-panel a {
  font-size: .91rem;
  color: #c4b8ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.partner-panel a:hover { color: var(--cyan); }
@media (max-width: 820px) {
  .nav { flex-wrap: wrap; gap: 5px 12px; padding-block: 8px; }
  .nav nav { order: 3; width: 100%; justify-content: space-between; gap: 5px; }
}
@media (max-width: 420px) {
  html[lang=en] .nav nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 12px; }
  :root { scroll-padding-top: 8rem; }
}
