/* ========================================
   0018 - VIOLET GRADIENT 紫韵渐变风
   ======================================== */

:root {
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;
  --pink-400: #f472b6;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-600: #52525b;
  --gray-900: #18181b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: #ffffff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.97), rgba(109, 40, 217, 0.97));
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-link { color: rgba(255,255,255,0.85); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: #fff; }

.nav-logo {
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active { color: #fff; }

.btn-violet {
  background: linear-gradient(135deg, #f472b6, #a855f7);
  color: white;
  font-weight: 700;
  padding: 0.625rem 1.75rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.45);
}

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 30%, #5b21b6 60%, #4c1d95 100%);
  position: relative;
  overflow: hidden;
}

/* Floating decorative circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  animation: floatCircle 8s ease-in-out infinite;
}

.hero-circle:nth-child(1) { width: 300px; height: 300px; top: -100px; left: -50px; animation-delay: 0s; }
.hero-circle:nth-child(2) { width: 200px; height: 200px; top: 20%; right: 10%; animation-delay: 2s; }
.hero-circle:nth-child(3) { width: 150px; height: 150px; bottom: 15%; left: 15%; animation-delay: 4s; }
.hero-circle:nth-child(4) { width: 100px; height: 100px; bottom: 25%; right: 25%; animation-delay: 6s; }

@keyframes floatCircle {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-30px) scale(1.05); }
  66% { transform: translateY(20px) scale(0.95); }
}

/* Features */
.feature-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.2);
}

.feature-icon-purple {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(244, 114, 182, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-600);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, #7c3aed, #6d28d9, #5b21b6);
  position: relative;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-left: 4px solid var(--violet-600);
  border-radius: 0 1rem 1rem 0;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
  border-left-color: var(--pink-400);
}

.stars-purple { color: #a855f7; }

/* FAQ */
.faq-item {
  background: white;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.faq-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--violet-700);
  user-select: none;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(244,114,182,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: linear-gradient(135deg, var(--violet-600), var(--pink-400));
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-body {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 50%, #4c1d95 100%);
  position: relative;
  overflow: hidden;
}

.particle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(244, 114, 182, 0.5);
  border-radius: 50%;
  animation: particleUp 4s ease-in-out infinite;
}

@keyframes particleUp {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-40px); opacity: 1; }
}

/* About page */
.about-hero {
  min-height: 45vh;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

/* Footer */
.footer {
  background: #18181b;
  color: #a1a1aa;
}
.footer a:hover { color: #c084fc; }

@media (max-width: 768px) {
  .stat-divider { display: none; }
}
