/* ============================================
   HHPoker德扑圈 - Landing Page 0018
   Primary Colors: #047857, #059669, #10b981, #34d399
   ============================================ */

/* Custom Properties */
:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Navbar Scroll Effect */
#navbar {
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(6, 78, 59, 0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.hero-float {
  animation: float 3s ease-in-out infinite;
}

/* Gradient Backgrounds */
.hero-gradient {
  background: linear-gradient(135deg, #064e3b 0%, #047857 40%, #059669 70%, #10b981 100%);
}
.cta-gradient {
  background: linear-gradient(60deg, #047857 0%, #10b981 30%, #34d399 60%, #059669 100%);
}
.footer-gradient {
  background: linear-gradient(180deg, #064e3b 0%, #047857 100%);
}

/* Section headings */
.section-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* Feature Cards - Icon on LEFT layout */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.feature-card:hover {
  border-color: #34d399;
  box-shadow: 0 10px 40px rgba(4, 120, 87, 0.12);
  transform: translateY(-4px);
}
.feature-card .fc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
}
.feature-card .fc-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 0.35rem;
}
.feature-card .fc-content p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* Stats Section */
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.stat-card:hover {
  box-shadow: 0 10px 40px rgba(4, 120, 87, 0.1);
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #047857;
  line-height: 1.1;
}
.stat-label {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Testimonial Cards */
.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px rgba(4, 120, 87, 0.1);
  transform: translateY(-3px);
}
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: #a7f3d0;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}
.testimonial-card .testimonial-text {
  color: #4b5563;
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card .testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d1fae5;
}
.testimonial-card .testimonial-author .ta-name {
  font-weight: 700;
  color: #064e3b;
  font-size: 0.95rem;
}
.testimonial-card .testimonial-author .ta-role {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}
.faq-item.active {
  border-color: #34d399;
  box-shadow: 0 4px 20px rgba(4, 120, 87, 0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  transition: all 0.2s ease;
}
.faq-question:hover {
  color: #047857;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
  background: #047857;
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 400px;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #6b7280;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(52, 211, 153, 0.3), transparent 50%),
              radial-gradient(circle at 70% 40%, rgba(5, 150, 105, 0.4), transparent 50%);
  animation: ctaPulse 6s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #047857, #064e3b);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: #fff;
  color: #047857;
  transform: translateY(-2px);
}

/* Download page specific */
.download-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}
.download-card:hover {
  border-color: #34d399;
  box-shadow: 0 20px 50px rgba(4, 120, 87, 0.12);
  transform: translateY(-4px);
}
.download-card.featured {
  border-color: #10b981;
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

/* Club page specific */
.club-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.club-card:hover {
  border-color: #10b981;
  box-shadow: 0 10px 35px rgba(4, 120, 87, 0.1);
  transform: translateY(-3px);
}

/* Footer */
.footer-link {
  color: #a7f3d0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-number {
    font-size: 2.25rem;
  }
  .hero-float {
    animation: none;
  }
}

/* Page header for sub-pages */
.page-header {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  padding: 6rem 0 4rem;
}
