/* ==========================================================================
   IT WAYS — FAQ PAGE STYLES
   Matches Unified White + Blue/Purple Design System
   ========================================================================== */

/* Hero Section */
.faq-hero-section {
  position: relative;
  width: 100%;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  background-color: #f6f9fe;
  overflow: hidden;
  box-sizing: border-box;
}

.faq-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/faq-hero.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.faq-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  box-sizing: border-box;
}

.faq-hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.faq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 105, 255, 0.08);
  border: 1px solid rgba(23, 105, 255, 0.2);
  color: #1769ff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.faq-hero-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 900;
  color: #0b1329;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.faq-hero-title span {
  color: #1769ff;
  background: linear-gradient(135deg, #1769ff 0%, #6554ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #475569;
  max-width: 480px;
  margin-bottom: 26px;
}

/* Search Bar */
.faq-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-bottom: 22px;
}

.faq-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(23, 105, 255, 0.25);
  border-radius: 16px;
  padding: 6px 18px;
  box-shadow: 0 10px 30px rgba(23, 105, 255, 0.08);
  transition: all 0.3s ease;
}

.faq-search-box:focus-within {
  border-color: #1769ff;
  box-shadow: 0 12px 36px rgba(23, 105, 255, 0.16);
  transform: translateY(-2px);
}

.faq-search-icon {
  color: #1769ff;
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.faq-search-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: #0f172a;
  padding: 10px 0;
  background: transparent;
}

.faq-search-input::placeholder {
  color: #94a3b8;
}

/* Hero Quick Category Cards */
.faq-hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.faq-hero-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: #ffffff;
  border: 1px solid rgba(225, 235, 250, 0.95);
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  font-family: inherit;
}

.faq-hero-cat-btn:hover {
  background: #f0f6ff;
  border-color: #1769ff;
  color: #1769ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 105, 255, 0.12);
}

.faq-cat-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1769ff;
}

/* ==========================================================================
   2. EXPLORE IT WAYS (SECTION 2 NAVIGATION)
   ========================================================================== */
.comp-explore-section {
  padding: 70px 0 60px;
  background: #ffffff;
  position: relative;
  border-bottom: 1px solid rgba(225, 235, 250, 0.8);
}

.comp-explore-section .comp-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}

.comp-explore-section .comp-section-header h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #0b1329;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}

.comp-explore-section .comp-section-header p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.comp-explore-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.comp-explore-card {
  background: #ffffff;
  border: 1.5px solid #e8eef8;
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(18, 42, 90, 0.02);
}

.comp-explore-card:hover {
  background: #ffffff;
  border-color: rgba(23, 105, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(23, 105, 255, 0.09);
}

.comp-explore-card.active,
.comp-explore-card.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-color: #1769ff;
  box-shadow: 0 8px 24px rgba(23, 105, 255, 0.12);
}

.comp-explore-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5fb;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.comp-explore-card:hover .comp-explore-icon,
.comp-explore-card.active .comp-explore-icon {
  background: linear-gradient(135deg, #1769ff 0%, #6554ef 100%);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(23, 105, 255, 0.28);
}

.comp-explore-card strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.comp-explore-card span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.comp-explore-card:hover span {
  color: #1769ff;
  transform: translateX(2px);
}

/* Responsive grid for explore bar */
@media (max-width: 1100px) {
  .comp-explore-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .comp-explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   3. POPULAR FAQS SECTION
   ========================================================================== */
.faq-main-section {
  padding: 90px 0 60px;
  background: #ffffff;
}

.faq-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.faq-section-header .comp-badge {
  margin-bottom: 12px;
}

.faq-section-header h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: #0b1329;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.faq-section-header p {
  font-size: 15.5px;
  color: #64748b;
  margin: 0;
}

/* Category Filter Tabs */
.faq-filter-tabs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-tab-btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: #f8faff;
  border: 1px solid rgba(225, 235, 250, 0.95);
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.faq-tab-btn:hover {
  background: #edf4ff;
  color: #1769ff;
  border-color: rgba(23, 105, 255, 0.3);
}

.faq-tab-btn.active {
  background: #1769ff;
  color: #ffffff;
  border-color: #1769ff;
  box-shadow: 0 6px 18px rgba(23, 105, 255, 0.28);
}

/* 2-Column Accordion Grid */
.faq-accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: #ffffff;
  border: 1.5px solid rgba(225, 235, 250, 0.95);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-card:hover {
  border-color: rgba(23, 105, 255, 0.4);
  box-shadow: 0 10px 28px rgba(23, 105, 255, 0.08);
  transform: translateY(-2px);
}

.faq-card.is-open {
  border-color: #1769ff;
  box-shadow: 0 12px 32px rgba(23, 105, 255, 0.12);
}

.faq-card-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

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

.faq-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon-blue {
  background: rgba(23, 105, 255, 0.09);
  color: #1769ff;
}

.faq-icon-purple {
  background: rgba(124, 58, 237, 0.09);
  color: #7c3aed;
}

.faq-icon-green {
  background: rgba(16, 185, 129, 0.09);
  color: #10b981;
}

.faq-icon-orange {
  background: rgba(245, 158, 11, 0.09);
  color: #f59e0b;
}

.faq-icon-pink {
  background: rgba(236, 72, 153, 0.09);
  color: #ec4899;
}

.faq-card-question {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-card.is-open .faq-toggle-icon {
  background: #1769ff;
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 20px;
}

.faq-card.is-open .faq-card-body {
  max-height: 300px;
  padding: 0 20px 20px 70px;
}

.faq-card-body p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* No Results Message */
.faq-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: #f8faff;
  border-radius: 20px;
  border: 1.5px dashed rgba(225, 235, 250, 0.95);
  display: none;
}

.faq-no-results h3 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.faq-no-results p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
}

/* ==========================================================================
   STILL HAVE QUESTIONS CARD
   ========================================================================== */
.faq-still-section {
  padding: 40px 0 90px;
  background: #ffffff;
}

.faq-still-card {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 100%);
  border: 1.5px solid rgba(219, 234, 254, 0.9);
  border-radius: 28px;
  padding: 46px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.06);
}

.faq-still-graphic-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-headset-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1769ff;
  position: relative;
}

.faq-still-content {
  text-align: left;
}

.faq-still-content h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: #0b1329;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.faq-still-content p {
  font-size: 15px;
  color: #475569;
  margin: 0 0 22px;
}

.faq-still-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.faq-still-graphic-right {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
}

.faq-qbubble-orb {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed rgba(23, 105, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 900;
  color: #93c5fd;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .faq-hero-section {
    min-height: auto;
    padding: 130px 20px 60px;
    background-position: bottom right;
  }

  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }

  .faq-still-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
  }

  .faq-still-content {
    text-align: center;
  }

  .faq-still-actions {
    justify-content: center;
  }

  .faq-still-graphic-left,
  .faq-still-graphic-right {
    display: none;
  }
}

@media (max-width: 640px) {
  .faq-hero-title {
    font-size: 30px;
  }

  .faq-hero-categories {
    gap: 8px;
  }

  .faq-hero-cat-btn {
    font-size: 11.5px;
    padding: 7px 12px;
  }

  .faq-card-header {
    padding: 16px 14px;
  }

  .faq-card.is-open .faq-card-body {
    padding: 0 14px 16px 14px;
  }

  .faq-item-icon {
    width: 32px;
    height: 32px;
  }

  .faq-card-question {
    font-size: 13.5px;
  }
}
