:root {
  --xr-primary: #1f5eff;
  --xr-primary-dark: #1647c4;
  --xr-ink: #0b1220;
  --xr-text: #1d2433;
  --xr-muted: #667085;
  --xr-line: #e4e7ec;
  --xr-bg: #f6f8fb;
  --xr-accent: #17b6a3;
  --xr-radius: 16px;
  --xr-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  --xr-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--xr-text);
  background: var(--xr-bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.xr-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--xr-line);
  backdrop-filter: blur(12px);
}
.xr-nav__inner {
  max-width: var(--xr-max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.xr-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.xr-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.xr-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.xr-brand__text strong { font-size: 18px; letter-spacing: .04em; }
.xr-brand__text small { color: var(--xr-muted); font-size: 9px; letter-spacing: .12em; }
.xr-nav__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.xr-nav__links a { font-size: 14px; color: #344054; white-space: nowrap; }
.xr-nav__links a:hover { color: var(--xr-primary); }
.xr-nav__actions { display: flex; align-items: center; gap: 10px; }
.xr-nav__toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--xr-line); border-radius: 10px; background: #fff; padding: 9px; }
.xr-nav__toggle span { display: block; height: 2px; background: var(--xr-text); margin: 4px 0; }

.xr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.xr-btn:hover { transform: translateY(-1px); }
.xr-btn--primary { color: #fff; background: var(--xr-primary); box-shadow: 0 10px 24px rgba(31, 94, 255, .24); }
.xr-btn--primary:hover { background: var(--xr-primary-dark); }
.xr-btn--ghost { color: var(--xr-text); background: #fff; border: 1px solid var(--xr-line); }
.xr-btn--ghost:hover { border-color: var(--xr-primary); color: var(--xr-primary); }
.xr-btn--lg { min-height: 48px; padding: 0 24px; font-size: 15px; }

.xr-main { min-height: 60vh; }
.xr-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(23, 182, 163, .25), transparent 32%), linear-gradient(135deg, #0b1220 0%, #12203b 58%, #0d1a32 100%);
}
.xr-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.xr-hero__inner {
  position: relative;
  max-width: var(--xr-max);
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 64px;
  align-items: center;
}
.xr-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--xr-accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.xr-hero h1 { margin: 18px 0 8px; font-size: clamp(48px, 7vw, 76px); line-height: 1.05; letter-spacing: -.04em; }
.xr-hero__subtitle { margin: 0 0 20px; font-size: 22px; color: #c7d2fe; }
.xr-hero__desc { max-width: 620px; margin: 0 0 30px; color: #cbd5e1; }
.xr-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.xr-hero__points { display: flex; flex-wrap: wrap; gap: 26px; margin: 34px 0 0; padding: 0; list-style: none; color: #aab8cf; font-size: 14px; }
.xr-hero__points li::before { content: "✓"; color: var(--xr-accent); margin-right: 8px; }
.xr-hero__panel { padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.xr-hero__panel-head { display: flex; align-items: center; gap: 10px; color: #b6c2d9; font-size: 13px; }
.xr-hero__panel-head strong { margin-left: auto; color: #8ef0d9; }
.xr-dot { width: 8px; height: 8px; border-radius: 50%; background: #43e6b0; box-shadow: 0 0 0 5px rgba(67,230,176,.14); }
.xr-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0; }
.xr-stat-grid div { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.08); }
.xr-stat-grid strong { display: block; font-size: 28px; }
.xr-stat-grid span { color: #aab8cf; font-size: 12px; }
.xr-hero__panel-foot { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #aab8cf; font-size: 13px; }
.xr-hero__panel-foot a { color: #fff; font-weight: 700; }

.xr-section { max-width: var(--xr-max); margin: 0 auto; padding: 88px 24px; }
.xr-section--dark { max-width: none; color: #fff; background: var(--xr-ink); }
.xr-section--dark > * { max-width: var(--xr-max); margin: 0 auto; }
.xr-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.xr-section__head h2 { margin: 10px 0 8px; font-size: 34px; letter-spacing: -.02em; }
.xr-section__head p { margin: 0; color: var(--xr-muted); }
.xr-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.xr-badges span { padding: 7px 12px; border: 1px solid var(--xr-line); border-radius: 999px; background: #fff; color: var(--xr-muted); font-size: 12px; }
.xr-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.xr-product-card { position: relative; display: flex; flex-direction: column; min-height: 292px; padding: 30px; overflow: hidden; border: 1px solid var(--xr-line); border-radius: var(--xr-radius); background: #fff; box-shadow: var(--xr-shadow); transition: transform .2s ease, border-color .2s ease; }
.xr-product-card:hover { transform: translateY(-4px); border-color: rgba(31,94,255,.5); }
.xr-product-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(31,94,255,.08); }
.xr-product-card__tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: rgba(31,94,255,.1); color: var(--xr-primary); font-size: 12px; font-weight: 700; }
.xr-product-card h3 { margin: 20px 0 6px; font-size: 22px; }
.xr-product-card p { margin: 0 0 22px; color: var(--xr-muted); font-size: 14px; }
.xr-product-card strong { margin-top: auto; font-size: 30px; color: var(--xr-primary); }
.xr-product-card small { color: var(--xr-muted); font-size: 13px; font-weight: 500; }
.xr-product-card.is-loading { pointer-events: none; }
.xr-skeleton { width: 70px; height: 22px; margin-bottom: 28px; border-radius: 8px; background: linear-gradient(90deg, #eef1f5, #dfe5ec, #eef1f5); background-size: 200% 100%; animation: xr-shimmer 1.4s infinite; }
@keyframes xr-shimmer { to { background-position: -200% 0; } }

.xr-infra { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.xr-infra h2 { margin: 12px 0 16px; font-size: 36px; }
.xr-infra p { color: #aab8cf; }
.xr-infra__nodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.xr-infra__nodes div { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.06); }
.xr-infra__nodes span { display: block; color: var(--xr-accent); font-size: 12px; font-weight: 700; }
.xr-infra__nodes strong { display: block; margin-top: 8px; font-size: 16px; }

.xr-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 46px; border-radius: 24px; background: linear-gradient(135deg, #eef3ff, #f8fbff); border: 1px solid #dbe6ff; }
.xr-cta h2 { margin: 10px 0 8px; font-size: 32px; }
.xr-cta p { margin: 0; color: var(--xr-muted); }
.xr-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.xr-footer { color: #cbd5e1; background: #0b1220; }
.xr-footer__inner { max-width: var(--xr-max); margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) .9fr; gap: 32px; }
.xr-footer__brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; }
.xr-footer__brand p { margin: 14px 0 0; font-size: 13px; }
.xr-footer__contact a:hover, .xr-footer__group a:hover { color: var(--xr-accent); }
.xr-footer__group { display: flex; flex-direction: column; gap: 10px; }
.xr-footer__group h3 { margin: 0 0 6px; color: #fff; font-size: 15px; }
.xr-footer__group a { color: #aab8cf; font-size: 13px; }
.xr-footer__qr { text-align: center; color: #aab8cf; font-size: 12px; }
.xr-footer__qr img { width: 104px; height: 104px; margin: 0 auto 10px; border-radius: 10px; background: #fff; object-fit: contain; }
.xr-footer__legal { max-width: var(--xr-max); margin: 0 auto; padding: 18px 24px 30px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 18px; color: #8794a9; font-size: 12px; }
.xr-footer__legal a:hover { color: var(--xr-accent); }

@media (max-width: 960px) {
  .xr-nav__links { display: none; }
  .xr-nav__toggle { display: block; }
  .xr-nav.is-open .xr-nav__links { position: absolute; left: 0; right: 0; top: 72px; display: grid; gap: 0; padding: 12px 24px 20px; background: #fff; border-bottom: 1px solid var(--xr-line); }
  .xr-hero__inner { grid-template-columns: 1fr; padding-top: 64px; }
  .xr-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-infra { grid-template-columns: 1fr; }
  .xr-footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .xr-nav__inner { padding: 0 16px; }
  .xr-nav__actions .xr-btn { display: none; }
  .xr-hero__inner { padding: 56px 16px 64px; }
  .xr-section { padding: 60px 16px; }
  .xr-section__head { align-items: start; flex-direction: column; }
  .xr-product-grid { grid-template-columns: 1fr; }
  .xr-stat-grid { grid-template-columns: 1fr 1fr; }
  .xr-cta { padding: 28px; flex-direction: column; align-items: flex-start; }
  .xr-footer__inner { grid-template-columns: 1fr; }
}
