:root {
  --bg: #f3f6fc;
  --bg-soft: #e9f0ff;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #091b31;
  --muted: #4f617a;
  --line: #d7e1f1;
  --brand: #155dfc;
  --brand-warm: #fb923c;
  --brand-cool: #0ea5a0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 50px rgba(21, 93, 252, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(21, 93, 252, 0.15), transparent 70%),
    radial-gradient(900px 450px at 90% 0%, rgba(14, 165, 160, 0.12), transparent 65%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 42%, #f7f9fd 100%);
  line-height: 1.65;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 16, 56, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 16, 56, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text);
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 12px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 32, 80, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, var(--brand), var(--brand-warm), var(--brand-cool), var(--brand));
}

.site-nav {
  display: inline-flex;
  gap: 14px;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  color: #213552;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #e9efff;
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #266bff 55%, var(--brand-cool) 100%);
  box-shadow: 0 12px 24px rgba(21, 93, 252, 0.26);
}

.btn-outline {
  color: var(--brand);
  border: 1px solid rgba(21, 93, 252, 0.3);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.section {
  padding: 96px 0;
}

.hero {
  padding-top: 68px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.hero-title {
  margin: 14px 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.08;
  font-family: "Sora", sans-serif;
}

.gradient-text {
  background: linear-gradient(130deg, var(--brand) 10%, var(--brand-cool) 60%, var(--brand-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  padding: 14px;
}

.hero-metrics strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
}

.hero-metrics span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 380px;
}

.stage-card {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(92%, 360px);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.stage-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
}

.stage-card p {
  margin: 0;
  color: var(--muted);
}

.stage-card-primary {
  top: 34px;
  left: 8px;
}

.stage-card-secondary {
  right: 10px;
  bottom: 34px;
}

.stage-orbit {
  position: absolute;
  width: 210px;
  aspect-ratio: 1;
  top: 116px;
  left: 98px;
  border: 1px dashed rgba(21, 93, 252, 0.33);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.stage-orbit::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--brand), var(--brand-warm));
  top: -8px;
  left: calc(50% - 8px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.section-head h2 {
  margin: 12px 0 8px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.bento {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.span-7 {
  grid-column: span 7;
}

.span-5 {
  grid-column: span 5;
}

.span-4 {
  grid-column: span 4;
}

.card,
.post-card,
.method-panel,
.cta {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(0, 32, 80, 0.14);
}

.card-tag {
  margin: 0;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(21, 93, 252, 0.12);
}

.card h3,
.post-card h3 {
  margin: 12px 0 8px;
  font-family: "Sora", sans-serif;
}

.card p,
.post-card p {
  margin: 0;
  color: var(--muted);
}

.list-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.post-card time {
  font-size: 12px;
  color: #5f7394;
}

.method-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.method-panel ol {
  margin: 0;
  padding-left: 18px;
}

.method-panel li {
  margin: 8px 0;
}

.cta {
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
}

.cta p {
  margin: 0 0 22px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #627696;
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 480ms ease,
    transform 560ms cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 320px;
  }

  .stage-card-primary {
    left: 0;
  }

  .stage-card-secondary {
    right: 0;
  }

  .span-7,
  .span-5,
  .span-4 {
    grid-column: span 12;
  }

  .list-grid,
  .method-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
