/* ==========================================================================
   NAMCUMZ FAQ & KNOWLEDGE BASE - CYBER HUD THEME
   NAMCUMZ FAQ / Cyberpunk Store Design
   ========================================================================== */

body.faq-page {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.16) 0%, rgba(0, 242, 254, 0.08) 35%, transparent 65%), #050711 !important;
  color: #f8fafc;
  min-height: 100vh;
  font-family: 'Be Vietnam Pro', sans-serif;
  overflow-x: hidden;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ==========================================================================
   1. HERO SECTION & TITLE
   ========================================================================== */
.faq-hero-section {
  text-align: center;
  margin-bottom: 40px;
}

.faq-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00f2fe;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.faq-page-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 auto 14px;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 35px rgba(0, 242, 254, 0.25);
}

.faq-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 20px;
}

.faq-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
  width: fit-content;
}

.faq-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff, 0 0 12px #00f2fe;
}

.faq-divider-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe, #a855f7);
  box-shadow: 0 0 10px #00f2fe;
}

/* ==========================================================================
   2. SEARCH BAR
   ========================================================================== */
.faq-search-box {
  position: relative;
  max-width: 680px;
  margin: 0 auto 28px;
}

.faq-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(16, 22, 42, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 12px;
  padding: 0 18px;
  height: 52px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.faq-search-input-wrap:focus-within {
  border-color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.35), 0 8px 30px rgba(0, 0, 0, 0.5);
  background: rgba(16, 22, 42, 0.98);
}

.faq-search-icon {
  color: #00f2fe;
  font-size: 1.1rem;
  margin-right: 14px;
  flex-shrink: 0;
}

.faq-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: 'Be Vietnam Pro', sans-serif;
  width: 100%;
}

.faq-search-input::placeholder {
  color: #64748b;
  font-weight: 500;
}

.faq-search-clear {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  display: none;
}

.faq-search-clear:hover {
  color: #ffffff;
}

/* ==========================================================================
   3. CATEGORY PILLS (JUMP TABS)
   ========================================================================== */
.faq-category-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 40px;
}

.faq-pill-btn {
  background: rgba(16, 22, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
  user-select: none;
}

.faq-pill-btn:hover {
  border-color: rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

.faq-pill-btn.active {
  background: rgba(0, 242, 254, 0.14);
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
}

.faq-pill-icon {
  font-size: 0.85rem;
}

/* ==========================================================================
   4. FAQ GROUP & SECTIONS
   ========================================================================== */
.faq-group {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}

.faq-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-group-bar {
  width: 4px;
  height: 22px;
  background: #00f2fe;
  border-radius: 2px;
  box-shadow: 0 0 10px #00f2fe;
  flex-shrink: 0;
}

.faq-group-title-wrap {
  display: flex;
  flex-direction: column;
}

.faq-group-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #00f2fe;
  letter-spacing: 1px;
}

.faq-group-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   5. FAQ ACCORDION CARDS
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(11, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.faq-item:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.12), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.faq-item[open] {
  border-color: rgba(0, 242, 254, 0.6);
  background: rgba(16, 22, 42, 0.95);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.18), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  outline: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.faq-q-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: #00f2fe;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s;
}

.faq-item[open] .faq-q-badge {
  background: #00f2fe;
  color: #0b0f1d;
  box-shadow: 0 0 10px #00f2fe;
}

.faq-question-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  transition: color 0.2s;
}

.faq-item:hover .faq-question-text {
  color: #00f2fe;
}

.faq-chevron {
  color: #64748b;
  font-size: 0.85rem;
  transition: transform 0.28s ease, color 0.28s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: #00f2fe;
}

.faq-answer {
  padding: 0 22px 22px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #00f2fe;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}

.faq-answer a:hover {
  color: #38bdf8;
}

/* Callout Box inside Answer */
.faq-callout {
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0 6px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.faq-callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.faq-callout-warning i {
  color: #f59e0b;
  font-size: 1rem;
  margin-top: 2px;
}

.faq-callout-security {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.faq-callout-security i {
  color: #10b981;
  font-size: 1rem;
  margin-top: 2px;
}

/* ==========================================================================
   6. BOTTOM CONTACT & SUPPORT CTA
   ========================================================================== */
.faq-cta-card {
  background: radial-gradient(circle at 100% 0%, rgba(247, 37, 133, 0.12) 0%, transparent 60%), rgba(11, 15, 29, 0.95);
  border: 1.5px solid rgba(247, 37, 133, 0.35);
  border-radius: 18px;
  padding: 32px 30px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 0 35px rgba(247, 37, 133, 0.1), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.faq-cta-text h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-cta-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.faq-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.faq-btn-zalo {
  background: linear-gradient(135deg, #d946ef 0%, #a855f7 50%, #8b5cf6 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.45);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.faq-btn-zalo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.65);
}

.faq-btn-track {
  background: #141829;
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 10px;
  color: #00f2fe;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.faq-btn-track:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: #00f2fe;
  color: #ffffff;
}

/* Empty search state */
.faq-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  display: none;
}

.faq-empty-state i {
  font-size: 2.2rem;
  color: #475569;
  margin-bottom: 12px;
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .faq-container {
    padding: 24px 16px 60px;
  }
  .faq-answer {
    padding: 0 16px 18px 16px;
  }
  .faq-summary {
    padding: 16px;
  }
  .faq-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .faq-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .faq-btn-zalo,
  .faq-btn-track {
    width: 100%;
    justify-content: center;
  }
  .faq-category-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }
  .faq-pill-btn {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .faq-container { width: 100%; min-width: 0; box-sizing: border-box; }
  .faq-category-pills { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
}
