/* =============================================
   HHPOKER - Modern Enterprise Blue Theme
   Custom Styles
   ============================================= */

/* ---- Base & Typography ---- */
:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;
  --slate-50: #f8fafc;
  --slate-900: #0f172a;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

/* ---- Selection ---- */
::selection {
  background-color: rgba(37, 99, 235, 0.2);
  color: #1e40af;
}

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Hero Gradient Background ---- */
.hero-gradient {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
}

/* ---- Card Hover Effects ---- */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15), 0 4px 12px -4px rgba(0, 0, 0, 0.05);
}

/* ---- Feature Icon Box ---- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.icon-box-outline {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #eff6ff;
  color: #2563eb;
  flex-shrink: 0;
}

/* ---- Stat Number Counter ---- */
.stat-number {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}

/* ---- Divider with gradient ---- */
.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #cbd5e1 20%, #94a3b8 50%, #cbd5e1 80%, transparent 100%);
  border: none;
}

/* ---- Step Number ---- */
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 20px -6px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}

/* ---- Badge Tag ---- */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  background: #eff6ff;
  color: #2563eb;
  gap: 6px;
}

/* ---- Section Label ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
}

/* ---- Button Styles ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.4);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #ffffff;
  color: #2563eb;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  border: 2px solid #2563eb;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.2);
}

/* ---- Platform Download Cards ---- */
.platform-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #ffffff;
}
.platform-card:hover,
.platform-card.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 12px 32px -12px rgba(37, 99, 235, 0.2);
}
.platform-card.active {
  box-shadow: 0 12px 32px -12px rgba(37, 99, 235, 0.3);
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #bfdbfe;
}
.faq-question {
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: #ffffff;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ---- Club Card ---- */
.club-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
}
.club-card:hover {
  border-color: #2563eb;
  box-shadow: 0 16px 40px -16px rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 24px;
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.1);
    z-index: 50;
    animation: slideDown 0.25s ease;
  }
}

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

/* ---- Fade In Up Animation ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Footer ---- */
.footer-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #2563eb;
}

/* ---- Trust Bar ---- */
.trust-bar {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(90deg, #f8fafc 0%, #eff6ff 50%, #f8fafc 100%);
}

/* ---- Glow Dot ---- */
.glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08); }
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 640px) {
  .btn-primary,
  .btn-outline {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
  .icon-box,
  .icon-box-outline {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 14px;
  }
  .step-number {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
