:root {
  --brand: #0052d9;
  --brand-light: #266fe8;
  --brand-dark: #003cab;
  --brand-bg: #f2f3ff;
  --text: rgba(0, 0, 0, 0.9);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-placeholder: rgba(0, 0, 0, 0.4);
  --bg: #f5f6fa;
  --card: #ffffff;
  --border: #e7e7e7;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 82, 217, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 40, 120, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(0, 82, 217, 0.08);
  transition: box-shadow 0.2s;
}

.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark);
}

.nav-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.35);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--brand);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--brand);
}

.btn-outline {
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(0, 82, 217, 0.25);
}

.btn-outline:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(0, 82, 217, 0.12);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 82, 217, 0.45);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-white {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(145deg, #003cab 0%, #0052d9 42%, #266fe8 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.hero-orb-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
  background: rgba(120, 180, 255, 0.5);
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  bottom: -60px;
  left: -80px;
  background: rgba(0, 200, 255, 0.25);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52c41a;
  box-shadow: 0 0 8px rgba(82, 196, 26, 0.8);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-stat span {
  font-size: 13px;
  opacity: 0.78;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: min(420px, 100%);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 24px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-card-main {
  position: relative;
  z-index: 2;
}

.hero-card-float {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 40, 120, 0.18);
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-card-float-1 {
  top: -16px;
  right: -12px;
}

.hero-card-float-2 {
  bottom: 24px;
  left: -24px;
}

.hero-card-float strong {
  display: block;
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 2px;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-card-row:last-child {
  border-bottom: none;
}

.hero-card-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--brand-bg);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

/* ── Sections ── */
section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-label {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-bg);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(0, 82, 217, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand-bg) 0%, rgba(0, 82, 217, 0.12) 100%);
  color: var(--brand);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Steps ── */
.steps-section {
  background: linear-gradient(180deg, #fff 0%, var(--brand-bg) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 82, 217, 0.3);
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── CTA ── */
.cta-band {
  padding: 72px 0;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
  box-shadow: var(--shadow-lg);
}

.cta-inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-inner h2 {
  position: relative;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-inner p {
  position: relative;
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .btn-white {
  position: relative;
}

/* ── Footer ── */
.site-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.65);
  padding: 48px 0 32px;
}

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

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card-float-1 {
    right: 8px;
  }

  .hero-card-float-2 {
    left: 8px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(1200px, 100% - 32px);
  }

  .hero {
    min-height: auto;
    padding: 100px 0 64px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 40px 24px;
  }

  section {
    padding: 64px 0;
  }
}
