.qantic-hero {
  background-image: url("../images/qantic/bg_01_mobile_narrow.png");
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative; /* for overlay */
  margin-top: -70px;
  padding-top: 110px;
  padding-bottom: 60px;
  border-bottom: 2px solid #14b3fa;
}

/* ensure content stays above overlay */
.qantic-hero > .container {
  position: relative;
  z-index: 1;
  transform: translateY(-50px);
}

@media screen and (min-width: 380px) {
  .qantic-hero {
    background-image: url("../images/qantic/bg_01_mobile_wide.png");
  }
}
@media screen and (min-width: 420px) {
  .qantic-hero {
    background-image: url("../images/qantic/bg_01_tablet_narrow.png");
  }
}
@media screen and (min-width: 520px) {
  .qantic-hero {
    background-image: url("../images/qantic/bg_01_tablet_wide.png");
  }
}
@media screen and (min-width: 660px) {
  .qantic-hero {
    background-image: url("../images/qantic/bg_01_desktop_narrow.png");
  }
}
@media screen and (min-width: 800px) {
  .qantic-hero {
    background-image: url("../images/qantic/bg_01_desktop_medium.png");
  }
}
@media screen and (min-width: 992px) {
  .qantic-hero {
    background-image: url("../images/qantic/bg_01_desktop_wide.png");
    background-size: initial;
    background-repeat: repeat-x;
  }
}
@media screen and (min-width: 1921px) {
  .qantic-hero {
    background-size: cover;
  }
}

/* ============================================================
   Q&A accordion (landing page FAQ)
   ============================================================ */
.qa-accordion details > summary {
  list-style: none;
  cursor: pointer;
}
.qa-accordion details > summary::-webkit-details-marker {
  display: none;
}
.qa-accordion details:not([open]) .card-body {
  display: none;
}

.qa-accordion .toggle-icon::after {
  content: "+";
  font-size: 1.2rem;
  opacity: 0.7;
}
.qa-accordion details[open] .toggle-icon::after {
  content: "–";
}

.qa-accordion .card-category {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none !important;
}

.section + .section {
  margin-top: 40px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.card-body p {
  margin-bottom: 12px;
}

p {
  line-height: 1.65;
}

/* ============================================================
   Landing page fade-in animations
   ============================================================ */

/* Base fade-in */
.fade-step {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: 0ms;
  will-change: opacity, transform;
}
.fade-step.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Staggered groups (delay is set via --delay) */
.fade-stagger .fade-step {
  transition-delay: var(--delay, 0ms);
}

/* Hero sub-headline fades in on load */
.intro-fade {
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}
.intro-fade.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .fade-step,
  .intro-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Publication badges (White Papers section)
   ============================================================ */
.pub-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.pub-badge--whitepaper {
  border-color: rgba(20, 179, 250, 0.45);
  background: rgba(20, 179, 250, 0.12);
}
.pub-badge--conference {
  border-color: rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.12);
}

/* ============================================================
   Hover effects
   ============================================================ */

/* Headings: scale on hover */
.lp-headline-zoom {
  transition: transform 0.25s ease;
}
.lp-headline-zoom:hover {
  transform: scale(1.04);
}

/* Logo link: slightly larger scale */
.lp-logo-link {
  display: inline-block;
  transition: transform 0.25s ease;
}
.lp-logo-link:hover {
  transform: scale(1.07);
}

/* USP row items: blue glow on hover */
.lp-usp-item {
  transition: text-shadow 0.3s ease;
  text-shadow: 0 0 0 rgba(20, 179, 250, 0);
}
.lp-usp-item:hover {
  text-shadow: 0 0 18px rgba(20, 179, 250, 0.75);
}

/* Standard card lift (Use Cases, Our Tool, Your Options) */
.lp-card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* How It Works card lift (slightly different effect) */
.lp-card-hover--step {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-card-hover--step:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* CTA card lift */
.lp-card-hover--cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-card-hover--cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* Sub-headline glow on hover */
.intro-fade {
  font-family: "Work Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 28px;
  text-shadow: 0 0 0 rgba(20, 179, 250, 0);
}
.intro-fade:hover {
  text-shadow: 0 0 18px rgba(20, 179, 250, 0.75);
}

/* ============================================================
   CTA Card styling
   ============================================================ */
.card.fade-step {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================
   Full-bleed utility  (width:100vw, centred via negative margins)
   ============================================================ */
.lp-full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ============================================================
   Section horizontal padding utility
   ============================================================ */
.lp-section-px {
  padding-left: 60px;
  padding-right: 60px;
}

@media (max-width: 575px) {
  .lp-section-px {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================================================
   Full-bleed section dividers
   ============================================================ */
.lp-divider {
  border-top: 1px solid #6c757d;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.lp-divider--sm {
  margin-top: 80px;
  margin-bottom: 0;
}

.lp-divider--md {
  margin-top: 100px;
  margin-bottom: 80px;
}

.lp-divider--lg {
  margin-top: 100px;
  margin-bottom: 60px;
}

/* ============================================================
   Row spacing
   ============================================================ */

.lp-row-mt {
  margin-top: 25px;
}
.lp-row-mt-lg {
  margin-top: 40px;
}

/* ============================================================
   Structural components
   ============================================================ */

.lp-hero-title {
  font-family: "Work Sans", sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.15;
}

.lp-cta-btn {
  width: 60%;
  max-width: 1400px;
  padding: 16px 28px;
  font-size: 1.2rem;
  font-weight: 600;
}

.lp-usp-row {
  gap: 36px;
  color: #ffffff;
  opacity: 0.95;
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 400;
}

.lp-usp-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  margin-right: 8px;
}

/* 4b — How It Works */
.lp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.lp-step-icon {
  margin: 12px 0;
}

.lp-step-icon-svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
}

.lp-step-arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
}

.lp-step-arrow-icon {
  width: 30px;
  height: 30px;
  stroke: #ffffff;
  opacity: 0.5;
}

.lp-claims {
  background: linear-gradient(
    180deg,
    rgba(20, 179, 250, 0.07),
    rgba(20, 179, 250, 0.03)
  );
  border-top: 1px solid rgba(20, 179, 250, 0.4);
  border-bottom: 1px solid rgba(20, 179, 250, 0.4);
  padding: 40px 60px;
  margin-top: 100px;
  margin-bottom: 150px;
}

.lp-claims__col {
  padding: 0 30px;
}

.lp-claims__col--mid {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-claims__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 14px;
  line-height: 1.5;
}

.lp-video {
  width: 75%;
  max-width: 1000px;
  border-radius: 8px;
}

.card-category {
  font-size: 1.1rem;
  font-weight: 600;
}

.lp-card-header-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

.lp-cta-card {
  background: linear-gradient(
    180deg,
    rgba(10, 35, 70, 0.95),
    rgba(8, 28, 55, 0.95)
  );
  border: 1px solid rgba(20, 179, 250, 0.35);
  padding: 55px 35px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: none !important;
}

.lp-cta-body {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lp-cta-final-btn {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.lp-cta-fine-print {
  margin-top: 22px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.lp-subtext {
  opacity: 0.85;
}

.lp-pub-meta {
  margin-bottom: 10px;
}

.lp-pub-date {
  font-size: 0.95rem;
  opacity: 0.75;
}

.lp-pub-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.lp-pub-subtitle {
  opacity: 0.75;
  margin-bottom: 18px;
}

.lp-by-label {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
  opacity: 0.6;
  margin-bottom: 20px;
}

.lp-logo-img {
  max-width: 260px;
  height: auto;
  opacity: 0.9;
}

.lp-footer {
  width: 100%;
  margin-top: 80px;
  padding: 30px 60px;
  font-size: 0.95rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.lp-footer__legal {
  opacity: 0.85;
}

.lp-footer__legal a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 6px;
}

.lp-footer__copy {
  opacity: 0.6;
}

/* ============================================================
   Responsive overrides
   ============================================================ */

/* < 768px — compact hero, smaller usp, stacked footer */
@media (max-width: 767px) {
  .qantic-hero {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .lp-hero-title {
    font-size: 2rem;
  }

  .lp-cta-btn {
    width: 90%;
    font-size: 1.05rem;
  }

  .lp-usp-row {
    gap: 18px;
    font-size: 1rem;
  }

  .lp-claims {
    padding: 28px 20px;
    margin-top: 60px;
    margin-bottom: 80px;
  }

  .lp-claims__col--mid {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lp-footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    text-align: center;
  }
}

/* < 576px — tightest breakpoint */
@media (max-width: 575px) {
  .lp-hero-title {
    font-size: 1.7rem;
  }

  .lp-video {
    width: 100%;
  }
}

.navbar .navbar-nav.mr-auto {
  display: none !important;
}

#navbar-user-area {
  display: flex !important;
  margin-left: auto !important;
}

footer {
  display: none !important;
}

/* Claims section */
.countup-init {
  opacity: 0;
}
.countup-active {
  opacity: 1;
  animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
  from {
    text-shadow: 0 0 1px #14b3fa;
  }
  to {
    text-shadow: 0 0 6px #14b3fa;
  }
}
.claims-heading {
  font-size: 1.5rem;
  color: #14b3fa;
  font-weight: 400;
  line-height: 1;
}

/* ============================================================
   Hero section icon
   ============================================================ */
.lp-hero-icon {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 45px;
}

/* ============================================================
   Utility classes
   ============================================================ */
.lp-nowrap {
  white-space: nowrap;
}

.lp-bold {
  font-weight: 700;
}

/* ============================================================
   Spacer utility
   ============================================================ */
.lp-spacer-lg {
  height: 90px;
}

/* ============================================================
   Use case icons
   ============================================================ */
.lp-usecase-icon {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
  margin-right: 12px;
}

.lp-usecase-icon--lg {
  width: 40px;
  height: 40px;
  stroke: #ffffff;
  margin-right: 12px;
}

.lp-usecase-icon--sm {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  margin-right: 12px;
}

/* ============================================================
   Tool section icons
   ============================================================ */
.lp-tool-icon {
  margin-top: 2px;
  margin-bottom: 2px;
  width: 25px;
  height: 25px;
  stroke: #ffffff;
  stroke-width: 2;
}

.lp-tool-icon-tim {
  margin-top: 2px;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 25px;
}
