/* ============================================================
   wepoker官方版 - Custom Styles
   ============================================================ */

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --secondary: #2563eb;
  --accent: #10b981;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-link {
  position: relative; font-weight: 500; color: var(--dark);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  border-radius: 2px; transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  z-index: 999; padding: 2rem; flex-direction: column; gap: 1rem;
  animation: slideDown 0.3s ease;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.125rem; font-weight: 600; color: var(--dark);
  padding: 0.75rem 1rem; border-radius: var(--radius);
  transition: all 0.3s ease;
}

.mobile-menu a:hover { background: rgba(79, 70, 229, 0.08); color: var(--primary); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-gradient {
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, #f0fdf4 100%);
}

.page-header {
  padding-top: 6rem; padding-bottom: 3rem;
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, #f0fdf4 100%);
  text-align: center;
}

.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.5); position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon { background: var(--primary); color: var(--white); transform: scale(1.1); }

.stat-card {
  text-align: center; padding: 2rem; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: all 0.3s ease;
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stat-number {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

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

.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--primary-light);
}

.faq-item {
  background: var(--white); border-radius: var(--radius); margin-bottom: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.6); overflow: hidden; transition: all 0.3s ease;
}

.faq-item:hover { border-color: rgba(79, 70, 229, 0.2); }

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

.faq-question:hover { color: var(--primary); }
.faq-question i { font-size: 0.875rem; color: var(--gray); transition: all 0.3s ease; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-item.active .faq-question { color: var(--primary); }

.cta-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  position: relative; overflow: hidden;
}

.cta-gradient::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; background: rgba(255, 255, 255, 0.05); border-radius: 50%;
}

.cta-gradient::after {
  content: ''; position: absolute; bottom: -30%; left: -5%;
  width: 300px; height: 300px; background: rgba(255, 255, 255, 0.03); border-radius: 50%;
}

.footer-link { color: #94a3b8; transition: color 0.3s ease; }
.footer-link:hover { color: var(--white); }

.footer-social {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; color: #94a3b8;
  transition: all 0.3s ease;
}

.footer-social:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); font-weight: 600; border-radius: var(--radius);
  border: none; cursor: pointer; text-decoration: none; transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; background: var(--white); color: var(--primary);
  font-weight: 600; border-radius: var(--radius); border: 2px solid var(--primary);
  cursor: pointer; text-decoration: none; transition: all 0.3s ease;
}

.btn-secondary:hover { background: rgba(79, 70, 229, 0.05); transform: translateY(-2px); }

.form-input {
  width: 100%; padding: 0.875rem 1rem; border: 2px solid #e2e8f0;
  border-radius: var(--radius); font-size: 1rem; transition: all 0.3s ease; background: var(--white);
}

.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }

.form-label { display: block; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; font-size: 0.938rem; }

.value-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; box-shadow: var(--shadow); transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

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

.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--primary); margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon { background: var(--primary); color: var(--white); }

.timeline-item {
  position: relative; padding-left: 2rem; padding-bottom: 2rem;
  border-left: 2px solid #e2e8f0;
}

.timeline-item::before {
  content: ''; position: absolute; left: -7px; top: 0;
  width: 12px; height: 12px; background: var(--primary); border-radius: 50%;
  border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item:last-child { border-left-color: transparent; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

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

@media (max-width: 768px) {
  .hero-gradient { text-align: center; }
  .stat-number { font-size: 2rem; }
  .feature-card { padding: 1.5rem; }
}
