:root {
  --bg: #f7f5ff;
  --bg-deep: #1a1038;
  --primary: #6f3dff;
  --primary-2: #8f6bff;
  --text: #1e163a;
  --muted: #6d6690;
  --white: #ffffff;
  --border: #e5dcff;
  --shadow: 0 12px 30px rgba(111, 61, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 20%, #ffffff 0, #f5f1ff 55%, #efe7ff 100%);
  line-height: 1.7;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--bg-deep);
}

.brand img {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
  background: #f2ecff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 61, 255, 0.28), rgba(111, 61, 255, 0));
  top: -120px;
  right: -120px;
  filter: blur(8px);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #d8c8ff;
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  background: #f6f1ff;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  margin: 18px 0 14px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 26px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--primary);
  background: #f3edff;
  border: 1px solid #e0d3ff;
}

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

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

.hero-card img {
  width: 100%;
  max-width: 430px;
  display: block;
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-title {
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.section-title p {
  color: var(--muted);
}

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

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

.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(72, 43, 165, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #f2ecff;
  color: var(--primary);
  margin-bottom: 14px;
}

.muted {
  color: var(--muted);
}

.list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
}

.list li:last-child {
  border-bottom: none;
}

.timeline {
  border-left: 2px solid #d9cbff;
  margin-left: 10px;
  padding-left: 24px;
}

.timeline-item {
  margin-bottom: 22px;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: -31px;
  top: 6px;
}

.org-graph {
  display: grid;
  gap: 12px;
}

.org-box {
  text-align: center;
  background: #f8f4ff;
  border: 1px solid #ddd1ff;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
}

.org-line {
  width: 2px;
  height: 20px;
  background: #ccbaff;
  margin: 0 auto;
}

.partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner {
  border: 1px dashed #d6c7ff;
  border-radius: 12px;
  min-height: 90px;
  display: grid;
  place-items: center;
  color: #5433c8;
  font-weight: 600;
  background: #faf7ff;
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-media {
  position: relative;
  background: #f5efff;
  border-bottom: 1px solid #e6dcff;
}

.product-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-tags span {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  color: #5d35da;
  background: #f2ecff;
  border: 1px solid #e0d2ff;
}

.footer {
  margin-top: 30px;
  color: #dfd8ff;
  background: linear-gradient(140deg, #25154e, #391f74);
  padding: 38px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.footer a {
  color: #ece6ff;
}

.copyright {
  border-top: 1px solid rgba(223, 216, 255, 0.2);
  margin-top: 18px;
  padding-top: 12px;
  font-size: 13px;
  color: #c6bcf9;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.particle-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(111, 61, 255, 0.2);
  animation: rise 12s linear infinite;
}

@keyframes rise {
  from {
    transform: translateY(100vh) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .partners,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
