:root {
  --bg-dark: #0a0f1d;
  --bg-gradient: linear-gradient(135deg, #0a0f1d 0%, #15102c 50%, #0a192f 100%);
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 动态背景光效 */
body::before, body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
  animation: float 20s infinite alternate;
}

body::before {
  background: var(--accent-primary);
  top: -10%;
  left: -10%;
}

body::after {
  background: var(--accent-secondary);
  bottom: -10%;
  right: -10%;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.1); }
  100% { transform: translate(-50px, 100px) scale(0.9); }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 通用玻璃拟态卡片 */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.3);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

/* Navbar */
.navbar {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero Section */
.hero {
  padding: 100px 0 60px;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* 标签样式 */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Section 通用 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

/* Card Icons */
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Pricing Table */
.pricing-card {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: normal;
}

.pricing-features {
  text-align: left;
  margin: 30px 0;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: bold;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 25px;
}

.faq-q {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.faq-a {
  color: var(--text-secondary);
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.copyright {
  color: #64748b;
  font-size: 0.9rem;
}

/* Content Pages (About, Terms, etc.) */
.content-page {
  padding: 120px 0 80px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(to right, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-wrapper h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #fff;
}

.content-wrapper p, .content-wrapper li {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.content-wrapper ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

/* 响应式设计 - 移动端完美适配 */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .btn {
    width: 100%;
    padding: 18px 20px; /* 更适合手指点击 */
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .content-wrapper h1 {
    font-size: 2.2rem;
  }
}
