:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.55);
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-sm: 14px;
  --max: 1120px;
  --gap: 24px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(96, 165, 250, 0.20), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(94, 234, 212, 0.16), transparent 55%),
    radial-gradient(800px 600px at 55% 80%, rgba(99, 102, 241, 0.16), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 650;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.skip:focus {
  left: 14px;
  z-index: 999;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.9), rgba(94, 234, 212, 0.9));
  color: #06101a;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-cn {
  font-weight: 720;
  letter-spacing: 0.02em;
}

.brand-en {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-link.is-active {
  background: rgba(94, 234, 212, 0.12);
  color: var(--text);
  border: 1px solid rgba(94, 234, 212, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  margin: 4px auto;
  border-radius: 999px;
}

.hero {
  padding: 56px 0 22px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 10px;
}

.hero-title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(94, 234, 212, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.0);
  color: #06101a;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(96, 165, 250, 1), rgba(94, 234, 212, 1));
}

.btn-ghost {
  background: transparent;
}

.badge {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-panel {
  position: relative;
}

.panel-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
}

.panel-title {
  font-size: 18px;
  font-weight: 720;
  margin-top: 6px;
}

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.metric {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.metric-value {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 4px;
}

.panel-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 18px 0 12px;
}

.panel-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 52px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.card-hover {
  transition: transform 160ms ease, border 160ms ease, background 160ms ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
}

.card-title {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.list li {
  position: relative;
  padding-left: 14px;
  margin: 8px 0;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.9), rgba(94, 234, 212, 0.9));
}

.callout {
  margin-top: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(94, 234, 212, 0.08));
  padding: 18px 20px;
}

.callout-title {
  font-weight: 720;
  margin-bottom: 6px;
}

.callout-body {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.stat-value {
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.fineprint {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 12px;
}

.contact-lines {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.contact-key {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.contact-val {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.form .field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.field-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.field-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 14, 24, 0.55);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}

.field-input:focus {
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.08);
}

textarea.field-input {
  resize: vertical;
  min-height: 110px;
}

.form-hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
}

.site-footer {
  padding: 26px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-weight: 720;
}

.footer-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
}

.footer-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* 404 */
body.simple {
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(96, 165, 250, 0.20), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(94, 234, 212, 0.16), transparent 55%),
    var(--bg);
}

.simple-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.simple-card {
  width: min(520px, 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: center;
}

.simple-code {
  font-weight: 820;
  font-size: 54px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(96, 165, 250, 1), rgba(94, 234, 212, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.simple-title {
  margin: 8px 0 6px;
}

.simple-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.simple-actions {
  margin-top: 16px;
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(10px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
