:root {
  --primary: #5865f2;
  --accent: #00d1ff;
  --bg: #050510;
  --text: #ffffff;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* 背景光效 */
.background-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(88, 101, 242, 0.2) 0%,
    rgba(0, 209, 255, 0.05) 50%,
    transparent 100%
  );
  filter: blur(80px);
  z-index: -1;
  animation: pulse 10s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate(-45%, -55%) scale(1.2);
    opacity: 0.8;
  }
}

/* 导航栏 */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 10%;
  background: rgba(5, 5, 16, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Hero 区域 */
.hero {
  padding: 100px 10% 50px;
  text-align: center;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

h1 span {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.7;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* 按钮样式 */
.btn-primary,
.btn-glow,
.btn-secondary {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
  border: none;
}

.btn-glow {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.6);
}

.btn-secondary {
  background: var(--glass);
  color: white;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 特性网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 5rem 10%;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  opacity: 0.8;
}

footer {
  text-align: center;
  padding: 4rem;
  opacity: 0.5;
  font-size: 0.9rem;
}

/* 动画效果 */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.animate-text-delay {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
}
