:root {
  --bg: #f4f7fb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe3ef;
  --brand: #1d4ed8;
  --brand-2: #0f766e;
  --panel: #ffffff;
  --soft: #e8f0fe;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --font: "Sora", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Sora", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.is-stuck { border-color: var(--line); background: rgba(255,255,255,.92); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}
.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.78), rgba(29, 78, 216, 0.55) 48%, rgba(15, 118, 110, 0.45)),
    radial-gradient(900px 500px at 80% 20%, rgba(56, 189, 248, 0.35), transparent 55%),
    linear-gradient(160deg, #0b1220, #12305f 55%, #0f3d3a);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero-brand {
  font-size: clamp(40px, 6vw, 64px);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  line-height: 1.05;
  animation: rise .7s ease both;
}
.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  max-width: 14em;
  animation: rise .7s ease .08s both;
}
.hero .lead {
  margin: 0 0 28px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 16px;
  max-width: 32em;
  animation: rise .7s ease .16s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise .7s ease .24s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-visual {
  position: relative;
  min-height: 340px;
  animation: fadeIn 1s ease .2s both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-screen {
  position: absolute;
  inset: 24px 0 0 40px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  padding: 18px;
  overflow: hidden;
}
.hero-screen .bar {
  display: flex; gap: 6px; margin-bottom: 14px;
}
.hero-screen .bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.kpi {
  padding: 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.35);
}
.kpi b { display: block; font-size: 22px; margin-top: 4px; }
.kpi span { font-size: 12px; color: rgba(226,232,240,.75); }
.list-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  margin-bottom: 8px;
  font-size: 13px;
}
.pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .18);
  color: #6ee7b7;
  font-size: 12px;
}
.hero-float {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 180px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float strong { display: block; font-size: 20px; margin-top: 4px; color: var(--brand); }

section { padding: 72px 0; }
.sec-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}
.sec-desc {
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 40em;
}

.caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cap {
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, border-color .2s ease;
}
.cap:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
}
.cap .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 700;
}
.cap h3 { margin: 0 0 8px; font-size: 18px; }
.cap p { margin: 0; color: var(--muted); font-size: 14px; }

.path {
  background: linear-gradient(180deg, #eef4ff, #f4f7fb 60%);
}
.path-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.step {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.step .n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.roles {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.role {
  padding: 16px;
  border-radius: 14px;
  background: #0f172a;
  color: #e2e8f0;
}
.role strong { display: block; margin-bottom: 4px; }
.role code {
  display: block;
  font-size: 12px;
  color: #93c5fd;
  margin-bottom: 6px;
}
.role span { font-size: 12px; color: #94a3b8; }

.cta {
  padding: 0 0 90px;
}
.cta-box {
  border-radius: 24px;
  padding: 48px 40px;
  background:
    radial-gradient(600px 240px at 10% 0%, rgba(56,189,248,.25), transparent 55%),
    linear-gradient(135deg, #1d4ed8, #0f766e);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(29, 78, 216, 0.28);
}
.cta-box h2 { margin: 0 0 8px; font-size: 30px; }
.cta-box p { margin: 0; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-inner, .roles, .cta-box { grid-template-columns: 1fr; display: grid; }
  .caps, .path-steps { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 300px; }
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .caps, .path-steps, .role-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 36px; }
  .hero-screen { inset: 10px 0 70px 0; }
  .hero-float { width: auto; right: 0; left: 0; }
}
