:root {
  --bg: #050813;
  --bg-soft: #0a1020;
  --panel: rgba(13, 20, 38, .78);
  --panel-strong: rgba(17, 26, 48, .94);
  --line: rgba(145, 174, 255, .16);
  --text: #f3f7ff;
  --muted: #98a7c4;
  --cyan: #4de8ff;
  --blue: #6488ff;
  --violet: #9d6cff;
  --success: #53edba;
  --shadow: 0 26px 80px rgba(0, 0, 0, .38);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 560px at 12% -10%, rgba(71, 116, 255, .2), transparent 65%),
    radial-gradient(760px 520px at 95% 12%, rgba(135, 73, 255, .16), transparent 64%),
    linear-gradient(180deg, #050813 0%, #080d1a 52%, #050813 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(108, 139, 220, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 139, 220, .16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(100% - 36px, var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section.compact { padding: 38px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; box-shadow: 0 0 12px currentColor; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(137, 167, 235, .12);
  background: rgba(5, 8, 19, .74);
  backdrop-filter: blur(18px);
}
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  background: #080d1a url("./ant-logo.jpg") center / contain no-repeat;
}
.brand-copy { line-height: 1.15; }
.brand-title { display: block; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.brand-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.nav-wrap { display: flex; align-items: center; gap: 10px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 10px 11px; border-radius: 10px; color: #aab7cf; font-size: 13px; transition: .2s ease; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(100, 136, 255, .12); }
.nav a.active { box-shadow: inset 0 -1px var(--cyan); }
.lang-switch, .menu-toggle {
  min-width: 66px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(77, 232, 255, .28);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(77, 232, 255, .06);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}
.menu-toggle { display: none; min-width: 38px; padding: 0; font-size: 18px; }

[data-lang="zh"] .lang-en, [data-lang="en"] .lang-zh { display: none !important; }

.hero { padding: 92px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); align-items: center; gap: 60px; }
.hero h1 { margin: 18px 0 20px; max-width: 760px; font-size: clamp(44px, 6.3vw, 78px); line-height: 1.03; letter-spacing: -.055em; }
.gradient-text { color: transparent; background: linear-gradient(90deg, #fff 2%, var(--cyan) 45%, #9c83ff 90%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 660px; margin: 0; color: #a7b5ce; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(151, 177, 235, .2);
  border-radius: 12px;
  color: #e8efff;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(77, 232, 255, .5); background: rgba(77, 232, 255, .08); }
.btn.primary { border-color: transparent; color: #04101b; background: linear-gradient(110deg, var(--cyan), #79a8ff); box-shadow: 0 12px 38px rgba(77, 232, 255, .2); }
.btn.primary::after { content: "→"; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--success); }

.tech-orbit { position: relative; min-height: 480px; display: grid; place-items: center; }
.orbit-ring { position: absolute; border: 1px solid rgba(108, 151, 255, .23); border-radius: 50%; animation: spin 22s linear infinite; }
.orbit-ring.one { width: 410px; height: 410px; }
.orbit-ring.two { width: 310px; height: 310px; animation-direction: reverse; animation-duration: 16s; }
.orbit-ring::before { content: ""; position: absolute; top: 15%; left: 4%; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.core-card {
  width: 250px;
  height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(120, 164, 255, .35);
  border-radius: 38px;
  background: linear-gradient(155deg, rgba(20, 34, 62, .96), rgba(8, 12, 27, .92));
  box-shadow: 0 40px 80px rgba(0, 0, 0, .48), inset 0 0 50px rgba(100, 136, 255, .08), 0 0 60px rgba(77, 232, 255, .1);
  transform: rotate(6deg);
}
.core-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 29px; }
.core-top, .core-bottom { position: relative; z-index: 1; }
.core-top small { color: var(--cyan); letter-spacing: .16em; }
.core-top b { display: block; margin-top: 14px; font-size: 38px; letter-spacing: -.05em; }
.core-wave { height: 80px; display: flex; align-items: center; gap: 5px; }
.core-wave i { display: block; width: 5px; border-radius: 9px; background: linear-gradient(var(--cyan), var(--violet)); box-shadow: 0 0 10px rgba(77, 232, 255, .25); }
.core-wave i:nth-child(1), .core-wave i:nth-child(7) { height: 22px; }
.core-wave i:nth-child(2), .core-wave i:nth-child(6) { height: 44px; }
.core-wave i:nth-child(3), .core-wave i:nth-child(5) { height: 68px; }
.core-wave i:nth-child(4) { height: 50px; }
.core-bottom { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.float-tag { position: absolute; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9, 15, 31, .88); box-shadow: var(--shadow); color: #dbe8ff; font-size: 12px; backdrop-filter: blur(12px); }
.float-tag.ai { top: 18%; right: 0; }
.float-tag.game { bottom: 20%; left: -2%; }
.float-tag i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
@keyframes spin { to { transform: rotate(360deg); } }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; background: rgba(11, 18, 35, .68); box-shadow: var(--shadow); }
.metric { padding: 24px; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric b { display: block; color: #fff; font-size: 25px; }
.metric span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2, .page-hero h1 { margin: 12px 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.section-head p, .page-hero p { margin: 0; color: var(--muted); line-height: 1.8; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  grid-column: span 4;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 28, 51, .82), rgba(9, 14, 28, .84));
  box-shadow: 0 18px 58px rgba(0, 0, 0, .2);
}
.card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -80px; top: -90px; border-radius: 50%; background: var(--glow, rgba(77, 232, 255, .1)); filter: blur(3px); }
.card-number { color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .14em; }
.card h3 { margin: 48px 0 10px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.card-link { display: inline-flex; margin-top: 22px; color: var(--cyan); font-size: 13px; font-weight: 700; }
.card-link::after { content: "↗"; margin-left: 7px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .16);
}
.panel h2 { margin: 0 0 12px; font-size: 25px; }
.panel h3 { margin: 24px 0 8px; font-size: 17px; }
.panel p, .panel li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.panel ul { margin: 12px 0; padding-left: 20px; }
.panel li + li { margin-top: 8px; }
.panel b { color: #eaf2ff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(100, 136, 255, .22); border-radius: 999px; color: #b9c9e5; background: rgba(100, 136, 255, .07); font-size: 11px; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.page-hero { padding: 76px 0 34px; }
.page-hero .panel { padding: 42px; background: linear-gradient(120deg, rgba(19, 31, 58, .9), rgba(11, 16, 32, .8)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.helper { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.input, .select, .textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: #eef4ff; background: rgba(4, 8, 18, .66); }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(77, 232, 255, .6); box-shadow: 0 0 0 3px rgba(77, 232, 255, .08); }
.select option { background: #0b1224; }
.notice { display: none; margin-top: 12px; padding: 12px; border-radius: 10px; font-size: 13px; }
.notice.ok { display: block; color: var(--success); background: rgba(83, 237, 186, .08); }
.notice.warn { display: block; color: #ffd078; background: rgba(255, 208, 120, .08); }

.footer { margin-top: 44px; padding: 34px 0; border-top: 1px solid var(--line); background: rgba(4, 7, 16, .52); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer small, .footer-links { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 18px; }
.footer a:hover { color: var(--cyan); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 76px; left: 18px; right: 18px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: rgba(6, 10, 23, .97); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .tech-orbit { min-height: 430px; }
  .card { grid-column: span 6; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand-sub { display: none; }
  .brand { min-width: 0; }
  .brand-title { font-size: 12px; }
  .section { padding: 62px 0; }
  .hero { padding: 64px 0 34px; }
  .hero h1 { font-size: 43px; }
  .tech-orbit { min-height: 390px; transform: scale(.88); margin: -20px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card { grid-column: span 12; min-height: 220px; }
  .split, .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .page-hero .panel, .panel { padding: 22px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
