/* ==========================================================================
 *  QYNTRO PREMIUM — "studio black" edition (higgsfield.ai-inspired)
 *  Soft near-black ground, acid-lime signature accent, hot-pink labels,
 *  chunky uppercase Space Grotesk display type, app-like dark cards,
 *  floating 3D orbs + tilt cards (via qyntro-premium.js).
 *  Additive override layer: loads AFTER the theme stylesheet via the admin
 *  "Custom JS Code to Header" field. No original file is modified.
 *  Remove the <link> tag to instantly revert to the stock design.
 * ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --qp-bg: #0f1113;
  --qp-bg-deep: #0a0b0d;
  --qp-card: #17191d;
  --qp-card-hover: #1d2025;
  --qp-border: #26292e;
  --qp-border-strong: #34383f;
  --qp-text: #f7f7f8;
  --qp-text-muted: #9b9ea6;
  --qp-text-faint: #6b6e76;
  --qp-lime: #d1fe17;
  --qp-lime-soft: rgba(209, 254, 23, 0.12);
  --qp-lime-ink: #131517;
  --qp-pink: #f72fa0;
  --qp-display: 'Space Grotesk', 'Poppins', sans-serif;
  --qp-radius: 16px;
  --qp-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --qp-glow-lime: 0 0 0 1px rgba(209, 254, 23, 0.25), 0 10px 40px -8px rgba(209, 254, 23, 0.35);
}

@keyframes qp-orb-float {
  0%, 100% { transform: translateY(0) rotate3d(1, 1, 0, 0deg); }
  50% { transform: translateY(-22px) rotate3d(1, 1, 0, 10deg); }
}

@keyframes qp-neon-pulse {
  0%, 100% { text-shadow: 0 0 18px rgba(209, 254, 23, 0.35), 0 0 60px rgba(209, 254, 23, 0.15); }
  50% { text-shadow: 0 0 26px rgba(209, 254, 23, 0.55), 0 0 90px rgba(209, 254, 23, 0.25); }
}

/* --------------------------------------------------------------------------
 * GLOBAL GROUND
 * ------------------------------------------------------------------------ */
body.frontend-body {
  background: var(--qp-bg) !important;
  color: var(--qp-text);
}

.frontend-body .secondary-background,
.frontend-body .contact-background,
.frontend-body .blue-background,
.frontend-body .download-page,
.frontend-body #page-wrapper {
  background: var(--qp-bg) !important;
}

/* Section headings: chunky lime uppercase display type, pink kicker */
.frontend-body .row .title h3 {
  font-family: var(--qp-display);
  color: var(--qp-lime);
  text-transform: uppercase;
  text-shadow: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.frontend-body .row .title h3 span { color: var(--qp-text); }
.frontend-body .row .title p {
  color: var(--qp-pink);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.frontend-body .row .title h6 { color: var(--qp-text-muted); }

/* Primary CTA buttons: lime pill, dark ink, neon glow */
.frontend-body .btn-primary-frontend,
.frontend-body .btn-primary-frontend-small {
  background: var(--qp-lime);
  background-image: none;
  color: var(--qp-lime-ink) !important;
  font-weight: 700;
  border: none;
  border-top: none;
  box-shadow: var(--qp-glow-lime);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.frontend-body .btn-primary-frontend span,
.frontend-body .btn-primary-frontend-small span { color: var(--qp-lime-ink) !important; }
.frontend-body .btn-primary-frontend:hover,
.frontend-body .btn-primary-frontend-small:hover {
  background: var(--qp-lime);
  border: none;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.4), 0 14px 50px -6px rgba(209, 254, 23, 0.45);
}

/* ==========================================================================
 * HERO — studio black, lime neon rotating word, floating orbs
 * ========================================================================== */
.frontend-body #main {
  background: var(--qp-bg);
  background-image: none;
}

.frontend-body #main #main-background {
  position: relative;
  overflow: hidden;
  background-color: var(--qp-bg);
  background-image:
    radial-gradient(560px 380px at 16% 12%, rgba(209, 254, 23, 0.07), transparent 65%),
    radial-gradient(620px 420px at 86% 30%, rgba(247, 47, 160, 0.07), transparent 62%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
}
.frontend-body #main #main-background > .container { position: relative; z-index: 2; }

/* Floating glossy 3D orbs (elements added by qyntro-premium.js) */
.frontend-body .qp-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  animation: qp-orb-float 7s ease-in-out infinite;
}
.frontend-body .qp-orb-1 {
  width: 96px; height: 96px; left: 9%; top: 32%;
  background: radial-gradient(circle at 30% 28%, #fdffe8 0%, #eaff86 35%, #c8f215 70%, #8fb400 100%);
  box-shadow: 0 26px 46px -16px rgba(209, 254, 23, 0.35), inset 0 -10px 22px rgba(90, 116, 0, 0.4);
  animation-duration: 8s;
}
.frontend-body .qp-orb-2 {
  width: 58px; height: 58px; right: 12%; top: 24%;
  background: radial-gradient(circle at 32% 30%, #ffffff 0%, #ffd2ec 35%, #f75fb8 72%, #d5127f 100%);
  box-shadow: 0 20px 38px -14px rgba(247, 47, 160, 0.4), inset 0 -8px 16px rgba(140, 8, 82, 0.4);
  animation-duration: 6.5s;
  animation-delay: -2s;
}
.frontend-body .qp-orb-3 {
  width: 38px; height: 38px; right: 27%; bottom: 27%;
  background: radial-gradient(circle at 32% 30%, #ffffff 0%, #d9dde3 40%, #8d95a3 75%, #545b66 100%);
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.5), inset 0 -6px 12px rgba(20, 24, 30, 0.45);
  animation-duration: 9s;
  animation-delay: -4s;
}
@media (max-width: 992px) { .frontend-body .qp-orb { display: none; } }

/* Hero typography: uppercase display H1, neon lime rotating word */
.frontend-body #main .text-container h1 {
  font-family: var(--qp-display);
  text-transform: uppercase;
  color: var(--qp-text);
  text-shadow: none;
  letter-spacing: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.04;
  font-weight: 700;
}
.frontend-body #main .text-container h2.ah-headline {
  font-family: var(--qp-display);
  text-transform: uppercase;
  color: var(--qp-text);
  text-shadow: none;
  letter-spacing: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.15;
  font-weight: 700;
}
.frontend-body #main .text-container h6 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--qp-border-strong);
  background: rgba(23, 25, 29, 0.85);
  color: var(--qp-text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}
.frontend-body #main .text-container h6 i { color: var(--qp-lime); }
.frontend-body #main .text-container p {
  color: var(--qp-text-muted);
  font-weight: 500;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: none;
}

/* Rotating headline: clip so words never overlap the static H1 (stock bug),
   neon lime ink with a soft breathing glow */
.frontend-body #main .word-container { overflow: hidden; }
.frontend-body #main .word-container h2.ah-headline { overflow: hidden; }
.frontend-body #main .word-container .ah-words-wrapper b {
  color: var(--qp-lime);
  animation: qp-neon-pulse 3.2s ease-in-out infinite;
}

/* Hero CTA + fine print */
.frontend-body #main #top-main-button {
  background: var(--qp-lime);
  box-shadow: var(--qp-glow-lime);
}
.frontend-body #main #top-main-button span { color: var(--qp-lime-ink) !important; }
.frontend-body #main .text-container .fs-12 { color: var(--qp-text-faint); font-weight: 600; }

/* Social-proof pill: dark chip */
.frontend-body #main .happy-customers {
  color: var(--qp-text-muted);
  background-color: var(--qp-card);
  border: 1px solid var(--qp-border);
  box-shadow: none;
}
.frontend-body #main .happy-customers .customer-avatars .small-avatar {
  box-shadow: 0 0 0 2px var(--qp-bg);
}

/* Hero curve: match page ground */
.frontend-body #main .curve-box .curve { fill: var(--qp-bg); }

/* Navbar: black bar, lime hover, lime Sign Up pill */
.frontend-body #main .navbar { border-bottom: 1px solid var(--qp-border); }
.frontend-body #main .navbar-nav li.nav-item a.nav-link { color: var(--qp-text); text-shadow: none; }
.frontend-body #main .navbar-nav li.nav-item a.nav-link:hover,
.frontend-body #main .navbar-nav li.nav-item a.active { color: var(--qp-lime) !important; }
.frontend-body #main #login-button { color: var(--qp-text); }
.frontend-body #main #login-button:hover { color: var(--qp-lime); }
.frontend-body #main #frontend-local .nav-link.icon .header-icon { color: var(--qp-text); }
.frontend-body #main .minimize-navbar {
  background: rgba(15, 17, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--qp-border);
}
.frontend-body #main .minimize-navbar li.nav-item a.nav-link { color: var(--qp-text) !important; }
.frontend-body #main .minimize-navbar li.nav-item a.active { color: var(--qp-lime) !important; }
.frontend-body #main .minimize-navbar #login-button { color: var(--qp-text); }
.frontend-body #main .minimize-navbar .icon span,
.frontend-body #main .minimize-navbar .icon i { color: var(--qp-text); }
.frontend-body #main .register-button,
.frontend-body #main .dashboard-button,
.frontend-body .register-button,
.frontend-body .dashboard-button {
  background: var(--qp-lime);
  color: var(--qp-lime-ink) !important;
  font-weight: 700;
  box-shadow: none;
}
.frontend-body #main .register-button:hover,
.frontend-body #main .dashboard-button:hover,
.frontend-body .register-button:hover,
.frontend-body .dashboard-button:hover {
  background: var(--qp-lime);
  filter: brightness(1.08);
  box-shadow: 0 6px 24px -6px rgba(209, 254, 23, 0.5);
}

/* ==========================================================================
 * CUSTOM PAGES (About / Terms / Privacy / Refund) — premium document layout
 * ========================================================================== */
/* page header title (shared with contact) */
.frontend-body #contact-row h1 {
  font-family: var(--qp-display);
  text-transform: uppercase;
  color: var(--qp-text) !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-shadow: 0 0 30px rgba(209, 254, 23, 0.25);
}
.frontend-body #contact-row span a { color: var(--qp-lime) !important; }

/* the content wrapped in a premium reading card */
.frontend-body #page-wrapper { background: var(--qp-bg); padding-bottom: 80px; }
.frontend-body #page-wrapper .row > .col-sm-12 > .p-4 {
  max-width: 880px;
  margin: 0 auto;
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  border-radius: 20px;
  padding: 44px 48px !important;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9);
}
@media (max-width: 700px) {
  .frontend-body #page-wrapper .row > .col-sm-12 > .p-4 { padding: 28px 22px !important; }
}
/* content typography */
.frontend-body #page-wrapper .mb-9 {
  color: var(--qp-text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.frontend-body #page-wrapper .mb-9 h1,
.frontend-body #page-wrapper .mb-9 h2,
.frontend-body #page-wrapper .mb-9 h3,
.frontend-body #page-wrapper .mb-9 h4 {
  font-family: var(--qp-display);
  color: var(--qp-text);
  font-weight: 700;
  line-height: 1.25;
  margin: 1.8em 0 0.6em;
}
/* Rich admin content uses <h1> for numbered SECTIONS ("1. …") and <h2> for
   SUBSECTIONS ("3.1 …"), so h1 is the prominent lime section header and h2 is
   the lighter sub-header. */
.frontend-body #page-wrapper .mb-9 h1 {
  font-size: clamp(21px, 2.6vw, 25px);
  color: var(--qp-lime);
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--qp-border);
  margin: 2.1em 0 0.7em;
}
.frontend-body #page-wrapper .mb-9 h1:first-child { margin-top: 0; }
.frontend-body #page-wrapper .mb-9 h2 {
  font-size: 18px;
  color: var(--qp-text);
  font-weight: 600;
  margin: 1.5em 0 0.5em;
}
.frontend-body #page-wrapper .mb-9 h3 { font-size: 16px; color: var(--qp-lime); font-weight: 600; }
.frontend-body #page-wrapper .mb-9 h4 { font-size: 15px; color: var(--qp-text); }
/* tighten list spacing in dense legal docs */
.frontend-body #page-wrapper .mb-9 ul,
.frontend-body #page-wrapper .mb-9 ol { margin: 0.4em 0 1.2em; }
.frontend-body #page-wrapper .mb-9 li { margin-bottom: 0.35em; }
.frontend-body #page-wrapper .mb-9 p { margin: 0 0 1.1em; }

/* ---- normalize pasted rich-text (e.g. Google Docs) markup ----
   Pasted content wraps each <li>'s text in a <p style="margin-top:12pt"> and
   carries inline font-family:Arial / font-size:11pt / color:white, which broke
   the list layout (bullet stranded above its text) and clashed with the theme.
   These overrides re-flow it into the page's own typography. */
.frontend-body #page-wrapper .mb-9 li > p { margin: 0 !important; }
.frontend-body #page-wrapper .mb-9 li { padding-left: 4px; }
.frontend-body #page-wrapper .mb-9 ul,
.frontend-body #page-wrapper .mb-9 ol { padding-left: 1.5em !important; padding-inline-start: 1.5em !important; }
.frontend-body #page-wrapper .mb-9 span,
.frontend-body #page-wrapper .mb-9 li,
.frontend-body #page-wrapper .mb-9 p { font-family: inherit !important; }
.frontend-body #page-wrapper .mb-9 span { font-size: inherit !important; }
.frontend-body #page-wrapper .mb-9 [style*="color"]:not(strong):not(b):not(a) { color: inherit !important; }
/* JS-promoted section headings + "Last updated" subtitle */
.frontend-body #page-wrapper .mb-9 .qp-legal-date {
  color: var(--qp-lime);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: -6px 0 2em;
}
.frontend-body #page-wrapper .mb-9 h2.qp-legal-h {
  font-family: var(--qp-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--qp-text);
  line-height: 1.3;
  margin: 2em 0 0.7em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--qp-border);
}
.frontend-body #page-wrapper .mb-9 h2.qp-legal-h:first-child { margin-top: 0; }
.frontend-body #page-wrapper .mb-9 .qp-legal-lead {
  font-family: var(--qp-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--qp-text);
  line-height: 1.4;
  margin: 0 0 1.4em;
}
.frontend-body #page-wrapper .mb-9 .qp-legal-num { color: var(--qp-lime); margin-right: 4px; }
.frontend-body #page-wrapper .mb-9 a { color: var(--qp-lime); text-decoration: underline; }
.frontend-body #page-wrapper .mb-9 a:hover { filter: brightness(1.15); }
.frontend-body #page-wrapper .mb-9 strong,
.frontend-body #page-wrapper .mb-9 b { color: var(--qp-text); font-weight: 700; }
.frontend-body #page-wrapper .mb-9 ul,
.frontend-body #page-wrapper .mb-9 ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.frontend-body #page-wrapper .mb-9 li { margin-bottom: 0.5em; padding-left: 0.2em; }
.frontend-body #page-wrapper .mb-9 li::marker { color: var(--qp-lime); }
.frontend-body #page-wrapper .mb-9 hr {
  border: none;
  border-top: 1px solid var(--qp-border);
  margin: 2em 0;
}
.frontend-body #page-wrapper .mb-9 blockquote {
  border-left: 3px solid var(--qp-lime);
  background: rgba(209, 254, 23, 0.05);
  margin: 1.4em 0;
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  color: var(--qp-text);
}
.frontend-body #page-wrapper .mb-9 table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.frontend-body #page-wrapper .mb-9 th,
.frontend-body #page-wrapper .mb-9 td {
  border: 1px solid var(--qp-border);
  padding: 10px 14px;
  text-align: left;
}
.frontend-body #page-wrapper .mb-9 th { background: rgba(255, 255, 255, 0.04); color: var(--qp-text); }

/* ==========================================================================
 * CONTACT PAGE — premium single "Email Us" card (see styleContactPage in JS)
 * ========================================================================== */
.frontend-body.qp-contact #contact-row h1 {
  font-family: var(--qp-display);
  text-transform: uppercase;
  color: var(--qp-text);
  letter-spacing: 0.01em;
}
/* center the surviving email column */
.frontend-body.qp-contact #contact-wrapper .qp-email-col {
  margin: 0 auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 560px !important;
}
@keyframes qp-email-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.2), 0 0 40px -14px rgba(209, 254, 23, 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.4), 0 0 60px -8px rgba(209, 254, 23, 0.55); }
}
.frontend-body.qp-contact #contact-wrapper .qp-email-card {
  background: linear-gradient(180deg, var(--qp-card), rgba(255, 255, 255, 0.015)) !important;
  border: 1px solid rgba(209, 254, 23, 0.35) !important;
  border-radius: 20px;
  padding: 44px 34px 40px !important;
  text-align: center;
  animation: qp-email-glow 3.4s ease-in-out infinite;
}
/* icon */
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-icon {
  width: 74px; height: 74px;
  margin: 0 auto 22px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--qp-lime-soft);
  border: 1px solid rgba(209, 254, 23, 0.4);
}
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-icon i,
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-icon svg {
  color: var(--qp-lime) !important; font-size: 30px !important;
}
/* title + text */
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-title h6 {
  font-family: var(--qp-display);
  text-transform: uppercase;
  color: var(--qp-text) !important;
  font-size: 22px !important;
  font-weight: 700;
  margin-bottom: 10px;
}
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-title p {
  color: var(--qp-text-muted) !important;
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 24px;
}
/* email address -> lime pill button */
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-info a {
  display: inline-block;
  background: var(--qp-lime);
  color: var(--qp-lime-ink) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: var(--qp-glow-lime);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.frontend-body.qp-contact #contact-wrapper .qp-email-card .contact-info a:hover {
  transform: translateY(-2px); filter: brightness(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .frontend-body.qp-contact #contact-wrapper .qp-email-card { animation: none; }
}

/* ==========================================================================
 * AI MODELS tabs — hide the text column, show only the banner (full width)
 * ========================================================================== */
.frontend-body #features .features-outer-wrapper > [class*="col-"]:has(.features-inner-wrapper) {
  display: none !important;
}
.frontend-body #features .features-outer-wrapper > [class*="col-"]:has(.feature-image-wrapper) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* ==========================================================================
 * LANDING NAV — 8 items on one line, no per-word wrapping
 * ========================================================================== */
/* Header balance: the stock theme pins the logo 12px from the viewport edge
   and only 16px from the first menu item, which looks cramped now that the
   nav carries 9 items. Give both sides real breathing room and buy the space
   back by tightening the per-item padding slightly. */
.frontend-body #main .navbar,
.frontend-body #main #navbar-responsive {
  padding-left: 26px;
  padding-right: 26px;
}
.frontend-body #main .navbar-brand {
  margin-right: 30px !important;
}
.frontend-body #main .navbar-brand #brand-img,
.frontend-body #main .navbar-brand img {
  display: block; /* kills the inline-baseline gap under the logo */
}

.frontend-body #main .navbar-nav {
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.frontend-body #main .navbar-nav li.nav-item a.nav-link {
  white-space: nowrap;          /* keep "AI Models" on a single line */
  font-size: 12.5px;
  padding: 0 9px;
}
/* reclaim width for the added logo spacing on mid-size desktops */
@media (max-width: 1450px) {
  .frontend-body #main .navbar-nav li.nav-item a.nav-link { padding: 0 7px; }
}
@media (max-width: 1300px) {
  .frontend-body #main .navbar,
  .frontend-body #main #navbar-responsive { padding-left: 18px; padding-right: 18px; }
  .frontend-body #main .navbar-brand { margin-right: 20px !important; }
  .frontend-body #main .navbar-nav { gap: 0.25rem; }
  .frontend-body #main .navbar-nav li.nav-item a.nav-link { font-size: 12px; padding: 0 6px; }
}

/* ==========================================================================
 * MENU POLISH — glowing "AI Models", "30% OFF" Pricing badge, new CTA
 * ========================================================================== */
@keyframes qp-nav-glow-pulse {
  0%, 100% { text-shadow: 0 0 6px rgba(209, 254, 23, 0.5), 0 0 14px rgba(209, 254, 23, 0.25); }
  50% { text-shadow: 0 0 12px rgba(209, 254, 23, 0.85), 0 0 26px rgba(209, 254, 23, 0.5); }
}
.frontend-body #main .navbar-nav li.nav-item a.nav-link.qp-nav-glow,
.frontend-body #main .minimize-navbar li.nav-item a.nav-link.qp-nav-glow,
.frontend-body .page-navbar .navbar-nav li.nav-item a.nav-link.qp-nav-glow {
  color: var(--qp-lime) !important;
  animation: qp-nav-glow-pulse 2s ease-in-out infinite;
}

/* pink "30% OFF" tag next to Pricing (higgsfield-style) */
@keyframes qp-badge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.frontend-body .qp-nav-badge {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  background: var(--qp-pink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 2px 10px -2px rgba(247, 47, 160, 0.65);
  animation: qp-badge-bob 1.6s ease-in-out infinite;
}

/* redesigned Sign Up -> "Try for free" + subcaption */
.frontend-body #main .register-button.qp-cta,
.frontend-body .register-button.qp-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  padding-top: 7px;
  padding-bottom: 7px;
  min-width: 130px;
}
.frontend-body .qp-btn-main { font-size: 13px; font-weight: 800; color: var(--qp-lime-ink); }
.frontend-body .qp-btn-sub {
  font-size: 8.5px;
  font-weight: 600;
  color: #2f3d00;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
  opacity: 0.85;
}

/* ==========================================================================
 * HOW IT WORKS (steps) — app-like dark cards
 * ========================================================================== */
.frontend-body #steps-wrapper {
  background: var(--qp-bg);
  padding-top: 40px;
  padding-bottom: 90px;
}
.frontend-body #steps-wrapper .steps-box {
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  border-radius: var(--qp-radius);
  height: auto;
  min-height: 200px;
  box-shadow: none;
}
.frontend-body #steps-wrapper .steps-box:hover {
  box-shadow: var(--qp-shadow);
  border-color: var(--qp-border-strong);
  background: var(--qp-card-hover);
}
.frontend-body #steps-wrapper .steps-box-wrapper:before,
.frontend-body #steps-wrapper .steps-box-wrapper:after { display: none; }
.frontend-body #steps-wrapper .steps-box .step-number-big p { color: rgba(209, 254, 23, 0.07); }
.frontend-body #steps-wrapper .steps-box .step-number h6 {
  color: var(--qp-lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
}
.frontend-body #steps-wrapper .steps-box .step-title h2 {
  font-family: var(--qp-display);
  color: var(--qp-text);
  font-size: 19px;
  font-weight: 700;
}
.frontend-body #steps-wrapper .steps-box .step-description p { color: var(--qp-text-muted); }

/* ==========================================================================
 * AI TOOLS (tabbed section — section id is #features)
 * Premium chip tabs: dark cards, readable labels, lime active state
 * ========================================================================== */
.frontend-body #features {
  background: var(--qp-bg);
  background-image: none;
  padding-bottom: 90px;
}
.frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs {
  gap: 10px;
}
.frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs .nav-link {
  position: relative;
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  color: var(--qp-text);
  font-weight: 600;
  border-radius: 14px;
  box-shadow: none;
  transition: all 0.25s ease;
}
.frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs .nav-link:hover {
  border: 1px solid rgba(209, 254, 23, 0.4);
  color: var(--qp-lime);
  box-shadow: 0 0 24px -6px rgba(209, 254, 23, 0.4);
  transform: translateY(-4px);
  background: var(--qp-card-hover);
}
/* active tab: breathing glow + an expanding "radar" ring */
@keyframes qp-tab-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.4), 0 0 20px -4px rgba(209, 254, 23, 0.45); }
  50% { box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.75), 0 0 40px 0 rgba(209, 254, 23, 0.7); }
}
@keyframes qp-tab-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}
.frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs .nav-link.active {
  background: var(--qp-lime-soft);
  border: 1px solid rgba(209, 254, 23, 0.7);
  color: var(--qp-lime);
  font-weight: 800;
  animation: qp-tab-glow 2s ease-in-out infinite;
}
.frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(209, 254, 23, 0.6);
  pointer-events: none;
  animation: qp-tab-ring 2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs .nav-link.active { animation: none; }
  .frontend-body #features .features-nav-menu .features-nav-menu-inner .nav-tabs .nav-link.active::after { animation: none; opacity: 0; }
}
.frontend-body #features .features-inner-wrapper .feature-title h4 {
  font-family: var(--qp-display);
  color: var(--qp-text);
  text-shadow: none;
  font-weight: 700;
}
.frontend-body #features .features-inner-wrapper .feature-title h6 { color: var(--qp-text-muted); }
.frontend-body #features .features-inner-wrapper .feature-description p,
.frontend-body #features .features-inner-wrapper .feature-footer p { color: var(--qp-text-muted); }

/* ==========================================================================
 * BENEFITS ("What else is there?")
 * ========================================================================== */
.frontend-body #benefits-wrapper { background: var(--qp-bg); }
.frontend-body #benefits-wrapper .benefits-box-wrapper {
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  border-radius: var(--qp-radius);
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.frontend-body #benefits-wrapper .benefits-box-wrapper:hover {
  transform: translateY(-5px);
  border-color: var(--qp-border-strong);
  background: var(--qp-card-hover);
  box-shadow: var(--qp-shadow);
}
.frontend-body #benefits-wrapper .benefits-box-wrapper .benefit-title h6 { color: var(--qp-text); }
.frontend-body #benefits-wrapper .benefits-box-wrapper .benefit-description p { color: var(--qp-text-muted); }

/* ==========================================================================
 * TEMPLATES LIST
 * Premium filter chips (was: invisible dark-on-dark Bootstrap tabs)
 * ========================================================================== */
.frontend-body #templates-wrapper { background: var(--qp-bg); }
.frontend-body #templates-wrapper .template-nav-menu-inner {
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  border-radius: 999px;
  box-shadow: none;
  padding: 6px;
}
.frontend-body #templates-wrapper .template-nav-menu-inner .nav-tabs {
  border-bottom: none;
  gap: 4px;
}
.frontend-body #templates-wrapper .template-nav-menu-inner .nav-tabs .nav-link {
  background: transparent;
  border: 1px solid transparent;
  color: var(--qp-text-muted);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 0;
  transition: all 0.2s ease;
}
.frontend-body #templates-wrapper .template-nav-menu-inner .nav-tabs .nav-link:hover {
  color: var(--qp-text);
  background: var(--qp-card-hover);
  border-color: var(--qp-border-strong);
}
.frontend-body #templates-wrapper .template-nav-menu-inner .nav-tabs .nav-link.active {
  background: var(--qp-lime);
  border-color: var(--qp-lime);
  color: var(--qp-lime-ink);
  font-weight: 700;
  box-shadow: 0 4px 20px -4px rgba(209, 254, 23, 0.45);
}
.frontend-body #templates-wrapper .templates-panel-group h6 { color: var(--qp-text) !important; }
.frontend-body #templates-wrapper .templates-panel-group h4 { color: var(--qp-text-faint) !important; }
.frontend-body #templates-wrapper .template .card,
.frontend-body #templates-wrapper .card {
  background: var(--qp-card) !important;
  border: 1px solid var(--qp-border) !important;
  border-radius: var(--qp-radius);
  color: var(--qp-text);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.frontend-body #templates-wrapper .card:hover {
  transform: translateY(-3px);
  border-color: var(--qp-border-strong) !important;
  background: var(--qp-card-hover) !important;
}
.frontend-body #templates-wrapper .card h6,
.frontend-body #templates-wrapper .card .h6,
.frontend-body #templates-wrapper .card a { color: var(--qp-text); }
.frontend-body #templates-wrapper .card p,
.frontend-body #templates-wrapper .card span { color: var(--qp-text-muted); }
/* fade-out overlay at the bottom of the collapsed template grid -> page bg */
.frontend-body #templates-wrapper .show-templates:before {
  background: linear-gradient(to bottom, rgba(15, 17, 19, 0) 40%, var(--qp-bg) 100%);
}
.frontend-body #templates-wrapper .show-templates-button { background: transparent; }
.frontend-body #templates-wrapper .show-templates-button a {
  background: var(--qp-lime);
  color: var(--qp-lime-ink);
  font-weight: 700;
  box-shadow: none;
}
.frontend-body #templates-wrapper .show-templates-button a:hover { background: var(--qp-lime); filter: brightness(1.08); }

/* ==========================================================================
 * CLIENT LOGOS strip
 * ========================================================================== */
.frontend-body #banner-wrapper { background: var(--qp-bg); }
.frontend-body #banner-wrapper h6 { color: var(--qp-text-faint); }
.frontend-body #banner-wrapper h6 span { color: var(--qp-text) !important; }
.frontend-body #banner-wrapper #partners img {
  filter: grayscale(1) brightness(10);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.frontend-body #banner-wrapper #partners img:hover { opacity: 1; }

/* ==========================================================================
 * AI IMAGES marquee — lime halo
 * ========================================================================== */
.frontend-body #images-wrapper .slider-container { background: var(--qp-bg-deep); }
.frontend-body #images-wrapper .slider-container .halo {
  background: radial-gradient(circle at 50% 120px, rgba(209, 254, 23, 0.22) 0, transparent 55%);
}

/* ==========================================================================
 * PRICING
 * ========================================================================== */
.frontend-body #prices { background: var(--qp-bg); }
/* "Most Popular" ribbon — stock theme paints it blue; match the pink
   "30% OFF" nav badge instead so the highlight reads as one brand accent. */
.frontend-body .plan-featured,
.frontend-body .plan-featured-prepaid,
.frontend-body #prices .plan-featured,
.frontend-body #prices .plan-featured-prepaid {
  background-color: var(--qp-pink) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px -4px rgba(247, 47, 160, 0.65);
}
.frontend-body #prices .tabs-menu ul {
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  border-radius: 999px;
  padding: 5px 7px;
}
.frontend-body #prices .tabs-menu ul li a { color: var(--qp-text-muted); }
.frontend-body #prices .tabs-menu ul li .active {
  background: var(--qp-lime) !important;
  color: var(--qp-lime-ink) !important;
  border-radius: 999px;
  font-weight: 700;
}
.frontend-body #prices .card {
  background: var(--qp-card) !important;
  border: 1px solid var(--qp-border) !important;
  border-radius: var(--qp-radius);
  color: var(--qp-text);
}
.frontend-body #prices .card:hover {
  box-shadow: 0 0 40px -10px rgba(209, 254, 23, 0.2) !important;
  border-color: rgba(209, 254, 23, 0.45) !important;
}
.frontend-body #prices .card .plan-cost,
.frontend-body #prices .card .plan-cost span:not(.text-muted):not(.fs-12),
.frontend-body #prices .price-card .plan-cost { color: var(--qp-text) !important; }
/* Prepaid packs: the stock theme gives the price box a near-white background
   (#f5f9fc), which hid the now-white price text. Make it a dark surface. */
.frontend-body #prices .plan-cost-wrapper {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--qp-border);
  border-radius: 1rem;
}
.frontend-body #prices .plan-cost-wrapper .plan-cost {
  color: var(--qp-text) !important;
  font-weight: 700;
}
.frontend-body #prices .plan-cost-wrapper .prepaid-currency-sign {
  color: var(--qp-text-muted) !important;
  margin-left: 6px;
}
/* "Subscribe Now" / "Select Package" buttons: lime pill instead of theme blue */
.frontend-body #prices .btn-primary-pricing {
  background-color: var(--qp-lime) !important;
  border-color: var(--qp-lime) !important;
  color: var(--qp-lime-ink) !important;
  font-weight: 700;
  box-shadow: 0 6px 24px -8px rgba(209, 254, 23, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.frontend-body #prices .btn-primary-pricing:hover,
.frontend-body #prices .btn-primary-pricing:focus {
  background-color: var(--qp-lime) !important;
  border-color: var(--qp-lime) !important;
  color: var(--qp-lime-ink) !important;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 32px -8px rgba(209, 254, 23, 0.55);
}
.frontend-body #prices .card .plan-title {
  font-family: var(--qp-display);
  color: var(--qp-lime);
  text-transform: uppercase;
  text-shadow: none;
}
.frontend-body #prices .card ul li .plan-feature-text { color: var(--qp-text-muted); }
.frontend-body #prices .card .divider { background-color: var(--qp-border-strong); }
.frontend-body #prices .card .welcome-plan-currency-sign { color: var(--qp-text-faint); }

/* ==========================================================================
 * REVIEWS — deep band, dark cards, lime names
 * ========================================================================== */
.frontend-body #reviews-wrapper { background-image: linear-gradient(var(--qp-bg-deep), var(--qp-bg)); }
.frontend-body .review-card-scroll {
  background-color: var(--qp-card);
  border: 1px solid var(--qp-border);
  border-top: 1px solid var(--qp-border);
}
.frontend-body .review-card-scroll:hover { background-color: var(--qp-card-hover); }
.frontend-body .review-card-scroll:hover .review-text { color: var(--qp-text); }
.frontend-body .review-card-scroll .hori-between-div .horizontal-div .reviewer-name { color: var(--qp-lime); }
.frontend-body .review-card-scroll .hori-between-div .horizontal-div .reviewer-portrait { border-color: rgba(209, 254, 23, 0.5); }
.frontend-body .review-card-scroll .hori-between-div .horizontal-div .reviewer-star { background: rgba(0, 0, 0, 0.4); }
.frontend-body .review-card-scroll:hover .reviewer-star { background: var(--qp-lime) !important; color: var(--qp-lime-ink); }

/* ==========================================================================
 * FAQ
 * ========================================================================== */
.frontend-body #faqs {
  background: var(--qp-bg);
  background-image: none;
}
.frontend-body #faqs #accordion .card {
  background: var(--qp-card);
  border: 1px solid var(--qp-border) !important;
  border-radius: 14px !important;
  box-shadow: none;
}
.frontend-body #faqs #accordion .card:hover {
  box-shadow: var(--qp-shadow);
  border-color: var(--qp-border-strong) !important;
}
.frontend-body #faqs #accordion .card .card-header { background: transparent; }
.frontend-body #faqs #accordion .card .card-header .btn-link { color: var(--qp-text); }
.frontend-body #faqs #accordion .card .card-header .btn-link:hover { color: var(--qp-lime); }
.frontend-body #faqs #accordion .card .card-header i { color: var(--qp-text-muted); }
.frontend-body #faqs #accordion .card .card-body { color: var(--qp-text-muted); }
/* empty-state message ("No FAQ answers / customer reviews were published yet") */
.frontend-body #faqs h6.fs-12,
.frontend-body #reviews-wrapper h6.fs-12 { color: var(--qp-text-muted); }

/* ==========================================================================
 * BLOGS
 * ========================================================================== */
.frontend-body #blogs { background: var(--qp-bg); }
.frontend-body #blogs .blog-box {
  background-color: var(--qp-card);
  border: 1px solid var(--qp-border);
  box-shadow: none;
}
.frontend-body #blogs .blog-box:hover {
  box-shadow: var(--qp-shadow);
  border-color: var(--qp-border-strong);
}
.frontend-body #blogs .blog-box .blog-img span { background-color: rgba(10, 11, 13, 0.85); color: var(--qp-text); }
.frontend-body #blogs .blog-box .blog-info h5 a { color: var(--qp-text); }
.frontend-body #blogs .blog-box .blog-info h6,
.frontend-body #blogs .blog-box .blog-info h6 a { color: var(--qp-text-muted); }
.frontend-body #blogs .blog-box .blog-info h6 a:hover { color: var(--qp-lime); }
.frontend-body #blogs .blog-all a {
  background: var(--qp-lime);
  color: var(--qp-lime-ink);
  font-weight: 700;
  box-shadow: none;
}
.frontend-body #blogs .blog-all a:hover { background: var(--qp-lime); filter: brightness(1.08); }
.frontend-body #blogs .blogs-prev i,
.frontend-body #blogs .blogs-next i {
  background-color: var(--qp-card);
  color: var(--qp-text);
  box-shadow: none;
  border: 1px solid var(--qp-border);
}

/* ==========================================================================
 * INFO BANNER (Analytics / Team / Projects) — deep teal feature panel
 * ========================================================================== */
.frontend-body #info-banner { background: var(--qp-bg); }
.frontend-body #info-banner .container {
  background-image: linear-gradient(120deg, #04222c 0%, #0a3d4d 100%);
  border: 1px solid rgba(209, 254, 23, 0.18);
  box-shadow: var(--qp-shadow);
}
.frontend-body #info-banner .container .info-box {
  background-color: rgba(10, 11, 13, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
/* video cards ("What else is there?" — set QP_INFO_VIDEOS in the JS) */
.frontend-body #info-banner .info-box.qp-info-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  padding: 1.25rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.frontend-body #info-banner .info-box.qp-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 254, 23, 0.4);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.frontend-body #info-banner .qp-info-head { text-align: center; margin-bottom: 1rem; }
.frontend-body #info-banner .qp-info-head h4 {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  line-height: 1.15;
}
.frontend-body #info-banner .qp-info-head p {
  color: var(--qp-text-muted);
  font-size: 12px;
  margin: 0.5rem auto 0;
  max-width: 90%;
}
.frontend-body #info-banner .qp-info-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0b0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.frontend-body #info-banner .qp-info-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
 * CONTACT + CUSTOM PAGES
 * ========================================================================== */
.frontend-body #contact-wrapper { background: var(--qp-bg); }
.frontend-body #contact-wrapper .form-control {
  background: var(--qp-card) !important;
  border: 1px solid var(--qp-border);
  color: var(--qp-text);
  box-shadow: none;
}
.frontend-body #contact-wrapper .form-control:focus { border-color: var(--qp-lime); }
.frontend-body #contact-wrapper .contact-info-box h6,
.frontend-body #contact-wrapper .contact-title h6 { color: var(--qp-text); }
.frontend-body #contact-wrapper p,
.frontend-body #contact-wrapper label { color: var(--qp-text-muted); }
.frontend-body #contact-wrapper .row button {
  background: var(--qp-lime);
  color: var(--qp-lime-ink);
  border: none;
  font-weight: 700;
}
.frontend-body .page-navbar {
  background: rgba(15, 17, 19, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--qp-border);
}
.frontend-body .page-navbar .navbar-nav li.nav-item a.nav-link { color: var(--qp-text) !important; }

/* ==========================================================================
 * FOOTER
 * ========================================================================== */
.frontend-body #welcome-footer { background-image: linear-gradient(var(--qp-bg), var(--qp-bg-deep)); }
.frontend-body #welcome-footer .curve-box .curve { fill: var(--qp-bg); }
.frontend-body #welcome-footer .curve-box .secodary-curve { fill: var(--qp-bg); }
.frontend-body #welcome-footer #footer h1 { font-family: var(--qp-display); text-transform: uppercase; text-shadow: none; }
.frontend-body #welcome-footer #footer h3 { color: var(--qp-text-muted); text-shadow: none; }
.frontend-body #welcome-footer #footer a.footer-link:hover { color: var(--qp-lime); }
.frontend-body #welcome-footer #copyright { border-top: 1px solid var(--qp-border); }
.frontend-body #welcome-footer #copyright p a { color: var(--qp-lime); }
/* back-to-top floating button: lime instead of theme blue */
.frontend-body #back-to-top {
  background: var(--qp-lime) !important;
  color: var(--qp-lime-ink) !important;
  box-shadow: 0 8px 24px -6px rgba(209, 254, 23, 0.45);
}
.frontend-body #back-to-top:hover {
  background: var(--qp-lime) !important;
  color: var(--qp-lime-ink) !important;
  filter: brightness(1.08);
}
.frontend-body #back-to-top i { color: var(--qp-lime-ink) !important; }

/* ==========================================================================
 * COOKIE CONSENT
 * ========================================================================== */
.frontend-body .js-cookie-consent {
  background-color: rgba(15, 17, 19, 0.96);
  color: var(--qp-text);
  box-shadow: 0 -1px 0 var(--qp-border) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.frontend-body .js-cookie-consent .js-cookie-consent-agree {
  background-color: var(--qp-lime);
  border-color: var(--qp-lime);
  color: var(--qp-lime-ink) !important;
}

/* ==========================================================================
 * HERO BACKGROUND VIDEO (artlist.io style — set QP_BG_VIDEO in the JS)
 * ========================================================================== */
.frontend-body #main-background.qp-has-bg-video { position: relative; overflow: hidden; }
.frontend-body #main-background .qp-bg-video,
.frontend-body #main-background .qp-bg-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.frontend-body #main-background .qp-bg-poster {
  background-size: cover;
  background-position: center;
}
/* YouTube/Vimeo iframe scaled to COVER the hero (no letterbox bars).
   A 16:9 iframe is sized to whichever of 100vw / 100vh-equivalent is larger. */
.frontend-body #main-background .qp-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;      /* 16:9 of the width */
  min-height: 100%;
  min-width: 177.78vh;  /* 16:9 of the height */
  transform: translate(-50%, -50%);
  border: 0;
  z-index: 0;
  pointer-events: none;
}
/* dark scrim over the video so the headline / subtitle stay readable */
.frontend-body #main-background .qp-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 17, 19, 0.55) 0%,
    rgba(15, 17, 19, 0.35) 40%,
    rgba(15, 17, 19, 0.55) 75%,
    rgba(15, 17, 19, 0.95) 100%
  );
}
/* keep the hero text/CTA above the video layers */
.frontend-body #main-background.qp-has-bg-video .container.qp-above-bg,
.frontend-body #main-background.qp-has-bg-video > .container { position: relative; z-index: 2; }

/* ==========================================================================
 * HERO SALES VIDEO (embedded by qyntro-premium.js — set QP_SALES_VIDEO there)
 * ========================================================================== */
@keyframes qp-glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.frontend-body .qp-video-wrap {
  position: relative;
  width: min(860px, 100%);
  margin: 2.5rem auto 4.5rem;
}
/* ambient glow behind the player */
.frontend-body .qp-video-wrap::before {
  content: "";
  position: absolute;
  inset: -50px -60px;
  background:
    radial-gradient(50% 55% at 25% 20%, rgba(209, 254, 23, 0.30), transparent 65%),
    radial-gradient(45% 50% at 78% 80%, rgba(247, 47, 160, 0.22), transparent 65%),
    radial-gradient(60% 60% at 50% 50%, rgba(209, 254, 23, 0.12), transparent 70%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
  animation: qp-glow-breathe 5s ease-in-out infinite;
}
.frontend-body .qp-video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--qp-radius);
  overflow: hidden;
  background: var(--qp-bg-deep);
  border: 1px solid rgba(209, 254, 23, 0.3);
  box-shadow:
    0 0 0 1px rgba(209, 254, 23, 0.15),
    0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.frontend-body .qp-video-frame iframe,
.frontend-body .qp-video-frame video,
.frontend-body .qp-video-frame wistia-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}
.frontend-body .qp-video-frame wistia-player:not(:defined) { padding-top: 0; }

/* sample avatar video inside the #qp-avatar section */
.frontend-body #qp-avatar .qp-video-wrap.qp-avatar-video {
  width: min(760px, 100%);
  margin: 2rem auto 1.6rem;
}
.frontend-body #qp-avatar .qp-avatar-vidcap {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--qp-text-muted);
}

/* premium hero player: lime play button + custom control bar */
@keyframes qp-play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(209, 254, 23, 0.5), 0 10px 30px -8px rgba(0, 0, 0, 0.6); }
  70% { box-shadow: 0 0 0 26px rgba(209, 254, 23, 0), 0 10px 30px -8px rgba(0, 0, 0, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(209, 254, 23, 0), 0 10px 30px -8px rgba(0, 0, 0, 0.6); }
}
.frontend-body .qp-video-frame .qp-play-btn {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--qp-lime); display: flex; align-items: center; justify-content: center;
  z-index: 3; animation: qp-play-pulse 2.4s ease-out infinite;
  transition: transform 0.2s ease, opacity 0.3s ease;
}
.frontend-body .qp-video-frame .qp-play-btn::after {
  content: ""; width: 0; height: 0;
  border-left: 26px solid var(--qp-lime-ink);
  border-top: 15px solid transparent; border-bottom: 15px solid transparent;
  margin-left: 8px;
}
.frontend-body .qp-video-frame .qp-play-btn:hover { transform: scale(1.1); }
.frontend-body .qp-video-frame .qp-play-btn.qp-hidden { opacity: 0; pointer-events: none; }

.frontend-body .qp-video-frame .qp-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 11, 13, 0.92) 70%);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.frontend-body .qp-video-frame.qp-sound-mode .qp-controls { opacity: 1; pointer-events: auto; }
.frontend-body .qp-video-frame .qp-cbtn {
  background: none; border: none; cursor: pointer; color: #fff;
  width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; flex: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.frontend-body .qp-video-frame .qp-cbtn:hover { color: var(--qp-lime); background: rgba(255, 255, 255, 0.08); }
.frontend-body .qp-video-frame .qp-time {
  font-size: 12px; color: #c9ccd6; font-variant-numeric: tabular-nums;
  flex: none; min-width: 82px; text-align: center;
}
.frontend-body .qp-video-frame .qp-seek,
.frontend-body .qp-video-frame .qp-vol {
  -webkit-appearance: none; appearance: none; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.22); outline: none; cursor: pointer;
}
.frontend-body .qp-video-frame .qp-seek { flex: 1; min-width: 60px; }
.frontend-body .qp-video-frame .qp-vol { width: 70px; flex: none; }
.frontend-body .qp-video-frame .qp-seek::-webkit-slider-thumb,
.frontend-body .qp-video-frame .qp-vol::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--qp-lime); border: none; box-shadow: 0 0 10px rgba(209, 254, 23, 0.6); cursor: pointer;
}
.frontend-body .qp-video-frame .qp-seek::-moz-range-thumb,
.frontend-body .qp-video-frame .qp-vol::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%; background: var(--qp-lime);
  border: none; box-shadow: 0 0 10px rgba(209, 254, 23, 0.6); cursor: pointer;
}
@media (max-width: 700px) { .frontend-body .qp-video-frame .qp-vol { display: none; } }
@media (prefers-reduced-motion: reduce) { .frontend-body .qp-video-frame .qp-play-btn { animation: none; } }
/* let the hero grow past 100vh when the video is present */
.frontend-body #main.qp-has-video #main-background,
.frontend-body #main.qp-has-video .container.h-100vh,
.frontend-body #main.qp-has-video .row.h-100vh {
  height: auto !important;
  min-height: 100vh;
}
.frontend-body #main.qp-has-video .row.h-100vh {
  padding-top: 140px;
  padding-bottom: 120px;
}

/* ==========================================================================
 * FEATURE SHOWCASE (landing bento section — see addFeatureShowcase in JS)
 * ========================================================================== */
#qp-feats {
  background: var(--qp-bg);
  padding: 96px 24px 90px;
}

/* AI Music section (ElevenLabs video + "AI Music Studio" CTA) */
#qp-music {
  background: var(--qp-bg);
  padding: 10px 24px 96px;
  scroll-margin-top: 90px; /* clears the sticky navbar when the nav scrolls here */
}
.frontend-body #qp-music .qp-video-wrap.qp-music-video {
  width: min(900px, 100%);
  margin: 0 auto 2.4rem;
}
@media (max-width: 700px) {
  #qp-music { padding: 0 16px 64px; }
}

/* AI Voiceover section — 6 sample voices in a branded audio player */
#qp-voice {
  background: var(--qp-bg);
  padding: 40px 24px 96px;
  scroll-margin-top: 90px;
}
.qp-voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 2.6rem;
}
.frontend-body #qp-voice .qp-voice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--qp-card);
  border: 1px solid var(--qp-border);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.frontend-body #qp-voice .qp-voice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 254, 23, 0.45);
}
.frontend-body #qp-voice .qp-voice-card.qp-playing {
  border-color: var(--qp-lime);
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.35), 0 18px 40px -22px rgba(209, 254, 23, 0.55);
}
/* play / pause button */
.frontend-body #qp-voice .qp-voice-play {
  flex: none;
  width: 44px; height: 44px;
  border: none; cursor: pointer;
  border-radius: 50%;
  background: var(--qp-lime);
  box-shadow: 0 0 18px -4px rgba(209, 254, 23, 0.8);
  position: relative;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.frontend-body #qp-voice .qp-voice-play:hover { transform: scale(1.08); filter: brightness(1.06); }
/* CSS-drawn play triangle (no icon font needed) */
.frontend-body #qp-voice .qp-voice-play::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--qp-lime-ink);
}
/* becomes a pause bar-pair while playing */
.frontend-body #qp-voice .qp-playing .qp-voice-play::before {
  transform: translate(-50%, -50%);
  border: none;
  width: 4px; height: 14px;
  background: var(--qp-lime-ink);
  box-shadow: 7px 0 0 var(--qp-lime-ink);
  margin-left: -3px;
}
.frontend-body #qp-voice .qp-voice-body { flex: 1; min-width: 0; }
.frontend-body #qp-voice .qp-voice-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 8px;
}
.frontend-body #qp-voice .qp-voice-name {
  font-family: var(--qp-display);
  font-weight: 600; font-size: 14px; color: var(--qp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frontend-body #qp-voice .qp-voice-engine {
  flex: none;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--qp-lime);
  background: rgba(209, 254, 23, 0.09);
  border: 1px solid rgba(209, 254, 23, 0.28);
  padding: 3px 9px; border-radius: 999px;
}
/* seek bar */
.frontend-body #qp-voice .qp-voice-bar {
  position: relative; height: 6px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.frontend-body #qp-voice .qp-voice-fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--qp-lime), #eaffa0);
  box-shadow: 0 0 10px rgba(209, 254, 23, 0.7);
  transition: width 0.12s linear;
}
.frontend-body #qp-voice .qp-voice-time {
  flex: none;
  font-size: 12px; color: var(--qp-text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 34px; text-align: right;
}
@media (max-width: 700px) {
  #qp-voice { padding: 24px 16px 64px; }
  .qp-voice-grid { grid-template-columns: 1fr; }
}

/* AI Presentation section (demo video + "AI Presentation Studio" CTA) */
#qp-presentation {
  background: var(--qp-bg);
  padding: 40px 24px 96px;
  scroll-margin-top: 90px;
}
.frontend-body #qp-presentation .qp-video-wrap.qp-pres-video {
  width: min(900px, 100%);
  margin: 0 auto 2.4rem;
}
@media (max-width: 700px) {
  #qp-presentation { padding: 24px 16px 64px; }
}
.qp-feats-inner { max-width: 1180px; margin: 0 auto; }
.qp-feats-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.qp-feats-kicker {
  color: var(--qp-pink);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.qp-feats-title {
  font-family: var(--qp-display);
  color: var(--qp-lime);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.qp-feats-title b { color: var(--qp-text); font-weight: 700; }
.qp-feats-sub { color: var(--qp-text-muted); font-size: 15px; line-height: 1.6; }

/* bento grid: wide flagship on top, 2x2 below */
.qp-feats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.qp-feat {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--qp-card);
  border: 1px solid rgba(209, 254, 23, 0.28);
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.1), 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.qp-feat-wide { grid-column: 1 / -1; }
.qp-feat img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.qp-feat:hover {
  transform: translateY(-6px);
  border-color: rgba(209, 254, 23, 0.6);
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.3), 0 0 60px -12px rgba(209, 254, 23, 0.45), 0 30px 70px -30px rgba(0, 0, 0, 0.95);
}
.qp-feat:hover img { transform: scale(1.03); }
/* "Try it free →" chip slides in on hover */
.qp-feat-go {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--qp-lime);
  color: var(--qp-lime-ink);
  font-weight: 800;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px -8px rgba(209, 254, 23, 0.6);
}
.qp-feat:hover .qp-feat-go { opacity: 1; transform: translateY(0); }
@media (max-width: 760px) {
  .qp-feats-grid { grid-template-columns: 1fr; }
  .qp-feat-go { opacity: 1; transform: none; } /* always visible on touch */
}

/* section CTA */
.qp-feats-ctawrap { text-align: center; margin-top: 44px; }
.qp-feats-cta {
  display: inline-block;
  background: var(--qp-lime);
  color: var(--qp-lime-ink) !important;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: var(--qp-glow-lime);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.qp-feats-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.qp-feats-fine {
  display: block;
  color: var(--qp-text-faint);
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}

/* video wall + image grid sections (landing versions of the dashboard ones) */
#qp-videos, #qp-imggrid {
  background: var(--qp-bg);
  padding: 30px 24px 70px;
}
.qp-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* portrait/mobile videos */
  gap: 14px;
}
@media (max-width: 1100px) { .qp-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .qp-wall { grid-template-columns: repeat(2, 1fr); } }
.qp-wall-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;   /* mobile portrait */
  object-fit: cover;
  border-radius: 14px;
  background: var(--qp-bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.qp-wall-video:hover {
  transform: scale(1.015);
  border-color: rgba(209, 254, 23, 0.45);
  box-shadow: 0 0 30px -10px rgba(209, 254, 23, 0.3);
}
.qp-mggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .qp-mggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .qp-mggrid { grid-template-columns: 1fr; } }
.qp-mgtile {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--qp-card);
  border: 1px solid rgba(209, 254, 23, 0.28);
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.1), 0 20px 50px -26px rgba(0, 0, 0, 0.9);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.qp-mgtile img { display: block; width: 100%; height: auto; transition: transform 0.45s ease; }
.qp-mgtile:hover {
  transform: translateY(-5px);
  border-color: rgba(209, 254, 23, 0.6);
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.3), 0 0 46px -10px rgba(209, 254, 23, 0.45);
}
.qp-mgtile:hover img { transform: scale(1.04); }

/* AI Avatar section (reuses the showcase tile + CTA styles) */
#qp-avatar {
  background: var(--qp-bg);
  padding: 26px 24px 80px;
}
#qp-avatar .qp-feat { max-width: 1180px; margin: 0 auto; }

/* staggered scroll reveal */
.qp-rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.qp-rv.qp-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .qp-rv { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
 * 3D TILT (applied by qyntro-premium.js)
 * ========================================================================== */
.frontend-body .qp-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.frontend-body .qp-tilt.qp-tilting { transition: none; }
.frontend-body .qp-tilt:not(.qp-tilting) { transition: transform 0.45s ease; }

/* ==========================================================================
 * MOTION SANITY
 * ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .frontend-body .qp-orb,
  .frontend-body .qp-video-wrap::before,
  .frontend-body #main .word-container .ah-words-wrapper b { animation: none; }
}

/* ============================================================================
   Launch banner — announces the newest model above the header.

   The "flashing" is a slow sheen sweeping the bar and a soft pulse on the NEW
   pill, not a blink: a blinking bar is genuinely hard to read, is a known
   migraine and photosensitivity trigger, and reads as an advert rather than
   product news. Both animations stop under prefers-reduced-motion.
   ========================================================================== */
#qp-launch {
  position: relative;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 46px 9px 18px;
  /* Two soft pools of light sitting under the flat gradient - lime on the
     left where the NEW pill is, warm gold on the right under the call to
     action - so the bar glows from within rather than being a flat strip with
     a highlight sliding over it. */
  background:
    radial-gradient(60% 260% at 22% 50%, rgba(209, 254, 23, .13) 0%, transparent 62%),
    radial-gradient(55% 240% at 78% 50%, rgba(255, 193, 64, .11) 0%, transparent 62%),
    linear-gradient(90deg, #0b0d0f 0%, #15191d 45%, #0b0d0f 100%);
  border-bottom: 1px solid rgba(209, 254, 23, .28);
  box-shadow: inset 0 -14px 26px -18px rgba(209, 254, 23, .45),
              0 6px 22px -14px rgba(0, 0, 0, .9);
  overflow: hidden;
  font-family: inherit;
}

/* the sheen */
#qp-launch::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 214, 110, .12) 38%, rgba(209, 254, 23, .18) 50%, rgba(255, 255, 255, .10) 62%, transparent 100%);
  transform: skewX(-18deg);
  animation: qp-launch-sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes qp-launch-sheen {
  0%, 12%  { left: -60%; }
  70%, 100% { left: 130%; }
}

#qp-launch .qp-launch-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

#qp-launch .qp-launch-pill {
  flex: none;
  padding: 2px 9px;
  border-radius: 20px;
  background: #ff3b5c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  line-height: 1.6;
  animation: qp-launch-pulse 2.4s ease-in-out infinite;
}
@keyframes qp-launch-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .55); }
  60%      { box-shadow: 0 0 0 7px rgba(255, 59, 92, 0); }
}

#qp-launch .qp-launch-main {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1px;
}
#qp-launch .qp-launch-sub {
  color: #9b9ea6;
  font-size: 12.5px;
  font-weight: 500;
}
#qp-launch .qp-launch-sub::before {
  content: '\2022';
  margin-right: 10px;
  color: rgba(209, 254, 23, .55);
}

#qp-launch .qp-launch-cta {
  color: #d1fe17;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
#qp-launch .qp-launch-cta i { margin-left: 5px; transition: transform .18s ease; }
#qp-launch .qp-launch-inner:hover .qp-launch-cta i { transform: translateX(3px); }

#qp-launch .qp-launch-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b6e76;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
#qp-launch .qp-launch-close:hover { color: #fff; background: rgba(255, 255, 255, .07); }

/* The subline is the first thing to go when there is no room for it. */
@media (max-width: 900px) {
  #qp-launch .qp-launch-sub { display: none; }
}
@media (max-width: 560px) {
  #qp-launch { padding: 8px 40px 8px 12px; gap: 8px; }
  #qp-launch .qp-launch-main { font-size: 12px; }
  #qp-launch .qp-launch-cta  { font-size: 11.5px; }
}

/* A very slow breath on the underglow, so the bar is never completely static
   between sheen passes without ever drawing attention to itself. */
#qp-launch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 300% at 50% 120%, rgba(209, 254, 23, .16) 0%, transparent 60%);
  animation: qp-launch-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes qp-launch-breathe {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #qp-launch::before { animation: none; opacity: 0; }
  #qp-launch::after  { animation: none; opacity: .7; }
  #qp-launch .qp-launch-pill { animation: none; }
  #qp-launch .qp-launch-cta i { transition: none; }
}

/* ============================================================================
   Footer CTA — the closing pitch.

   Selectors are anchored on #welcome-footer and several declarations carry
   !important. That is not laziness: the theme styles footer anchors globally
   (colour, font-size, text-decoration) and those rules were flattening the
   button into plain text. Specificity has to win here or there is no button.
   ========================================================================== */
#welcome-footer #footer { position: relative; }

#welcome-footer #footer::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 94%);
  height: 480px;
  background: radial-gradient(50% 50% at 50% 38%, rgba(209, 254, 23, .09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#welcome-footer #footer > * { position: relative; z-index: 1; }

#welcome-footer #footer h1 {
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0 0 20px;
}

/* The sub-lines were nearly as heavy as the headline and fought it. Lighter,
   smaller, and given room to sit as a quiet second voice. */
#welcome-footer #footer h3 {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #8e919a !important;
  line-height: 1.7;
  letter-spacing: 0;
  text-wrap: balance;
  margin: 0 auto 4px;
  max-width: 620px;
}

.qp-footer-cta { margin-top: 40px; }

#welcome-footer .qp-footer-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 17px 42px !important;
  border-radius: 44px !important;
  background: linear-gradient(135deg, #d9ff2e 0%, #b5e800 100%) !important;
  border: 0 !important;
  color: #0b0d0f !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
  text-decoration: none !important;
  box-shadow: 0 10px 34px -8px rgba(209, 254, 23, .5);
  transition: transform .18s ease, box-shadow .18s ease;
}
#welcome-footer .qp-footer-btn:hover,
#welcome-footer .qp-footer-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px -8px rgba(209, 254, 23, .72);
  color: #0b0d0f !important;
  text-decoration: none !important;
}
#welcome-footer .qp-footer-btn i { font-size: 14px; transition: transform .18s ease; }
#welcome-footer .qp-footer-btn:hover i { transform: translateX(4px); }

/* Reassurances. Spread out and quiet — they support the button, they do not
   compete with it. */
.qp-footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 34px;
  margin: 30px auto 0;
  max-width: 760px;
}
#welcome-footer .qp-footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a7d85 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1;
}
#welcome-footer .qp-footer-trust i {
  color: rgba(209, 254, 23, .8) !important;
  font-size: 11px;
}

/* Vertical rhythm through the rest of the footer.

   Row 2 is the logo, row 3 the page links. The spacing under the logo used to
   come from the .mb-7 on the "Try for free" div, which was removed as a
   duplicate of the trust line above — taking the gap with it and leaving the
   logo sitting on top of the links. Setting it here rather than restoring an
   empty div keeps the markup honest. */
#welcome-footer #footer .row:nth-of-type(2) { margin-top: 60px; }
#welcome-footer #footer .row:nth-of-type(2) img { margin-bottom: 6px; }
#welcome-footer #footer .row:nth-of-type(3) { margin-top: 34px; }

/* And below the link list, before the divider and the social icons. */
#welcome-footer #footer .row:nth-of-type(3) { padding-bottom: 42px; }

/* The links themselves were tight against each other on narrower screens. */
#welcome-footer #footer .footer-link { padding: 4px 0; display: inline-block; }

@media (max-width: 768px) {
  #welcome-footer #footer .row:nth-of-type(2) { margin-top: 44px; }
  #welcome-footer #footer .row:nth-of-type(3) { margin-top: 26px; padding-bottom: 32px; }
  #welcome-footer #footer h1 { letter-spacing: -.5px; }
  #welcome-footer #footer h3 { font-size: 14.5px !important; }
  .qp-footer-cta { margin-top: 30px; }
}
@media (max-width: 560px) {
  #welcome-footer .qp-footer-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px !important;
    font-size: 15px !important;
  }
  .qp-footer-trust { gap: 10px 20px; margin-top: 24px; }
  #welcome-footer .qp-footer-trust span { font-size: 11.5px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #welcome-footer .qp-footer-btn,
  #welcome-footer .qp-footer-btn i { transition: none; }
  #welcome-footer .qp-footer-btn:hover { transform: none; }
}
