:root {
  --brand-red: #EE4B55;
  --brand-blue:   #2563eb;
  --brand-red-strong: rgb(199, 0, 30);
  --brand-red-soft: #dd0063f9;
  --brand-blue-strong: #304FFE;
  --brand-baby-blue: #007ff5;
  --brand-footer-blue: #15c8f5;
  --brand-limon-green: #15c015;
  --ink-main: #0A1030;
  --ink-soft: #2F3C74;
  --surface: #E6ECFF;
  --card: #FFFFFF;
  --line: rgba(10, 45, 223, 0.34);
  --glow: rgba(10, 45, 223, 0.42);
  --faq-border-width: 2px;
  --faq-border-size: 240% 240%;
  --faq-border-shift-duration: 6s;
  --faq-border-gradient: linear-gradient(
    120deg,
    rgba(37, 99, 235, 1) 25%,
    rgba(139, 92, 246, 0.8) 50%,
    rgba(253, 97, 62, 0.8) 75%,
    rgba(239, 68, 68, 1) 100%,
    rgba(199, 0, 30, 1) 75%,
    rgba(37, 99, 235, 1) 100%
  );
  --faq-button-border-gradient: linear-gradient(
    90deg,
    rgba(37, 99, 235, 1),
    rgba(139, 92, 246, 0.6),
    rgba(253, 122, 62, 0.6),
    rgba(239, 68, 68, 1)
  );
  --faq-button-border-shift-duration: 10s;
}

/* faq-border-shift: uses ae-border-shift from ae_style.css */
@keyframes faq-border-shift {
  0% {
    background-position: 0 0, 0% 50%;
  }
  100% {
    background-position: 0 0, 200% 50%;
  }
}

@keyframes slide-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes replace-fade {
  from {
    opacity: 0.3;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes answer-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--ink-main);
  background: white;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(130deg, transparent 0%, rgba(238, 75, 85, 0.08) 38%, transparent 70%),
    linear-gradient(-130deg, transparent 5%, rgba(25, 59, 230, 0.11) 46%, transparent 78%);
}

.faq-app {
  position: relative;
  z-index: 1;
  width: min(1350px, 100vw);
  margin: 2.0rem auto 3rem;
  padding: 1.0rem;
  box-sizing: border-box;
}

.hero,
.question-card,
.answer-card {
position: relative;
overflow: hidden;
background: #ffffff;
border: var(--faq-border-width) solid transparent;
background-image:
linear-gradient(#ffffff, #ffffff),
var(--faq-border-gradient);
background-origin: border-box;
background-clip: padding-box, border-box;
background-size: var(--faq-border-size);
box-shadow: 0 18px 48px rgba(10, 34, 145, 0.18);
animation: faq-border-shift var(--faq-border-shift-duration) linear infinite;
}


.hero {
  border-radius: 28px;
  padding: 2rem 2.25rem;
  animation: slide-fade 0.55s ease-out, faq-border-shift var(--faq-border-shift-duration) linear infinite;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
}

.hero-main {
  min-width: 0;
  max-width: 920px;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.faq-support-footer {
  display: none;
  margin-top: 1.2rem;
}

/* ── Site Footer ─────────────────────────────────────────── */
.site-footer {
  color: var(--ink-main);
  position: relative;
  text-align: justify;
  margin-top: 1.25rem;
  width: min(1350px, 100%);
  padding:  0 1.75rem ;
  box-sizing: border-box;
  border-radius: 28px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0 1.5rem;
}

.site-footer-logo {
  height: auto;
  width: 160px;
  flex-shrink: 0;
}

.site-footer-id {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

.site-footer-email {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer-email:hover {
  opacity: 0.75;
}

.site-footer-legal {
  padding: 0 0 0.5rem;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: 'center';
}

.site-footer-legal p {
  margin: 0;
}

.site-footer-legal-center {
  padding: 0 0 0.5rem;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.site-footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 0.8rem 0;
  font-size: 0.82rem;
}

.site-footer-bottom p {
  margin: 0;
}

.faq-support-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 600; 
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #ef4444);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.faq-support-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.24);
}

.hero-kicker {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--brand-blue-strong);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.16;
  margin-bottom: 0.6rem;
}

.hero p {
  color: var(--ink-soft);
}

.faq-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(50%, 1.6fr);
  gap: 1.75rem;
  align-items: start;
}

.question-card,
.answer-card {
  border-radius: 24px;
}

.question-card {
  padding: 1.4rem;
}

.answer-card {
  padding: 1.85rem 2.25rem;
}

.question-card h2,
.answer-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  color: var(--brand-blue-strong);
  margin-bottom: 1rem;
}

.question-list {
  display: grid;
  gap: 0.8rem;
}

.question-item {
  display: grid;
  gap: 0.55rem;
}

.question-answer {
  display: grid;
  padding: 0 0.2rem 0.3rem;
}

.question-answer[hidden] {
  display: none;
}

.question-answer .answer-content {
  padding: 0.4rem 0.3rem 0.3rem;
}

.question-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: var(--faq-border-width) solid transparent;
  border-radius: 20px;
  padding: 1rem 1rem 1.05rem;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--brand-blue);
  background-image:
    linear-gradient(#ffffff, #ffffff),
    var(--faq-button-border-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, var(--faq-border-size);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 34, 145, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  animation: faq-border-shift var(--faq-border-shift-duration) linear infinite;
}

.question-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(10, 34, 145, 0.18);
}

.question-btn.active {
  color: var(--brand-red-soft);
  box-shadow: 0 18px 34px rgba(5, 8, 205, 0.22);
  filter: saturate(1.08);
}

.answer-content {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #242842;
  text-align: justify;
}

.answer-content p {
  margin: 0;
  text-indent: 2rem;
}

.answer-content p + p {
  margin-top: 1.1rem;
}

.answer-content ul,
.answer-content ol {
  margin: 0.7rem 0 0.9rem 1.45rem;
}

.answer-content li + li {
  margin-top: 0.55rem;
}


.answer-content strong {
  color: var(--brand-blue-strong);
  font-weight: 600;
}

.answer-content em {
  font-style: italic;
  color: var(--brand-baby-blue);
}

.answer-content del {
  color: var(--brand-blue);
}

.inline-strikethrough {
  text-decoration: line-through;
  text-decoration-color: var(--brand-baby-blue);
  color: inherit;
}

.inline-red {
  color: var(--brand-red);
}

.inline-green {
  color: var(--brand-limon-green);
}

.answer-content a {
  color: var(--brand-blue-strong);
  font-weight: 600;
  text-decoration: none;
}

.answer-content a[data-question-link="true"] {
  color: var(--brand-red);
}

.answer-content a:hover {
  text-decoration: underline;
}

.answer-appear {
  animation: answer-appear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-content video,
.answer-content img,
.answer-content iframe {
  max-width: 100%;
}

.answer-content video,
.answer-content img {
  cursor: zoom-in;
}

.faq-video-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1.5rem auto 1.0rem;
}

.faq-video-layout > .faq-video-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-video-layout > .faq-video-media:not(.faq-video-media--wide) video,
.faq-video-layout > .faq-video-media:not(.faq-video-media--wide) img {
  width: 100%;
  height: auto;
  max-width: 540px;
}

.faq-video-media {
  margin: 0;
  min-width: 0;
  position: relative;
}

.faq-video-media--narrow {
  width: 100%;
  max-width: 540px;
  margin: 0;
}

.faq-video-media--wide {
  max-width: 1080px;
  margin: 0 auto;
  grid-column: 1 / -1;
}

.faq-video-media--wide > .faq-video-player,
.faq-video-media--wide > .faq-image-frame {
  max-width: 1080px;
  margin: 0 auto;
}

.faq-video-media--wide > .faq-video-player--compact {
  max-width: 720px;
}

.faq-video-player {
  display: block;
  width: 100%;
  
  border-radius: 18px;
  background: #000;
  box-shadow: 0 18px 34px rgba(10, 34, 145, 0.16);
}

.faq-image-frame,
.faq-video-player--framed {
  display: block;
  width: 100%;
  border: var(--faq-border-width) solid transparent;
  background-image:
    linear-gradient(#ffffff, #ffffff),
    var(--faq-border-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 18px 34px rgba(10, 34, 145, 0.16);
}

.faq-video-caption {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.faq-video-caption--above {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.faq-media-zoom-button {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  color: #ffffff;
  background: rgba(8, 16, 48, 0.76);
  box-shadow: 0 10px 22px rgba(8, 16, 48, 0.24);
}

.faq-media-zoom-button:hover {
  background: rgba(19, 31, 86, 0.86);
}

.faq-media-focus-open {
  overflow: hidden;
}

.faq-media-focus-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(7, 12, 34, 0.82);
  backdrop-filter: blur(10px);
}

.faq-media-focus-overlay[hidden] {
  display: none;
}

.faq-media-focus-dialog {
  position: relative;
  width: min(92vw, 1350px);
  max-height: 90vh;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(120, 149, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(4, 10, 42, 0.42);
}

.faq-media-focus-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  color: #ffffff;
  background: rgba(8, 16, 48, 0.72);
}

.faq-media-focus-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 760px);
}

.faq-media-focus-stage img,
.faq-media-focus-stage video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(86vh, 1080px);
  margin: 0 auto;
  border-radius: 22px;
  cursor: default;
}

.faq-media-focus-caption {
  margin-top: 0.9rem;
  text-align: center;
  color: rgba(237, 242, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-video-text {
  min-width: 0;
  max-width: none;
  margin: 0;
  margin-bottom: 1rem;
}

.faq-video-text--full {
  margin-bottom: 1.2rem;
}

.faq-video-text p {
  margin: 0;
  text-indent: 1.6em;
}

.faq-video-text p + p {
  margin-top: 0.8rem;
}

.faq-video-text ul {
  margin: 0.55rem 0 0.75rem 1.2rem;
}

.faq-video-text li + li {
  margin-top: 0.28rem;
}

.answer-card.loaded {
  animation: replace-fade 0.10s ease;
}

@media (min-width: 681px) and (max-width: 1039px) {
  .question-btn {
    font-size: calc(0.93rem + 1px);
  }

  .answer-content {
    font-size: calc(0.97rem + 1px);
  }

  .faq-video-caption {
    font-size: calc(0.86rem + 1px);
  }

  .bg-layer {
    display: none;
  }

  .faq-grid {
    grid-template-columns: minmax(220px, 300px) 1fr;
  }

  .answer-card {
    display: block;
    padding: 1.6rem 1.2rem;
  }

  .faq-video-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }


  .faq-media-focus-dialog {
    width: 100%;
    padding: 0.8rem;
    border-radius: 18px;
  }

  .faq-media-focus-stage {
    min-height: 52vh;
  }

  .faq-app {
    width: 100%;
    margin: 0 0 1.4rem;
    padding: 0 0.85rem;
  }

  .faq-support-footer .faq-support-button {
    width: 80%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .question-card,
  .answer-card,
  .question-btn,
  .answer-appear {
    animation: none;
  }
}

@media (max-width: 680px) {
  body {
    background: #ffffff;
  }

  .bg-layer {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .answer-card {
    display: none;
  }

  .faq-video-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
  }
  
  .faq-app {
    width: 100%;
    margin: 0 0 1.4rem;
    padding: 0 0.65rem;
  }

  .hero {
    padding: 1.3rem 1.2rem;
    border-radius: 18px;
    flex-direction: column;
  }

  .hero-actions {
    display: none;
  }

  .faq-support-footer {
    display: block;
  }

  .faq-support-footer .faq-support-button {
    width: 80%;
    text-align: center;
  }

  .question-card,
  .answer-card {
    border-radius: 18px;
  }

  .question-list {
    gap: 0.8rem;
  }

  .question-item {
    border: 0;
    border-radius: 18px;
    padding: 0.1rem;
    background: transparent;
  }

  .question-item.active {
    box-shadow: none;
  }

  .question-answer .answer-content {
    font-size: 0.96rem;
    padding: 1.5rem 0.1rem 0.75rem;
  }

  .answer-content p {
    text-indent: 1.6em;
    letter-spacing: -0.01em;
  }

  .faq-media-focus-overlay {
    padding: 0.9rem;
  }

  .faq-media-focus-dialog {
    width: 100%;
    padding: 0.8rem;
    border-radius: 18px;
  }

  .faq-media-focus-stage {
    min-height: 52vh;
  }
}