:root {
  --bg: #050914;
  --panel: rgba(9, 18, 38, .78);
  --panel-strong: rgba(12, 25, 55, .94);
  --ink: #f4f8ff;
  --muted: #9eb1d4;
  --blue: #2f7cff;
  --cyan: #22d3ee;
  --line: rgba(116, 162, 255, .22);
  --glow: 0 0 56px rgba(47, 124, 255, .38);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(47, 124, 255, .42), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, .22), transparent 22rem),
    radial-gradient(circle at 55% 76%, rgba(47, 124, 255, .18), transparent 30rem),
    linear-gradient(180deg, #020612 0%, #071225 48%, #030711 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 9, 20, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.02em; }
.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--glow);
}

.links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.links a, .lang {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
}
.links a:hover, .links .active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(47, 124, 255, .14);
}
.lang { border-color: var(--line); color: var(--cyan); }

.hero { padding: 86px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 8% 6% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 124, 255, .38), transparent 66%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-grid, .split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.eyebrow span, .tag {
  color: #bfeaff;
  border: 1px solid rgba(34, 211, 238, .28);
  background: rgba(34, 211, 238, .08);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

h1, h2, h3 { margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: .96; max-width: 900px; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.8; }
.lead { font-size: 18px; max-width: 720px; margin: 24px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--glow);
}
.btn-soft {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  box-shadow: none;
}

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.trust b { display: block; font-size: 22px; color: white; }
.trust span { color: var(--muted); font-size: 13px; }

.device, .visual-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(47,124,255,.05));
  box-shadow: var(--glow);
  overflow: hidden;
}
.device { padding: 16px; transform: perspective(1100px) rotateY(-8deg) rotateX(3deg); }
.device::after, .visual-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(34, 211, 238, .2), transparent);
  pointer-events: none;
}
.device img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; }

section { padding: 74px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head p { max-width: 560px; margin: 0; }

.grid { display: grid; gap: 18px; }
.platforms { grid-template-columns: repeat(5, 1fr); }
.cards { grid-template-columns: repeat(3, 1fr); }
.reco-grid, .use-grid, .compat { grid-template-columns: repeat(3, 1fr); }

.card, .panel, .step, .faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.card:hover, .step:hover, .faq-item:hover { border-color: rgba(34, 211, 238, .5); box-shadow: var(--glow); }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 15px;
  color: white;
  background: rgba(47, 124, 255, .18);
  border: 1px solid rgba(34, 211, 238, .28);
}
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.meta span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 12px; }

.codebox {
  font-family: Consolas, "Courier New", monospace;
  color: #bfeaff;
  background: #020711;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  line-height: 1.8;
  box-shadow: inset 0 0 40px rgba(47, 124, 255, .12);
}

.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.checklist span { border: 1px solid var(--line); border-radius: 16px; padding: 14px; color: var(--muted); background: rgba(255,255,255,.04); }

.reco img { border-radius: 20px; height: 190px; object-fit: cover; margin-bottom: 18px; }
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: steps; }
.step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.faq { grid-template-columns: repeat(2, 1fr); }
.cta-box {
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 34px;
  padding: 46px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(34,211,238,.22), transparent 28rem),
    linear-gradient(135deg, rgba(47,124,255,.2), rgba(255,255,255,.05));
  box-shadow: var(--glow);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 18px; }
.footer b { color: white; display: block; margin-bottom: 10px; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .platforms, .cards, .reco-grid, .use-grid, .compat, .steps, .faq, .checklist, .footer-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .links { justify-content: center; }
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .device { transform: none; }
}
