:root {
  --bg: #050b18;
  --bg-elevated: rgba(255, 255, 255, 0.03);
  --bg-panel: rgba(9, 15, 30, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(59, 130, 246, 0.28);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-soft: #64748b;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --green: #34d399;
  --gold: #fbbf24;
  --danger: #fb7185;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.35);
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.08), transparent 30%),
    linear-gradient(180deg, #060d1c 0%, #050b18 45%, #07111f 100%);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #bfdbfe;
}

img {
  max-width: 100%;
}

.shell {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px) saturate(180%);
  background: rgba(5, 11, 24, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner,
.page-wrap,
.site-footer-inner {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text-main);
}

.page-wrap {
  padding: 44px 0 88px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(34, 211, 238, 0.05)),
    rgba(8, 14, 28, 0.92);
  box-shadow: var(--shadow-lg);
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(59, 130, 246, 0.08);
  color: #bfdbfe;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.9);
}

.hero-panel h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
}

.stack {
  display: grid;
  gap: 20px;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.content-card h2 {
  font-size: 1.4rem;
}

.content-card h3 {
  font-size: 1.02rem;
}

.content-card p:last-child,
.content-card ul:last-child,
.content-card ol:last-child {
  margin-bottom: 0;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
}

.content-card ul,
.content-card ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.content-card li + li {
  margin-top: 0.45rem;
}

.content-card strong {
  color: var(--text-main);
}

.content-card code {
  padding: 0.2em 0.45em;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbeafe;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.info-item .label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-item .value {
  color: var(--text-main);
  font-size: 0.96rem;
  font-weight: 600;
}

.callout {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-main);
}

.callout.warn {
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.08);
}

.callout.success {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.mini-note {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  background: rgba(59, 130, 246, 0.08);
  color: #dbeafe;
  font-weight: 700;
  font-size: 0.88rem;
}

.button-link.secondary {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.site-footer {
  padding: 28px 0 64px;
  border-top: 1px solid var(--border);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel,
  .content-card {
    padding: 22px;
  }

  .page-wrap {
    padding-top: 26px;
  }
}
