/* =====================================================
   FAQ PAGE - APP-CENTER DARK THEME
   ===================================================== */

:root {
  --faq-ink: #0b0f14;
  --faq-surface: #111820;
  --faq-surface-raised: #171f28;
  --faq-accent: #64b6b8;
  --faq-accent-muted: #3a8f95;
  --faq-border: rgba(255, 255, 255, 0.09);
}

/* HEADER SECTION */
.faq-founder-header {
  background: linear-gradient(135deg, var(--faq-surface) 0%, var(--faq-surface-raised) 100%);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--faq-border);
}

.faq-founder-header-content {
  text-align: center;
}

.faq-headline {
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.faq-subline {
  font-size: 16px;
  color: #d0d0d0;
  margin: 0;
  font-weight: 400;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* SEARCH SECTION */
.faq-search-section {
  background: var(--faq-ink);
  padding: 40px 0;
  border-bottom: 1px solid var(--faq-border);
}

.faq-search-wrapper {
  position: relative;
}

.faq-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.faq-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.faq-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(58, 143, 149, 0.45);
  box-shadow: 0 0 0 2px rgba(58, 143, 149, 0.14);
}

.faq-search-helper {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}

/* PROTECTION SECTION */
.faq-protection-section {
  background: transparent;
  padding: 50px 0;
  border-bottom: 1px solid var(--faq-border);
}

.founder-protection-box {
  background: rgba(58, 143, 149, 0.09);
  border: 1px solid rgba(58, 143, 149, 0.2);
  padding: 30px;
  border-radius: 8px;
}

.protection-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  margin-top: 0;
}

.protection-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.protection-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.protection-icon {
  color: var(--faq-accent);
  font-weight: 700;
  font-size: 16px;
  min-width: 20px;
  flex-shrink: 0;
}

.protection-item p {
  font-size: 14px;
  color: #bbb;
  margin: 0;
  line-height: 1.5;
}

/* CONTENT SECTION */
.faq-content-section {
  background: var(--faq-ink);
  padding: 50px 0;
}

#faq-search-results {
  display: grid;
  gap: 50px;
}

/* CATEGORY BLOCKS */
.faq-category-block {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-category-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(58, 143, 149, 0.25);
}

/* ACCORDION */
.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: rgba(58, 143, 149, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.faq-accordion-item.open {
  border-color: rgba(58, 143, 149, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.faq-accordion-item.open .faq-chevron {
  transform: rotate(90deg);
}

.faq-accordion-header {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.2s ease;
}

.faq-accordion-header:focus {
  outline: 2px solid rgba(58, 143, 149, 0.45);
  outline-offset: -2px;
}

.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-align: left;
  line-height: 1.4;
}

.faq-chevron {
  color: var(--faq-accent);
  font-size: 14px;
  min-width: 16px;
  text-align: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  margin-top: 2px;
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.2s ease,
    opacity 0.2s ease,
    padding 0.2s ease;
  opacity: 0;
  padding: 0 22px;
}

.faq-accordion-item.open .faq-accordion-body {
  max-height: 500px;
  opacity: 1;
  padding: 15px 22px 22px;
}

.faq-accordion-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #bbb;
  margin: 0;
}

.faq-accordion-body strong {
  color: var(--faq-accent);
}

/* NO RESULTS STATE */
.faq-no-results {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.faq-no-results p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* CTA SECTION */
.faq-cta-section {
  background: linear-gradient(135deg, var(--faq-surface) 0%, var(--faq-surface-raised) 100%);
  padding: 60px 0;
  border-top: 1px solid var(--faq-border);
}

.faq-cta-box {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  margin-top: 0;
}

.cta-text {
  font-size: 15px;
  color: #bbb;
  margin-bottom: 25px;
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  background: var(--faq-accent-muted);
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid var(--faq-accent-muted);
}

.cta-button:hover {
  background: transparent;
  color: var(--faq-accent);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .faq-headline {
    font-size: 28px;
  }

  .faq-subline {
    font-size: 14px;
  }

  .faq-founder-header {
    padding: 35px 0 25px;
  }

  .faq-search-section {
    padding: 30px 0;
  }

  .faq-protection-section {
    padding: 35px 0;
  }

  .faq-content-section {
    padding: 35px 0;
  }

  .faq-category-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .faq-accordion {
    gap: 10px;
  }

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

  .faq-question {
    font-size: 14px;
  }

  .faq-accordion-body {
    padding: 0 16px !important;
  }

  .faq-accordion-item.open .faq-accordion-body {
    padding: 10px 16px 16px !important;
  }

  .protection-items {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cta-title {
    font-size: 22px;
  }

  .faq-cta-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .faq-headline {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .faq-subline {
    font-size: 13px;
  }

  .protection-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .protection-item p {
    font-size: 13px;
  }

  .faq-search-input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .faq-search-helper {
    font-size: 11px;
  }

  .cta-title {
    font-size: 18px;
  }

  .cta-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .cta-button {
    font-size: 13px;
    padding: 10px 25px;
  }
}

/* DARK MODE COMPATIBILITY */
@media (prefers-color-scheme: dark) {
  .faq-founder-header,
  .faq-cta-section {
    background: var(--faq-ink);
    color: #fff;
  }

  .faq-accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
  }

  .faq-accordion-body p {
    color: #bbb;
  }
}

/* Shared 3D Pros visual system */
.faq-founder-wrapper,
.contact-founder-page {
  min-height: 100vh;
  background-color: var(--faq-ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 180px 180px;
  color: rgba(255, 255, 255, 0.94);
  font-family: Inter, Satoshi, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.faq-founder-header {
  position: relative;
  isolation: isolate;
  padding: 112px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--faq-border);
  background:
    radial-gradient(circle at 12% 54%, rgba(58, 143, 149, 0.13), transparent 36%),
    var(--faq-ink);
}

.faq-founder-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 180px 180px;
  pointer-events: none;
}

.faq-founder-header .site-breadcrumbs {
  margin-bottom: 32px;
}

.faq-founder-header-content {
  max-width: 820px;
  text-align: left;
}

.faq-eyebrow {
  margin: 0 0 18px;
  color: var(--faq-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.faq-headline {
  max-width: 12ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(3.2rem, 6.4vw, 5.2rem);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.faq-subline {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.faq-search-section,
.faq-protection-section,
.faq-content-section,
.faq-cta-section {
  background: transparent;
}

.faq-search-wrapper,
.faq-protection-section .container > *,
#faq-search-results,
.faq-cta-box {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion-item,
.founder-protection-box,
.faq-cta-box {
  border-color: var(--faq-border);
  background:
    linear-gradient(145deg, rgba(58, 143, 149, 0.1), transparent 34%),
    var(--faq-surface);
}

.faq-accordion-item:hover,
.faq-accordion-item.open {
  border-color: rgba(58, 143, 149, 0.45);
  background-color: var(--faq-surface-raised);
}

.faq-cta-box {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--faq-border);
  border-radius: 8px;
}

@media (max-width: 767px) {
  .faq-founder-header {
    padding: 78px 0 68px;
  }

  .faq-headline {
    font-size: clamp(2.7rem, 13vw, 3.55rem);
  }
}

@media (max-width: 575px) {
  .faq-founder-header {
    padding: 62px 0 56px;
  }
}
