/* ==========================================
   FAQ Page - Clean Q&A Style
   ========================================== */

/* --- Hero --- */
.faq-hero {
  width: 100vw;
  position: relative;
  overflow: hidden;
}
.faq-hero__wrapper {
  width: 100%;
  background: url("../image/hero_bg.svg") no-repeat;
  background-size: cover;
  background-position: left bottom;
  padding: 20rem 0 8rem 0;
  position: relative;
}
.faq-hero__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.faq-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.8rem;
  border-radius: 3rem;
  margin-bottom: 3rem;
}
.faq-hero__breadcrumb a {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
}
.faq-hero__breadcrumb a:hover {
  color: #fff;
}
.faq-hero__breadcrumb-sep {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.4);
}
.faq-hero__breadcrumb-current {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
}

/* Icon */
.faq-hero__icon {
  position: relative;
  width: 10rem;
  height: 10rem;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-hero__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 100%);
  border: 2px solid rgba(255,255,255,0.18);
  animation: faqRingPulse 3s ease-in-out infinite;
}
@keyframes faqRingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.06); opacity: 0.7; }
}
.faq-hero__icon i {
  font-size: 4.2rem;
  color: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

/* Title */
.faq-hero__title {
  font-size: 4.8rem;
  line-height: 6rem;
  font-weight: 700 !important;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.4px;
}

/* Subtitle */
.faq-hero__subtitle {
  font-size: 1.7rem;
  color: rgba(255,255,255,0.7);
  max-width: 56rem;
  margin: 0 auto 3rem;
  line-height: 2.6rem;
}

/* Stats Bar */
.faq-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: #879cb0;
  padding: 0.8rem 2.4rem;
  border-radius: 3rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.faq-hero__stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.faq-hero__stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #345cf8, #6c8cff);
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
}
.faq-hero__stat-icon {
  font-size: 1.8rem;
  color: #34d399;
}
.faq-hero__stat-label {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.faq-hero__stat-divider {
  width: 1px;
  height: 2.4rem;
  background: rgba(255,255,255,0.18);
}

/* Floating decorative elements */
.faq-hero__bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.faq-hero__deco {
  position: absolute;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  font-family: 'Open Sans', sans-serif;
}
.faq-hero__deco.q1 { top: 15%; left: 8%;  animation: faqFloat1 6s ease-in-out infinite; }
.faq-hero__deco.q2 { top: 60%; right: 10%; font-size: 5rem; animation: faqFloat2 5s ease-in-out infinite; }
.faq-hero__deco.q3 { top: 30%; right: 20%; font-size: 6rem; animation: faqFloat3 7s ease-in-out infinite; }
.faq-hero__deco.dot1 { bottom: 20%; left: 15%; width: 8px; height: 8px; background: rgba(255,255,255,0.08); border-radius: 50%; display: block; animation: faqFloat1 4s ease-in-out infinite; }
.faq-hero__deco.dot2 { top: 45%; right: 6%; width: 12px; height: 12px; background: rgba(255,255,255,0.06); border-radius: 50%; display: block; animation: faqFloat2 5.5s ease-in-out infinite; }
.faq-hero__deco.dot3 { bottom: 35%; right: 25%; width: 6px; height: 6px; background: rgba(255,255,255,0.07); border-radius: 50%; display: block; animation: faqFloat3 4.5s ease-in-out infinite; }

@keyframes faqFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-15px) rotate(5deg); }
}
@keyframes faqFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-4deg); }
}
@keyframes faqFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(2deg); }
}

/* ---- Live FAQ Drifters Container ---- */
.faq-hero__drifters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
/* ---- Live FAQ Drifters ---- */
.faq-drift {
  position: absolute;
  pointer-events: auto;
  z-index: 1;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.faq-drift span {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  background: rgba(135,156,176,0.55);
  backdrop-filter: blur(6px);
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.faq-drift span:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(135,156,176,0.25), 0 0 24px 4px rgba(52,92,248,0.3);
  background: rgba(135,156,176,0.85);
}

/* d1: diagonal left-to-right */
.faq-drift.d1 {
  top: 25%;
  left: -200px;
  animation-name: driftDiag1;
  animation-duration: 18s;
  animation-delay: 0s;
}
/* d2: sine wave across */
.faq-drift.d2 {
  top: 22%;
  left: -200px;
  animation-name: driftSine1;
  animation-duration: 22s;
  animation-delay: 3s;
}
/* d3: diagonal right-to-left */
.faq-drift.d3 {
  top: 32%;
  right: -200px;
  animation-name: driftDiag2;
  animation-duration: 20s;
  animation-delay: 6s;
}
/* d4: low slow cross */
.faq-drift.d4 {
  bottom: 15%;
  left: -220px;
  animation-name: driftSlow;
  animation-duration: 28s;
  animation-delay: 1s;
}
/* d5: mid-right cross */
.faq-drift.d5 {
  top: 55%;
  right: -220px;
  animation-name: driftSine2;
  animation-duration: 24s;
  animation-delay: 4s;
}
/* d6: bottom cross */
.faq-drift.d6 {
  bottom: 22%;
  left: -200px;
  animation-name: driftDiag1;
  animation-duration: 26s;
  animation-delay: 9s;
}

/* Animation: diagonal top-left → bottom-right */
@keyframes driftDiag1 {
  0%   { transform: translate(0, 0) scale(0.85);            opacity: 0;     box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  5%   { transform: translate(8vw, 12px) scale(0.9);        opacity: 0.5;   box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  20%  { transform: translate(20vw, 24px) scale(0.95);      opacity: 0.7;   box-shadow: 0 0 16px 2px rgba(52,92,248,0.12); }
  40%  { transform: translate(42vw, 42px) scale(1.12);      opacity: 1;     box-shadow: 0 0 28px 6px rgba(52,92,248,0.35), 0 0 0 8px rgba(135,156,176,0.2); }
  60%  { transform: translate(62vw, 58px) scale(1.05);      opacity: 0.9;   box-shadow: 0 0 16px 2px rgba(52,92,248,0.15); }
  80%  { transform: translate(82vw, 72px) scale(0.92);      opacity: 0.55;  box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  95%  { transform: translate(96vw, 78px) scale(0.85);      opacity: 0.15;  box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
  100% { transform: translate(100vw + 200px, 80px) scale(0.85); opacity: 0; box-shadow: 0 2px 12px rgba(0,0,0,0); }
}
/* Animation: diagonal top-right → bottom-left */
@keyframes driftDiag2 {
  0%   { transform: translate(0, 0) scale(0.85);             opacity: 0;     box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  5%   { transform: translate(-8vw, 10px) scale(0.9);        opacity: 0.5;   box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  20%  { transform: translate(-20vw, 20px) scale(0.95);      opacity: 0.7;   box-shadow: 0 0 16px 2px rgba(52,92,248,0.12); }
  40%  { transform: translate(-42vw, 38px) scale(1.12);      opacity: 1;     box-shadow: 0 0 28px 6px rgba(52,92,248,0.35), 0 0 0 8px rgba(135,156,176,0.2); }
  60%  { transform: translate(-62vw, 52px) scale(1.05);      opacity: 0.9;   box-shadow: 0 0 16px 2px rgba(52,92,248,0.15); }
  80%  { transform: translate(-82vw, 62px) scale(0.92);      opacity: 0.55;  box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  95%  { transform: translate(-96vw, 66px) scale(0.85);      opacity: 0.15;  box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
  100% { transform: translate(-100vw - 200px, 60px) scale(0.85); opacity: 0; box-shadow: 0 2px 12px rgba(0,0,0,0); }
}
/* Animation: sine wave across */
@keyframes driftSine1 {
  0%   { transform: translate(0, 0) scale(0.85);            opacity: 0;     box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  5%   { transform: translate(8vw, -8px) scale(0.9);        opacity: 0.5;   box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  25%  { transform: translate(28vw, -36px) scale(1.05);     opacity: 0.85;  box-shadow: 0 0 20px 3px rgba(52,92,248,0.22); }
  40%  { transform: translate(45vw, -10px) scale(1.14);     opacity: 1;     box-shadow: 0 0 32px 8px rgba(52,92,248,0.4), 0 0 0 8px rgba(135,156,176,0.22); }
  55%  { transform: translate(60vw, 18px) scale(1.06);      opacity: 0.9;   box-shadow: 0 0 18px 3px rgba(52,92,248,0.18); }
  75%  { transform: translate(78vw, -22px) scale(0.94);     opacity: 0.6;   box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  95%  { transform: translate(94vw, -28px) scale(0.85);     opacity: 0.15;  box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
  100% { transform: translate(100vw + 200px, -30px) scale(0.85); opacity: 0; box-shadow: 0 2px 12px rgba(0,0,0,0); }
}
@keyframes driftSine2 {
  0%   { transform: translate(0, 0) scale(0.85);             opacity: 0;     box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  5%   { transform: translate(-8vw, -6px) scale(0.9);        opacity: 0.5;   box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  25%  { transform: translate(-28vw, 18px) scale(1.05);      opacity: 0.85;  box-shadow: 0 0 20px 3px rgba(52,92,248,0.22); }
  40%  { transform: translate(-45vw, -8px) scale(1.14);      opacity: 1;     box-shadow: 0 0 32px 8px rgba(52,92,248,0.4), 0 0 0 8px rgba(135,156,176,0.22); }
  55%  { transform: translate(-62vw, 20px) scale(1.06);      opacity: 0.9;   box-shadow: 0 0 18px 3px rgba(52,92,248,0.18); }
  75%  { transform: translate(-80vw, -16px) scale(0.94);     opacity: 0.6;    box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  95%  { transform: translate(-95vw, -18px) scale(0.85);     opacity: 0.15;  box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
  100% { transform: translate(-100vw - 200px, -20px) scale(0.85); opacity: 0; box-shadow: 0 2px 12px rgba(0,0,0,0); }
}
/* Animation: slow low cross */
@keyframes driftSlow {
  0%   { transform: translate(0, 0) scale(0.82);            opacity: 0;     box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  8%   { transform: translate(10vw, -6px) scale(0.88);      opacity: 0.45;  box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  35%  { transform: translate(38vw, -22px) scale(1.1);      opacity: 1;     box-shadow: 0 0 30px 6px rgba(52,92,248,0.38), 0 0 0 8px rgba(135,156,176,0.2); }
  65%  { transform: translate(68vw, -36px) scale(0.98);     opacity: 0.75;  box-shadow: 0 0 14px 2px rgba(52,92,248,0.12); }
  92%  { transform: translate(92vw, -42px) scale(0.84);     opacity: 0.18;   box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
  100% { transform: translate(100vw + 200px, -40px) scale(0.82); opacity: 0; box-shadow: 0 2px 12px rgba(0,0,0,0); }
}

/* --- FAQ List Section --- */
.faq-list {
  padding: 8rem 0 12rem 0;
  background-color: #f0f9fb;
}
.faq-list__wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- FAQ Card --- */
.faq-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 20px rgba(34,52,97,0.06);
  margin-bottom: 1.6rem;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-card:hover {
  box-shadow: 0 4px 28px rgba(34,52,97,0.1);
}

/* --- FAQ Question --- */
.faq-card__q {
  display: flex;
  gap: 1.2rem;
  padding: 2.4rem 2.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f0f4f8;
}
.faq-card__q:hover {
  background: #fafbfc;
}
.faq-card__q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  background: #345cf8;
  color: #fff;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-card__q-text {
  font-size: 1.7rem;
  font-weight: 700;
  color: #223461;
  line-height: 2.8rem;
}

/* --- FAQ Answer --- */
.faq-card__a {
  padding: 2rem 2.8rem 2.8rem 6rem;
  display: none;
}
.faq-card--active .faq-card__a {
  display: block;
}

/* --- FAQ List Items --- */
.faq-answer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-answer-list li {
  position: relative;
  padding-left: 1.8rem;
  padding-bottom: 0.8rem;
  font-size: 1.5rem;
  color: #60748e;
  line-height: 2.2;
}
.faq-answer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  background: #c5d3e0;
  border-radius: 50%;
}
.faq-answer-list li:last-child {
  padding-bottom: 0;
}

/* --- Single Answer Text --- */
.faq-answer-text {
  font-size: 1.5rem;
  color: #60748e;
  line-height: 2.2;
}

/* --- Methods (双方案) --- */
.faq-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.faq-method {
  padding: 1.6rem 2rem;
  background: #f8fafc;
  border-radius: 0.8rem;
  border-left: 3px solid #345cf8;
}
.faq-method__tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: #345cf8;
  color: #fff;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.faq-method p {
  font-size: 1.4rem;
  color: #60748e;
  line-height: 2;
  margin: 0;
}

/* --- Expand Icon --- */
.faq-expand {
  margin-left: auto;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7b5c4;
  transition: all 0.25s ease;
}
.faq-card--active .faq-expand {
  transform: rotate(180deg);
  color: #345cf8;
}

/* --- CTA --- */
.faq-cta {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(0deg, #f0f9fb 0%, #fff 100%);
}
.faq-cta__text {
  font-size: 2.4rem;
  color: #223461;
  font-weight: 700;
  margin-bottom: 1rem;
}
.faq-cta__desc {
  font-size: 1.5rem;
  color: #60748e;
  margin-bottom: 2.5rem;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .faq-hero__wrapper {
    padding: 18rem 0 6rem 0;
    background: url("../image/hero_bg_mobile.png") no-repeat;
    background-size: cover;
    background-position: left -120rem;
  }
  .faq-hero__title { font-size: 3.8rem; line-height: 5rem; }
  .faq-hero__icon { width: 8rem; height: 8rem; }
  .faq-hero__icon i { font-size: 3.4rem; }
  .faq-hero__deco.q1 { font-size: 6rem; left: 4%; }
  .faq-hero__deco.q2 { right: 4%; font-size: 4rem; }
  .faq-hero__deco.q3 { display: none; }
  .faq-hero__drifters { display: none; }
  .faq-methods {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .faq-hero__wrapper { background-position: left -70rem; padding: 17rem 0 5rem 0; }
  .faq-hero__title { font-size: 3rem; line-height: 4rem; }
  .faq-hero__subtitle { font-size: 1.5rem; max-width: 90%; }
  .faq-hero__icon { width: 7rem; height: 7rem; }
  .faq-hero__icon i { font-size: 2.8rem; }
  .faq-hero__stats { gap: 1.4rem; padding: 0.6rem 1.6rem; }
  .faq-hero__stat-num { width: 2.8rem; height: 2.8rem; font-size: 1.6rem; }
  .faq-hero__deco.q1 { font-size: 5rem; }
  .faq-hero__deco.q2 { font-size: 3.5rem; }
  .faq-card__q { padding: 2rem; }
  .faq-card__a { padding: 1.6rem 2rem 2.4rem 5rem; }
  .faq-card__q-text { font-size: 1.5rem; line-height: 2.4rem; }
}
@media (max-width: 575.98px) {
  .faq-hero__wrapper { padding: 17rem 0 4rem 0; background-position: left -50rem; }
  .faq-hero__title { font-size: 2.6rem; line-height: 3.4rem; }
  .faq-hero__subtitle { font-size: 1.4rem; max-width: 95%; margin-bottom: 2.5rem; }
  .faq-hero__icon { width: 6rem; height: 6rem; margin-bottom: 2rem; }
  .faq-hero__icon i { font-size: 2.4rem; }
  .faq-hero__breadcrumb { padding: 0.5rem 1.2rem; margin-bottom: 2rem; }
  .faq-hero__breadcrumb a,
  .faq-hero__breadcrumb-sep,
  .faq-hero__breadcrumb-current { font-size: 1.2rem; }
  .faq-hero__stats { gap: 1rem; padding: 0.5rem 1.4rem; }
  .faq-hero__stat-num { width: 2.4rem; height: 2.4rem; font-size: 1.4rem; border-radius: 0.6rem; }
  .faq-hero__stat-label { font-size: 1.1rem; }
  .faq-hero__deco.q1 { font-size: 4rem; left: 2%; }
  .faq-hero__deco.q2 { display: none; }
  .faq-hero__deco.dot1, .faq-hero__deco.dot2, .faq-hero__deco.dot3 { display: none; }
  .faq-list__wrapper { padding: 0 1.5rem; }
  .faq-card__q { padding: 1.8rem 1.6rem; gap: 1rem; }
  .faq-card__a { padding: 1.4rem 1.6rem 2rem 4rem; }
  .faq-card__q-text { font-size: 1.4rem; line-height: 2.2rem; }
  .faq-answer-list li { font-size: 1.4rem; }
}
