/* ============================================================
   PUSK VPN FAQ V3
   Desktop visual polish.

   - FAQ content remains V2 content.
   - Only visual styling + initial open state are changed.
   - Existing global PUSK background remains untouched.
   - No baked section background.
   - Mobile remains frozen.
   ============================================================ */

@media (min-width: 761px) {

  /*
     Pull the end of Premium closer to FAQ.
     Premium artwork itself is NOT changed.
  */

  .pusk-premium-v1 {
    padding-bottom:
      clamp(34px, 3vw, 54px);
  }

}

/* ============================================================
   FAQ SECTION
   ============================================================ */

#faq.v2-faq {
  position: relative;

  z-index: 4;

  width: min(90vw, 1240px);

  margin-inline: auto;

  padding:
    clamp(30px, 2.8vw, 48px)
    0
    clamp(108px, 8vw, 150px);

  background: transparent;
}

/* ============================================================
   HEADING
   ============================================================ */

#faq .v2-section-head {
  position: relative;

  width: min(100%, 920px);

  margin:
    0
    auto
    clamp(34px, 3vw, 48px);

  text-align: center;
}

#faq .v2-section-head > span,
#faq .v2-eyebrow {
  display: inline-block;

  margin-bottom: 13px;

  color: #66e9ff;

  font-family:
    "Russo One",
    sans-serif;

  font-size: 12px;

  line-height: 1;

  letter-spacing: .24em;

  text-transform: uppercase;

  text-shadow:
    0 0 18px
    rgba(102, 233, 255, .42);
}

#faq .v2-section-head h2 {
  margin:
    0
    0
    16px;

  color: #ffffff;

  font-family:
    "Russo One",
    sans-serif;

  font-size:
    clamp(
      42px,
      3.2vw,
      56px
    );

  font-weight: 400;

  line-height: 1.04;

  letter-spacing: -.025em;

  text-shadow:
    0 0 30px
    rgba(95, 116, 255, .24);
}

#faq .v2-section-head p {
  width: min(100%, 730px);

  margin-inline: auto;

  color:
    rgba(
      225,
      233,
      255,
      .72
    );

  font-size: 17px;

  line-height: 1.65;
}

#faq .v2-section-head::after {
  content: "";

  display: block;

  width: 168px;
  height: 2px;

  margin:
    22px
    auto
    0;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(76, 213, 255, .88),
      rgba(113, 86, 255, .92),
      rgba(225, 74, 255, .78),
      transparent
    );

  box-shadow:
    0 0 18px
    rgba(87, 129, 255, .38);
}

/* ============================================================
   FAQ STACK
   ============================================================ */

#faq .v2-faq-list {
  width: min(100%, 1120px);

  margin-inline: auto;

  display: grid;

  gap: 13px;
}

/* ============================================================
   CARD
   ============================================================ */

#faq .v2-faq-list details {
  position: relative;

  overflow: hidden;

  isolation: isolate;

  border:
    1px solid
    rgba(
      123,
      166,
      255,
      .22
    );

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(13, 22, 52, .80),
      rgba(8, 13, 34, .78)
    );

  box-shadow:
    0 18px 44px
    rgba(0, 0, 0, .24),
    inset 0 1px 0
    rgba(255, 255, 255, .045);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

/* Neon rail */

#faq .v2-faq-list details::before {
  content: "";

  position: absolute;

  z-index: 2;

  top: 18px;
  bottom: 18px;
  left: 0;

  width: 3px;

  border-radius:
    0
    4px
    4px
    0;

  background:
    linear-gradient(
      180deg,
      rgba(51, 222, 255, .72),
      rgba(92, 105, 255, .52),
      rgba(211, 68, 255, .42)
    );

  opacity: .28;

  box-shadow:
    0 0 18px
    rgba(80, 151, 255, .34);

  transition:
    opacity .18s ease,
    box-shadow .18s ease;
}

#faq .v2-faq-list details:hover {
  transform:
    translateY(-1px);

  border-color:
    rgba(
      104,
      205,
      255,
      .34
    );

  box-shadow:
    0 20px 50px
    rgba(0, 0, 0, .28),
    0 0 26px
    rgba(66, 113, 255, .08),
    inset 0 1px 0
    rgba(255, 255, 255, .055);
}

/* ============================================================
   OPEN CARD
   ============================================================ */

#faq .v2-faq-list details[open] {
  border-color:
    rgba(
      112,
      208,
      255,
      .42
    );

  background:
    linear-gradient(
      135deg,
      rgba(15, 31, 69, .90),
      rgba(11, 16, 42, .86)
    );

  box-shadow:
    0 22px 58px
    rgba(0, 0, 0, .31),
    0 0 36px
    rgba(59, 129, 255, .11),
    0 0 46px
    rgba(171, 66, 255, .06),
    inset 0 1px 0
    rgba(255, 255, 255, .06);
}

#faq .v2-faq-list details[open]::before {
  opacity: .88;

  box-shadow:
    0 0 24px
    rgba(69, 177, 255, .56);
}

/* ============================================================
   QUESTION
   ============================================================ */

#faq .v2-faq-list summary {
  position: relative;

  cursor: pointer;

  list-style: none;

  min-height: 76px;

  display: flex;

  align-items: center;

  padding:
    22px
    84px
    22px
    30px;

  color:
    rgba(
      255,
      255,
      255,
      .96
    );

  font-family:
    "Russo One",
    sans-serif;

  font-size: 18px;

  font-weight: 400;

  line-height: 1.35;

  user-select: none;

  outline: none;

  transition:
    color .18s ease,
    background .18s ease;
}

#faq .v2-faq-list summary::-webkit-details-marker {
  display: none;
}

#faq .v2-faq-list details[open] summary {
  color: #ffffff;

  background:
    linear-gradient(
      90deg,
      rgba(35, 139, 255, .055),
      transparent 58%,
      rgba(176, 70, 255, .035)
    );
}

/* Soft divider inside open card */

#faq .v2-faq-list details[open] summary::before {
  content: "";

  position: absolute;

  left: 30px;
  right: 84px;
  bottom: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(61, 211, 255, .38),
      rgba(99, 113, 255, .22),
      rgba(199, 74, 255, .12),
      transparent
    );
}

/* ============================================================
   PLUS / CLOSE CONTROL
   ============================================================ */

#faq .v2-faq-list summary::after {
  content: "+";

  position: absolute;

  top: 50%;
  right: 25px;

  width: 40px;
  height: 40px;

  transform:
    translateY(-50%);

  display: grid;

  place-items: center;

  border:
    1px solid
    rgba(
      91,
      201,
      255,
      .34
    );

  border-radius: 50%;

  color: #66e9ff;

  background:
    linear-gradient(
      135deg,
      rgba(26, 112, 255, .20),
      rgba(142, 74, 255, .20)
    );

  box-shadow:
    0 0 22px
    rgba(68, 139, 255, .18),
    inset 0 1px 0
    rgba(255, 255, 255, .08);

  font-family:
    Arial,
    sans-serif;

  font-size: 28px;

  font-weight: 300;

  line-height: 1;

  transition:
    transform .20s ease,
    border-color .20s ease,
    color .20s ease,
    box-shadow .20s ease,
    background .20s ease;
}

#faq .v2-faq-list summary:hover::after {
  border-color:
    rgba(
      105,
      224,
      255,
      .62
    );

  box-shadow:
    0 0 28px
    rgba(67, 169, 255, .30),
    inset 0 1px 0
    rgba(255, 255, 255, .10);
}

#faq .v2-faq-list details[open] summary::after {
  transform:
    translateY(-50%)
    rotate(45deg);

  color: #ffffff;

  border-color:
    rgba(
      215,
      91,
      255,
      .54
    );

  background:
    linear-gradient(
      135deg,
      rgba(38, 141, 255, .28),
      rgba(190, 62, 255, .28)
    );

  box-shadow:
    0 0 30px
    rgba(159, 71, 255, .26),
    inset 0 1px 0
    rgba(255, 255, 255, .10);
}

/* Keyboard focus */

#faq .v2-faq-list summary:focus-visible {
  box-shadow:
    inset 0 0 0 2px
    rgba(102, 233, 255, .55);
}

/* ============================================================
   ANSWER
   ============================================================ */

#faq .v2-faq-list details p {
  position: relative;

  z-index: 1;

  margin: 0;

  padding:
    18px
    84px
    26px
    30px;

  color:
    rgba(
      225,
      233,
      255,
      .78
    );

  font-size: 16px;

  line-height: 1.68;
}

#faq .v2-faq-list details[open] p {
  animation:
    puskFaqReveal
    .18s
    ease-out;
}

@keyframes puskFaqReveal {

  from {
    opacity: .40;

    transform:
      translateY(-3px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

/* ============================================================
   MOBILE FROZEN
   ============================================================ */

@media (max-width: 760px) {

  #faq.v2-faq {
    display: none;
  }

}