/* 
 * PORT CLINTON SPONSOR - FAQ FINAL POLISH
 * Focus: Scoped, Premium Broadcast Glass Aesthetics
 */

body.pc-portal .pc-sponsor-sections .section-faq {
  /* Drastically reduced top padding to minimize gap with Pricing section */
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
  /* Significantly reduced bottom padding to pull the final CTA closer */
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
  position: relative;
  z-index: 5;
}

body.pc-portal .pc-sponsor-sections .faq-glass-wrapper {
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2.5rem);
  max-width: 900px; /* Constrained inner panel width */
  margin-inline: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  position: relative;
}

/* Subtle Divider Lines (Broadcast Strip Style) */
body.pc-portal .pc-sponsor-sections .faq-glass-wrapper::before,
body.pc-portal .pc-sponsor-sections .faq-glass-wrapper::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}
body.pc-portal .pc-sponsor-sections .faq-glass-wrapper::before { top: 3.5rem; }
body.pc-portal .pc-sponsor-sections .faq-glass-wrapper::after { bottom: 3.5rem; }

body.pc-portal .pc-sponsor-sections .faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

body.pc-portal .pc-sponsor-sections .faq-header .title-accent {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.pc-portal .pc-sponsor-sections .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px; /* Consistent spacing between items */
}

/* Individual FAQ Pill Cards */
body.pc-portal .pc-sponsor-sections .faq-item {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.pc-portal .pc-sponsor-sections .faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.02);
}

body.pc-portal .pc-sponsor-sections .faq-toggle {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  cursor: pointer;
  text-align: left;
  position: relative;
}

/* Question Layout Wrapper */
body.pc-portal .pc-sponsor-sections .q-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

body.pc-portal .pc-sponsor-sections .q-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
}

/* Signal Dot (Subtle Accent) */
body.pc-portal .pc-sponsor-sections .status-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

body.pc-portal .pc-sponsor-sections .faq-item.active .status-dot {
  background: var(--pc-red);
  box-shadow: 0 0 10px var(--pc-red-glow);
  transform: scale(1.5);
}

body.pc-portal .pc-sponsor-sections .faq-item.active {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

/* Chevron Rotation */
body.pc-portal .pc-sponsor-sections .faq-toggle .chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

body.pc-portal .pc-sponsor-sections .faq-item.active .chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--pc-red);
}

/* Answer Panel Animation */
body.pc-portal .pc-sponsor-sections .faq-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

body.pc-portal .pc-sponsor-sections .faq-item.active .faq-panel {
  opacity: 1;
}

body.pc-portal .pc-sponsor-sections .panel-inner {
  padding: 0 2rem 2rem 52px; /* Indented text relative to question + dot */
}

body.pc-portal .pc-sponsor-sections .panel-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 500;
}

/* Responsive Overrides */
@media (max-width: 640px) {
  body.pc-portal .pc-sponsor-sections .faq-glass-wrapper {
    padding: 3rem 1.25rem;
    border-radius: 24px;
  }
  
  body.pc-portal .pc-sponsor-sections .faq-toggle {
    padding: 1.25rem 1.25rem;
  }
  
  body.pc-portal .pc-sponsor-sections .q-text {
    font-size: 1rem;
  }
  
  body.pc-portal .pc-sponsor-sections .panel-inner {
    padding: 0 1.25rem 1.5rem 32px;
  }

  body.pc-portal .pc-sponsor-sections .faq-glass-wrapper::before,
  body.pc-portal .pc-sponsor-sections .faq-glass-wrapper::after {
    display: none;
  }
}