:root {
  --primary: #A855F7;
  --secondary: #F97316;
  --accent: #10B981;
  --bg-dark: #0C0A09;
  --bg-light: rgba(168, 85, 247, 0.08);
  --text-main: #F5F5F4;
  --text-muted: #A8A29E;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.heading-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 9999px;
}

.heading-bar {
  position: relative;
  padding-left: 1rem;
}

.heading-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 0.25rem;
  background: var(--primary);
  border-radius: 9999px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
}

.solid-card {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.12), rgba(249, 115, 22, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 1rem;
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  color: #fff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-neon:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.65);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: var(--text-main);
  background: rgba(168, 85, 247, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--primary);
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

.glow-animation {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
  }

  100% {
    box-shadow: 0 0 28px rgba(249, 115, 22, 0.45);
  }
}

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

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

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.footer-link {
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary);
}

.video-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.25);
}
