/* ===== FAQ PAGE — BASE RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #001020;
  color: #c8dff0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== FLOATING BACKGROUND BUBBLES ===== */
.faq-page-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.faq-page-bubbles::before,
.faq-page-bubbles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.faq-page-bubbles::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4), transparent 70%);
  top: -120px;
  right: -100px;
  animation: faqBubbleDrift1 18s ease-in-out infinite alternate;
}

.faq-page-bubbles::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 180, 0.3), transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: faqBubbleDrift2 22s ease-in-out infinite alternate;
}

@keyframes faqBubbleDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-60px, 80px) scale(1.15);
  }
}

@keyframes faqBubbleDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, -60px) scale(1.1);
  }
}

/* ===== HEADER ===== */

.privacy-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(15px);
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
}

.logo span {
  color: #00d4ff;
}

.privacy-header nav a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 20px;
  font-size: 1rem;
  opacity: 0.8;
  transition: 0.3s;
}

.privacy-header nav a:hover {
  color: #00d4ff;
  opacity: 1;
}

/* ===== MAIN ===== */

.faq-main {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

/* ===== MAIN ===== */
.faq-main {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ===== HERO ===== */
.faq-hero {
  text-align: center;
  margin-bottom: 48px;
}

.faq-hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.faq-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(170, 205, 235, 0.7);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== CATEGORY NAV ===== */
.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.faq-cat-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(0, 212, 255, 0.05);
  color: rgba(0, 212, 255, 0.6);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-cat-btn:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.35);
  color: rgba(0, 212, 255, 0.85);
}

.faq-cat-btn.active {
  background: rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.5);
  color: #00d4ff;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.12);
}

/* ===== FAQ LIST ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== FAQ ITEM ===== */
.faq-item {
  background: linear-gradient(
    135deg,
    rgba(0, 26, 51, 0.7),
    rgba(0, 40, 80, 0.4)
  );
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

.faq-item.open {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(0, 212, 255, 0.06);
}

.faq-item.hidden {
  display: none;
}

/* ===== QUESTION BUTTON ===== */
.faq-item-question {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Inter", sans-serif;
}

.faq-q-text {
  flex: 1;
  font-size: 15.5px;
  font-weight: 700;
  color: #dceeff;
  line-height: 1.45;
  transition: color 0.3s ease;
}

.faq-item.open .faq-q-text {
  color: #ffffff;
}

.faq-cat-badge {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: rgba(0, 212, 255, 0.55);
  transition: all 0.3s ease;
}

.faq-item.open .faq-cat-badge {
  background: rgba(0, 212, 255, 0.14);
  color: rgba(0, 212, 255, 0.8);
}

.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.06);
  transition: all 0.35s ease;
}

.faq-chevron i {
  font-size: 12px;
  color: rgba(0, 212, 255, 0.5);
  transition:
    transform 0.35s ease,
    color 0.3s ease;
}

.faq-item.open .faq-chevron {
  background: rgba(0, 212, 255, 0.14);
}

.faq-item.open .faq-chevron i {
  transform: rotate(180deg);
  color: #00d4ff;
}

/* ===== ANSWER ===== */
.faq-item-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item-answer p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(170, 205, 235, 0.72);
}

.faq-item.open .faq-item-answer p {
  color: rgba(170, 205, 235, 0.92);
}

/* ===== CTA BLOCK ===== */
.faq-cta-block {
  text-align: center;
  margin-top: 64px;
  padding: 44px 32px;
  background: linear-gradient(
    135deg,
    rgba(0, 26, 51, 0.8),
    rgba(0, 45, 90, 0.5)
  );
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 24px;
}

.faq-cta-block h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.faq-cta-block p {
  font-size: 15px;
  color: rgba(170, 205, 235, 0.65);
  margin-bottom: 24px;
  line-height: 1.6;
}

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #00b4ff, #00d4ff);
  color: #001a33;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 800;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.faq-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
}

.faq-cta-btn:active {
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.faq-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 24px;
  border-top: 2px solid rgba(0, 212, 255, 0.08);
}

.faq-footer p {
  font-size: 13px;
  color: rgba(170, 205, 235, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .faq-main {
    padding: 96px 16px 60px;
  }

  .privacy-header {
    padding: 12px 16px;
  }

  .privacy-header .logo {
    font-size: 1.08rem;
  }

  .privacy-header nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .privacy-header nav a {
    margin-right: 0;
    font-size: 0.85rem;
  }

  .faq-item-question {
    padding: 16px 18px;
    gap: 10px;
  }

  .faq-q-text {
    font-size: 14.5px;
  }

  .faq-cat-badge {
    display: none;
  }

  .faq-item-answer p {
    padding: 0 18px 18px;
    font-size: 14px;
  }

  .faq-cta-block {
    padding: 32px 20px;
  }

  .faq-hero {
    margin-bottom: 36px;
  }

  .faq-category-nav {
    gap: 6px;
  }

  .faq-cat-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}
