:root {
  --bg: #020816;
  --bg-2: #07172d;
  --panel: rgba(6, 20, 40, 0.84);
  --panel-2: rgba(8, 27, 54, 0.76);
  --line: rgba(47, 151, 255, 0.34);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-soft: rgba(255, 255, 255, 0.56);
  --blue: #2f97ff;
  --blue-2: #62b7ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.faq-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 15%, rgba(47, 151, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(47, 151, 255, 0.11), transparent 32%),
    linear-gradient(135deg, #020816 0%, #07172d 52%, #020816 100%);
  overflow-x: hidden;
}

.faq-section {
  min-height: 100vh;
  padding: 32px;
  display: grid;
  place-items: center;
  position: relative;
}

.faq-section::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -120px;
  height: 230px;
  background:
    radial-gradient(ellipse at center, rgba(47, 151, 255, 0.22), transparent 56%),
    repeating-radial-gradient(ellipse at center, rgba(47, 151, 255, 0.38) 0 1px, transparent 1px 10px);
  opacity: 0.28;
  transform: perspective(700px) rotateX(64deg);
  pointer-events: none;
}

.faq-grid {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.faq-side-card {
  min-height: 704px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 34px 30px;
  background:
    linear-gradient(180deg, rgba(7, 28, 55, 0.92), rgba(4, 15, 31, 0.88)),
    radial-gradient(circle at bottom left, rgba(47, 151, 255, 0.17), transparent 48%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.faq-side-card::after {
  content: "";
  position: absolute;
  left: -80px;
  right: -80px;
  bottom: -85px;
  height: 190px;
  background:
    radial-gradient(ellipse at center, rgba(47, 151, 255, 0.26), transparent 55%),
    repeating-radial-gradient(ellipse at center, rgba(47, 151, 255, 0.50) 0 1px, transparent 1px 10px);
  opacity: 0.45;
  transform: perspective(520px) rotateX(62deg);
}

.logo-wrap,
.side-copy,
.side-features,
.return-btn {
  position: relative;
  z-index: 2;
}

.logo-wrap {
  margin-bottom: 34px;
}

.logo-wrap img {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-block;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.side-copy h1 {
  margin: 12px 0 16px;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.side-copy h1 span {
  color: var(--blue-2);
}

.side-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.side-copy p::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 24px;
  background: var(--blue);
  border-radius: 99px;
}

.side-features {
  margin-top: auto;
  display: grid;
  gap: 14px;
  padding: 30px 0 24px;
}

.feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(98, 183, 255, 0.24);
  background: linear-gradient(135deg, rgba(47, 151, 255, 0.16), rgba(47, 151, 255, 0.06));
  color: var(--text);
  box-shadow: 0 0 24px rgba(47, 151, 255, 0.10);
}

.feature p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.return-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font-weight: 800;
  transition: 0.24s ease;
}

.return-btn span {
  color: var(--blue-2);
  font-size: 22px;
}

.return-btn:hover {
  background: rgba(47, 151, 255, 0.13);
  transform: translateY(-2px);
}

.faq-main {
  min-height: 704px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.faq-header {
  margin-bottom: 20px;
}

.faq-header h2 {
  margin: 8px 0 8px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.faq-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 28, 56, 0.78), rgba(4, 17, 35, 0.76));
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

.faq-item.is-open {
  border-color: var(--line);
}

.faq-question {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font: inherit;
  font-size: 15.5px;
  text-align: left;
}

.faq-question strong {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(98, 183, 255, 0.8);
  color: var(--blue-2);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.faq-item.is-open .faq-question {
  color: var(--blue-2);
  font-weight: 800;
}

.faq-item.is-open .faq-question strong {
  background: var(--blue);
  border-color: var(--blue);
  color: #001123;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.faq-item.is-open .faq-answer {
  max-height: 190px;
}

.extra-faqs {
  display: none;
  gap: 10px;
}

.extra-faqs.is-visible {
  display: grid;
  margin-top: 10px;
}

.show-more-btn {
  align-self: center;
  margin-top: auto;
  min-width: 260px;
  padding: 13px 28px;
  border-radius: 12px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.24s ease;
}

.show-more-btn:hover {
  background: rgba(47, 151, 255, 0.12);
  transform: translateY(-2px);
}

.show-more-btn span {
  margin-left: 8px;
}

@media (max-width: 1024px) {
  .faq-section {
    min-height: auto;
    padding: 28px 18px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-side-card,
  .faq-main {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .faq-side-card {
    padding: 28px 22px;
  }

  .faq-header h2 {
    font-size: 38px;
  }

  .faq-question {
    font-size: 14.5px;
  }
}


/* Premium animated blue background details */
.faq-page::before,
.faq-page::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
}

.faq-page::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(47, 151, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 62%, rgba(47, 151, 255, 0.10), transparent 34%),
    radial-gradient(circle at 50% 95%, rgba(47, 151, 255, 0.14), transparent 30%);
  filter: blur(52px);
  animation: petrotekAurora 16s ease-in-out infinite alternate;
}

.faq-page::after {
  background-image:
    linear-gradient(115deg, transparent 0%, transparent 48%, rgba(47,151,255,.10) 49%, transparent 50%, transparent 100%),
    radial-gradient(rgba(98,183,255,.22) 1px, transparent 1px);
  background-size: 100% 100%, 42px 42px;
  opacity: 0.14;
  animation: petrotekGridDrift 26s linear infinite;
}

@keyframes petrotekAurora {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  100% { transform: translate3d(1.5%, 1.5%, 0) scale(1.08); }
}

@keyframes petrotekGridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(32px, -32px, 0); }
}
