:root {
  --bg: #070a12;
  --bg-soft: #0d1422;
  --card: rgba(16, 24, 40, 0.72);
  --line: rgba(164, 186, 230, 0.14);
  --text: #edf2ff;
  --muted: #93a0bd;
  --accent: #7cffef;
  --accent-2: #8b9cff;
  --gold: #f5c15a;
  --danger: #ff8a8a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1120px;
  --nav-h: 76px;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn {
  font-family: inherit;
}

.bg-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139, 156, 255, 0.22), transparent 55%),
    radial-gradient(900px 500px at 95% 0%, rgba(124, 255, 239, 0.12), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(245, 193, 90, 0.08), transparent 50%),
    var(--bg);
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.55;
  animation: twinkle 3.6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.6); }
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 18, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.brand img {
  width: 38px;
  height: 38px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-name span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang a {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.lang a.active {
  background: rgba(124, 255, 239, 0.14);
  color: var(--accent);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  background: rgba(124, 255, 239, 0.06);
}

.kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3 {
  margin: 0 0 12px;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 650;
  max-width: 16ch;
}

h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(90deg, #7cffef, #8b9cff);
  color: #081018;
  font-weight: 650;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

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

.stat {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.stat b {
  display: block;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 28px 0 72px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head p,
.muted { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.card:hover {
  border-color: rgba(124, 255, 239, 0.35);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(124, 255, 239, 0.08);
  border: 1px solid var(--line);
}

.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin: 0 0 16px; }
.card .more {
  color: var(--accent);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(139, 156, 255, 0.12), rgba(16, 24, 40, 0.5));
  padding: 32px;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--muted);
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.page-hero {
  padding: 56px 0 12px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  max-width: none;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 36px;
  font-size: 22px;
}

.prose p, .prose li {
  color: #c5cee3;
}

.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.product-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 24px;
}

.mock {
  height: 340px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(124, 255, 239, 0.08), transparent),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,0.02) 18px 19px),
    #101828;
  position: relative;
  overflow: hidden;
}

.mock-screen {
  position: absolute;
  inset: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #0a101c;
  padding: 20px;
}

.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 10px;
}

.bar.w-70 { width: 70%; }
.bar.w-40 { width: 40%; background: rgba(124, 255, 239, 0.35); }
.bar.w-90 { width: 90%; }
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.tile {
  height: 74px;
  border-radius: 14px;
  background: rgba(139, 156, 255, 0.12);
  border: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font: inherit;
  margin-bottom: 14px;
}

textarea { min-height: 140px; resize: vertical; }

.note {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(245, 193, 90, 0.3);
  background: rgba(245, 193, 90, 0.08);
  color: #f3dba0;
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer a:hover { color: var(--text); }
.footer h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }

.copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.legal-switch {
  display: flex;
  gap: 8px;
  margin: 12px 0 24px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.pill.active {
  color: #081018;
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .stats, .grid-3, .split, .product-hero, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-name span { display: none; }
  .lang a { white-space: nowrap; }
  .menu-btn { display: grid; place-items: center; }
  .nav { overflow: visible; }
  .nav-inner { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px 16px;
    background: #0b1220;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  h1 { max-width: none; }
}
