:root {
  --blue: #6e29f6;
  --blue-600: #5b20d6;
  --blue-700: #4416ad;
  --blue-50: #f5f1ff;
  --blue-100: #e9e0ff;
  --blue-200: #d4c2ff;
  --cyan: #36bdf7;
  --ink: #171526;
  --ink-2: #343047;
  --muted: #69657a;
  --line: #e8e3f2;
  --bg: #fbfaff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(74, 39, 137, 0.12);
  --shadow-sm: 0 10px 32px rgba(74, 39, 137, 0.08);
  --radius: 22px;
  --max: 1180px;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(110, 41, 246, 0.05), transparent 24rem),
    var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-wrap: break-word;
}
::selection { background: var(--blue-200); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 250, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(232, 227, 242, 0.88);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 12px;
  filter: hue-rotate(48deg) saturate(1.16);
  box-shadow: 0 8px 20px rgba(110, 41, 246, 0.18);
}
.brand-name {
  font-weight: 760;
  letter-spacing: 0.02em;
  font-size: 17px;
  color: var(--blue-700);
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 10px;
  font-weight: 500;
}
.nav-links a:hover { background: rgba(110, 41, 246, 0.07); color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex;
  background: rgba(110, 41, 246, 0.06);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--blue-100);
}
.lang button {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
}
.lang button.active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--blue-700);
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(110deg, #6e29f6, #8738fb 58%, #9d49f3);
  color: #fff;
  box-shadow: 0 10px 24px rgba(110, 41, 246, 0.24);
}
.btn-primary:hover {
  background: linear-gradient(110deg, #5d1cde, #7629ec 58%, #8d38e5);
  box-shadow: 0 14px 30px rgba(110, 41, 246, 0.3);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-200); transform: translateY(-1px); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 78px;
  background:
    radial-gradient(circle at 14% 20%, rgba(110, 41, 246, 0.13), transparent 25rem),
    radial-gradient(circle at 78% 18%, rgba(54, 189, 247, 0.13), transparent 22rem),
    radial-gradient(circle at 88% 72%, rgba(156, 73, 243, 0.11), transparent 18rem),
    linear-gradient(180deg, #fdfcff 0%, #f7f4ff 62%, var(--bg) 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}
.hero::before {
  width: 320px;
  height: 320px;
  right: 7%;
  top: -190px;
  border: 1px solid rgba(110, 41, 246, 0.12);
  box-shadow: 0 0 90px rgba(110, 41, 246, 0.08);
}
.hero::after {
  width: 170px;
  height: 170px;
  left: 4%;
  bottom: -110px;
  border: 1px solid rgba(54, 189, 247, 0.18);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 4px rgba(110, 41, 246, 0.08);
}
h1 {
  font-size: clamp(36px, 4.7vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 820;
  margin-bottom: 20px;
}
h1 em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(100deg, #5f1fe3, #7a3cff 54%, #36aef3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual {
  position: relative;
  padding: 1px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(110, 41, 246, 0.34), rgba(54, 189, 247, 0.28), rgba(255, 255, 255, 0.7));
  box-shadow: 0 34px 90px rgba(80, 52, 142, 0.16);
}
.hero-visual img {
  width: 100%;
  border-radius: 29px;
}
.hero-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-note b { display: block; color: var(--blue-700); font-size: 13px; }

/* STATS */
.stats {
  margin-top: -38px;
  padding: 8px 0 8px;
  position: relative;
  z-index: 2;
}
.stats-row {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 22px 22px 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .k {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat .hint { font-size: 11px; color: #9690a7; margin-top: 6px; }

/* SECTIONS */
section { padding: 96px 0; }
.sec-head {
  max-width: 680px;
  margin-bottom: 36px;
}
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.sec-head p { color: var(--muted); }

/* CARDS */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #9850f4, var(--cyan));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue-200); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 18px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.icon-blob {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f4efff, #ece5ff);
  color: var(--blue);
  border: 1px solid rgba(110, 41, 246, 0.1);
  display: grid; place-items: center;
}
.icon-blob svg { width: 22px; height: 22px; }

/* ARCH */
.arch {
  background:
    radial-gradient(circle at 8% 18%, rgba(54, 189, 247, 0.08), transparent 24rem),
    linear-gradient(180deg, #ffffff, #f9f7ff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.arch-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.arch-visual {
  background: linear-gradient(145deg, rgba(110, 41, 246, 0.12), rgba(54, 189, 247, 0.1));
  border: 1px solid rgba(110, 41, 246, 0.14);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.arch-visual img { border-radius: 22px; }
.arch-intro { color: var(--muted); margin: 8px 0 22px; }
.steps { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.num {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #6e29f6, #8950ef);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(110, 41, 246, 0.2);
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; }

/* SCENES */
.scenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.scene {
  position: relative;
  background: linear-gradient(145deg, #fff 55%, #faf7ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  min-height: 154px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.scene::after {
  content: "";
  position: absolute;
  width: 66px;
  height: 66px;
  right: 18px;
  top: 16px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(110, 41, 246, 0.08), transparent 68%);
}
.scene:hover { transform: translateY(-3px); border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.scene h3 { margin-bottom: 8px; }
.scene p { color: var(--muted); font-size: 14.5px; }

/* TRUST */
.trust {
  background:
    radial-gradient(circle at 88% 15%, rgba(110, 41, 246, 0.08), transparent 24rem),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.trust-visual {
  background: linear-gradient(145deg, rgba(110, 41, 246, 0.1), rgba(54, 189, 247, 0.08));
  border: 1px solid rgba(110, 41, 246, 0.14);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.trust-visual img { border-radius: 22px; }
.trust-list { display: grid; gap: 14px; }
.trust-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(251, 250, 255, 0.82);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.trust-item:hover { border-color: var(--blue-200); background: #fff; }
.trust-item h3 { font-size: 16px; margin-bottom: 4px; }
.trust-item p { color: var(--muted); font-size: 14px; }

/* VISION */
.vision-box {
  background:
    radial-gradient(circle at 88% 12%, rgba(54, 189, 247, 0.2), transparent 22rem),
    radial-gradient(circle at 8% 90%, rgba(156, 73, 243, 0.26), transparent 22rem),
    linear-gradient(135deg, #20143d, #32155e 52%, #3b1b69);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 54px 50px;
  box-shadow: 0 30px 80px rgba(44, 21, 83, 0.2);
}
.vision-box .kicker { color: #c9b6ff; }
.vision-box blockquote {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 900px;
}
.vision-box .from {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #5520ce, #792ff0 55%, #3a84ed);
  color: #fff;
  border-radius: 30px;
  padding: 48px 46px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 28px 70px rgba(83, 34, 183, 0.23);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -150px;
  top: -190px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); }
.cta-band .btn-primary {
  background: #fff;
  color: var(--blue-700);
  box-shadow: none;
}
.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.contact-intro { color: var(--muted); margin-top: 8px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(110, 41, 246, 0.1);
}
.form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.success {
  display: none;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8f5ff);
  padding: 42px 0 22px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.foot-brand img {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  margin-bottom: 12px;
  filter: hue-rotate(48deg) saturate(1.16);
  box-shadow: 0 8px 20px rgba(110, 41, 246, 0.16);
}
.foot-brand p { color: var(--muted); font-size: 13px; max-width: 280px; }
.foot h4 { font-size: 13px; margin-bottom: 10px; }
.foot a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; }
.foot a:hover { color: var(--blue-700); }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9690a7;
  font-size: 12px;
}
.legal a { display: inline; }

[hidden] { display: none !important; }
.zh .en-only, .en .zh-only { display: none !important; }

@media (max-width: 980px) {
  .hero-grid, .arch-grid, .contact-grid, .cta-band, .foot-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .cards-3, .scenes, .partner-grid, .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(251, 250, 255, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    align-items: stretch;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    box-shadow: var(--shadow-sm);
  }
  .nav.open .nav-links a { padding: 10px 0; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-note { position: static; margin-top: 12px; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .cards-3, .scenes, .partner-grid, .stats-row { grid-template-columns: 1fr; }
  .nav-actions .btn { display: none; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 8px; }
  .lang button { min-height: 36px; padding: 5px 9px; }
  .hero { padding: 50px 0 70px; }
  .hero-cta .btn { width: 100%; }
  section { padding: 56px 0; }
  .vision-box, .cta-band { padding: 28px 22px; }
  .form-card { padding: 20px 16px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .foot-grid { gap: 28px; }
  .legal { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 360px) {
  .brand-name small { display: none; }
  .brand-name { font-size: 16px; }
  .brand img { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
