:root {
  --bg: #080a1f;
  --ink: #ecf7ff;
  --muted: #9fb3c8;
  --blue: #6d5dfc;
  --cyan: #2ee8ff;
  --green: #42f59b;
  --line: rgba(148, 163, 255, .20);
  --card: rgba(14, 17, 48, .82);
  --shadow: 0 26px 80px rgba(109, 93, 252, .18);
  --r: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(148, 163, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 76% 8%, rgba(109, 93, 252, .34), transparent 26%),
    radial-gradient(circle at 18% 20%, rgba(46, 232, 255, .16), transparent 24%),
    linear-gradient(180deg, #080a1f 0%, #10143a 54%, #080a1f 100%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(8, 10, 31, .86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.logo { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--blue), var(--cyan)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(37, 99, 235, .22); }
.links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.links a, .lang, .pill { padding: 10px 15px; border-radius: 999px; background: rgba(14, 17, 48, .82); color: #e9edff; border: 1px solid var(--line); font-size: 14px; font-weight: 800; }
.pill { color: #fff !important; background: var(--blue) !important; border-color: var(--blue) !important; }
.hero { padding: 80px 0 48px; }
.hero-grid, .workflow { display: grid; grid-template-columns: 1.04fr .96fr; gap: 42px; align-items: center; }
.eyebrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.eyebrow span { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(109, 93, 252, .14); color: #f0f3ff; font-weight: 900; font-size: 13px; }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.05em; margin: 0 0 22px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.04em; margin: 0; }
.lead, .section-title p, .card p, .footer { color: var(--muted); }
.lead { font-size: 19px; max-width: 720px; margin: 0 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; font-weight: 900; border: 1px solid var(--line); }
.btn-primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--blue), #22d3ee); box-shadow: 0 16px 40px rgba(109, 93, 252, .28); }
.btn-soft { background: rgba(14, 17, 48, .80); color: #e9edff; }
.device, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.device { padding: 16px; position: relative; overflow: hidden; background: rgba(14, 17, 48, .88); border: 1px solid var(--line); }
.device::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 18px; height: 1px; background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .18), transparent); }
.device::before { content: "NEXT UI"; position: absolute; right: 28px; top: 28px; z-index: 2; padding: 7px 11px; border-radius: 999px; background: rgba(8, 10, 31, .82); color: var(--cyan); font-weight: 900; letter-spacing: .16em; border: 1px solid var(--line); pointer-events: none; }
.device img, .reco img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.trust, .grid { display: grid; gap: 18px; }
.trust { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.trust .card { padding: 18px; }
.trust strong { display: block; font-size: 28px; }
.section { padding: 58px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 24px; min-height: 150px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--blue), var(--cyan)); opacity: .65; }
.grid-3 .card:nth-child(1) { grid-column: auto; }
.grid-3 .card:nth-child(6) { grid-column: auto; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(46, 232, 255, .10); color: var(--cyan); display: grid; place-items: center; font-weight: 900; margin-bottom: 14px; border: 1px solid var(--line); }
.status { color: var(--green); font-weight: 900; }
.codebox { background: rgba(0, 8, 20, .92); color: #dff7ff; border-radius: var(--r); padding: 24px; font-family: Consolas, monospace; overflow: auto; border: 1px solid rgba(24, 217, 255, .24); box-shadow: inset 0 0 36px rgba(24, 217, 255, .08); }
.codebox span { color: #58dcff; }
.list { display: grid; gap: 12px; margin-top: 18px; }
.list div, .notice { padding: 14px 16px; border-radius: 16px; background: rgba(109, 93, 252, .14); color: #e9edff; border: 1px solid var(--line); }
.notice { border-left: 4px solid var(--cyan); background: rgba(109, 93, 252, .14); color: #e9edff; }
.step { position: relative; padding-left: 74px; }
.step::before { content: attr(data-step); position: absolute; left: 24px; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 10px 24px rgba(37, 99, 235, .22); }
.step::after { content: ""; position: absolute; left: 41px; top: 60px; bottom: 18px; width: 2px; background: #dbeafe; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(14, 17, 48, .82); }
.faq summary { cursor: pointer; font-weight: 900; }
.cta { padding: 72px 0; }
.cta-box { text-align: center; padding: 54px 24px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, #6d5dfc, #22d3ee); box-shadow: 0 30px 90px rgba(109, 93, 252, .26); }
.cta-box h2 { font-size: clamp(32px, 5vw, 54px); margin: 0 0 12px; }
.cta-box p { max-width: 650px; margin: 0 auto 22px; opacity: .92; }
.footer { padding: 42px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 22px; }
.footer h4 { margin: 0 0 10px; color: var(--ink); }
.section-title h2, .card h3, .brand, h1, h2 { color: var(--ink); }
.footer a { display: block; margin: 7px 0; }
@media (max-width: 900px) {
  .links { display: none; }
  .hero-grid, .workflow, .grid-2, .grid-3, .grid-4, .footer-grid, .trust { grid-template-columns: 1fr; }
  .grid-3 .card:nth-child(1), .grid-3 .card:nth-child(6) { grid-column: auto; }
  h1 { font-size: 42px; }
}
