/* BetPro — FAQ + Testimonials (split from 04-sections.css) */

.s-faq .l-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(220 20% 4%), hsl(220 22% 7%), hsl(220 20% 4%));
}

.s-faq .l-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(hsl(142 76% 45%) 1px, transparent 1px),
    linear-gradient(90deg, hsl(142 76% 45%) 1px, transparent 1px);
  background-size: 64px 64px;
}

.s-faq .l-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.s-faq .l-center > div {
  width: 900px;
  height: 500px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.05);
  filter: blur(120px);
}

.s-faq .l-tl {
  position: absolute;
  top: -8rem;
  left: -8rem;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.04);
  filter: blur(100px);
  pointer-events: none;
}

.s-faq .l-br {
  position: absolute;
  bottom: -8rem;
  right: -8rem;
  width: 400px;
  height: 400px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.03);
  filter: blur(100px);
  pointer-events: none;
}

.s-faq .l-line-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.s-faq .l-line-bot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.faq-head {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-head .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.2);
  background: hsl(var(--primary) / 0.05);
}

.faq-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.faq-head h2 .accent {
  color: hsl(var(--primary));
  filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.4));
}

.faq-head p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  max-width: 36rem;
  margin-inline: auto;
}

.faq-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.6s ease var(--d, 0s),
    transform 0.6s ease var(--d, 0s);
}

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

.faq-item.open {
  background: hsl(var(--primary) / 0.05);
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 0 24px 0 rgba(74, 222, 128, 0.08);
}

.faq-item .dot {
  position: absolute;
  top: 1rem;
  right: 3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.6);
  filter: blur(2px);
  opacity: 0;
}

.faq-item.open .dot {
  opacity: 1;
}

.faq-item .q-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item .q {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.faq-item:hover .q {
  color: #fff;
}

.faq-item.open .q {
  color: #fff;
}

.faq-item .toggle {
  margin-top: 0.125rem;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.faq-item.open .toggle {
  background: hsl(var(--primary));
  color: #000;
}

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

.faq-item .toggle .icon-minus {
  display: none;
}

.faq-item.open .toggle .icon-plus {
  display: none;
}

.faq-item.open .toggle .icon-minus {
  display: block;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.3s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer .inner {
  overflow: hidden;
}

.faq-answer p {
  margin-top: 1rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.faq-cta {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.faq-cta p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.faq-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.faq-cta a:hover {
  background: hsl(var(--primary) / 0.2);
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.2);
}

.faq-cta a .icon {
  width: 15px;
  height: 15px;
}

@media (min-width: 640px) {
  .faq-cta {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .faq-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.s-testi .l-base {
  position: absolute;
  inset: 0;
  background: hsl(222 24% 5%);
}

.s-testi .l-dots {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 24px 24px;
}

.s-testi .l-bloom1 {
  position: absolute;
  top: -5rem;
  left: 33.333%;
  width: 500px;
  height: 400px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.06);
  filter: blur(130px);
  pointer-events: none;
}

.s-testi .l-bloom2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 300px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.025);
  filter: blur(100px);
  pointer-events: none;
}

.s-testi .l-topfade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to bottom, hsl(222 22% 7%), transparent);
}

.s-testi .l-botfade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, hsl(222 24% 5%), transparent);
}

.testi-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.testi-head h2 {
  margin-top: 0.75rem;
}

.testi-head .rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.testi-head .rating .star {
  width: 1.25rem;
  height: 1.25rem;
}

.testi-head .rating span {
  color: hsl(var(--foreground) / 0.82);
  font-size: 0.875rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testi-card {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.testi-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.testi-card .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(var(--glow), 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testi-card:hover .glow {
  opacity: 1;
}

.testi-card .quote {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.04);
}

.testi-card .body {
  position: relative;
}

.testi-card .stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testi-card .stars .star {
  width: 0.875rem;
  height: 0.875rem;
}

.testi-card .text {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.625;
  margin-bottom: 1.25rem;
}

.testi-card .author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testi-card .who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-card .avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: hsl(var(--primary));
  font-size: 0.875rem;
}

.testi-card .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.testi-card .city {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.testi-card .tag {
  font-size: 10px;
  font-weight: 700;
  color: hsl(var(--primary) / 0.7);
  background: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .testi-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

