/* ============================================
   WPK德州 - Custom Styles
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #8b5cf6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  color: var(--gray-900);
}

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

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.navbar .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.3s ease;
}

.navbar .nav-link:hover { color: var(--primary); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  animation: fadeIn 0.3s ease;
}

.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--primary); }

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fdf2f8 100%);
}

.hero-title {
  background: linear-gradient(135deg, #3b0764 0%, #5b21b6 50%, #9d174d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle { animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero-buttons { animation: fadeInUp 0.8s ease-out 0.4s both; }
.hero-image-wrapper { animation: fadeInRight 0.8s ease-out 0.3s both; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.3);
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: #ddd6fe;
}

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon.indigo { background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #6366f1; }
.feature-icon.violet { background: linear-gradient(135deg, #f5f3ff, #ede9fe); color: #8b5cf6; }
.feature-icon.pink { background: linear-gradient(135deg, #fdf2f8, #fce7f3); color: #db2777; }

/* Stats */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
}

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

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 5rem;
  color: #ede9fe;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ede9fe;
}

/* FAQ Accordion */
.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.faq-item:hover { border-color: #ddd6fe; }

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform 0.3s ease; color: var(--gray-600); }

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p { color: var(--gray-600); line-height: 1.8; margin: 0; }

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

.cta-gradient::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 8s ease-in-out infinite;
}

/* Footer */
.footer-link { color: var(--gray-600); transition: color 0.3s ease; }
.footer-link:hover { color: var(--primary); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, -5%) scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

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

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

.badge-gradient {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: #6366f1;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.section-divider {
  width: 80px; height: 4px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  margin: 1rem auto;
}

/* Security Badges */
.security-card {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.security-card:hover {
  border-color: #ddd6fe;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem !important; }
  .stat-number { font-size: 2.25rem; }
  .feature-card { padding: 2rem 1.5rem; }
}
