/* Ginto Copilot Regular */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-Regular.woff2") format("woff2"),
    url("fonts/GintoCopilot-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

/* Ginto Copilot Regular Italic */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-RegularItalic.woff2") format("woff2"),
    url("fonts/GintoCopilot-RegularItalic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

/* Ginto Copilot Light */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-Light.woff2") format("woff2"),
    url("fonts/GintoCopilot-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

/* Ginto Copilot Light Italic */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-LightItalic.woff2") format("woff2"),
    url("fonts/GintoCopilot-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
}

/* Ginto Copilot Medium */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-Medium.woff2") format("woff2"),
    url("fonts/GintoCopilot-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

/* Ginto Copilot Medium Italic */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-MediumItalic.woff2") format("woff2"),
    url("fonts/GintoCopilot-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}

/* Ginto Copilot Semibold */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-Semibold.woff2") format("woff2"),
    url("fonts/GintoCopilot-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

/* Ginto Copilot Semibold Italic */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-SemiboldItalic.woff2") format("woff2"),
    url("fonts/GintoCopilot-SemiboldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
}

/* Ginto Copilot Bold */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-Bold.woff2") format("woff2"),
    url("fonts/GintoCopilot-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

/* Ginto Copilot Bold Italic */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-BoldItalic.woff2") format("woff2"),
    url("fonts/GintoCopilot-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

/* Ginto Copilot Black */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-Black.woff2") format("woff2"),
    url("fonts/GintoCopilot-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

/* Ginto Copilot Black Italic */
@font-face {
  font-family: "GintoCopilot";
  src: url("fonts/GintoCopilot-BlackItalic.woff2") format("woff2"),
    url("fonts/GintoCopilot-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "GintoCopilot", "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000000;
  z-index: 0;
  background: transparent;
  text-align: center;
  transition: color 0.3s linear;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

@media (hover: none) and (pointer: coarse) {

  html,
  body {
    scroll-snap-type: y mandatory;
  }
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h2 {
  font-size: 4rem;
  font-weight: 600;
  line-height: 100%;
}

p {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0;
  line-height: 145%;
}

.higlightText {
  font-weight: 600;
}
.nowrap {
  white-space: nowrap;
}
.pageBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, #210D38, #2c1860);

  /*background: linear-gradient(120deg, #2f1253, #102e61);
      background: linear-gradient(120deg, #2f1253, #10063d);
      background: linear-gradient(120deg, #020e6a, #00205a);*/
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
  opacity: 0;
}

.pageBackgroundLight {
  background: linear-gradient(135deg, #F1F7FF, #E7E1FF);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
}

section {
  scroll-snap-align: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 4rem;
  box-sizing: border-box;
  position: relative;
}

.heroSection {
  display: grid;
  grid-template-columns: 1.5fr 2fr 4rem;
  grid-template-rows: 60px 1fr;
  grid-template-areas:
    "logo   heroImg heroImg"
    "content heroImg heroImg";
  padding-right: 0;
  justify-items: center;
  align-items: center;
  gap: 1rem;
}

.heroSection .copilotPCLogo {
  grid-area: logo;
}

.heroSection .copilotPCLogo img {
  height: 60px;
}

.heroSection .heroImg {
  grid-area: heroImg;
  background: url('images/heroImg.png') center center no-repeat;
  background-size: contain;
  height: 100%;
  width: 100%;
}

.heroSection .content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.heroSection .content h1 {
  font-size: 2.3rem;
  font-weight: 600;
  margin: 0;
}

.heroSection .content .icon {
  width: 120px;
  height: 120px;
  margin-inline-end: 1rem;
  margin-bottom: 3rem;
}

.heroSection .content .cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: max-content;
  gap: 1rem;
  margin-top: 3rem;
}

.lastSection .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content {
  padding: 2rem;
}

.cta-button {
  background: rgba(255, 255, 255, 0.85);
  color: #242424;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(30, 34, 90, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  justify-content: center;
  text-decoration: none;
}

.notify {
  border: 2px solid #3552A8;
  color: #234098;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px 0 rgba(30, 34, 90, 0.12);
  transform: translateY(-1px) scale(1.03);
}


.cta-button svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: scale(1.4);
}

.image-block {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-areas: "image text";
  gap: 4rem;
  align-items: center;
}

.appFlow:nth-of-type(odd) .image-block {
  grid-template-columns: 1fr 1.6fr;
  grid-template-areas: "text image";
}

.image-block .appDesc {
  grid-area: text;
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: 580px;
}

.image-block .appDesc h2 {
  margin: 0;
}

.image-block .image-container {
  grid-area: image;
}

.image-container img {
  max-width: 100%;
  height: auto;
  /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);*/
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.image-container img.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  font-size: 0.75rem;
  color: #88878A;
  text-align: center;
  padding: 1.5rem 0 2rem;
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  height: 22px;
  /* Adjust for preferred size */
  opacity: 0.85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  color: #88878A;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .icon {
    width: 100px;
    height: 100px;
    margin-top: 6vh;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .copilot-logo {
    height: 50px;
  }

  section {
    padding: 2rem 1rem;
  }
}

#videoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#videoModal iframe {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

#videoModal .close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}




* {
  box-sizing: border-box;
}



body.theme-light {
  color: #1f2937;
}

body.theme-dark {
  color: rgb(245, 245, 247);
  background: #020617;

}

.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg-wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("images/noise.svg");
  background-size: cover;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
}

.bg-0 {
  background: linear-gradient(135deg, #EEF3FF, #E4DDFF);
}

.bg-1 {
  background: linear-gradient(135deg, #182F86 0%, #0D1D60 100%);
}

.bg-2 {
  background: linear-gradient(135deg, #071C50 0%, #010B2C 100%);
}

.bg-3 {
  background: linear-gradient(135deg, #005260 0%, #00323A 100%);
  /* improved */
}

.bg-4 {
  background: linear-gradient(135deg, #0081A0 0%, #004A5D 100%);
}

.bg-5 {
  background: linear-gradient(135deg, #7A294A 0%, #3A1130 100%);
}

.bg-6 {
  background: linear-gradient(135deg, #34247A 0%, #100B2C 100%);
}
.bg-7 {
  background: linear-gradient(135deg, #EDEFFF 0%, #F4F1FF 100%);
}

.bg-8 {
  background: linear-gradient(135deg, #F8F1FF 0%, #FFEFFE 100%);
}

.bg-9 {
  background: linear-gradient(135deg, #F3E5FF 0%, #FFE3F4 100%);
}

.bg-10 {
  background: linear-gradient(135deg, #FFE6F2 0%, #FFF4E8 100%);
}

.bg-layer.is-active {
  opacity: 1;
}


@media (max-width: 1366px) and (min-width: 769px) {

  html,
  body {
    font-size: 95%;
  }

  section {
    padding: 3rem 3rem;
  }

  .heroSection {
    grid-template-columns: 1.2fr 2fr 2rem;
    grid-template-rows: 40px 1fr;
    gap: 1rem;
    padding-right: 0;
  }

  .heroSection .copilotPCLogo img {
    height: 48px;
  }

  .heroSection .heroImg {
    background-size: contain;
    width: 100%;
    height: 90%;
  }

  .heroSection .content h1 {
    font-size: 2rem;
  }

  .heroSection .content .icon {
    width: 100px;
    height: 100px;
  }

  .heroSection .content .cta-row {
    margin-top: 2.5rem;
    gap: 0.75rem;
  }

  .image-block {
    gap: 3rem;
  }

  .image-block .appDesc h2 {
    font-size: 3rem;
  }

  p {
    font-size: 1.2rem;
    line-height: 150%;
  }

  .cta-button {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }

  .site-footer {
    font-size: 0.72rem;
  }

  .footer-logo img {
    height: 20px;
  }
}

@media (max-width: 768px) {

  html,
  body {
    font-size: 90%;
    text-align: center;
  }

  section {
    padding: 2.5rem 1.25rem;
    height: auto;
    min-height: 100vh;
  }

  h2 {
    font-size: 2.4rem;
    line-height: 110%;
  }

  h3 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1.1rem;
    line-height: 150%;
    padding: 0 0.5rem;
  }

  /* Hero Section */
  .heroSection {
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    height: auto;
  }

  .heroSection .copilotPCLogo img {
    height: 50px;
  }

  .heroSection .heroImg {
    width: 80%;
    height: auto;
    background-size: contain;
    margin-bottom: 1rem;
  }

  .heroSection .content h1 {
    font-size: 1.8rem;
  }

  .heroSection .content .icon {
    width: 90px;
    height: 90px;
    margin: 1.5rem 0;
  }

  .heroSection .content .cta-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
  }

  /* CTA buttons */
  .cta-button {
    padding: 0.85rem 1.7rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .image-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }


  /* Footer */
  .site-footer {
    padding: 2rem 1rem;
    gap: 0.75rem;
  }

  .footer-logo img {
    height: 18px;
  }

  .footer-links {
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  .footer-links a,
  .footer-links span {
    line-height: 1.6;
    display: inline-block;
  }

}


.trustSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.trustSection .content {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.trustSection .content h2 {
  margin-bottom: 0.75rem;
}

.trustSection .content p {
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.04),
    0 2px 6px rgba(0, 0, 0, 0.03);

  transition: background 0.3s ease;
}

body.theme-dark .trust-card {
  background: #57498fd9;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.04),
    0 0 18px rgba(180, 200, 255, 0.22);
  /* soft bloom glow */
}

.trust-card-hero {
  height: 160px;
  width: 100%;
  border-radius: 28px 28px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.trust-card-hero-classroom {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(135deg, #FFDCD4 0%, #FFC4CC 45%, #FFAEA8 100%);
}

.trust-card-hero-research {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(135deg, #EDE6FF 0%, #D9CFFF 50%, #C4B8FF 100%);
}

.trust-card-hero-privacy {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(135deg, #E1F5FF 0%, #CDEEFF 50%, #B3E4F2 100%);
}

.trust-card-body {
  padding: 1.9rem 2rem 2.2rem;
  text-align: left;

}

.trust-card-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.trust-card-body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 150%;
}

.trust-card-hero-media {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.6rem;
  box-sizing: border-box;
}

.trust-card-hero-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}


@media (max-width: 1200px) {
  .trust-grid {
    gap: 2rem;
  }

  .trust-card-hero {
    height: 150px;
  }
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-card-body {
    text-align: center;
  }

  .trust-card-hero-media {
    padding: 1.1rem 1.2rem;
  }

  .trust-card-hero {
    height: 140px;
    /* you already reduce this for tablet, keep consistent */
  }
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .trust-card-hero-media {
    padding: 1rem 1.1rem;
  }
}


/* OEM section layout stays the same */
.oemSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.oemSection .oem-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1rem;
}

.oemSection .oem-content h2 {
  margin-bottom: 0.75rem;
}

.oemSection .oem-content p {
  margin: 0 auto;
}

/* Grid */

.oem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem 0.5rem;
}

/* center the last two items */
.oem-grid > :nth-last-child(2) {
  grid-column: 2; /* second column */
}

.oem-grid > :last-child {
  grid-column: 3; /* third column */
}

/* Compact pill cards */

.oem-card {
  position: relative;
  border-radius: 18px;
  padding: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;
}

body.theme-dark .oem-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.45);
}

/* subtle arrow hint in the corner so it feels like a link */
.oem-card::after {
  content: "↗";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  font-size: 0.8rem;
  color: #9ca3af;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.oem-logo {
  height: 26px;
  display: flex;
  align-items: center;
}

.oem-logo img {
  max-height: 26px;
  width: auto;
  display: block;
}

.oem-card:hover,
.oem-card:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    0 0 14px rgba(180, 200, 255, 0.18);
  border-color: #4f46e5;
  outline: none;
}

.oem-card:hover::after,
.oem-card:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(1px) scale(1);
}

body.theme-dark .oem-card::after {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 900px) {
  .oem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oem-grid > :nth-last-child(2) {
  grid-column: auto;
}

.oem-grid > :last-child {
  grid-column: auto;
}

}



/* FAQ section layout */

.faqSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.faq-intro {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.faq-intro h2 {
  margin-bottom: 0.75rem;
}

.faq-intro p {
  margin: 0 auto;
}

/* Glassy container instead of harsh gray lines */

.faq-list {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1rem;
  padding: 0.25rem 1.75rem;

  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

/* Each row */

.faq-item {
  text-align: left;
}

.faq-item:not(:last-child) {
  border-bottom: 1px solid rgba(148, 163, 184, 0.22); /* softer, modern divider */
}

/* Header row */

.faq-header {
  width: 100%;
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;

  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-header:focus-visible, .faq-panel a:focus-visible {
  outline: none;
  text-decoration: underline;
}
.faq-question {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1f2937;
}

/* Copilot-style circular button */


.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  background: radial-gradient(circle at 30% 20%, #AB74FF, #4f46e5);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.faq-icon-line {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon-line.vertical {
  transform: rotate(90deg);
}

/* Hover */

.faq-header:hover .faq-icon {
  transform: translateY(-2px);
  background: radial-gradient(circle at 30% 20%, #9f60fd, #4f46e5);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    0 0 14px rgba(180, 200, 255, 0.18);
}

/* Open: plus tilts into an X-ish glyph */

.faq-item.is-open .faq-icon {
  transform: translateY(-1px) rotate(45deg);
}

/* Panel – left aligned now */

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height 0.26s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

.faq-panel p {
  padding: 0 0 1.4rem;
  font-size: 0.98rem;
  line-height: 150%;
  text-align: left;
}

.faq-panel p a {
  color: #4f46e5;
  text-decoration: none;
}

.faq-panel p a:hover {
  text-decoration: underline;
}

/* When item is open */

.faq-item.is-open .faq-panel {
  opacity: 1;
  transform: translateY(0);
}

/* Dark theme tweaks */

body.theme-dark .faq-list {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

body.theme-dark .faq-item:not(:last-child) {
  border-bottom-color: rgba(148, 163, 184, 0.4);
}

body.theme-dark .faq-icon {
  background: radial-gradient(circle at 30% 20%, #93c5fd, #1d4ed8);
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(148, 163, 184, 0.7);
}

/* Mobile */

@media (max-width: 768px) {
  .faq-list {
    padding: 0.25rem 1.25rem;
  }

  .faq-header {
    padding: 1.1rem 0;
  }

  .faq-question {
    font-size: 1.2rem;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }

  .faq-icon-line {
    width: 14px;
  }
}