:root {
  --brand: #165dff;
  --brand-deep: #0e42d2;
  --brand-soft: #e8f0ff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --hero: #071433;
  --hero-2: #123a8c;
  --cyan: #67e8f9;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--brand);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}
.brand img { height: 40px; width: auto; }
.brand-name {
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-name small {
  display: block;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover { background: #f8fafc; color: var(--brand); }
.nav-links a.active {
  background: var(--brand-soft);
  color: var(--brand);
}
.nav-cta {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--brand-deep); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(22, 93, 255, 0.35), transparent 28%),
    linear-gradient(135deg, var(--hero), var(--hero-2));
  color: #fff;
  padding: 84px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.2;
  max-width: 16ch;
}
.hero p.lead {
  max-width: 640px;
  color: #cbd5e1;
  font-size: 17px;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}
.stats {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 760px;
  color: #e2e8f0;
  font-size: 14px;
}

.section { padding: 76px 0; }
.section.alt { background: var(--paper); }
.section-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.section-title {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
}
.section-lead {
  color: var(--muted);
  max-width: 680px;
}

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: #bfd3ff; }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.card h3 { margin: 18px 0 8px; font-size: 20px; }
.card p, .card li { color: var(--muted); font-size: 14px; }
.card ul { padding-left: 18px; margin: 8px 0 16px; }
.card .more {
  margin-top: auto;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.steps {
  display: grid;
  gap: 14px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.step b { color: var(--brand); margin-right: 8px; }

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}
.crumbs {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.crumbs a:hover { color: var(--brand); }

.table-like {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.table-like th, .table-like td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}
.table-like th { background: var(--paper); }

.cta-band {
  background: linear-gradient(135deg, #0b1f4a, #165dff);
  color: #fff;
  padding: 56px 0;
}
.cta-band p { color: #dbeafe; }

.site-footer {
  background: #071433;
  color: #cbd5e1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer a { display: block; min-height: 32px; color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.legal a { display: inline; color: #93c5fd; }

.form {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.form label { font-size: 13px; font-weight: 700; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.form textarea { min-height: 120px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 72px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 18px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .grid-3, .grid-4, .grid-2, .split, .footer-grid, .stats {
    grid-template-columns: 1fr;
  }
  .hero h1 { max-width: none; }
}
