:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --bg-elevated-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --muted-2: rgba(255, 255, 255, 0.48);
  --brand: #7c3aed;
  --brand-2: #06b6d4;
  --brand-3: #3b82f6;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.40);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1240px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 50% -140px, rgba(124, 58, 237, 0.38), transparent 70%),
    radial-gradient(720px 520px at 80% 160px, rgba(6, 182, 212, 0.22), transparent 60%),
    radial-gradient(720px 520px at 20% 420px, rgba(59, 130, 246, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.06;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 70%);
}

main {
  padding-top: 64px;
}

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

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

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
}

.site-shell {
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.brand small {
  font-size: 0.86em;
  color: var(--muted);
  margin-top: 2px;
  opacity: 0.9;
}

@media (min-width: 1280px) {
  .brand-text {
    line-height: 1.4;
  }
  .brand small {
    margin-top: 3px;
  }
}

.brand-mark-img {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.35rem 0.2rem;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.button.primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 1), rgba(59, 130, 246, 1));
  color: #fff;
  box-shadow: 0 18px 55px rgba(124, 58, 237, 0.22);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(59, 130, 246, 0.22);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: #fff;
}

.button.ghost:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: clamp(5.5rem, 11vw, 8.5rem) 0 clamp(6rem, 12vw, 10rem);
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.55;
}

.hero-copy {
  margin: 1.75rem auto 0;
  max-width: 860px;
  font-size: 1.25rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
}

.media-showcase {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: clamp(6rem, 12vw, 10rem);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow);
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 2.75rem;
}

.stat-item {
  min-width: 150px;
  text-align: left;
}

.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3.8rem, 7vw, 6.5rem) 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 420px at 50% 0%, rgba(255, 255, 255, 0.03), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.section-head {
  max-width: 880px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-head p {
  margin-top: 0.9rem;
  line-height: 1.85;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}

.bento-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  padding: 1.65rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: hidden;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 20% 0%, rgba(124, 58, 237, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.bento-card > * {
  position: relative;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card p {
  margin-top: 0.65rem;
  line-height: 1.8;
}

.col-span-12 {
  grid-column: span 12;
}

.col-span-8 {
  grid-column: span 8;
}

.col-span-6 {
  grid-column: span 6;
}

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

.alternating-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

.alternating-section + .alternating-section {
  margin-top: 1.5rem;
}

.alternating-section:nth-child(even) .content-side {
  order: 2;
}

.alternating-section:nth-child(even) .media-side {
  order: 1;
}

.media-side {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.styled-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.75;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 1), rgba(124, 58, 237, 1));
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.24);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 3.5rem 0 4.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-title {
  margin: 0 0 0.9rem;
  font-weight: 800;
  color: #fff;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
}

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

@media (max-width: 980px) {
  .topbar {
    height: auto;
    padding: 0.9rem 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.9rem;
  }

  .col-span-8,
  .col-span-6,
  .col-span-4 {
    grid-column: span 12;
  }

  .alternating-section {
    grid-template-columns: 1fr;
  }

  .alternating-section:nth-child(even) .content-side {
    order: 1;
  }

  .alternating-section:nth-child(even) .media-side {
    order: 2;
  }

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

@media (max-width: 720px) {
  main {
    padding-top: 76px;
  }

  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-container {
    gap: 1.5rem;
  }

  .stat-item {
    min-width: auto;
  }
}
