/* Homepage FAQ across all localized versions */
.faq-section {
  padding: 54px 0 58px;
  scroll-margin-top: 100px;
}

.faq-section > .section-title {
  max-width: 820px;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.2;
}

.faq-section > .section-subtitle {
  max-width: 790px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  min-width: 0;
  border: 1px solid rgba(160, 172, 197, 0.2);
  border-radius: 16px;
  background: rgba(16, 20, 38, 0.84);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(79, 209, 197, 0.44);
  background: rgba(17, 27, 50, 0.96);
}

.faq-item[open] {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.17);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid #4fd1c5;
  outline-offset: 3px;
  border-radius: 14px;
}

.faq-question {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq-symbol {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(79, 209, 197, 0.5);
  background: rgba(79, 209, 197, 0.1);
}

.faq-symbol::before,
.faq-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #8df0e3;
  transform: translate(-50%, -50%);
}

.faq-symbol::before {
  width: 12px;
  height: 2px;
}

.faq-symbol::after {
  width: 2px;
  height: 12px;
  transition: height 180ms ease;
}

.faq-item[open] .faq-symbol::after {
  height: 0;
}

.faq-answer {
  padding: 0 24px 23px;
  max-width: 88ch;
  color: #c0cbe0;
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-item[open] .faq-answer {
  animation: faq-reveal 180ms ease-out;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul + p {
  margin-top: 12px;
}

.faq-answer ul {
  padding-left: 22px;
}

.faq-answer li + li {
  margin-top: 5px;
}

.faq-answer strong {
  color: #f5f7fb;
  font-weight: 700;
}

.faq-answer a {
  color: #76dce5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:focus-visible,
.faq-cta a:focus-visible {
  outline: 3px solid #4fd1c5;
  outline-offset: 4px;
}

.faq-cta {
  margin-top: 30px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(79, 209, 197, 0.32);
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0%, rgba(31, 142, 241, 0.15), transparent 50%),
              linear-gradient(135deg, #111a33, #0b1020);
}

.faq-cta h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

.faq-cta p {
  max-width: 780px;
  color: #c0cbe0;
  line-height: 1.7;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.faq-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.faq-cta-actions a:hover {
  transform: translateY(-2px);
}

.faq-cta-primary {
  background: linear-gradient(135deg, #1f8ef1, #4fd1c5);
  color: #050816;
}

.faq-cta-secondary {
  border: 1px solid rgba(160, 172, 197, 0.55);
  color: #f5f7fb;
}

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

@media (max-width: 640px) {
  .faq-section { padding: 40px 0 44px; }
  .faq-item summary { gap: 12px; padding: 17px 16px; font-size: 0.98rem; }
  .faq-answer { padding: 0 16px 18px; font-size: 0.93rem; }
  .faq-cta-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-symbol::after,
  .faq-cta-actions a { transition: none; }
  .faq-item[open] .faq-answer { animation: none; }
}
