﻿:root {
  --ink: #1a2433;
  --muted: #5f6f82;
  --line: rgba(26, 36, 51, 0.1);
  --bg: #f5f8fc;
  --accent: #2f7cf6;
  --accent-deep: #1d5fd0;
  --accent-soft: #6ba3ff;
  --accent-tint: rgba(47, 124, 246, 0.12);
  --display: "Noto Serif SC", "Songti SC", serif;
  --sans: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
  animation: fade-down 0.7s ease both;
}

.brand {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 88% 18%, rgba(47, 124, 246, 0.38), transparent 58%),
    radial-gradient(ellipse 50% 45% at 8% 78%, rgba(140, 190, 255, 0.42), transparent 55%),
    radial-gradient(ellipse 45% 40% at 55% 45%, rgba(200, 225, 255, 0.55), transparent 60%),
    linear-gradient(155deg, #f7fbff 0%, #e8f1fc 42%, #dce9f8 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(29, 95, 208, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 95, 208, 0.11) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 72% 42%, #000 15%, transparent 78%);
  animation: grid-shift 18s linear infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  right: 4%;
  top: 48%;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 124, 246, 0.32);
  box-shadow:
    0 0 0 40px rgba(47, 124, 246, 0.08),
    0 0 0 88px rgba(47, 124, 246, 0.05),
    0 0 80px rgba(107, 163, 255, 0.28),
    inset 0 0 80px rgba(107, 163, 255, 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(150, 195, 255, 0.28), transparent 58%);
  animation: orbit-pulse 8s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-glow-a {
  width: 280px;
  height: 280px;
  right: 18%;
  top: 22%;
  background: radial-gradient(circle, rgba(100, 170, 255, 0.45), transparent 70%);
  animation: glow-drift 9s ease-in-out infinite;
}

.hero-glow-b {
  width: 220px;
  height: 220px;
  left: 12%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(80, 150, 250, 0.32), transparent 70%);
  animation: glow-drift 11s ease-in-out infinite reverse;
}

.hero-ring {
  position: absolute;
  width: min(38vw, 360px);
  height: min(38vw, 360px);
  right: 12%;
  top: 52%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px dashed rgba(29, 95, 208, 0.35);
  animation: ring-spin 28s linear infinite;
}

.hero-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-nodes i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(47, 124, 246, 0.18), 0 0 18px rgba(47, 124, 246, 0.45);
  animation: node-pulse 3.2s ease-in-out infinite;
}

.hero-nodes i:nth-child(1) { top: 28%; right: 28%; animation-delay: 0s; }
.hero-nodes i:nth-child(2) { top: 42%; right: 14%; animation-delay: 0.4s; }
.hero-nodes i:nth-child(3) { top: 58%; right: 22%; animation-delay: 0.8s; }
.hero-nodes i:nth-child(4) { top: 68%; right: 36%; animation-delay: 1.2s; }
.hero-nodes i:nth-child(5) { top: 36%; right: 40%; width: 6px; height: 6px; animation-delay: 1.6s; }
.hero-nodes i:nth-child(6) { top: 52%; right: 48%; width: 6px; height: 6px; animation-delay: 2s; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 24px 100px;
}

.brand-hero {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  animation: rise 0.8s ease both 0.1s;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 14em;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  animation: rise 0.8s ease both 0.22s;
}

.lead {
  margin: 0 0 40px;
  max-width: 28em;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.8s ease both 0.34s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(47, 124, 246, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  animation: rise 0.8s ease both 0.46s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(47, 124, 246, 0.36);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section h2 {
  margin: 0 0 48px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.caps article {
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid rgba(47, 124, 246, 0.14);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(29, 95, 208, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.caps article:nth-child(1) { transition-delay: 0s; }
.caps article:nth-child(2) { transition-delay: 0.08s; }
.caps article:nth-child(3) { transition-delay: 0.16s; }
.caps article:nth-child(4) { transition-delay: 0.24s; }

.caps article:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 124, 246, 0.35);
  box-shadow: 0 16px 40px rgba(29, 95, 208, 0.14);
}

.cap-no {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.caps h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
}

.caps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-muted {
  position: relative;
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.flow-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(180, 210, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(107, 163, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #f0f5fb 0%, #e8f0f9 100%);
}

.flow-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(47, 124, 246, 0.18) 1.5px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(47, 124, 246, 0.14) 1.5px, transparent 2px),
    linear-gradient(rgba(47, 124, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 124, 246, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  animation: grid-shift 22s linear infinite reverse;
}

.flow-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.flow-inner h2 {
  margin-bottom: 16px;
}

.section-desc {
  margin: 0 0 40px;
  max-width: 36em;
  color: var(--muted);
  font-size: 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 124, 246, 0.14);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(29, 95, 208, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.steps li:nth-child(1) { transition-delay: 0s; }
.steps li:nth-child(2) { transition-delay: 0.08s; }
.steps li:nth-child(3) { transition-delay: 0.16s; }

.steps li:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 124, 246, 0.35);
  box-shadow: 0 16px 40px rgba(29, 95, 208, 0.14);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.3s ease, background 0.3s ease;
}

.steps li:hover span {
  transform: scale(1.08);
  background: rgba(47, 124, 246, 0.2);
}

.steps strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

.cta {
  position: relative;
  max-width: none;
  padding: 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(107, 163, 255, 0.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(180, 210, 255, 0.28), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(47, 124, 246, 0.12), transparent 40%),
    linear-gradient(180deg, #eef4fb 0%, #e4eef8 100%);
}

.cta-bg::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px solid rgba(47, 124, 246, 0.14);
  border-radius: 50%;
  transform: scaleX(1.6);
  animation: ring-breathe 7s ease-in-out infinite;
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 28% 22%;
  border: 1px solid rgba(47, 124, 246, 0.1);
  border-radius: 50%;
  transform: scaleX(1.6);
  animation: ring-breathe 7s ease-in-out infinite 0.8s;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 24px;
}

.cta h2 {
  margin-bottom: 16px;
  color: var(--ink);
}

.cta p {
  margin: 0 auto 36px;
  max-width: 22em;
  color: var(--muted);
}

.cta .btn-light {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  animation: none;
}

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbit-pulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(calc(-50% - 12px)) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.12); }
}

@keyframes ring-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes node-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes ring-breathe {
  0%, 100% {
    opacity: 0.7;
    transform: scaleX(1.6) scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.66) scaleY(1.04);
  }
}

@keyframes grid-shift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 64px 64px, 64px 64px;
  }
}

@media (max-width: 860px) {
  .nav {
    gap: 20px;
  }

  .hero-inner {
    padding: 110px 24px 80px;
  }

  .hero-bg::after {
    width: 280px;
    height: 280px;
    right: -40px;
    opacity: 0.85;
  }

  .hero-ring {
    width: 220px;
    height: 220px;
  }

  .caps {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    display: none;
  }

  .caps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .hero-bg::after,
  .hero-ring,
  .hero-nodes,
  .cta-bg::before,
  .cta-bg::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
