/* ==========================================================================
   GLOBAL STYLES & CSS VARIABLES
   ========================================================================== */

:root {
  --bg-color: #F9F7F4;
  --text-main: #1a1a2e;
  --text-grey: #6B7280;
  --cta-color: #3B5BDB;
  --cta-hover: #2b47b5;
  --star-color: #F59E0B;
  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.08);
  --card-border: 1px solid #E5E7EB;
  --badge-bg: #F3F4F6;
  --badge-border: 1px solid #E5E7EB;
  --price-strikethrough: #9CA3AF;
  --success-color: #059669;
  --success-light: #ecfdf5;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* WP LP BUILDER TYPOGRAPHY ISOLATION RESET */
body.single-wp_lp_page {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--text-main) !important;
  background-color: var(--bg-color) !important;
  -webkit-font-smoothing: antialiased;
}

/* Force all template elements to use the template font-family, completely blocking theme leaks */
body.single-wp_lp_page,
body.single-wp_lp_page * {
  font-family: var(--font-primary) !important;
}

/* Base headings reset with low specificity to allow class styling overrides */
:where(body.single-wp_lp_page) :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

/* Reset default text element sizing to inherit from our containers, bypassing theme overrides */
body.single-wp_lp_page p:not([class]),
body.single-wp_lp_page li:not([class]) {
  font-size: inherit;
  line-height: 1.5 !important;
  margin: 0;
  padding: 0;
}

body.single-wp_lp_page ul:not([class]),
body.single-wp_lp_page ol:not([class]) {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Base layout spacing */
section {
  padding: 48px 20px;
}

@media (min-width: 768px) {
  section {
    padding: 80px 40px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--cta-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 91, 219, 0.25);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--text-main);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Star Rating */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--star-color);
}

.star-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Sale Badge */
.badge-sale {
  display: inline-flex;
  align-items: center;
  background-color: var(--badge-bg);
  border: var(--badge-border);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-green {
  background-color: var(--success-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--success-color);
}

/* 3D BOOK COVER COMPONENTS */

/* Container to handle 3D perspective without clipping */
.book-wrapper {
  perspective: 1000px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Main Book Cover (.book-cover-main) */
.book-cover-main {
  position: relative;
  width: 260px;
  height: 360px;
  background: linear-gradient(135deg, #4F6BED, #1E3A8A);
  border-radius: 4px 8px 8px 4px;
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.35);
  transform: rotateY(-15deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  padding: 24px;
  padding-right: 36px; /* Space for spine crease */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  user-select: none;
}

.book-cover-main:hover {
  transform: rotateY(-8deg) rotateX(1deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.45);
}

/* Spine edge (Page side / depth effect on the right) */
.book-cover-main::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 100%;
  background: #1a2e6b;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 3px 0 6px rgba(0,0,0,0.3);
  transform-origin: left;
  transform: rotateY(45deg) translateZ(-1px);
}

/* Crease line near spine */
.book-cover-main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 22px;
  width: 2px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  box-shadow: 1px 0 2px rgba(255, 255, 255, 0.1);
}

.book-cover-main .cover-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  opacity: 0.9;
  text-transform: uppercase;
}

.book-cover-main .cover-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.book-cover-main .cover-subtitle {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 6px;
  line-height: 1.3;
}

.book-cover-main .cover-decoration {
  margin: 15px 0;
  display: flex;
  align-items: center;
}

.book-cover-main .cover-decoration svg {
  stroke: #ffffff;
  stroke-width: 3px;
  fill: none;
  opacity: 0.8;
  width: 80px;
  height: 12px;
}

.book-cover-main .cover-footer {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin-top: auto;
  text-transform: uppercase;
}

/* Bonus Book Cover (.book-cover-bonus) */
.book-cover-bonus {
  position: relative;
  width: 170px;
  height: 230px;
  background: #FAFAFA;
  border: 1px solid #E5E5E5;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transform: rotateY(-12deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 16px;
  padding-right: 24px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  user-select: none;
}

.book-cover-bonus:hover {
  transform: rotateY(-5deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.book-cover-bonus::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 100%;
  background: #E5E5E5;
  border-radius: 0 6px 6px 0;
  box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.15);
  transform-origin: left;
  transform: rotateY(45deg) translateZ(-1px);
}

.book-cover-bonus::before {
  content: '';
  position: absolute;
  top: 0;
  right: 15px;
  width: 1.5px;
  height: 100%;
  background: rgba(0, 0, 0, 0.06);
}

.book-cover-bonus .cover-header {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-grey);
  text-transform: uppercase;
}

.book-cover-bonus .cover-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 4px;
  color: var(--text-main);
}

.book-cover-bonus .cover-decoration {
  margin: 10px 0;
}

.book-cover-bonus .cover-decoration svg {
  height: 18px;
  width: auto;
}

.book-cover-bonus .cover-footer {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-grey);
  margin-top: auto;
  text-transform: uppercase;
}

/* Variant: Dark Bonus Cover (.book-cover-bonus--dark) */
.book-cover-bonus--dark {
  background: #111827;
  color: #FFFFFF;
  border-color: #1F2937;
}

.book-cover-bonus--dark::after {
  background: #1F2937;
}

.book-cover-bonus--dark .cover-title {
  color: #FFFFFF;
}

.book-cover-bonus--dark .cover-decoration svg path {
  fill: #3B5BDB;
}

/* Variant: Grid Bonus Cover (.book-cover-bonus--grid) */
.book-cover-bonus--grid .cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 45px;
  margin: 8px 0;
}

.book-cover-bonus--grid .cover-grid-cell {
  width: 13px;
  height: 13px;
  border-radius: 2px;
}

/* ==========================================================================
   WPLP UPLOADED IMAGE CONSTRAINTS
   When render_image() outputs <img> elements, the placeholder div styling
   (transform, box-shadow, etc.) doesn't apply because those rules target divs.
   These rules replicate the FULL visual appearance of each placeholder so that
   replaced images look identical to the original 3D book cover placeholders.
   ========================================================================== */

/* Global safety net: never overflow container */
img[data-wplp-editable="1"] {
  display: block;
  max-width: 100%;
}

/* -----------------------------------------------------------------------
   GLOBAL REUSABLE IMAGE FIT UTILITIES
   Applied automatically by WPLP_Renderer::render_image() to every image in
   every component, current and future. These are the safety net that
   guarantees an uploaded image can NEVER resize, overflow, or restructure
   its container — the container's own dimensions (from its class or inline
   style) always remain the source of truth.
   ----------------------------------------------------------------------- */
.wplp-fill-image {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.wplp-natural-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}


/* -----------------------------------------------------------------------
   Hero main cover image
   Replicates .book-cover-main: 260×360, 3D tilt, shadow, radius
   ----------------------------------------------------------------------- */
img.hero-main-cover-image {
  position: relative;
  width: 260px;
  height: 360px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.35);
  transform: rotateY(-15deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: block;
}

img.hero-main-cover-image:hover {
  transform: rotateY(-8deg) rotateX(1deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.45);
}

/* -----------------------------------------------------------------------
   Hero thumbnail bonus covers
   Replicates .book-cover-bonus: 170×230, 3D tilt, shadow, radius
   The .hero-thumbnail-item context overrides to scale(0.65) — same as
   .hero-thumbnail-item .book-cover-bonus
   ----------------------------------------------------------------------- */
img.hero-thumbnail-cover-image {
  width: 170px;
  height: 230px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transform: rotateY(-12deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
}

img.hero-thumbnail-cover-image:hover {
  transform: rotateY(-5deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* Inside .hero-thumbnail-item the book cover is scaled down — match it */
.hero-thumbnail-item img.hero-thumbnail-cover-image {
  transform: rotateY(-8deg) scale(0.65);
  transform-origin: top center;
  margin-bottom: -60px;
}

.hero-thumbnail-item img.hero-thumbnail-cover-image:hover {
  transform: rotateY(-8deg) scale(0.65);
}

/* Match the real-size override above for uploaded images replacing the
   placeholder covers, so they don't overflow the viewport on mobile either. */
@media (max-width: 991px) {
  .hero-thumbnail-item img.hero-thumbnail-cover-image,
  .hero-thumbnail-item img.hero-thumbnail-cover-image:hover {
    width: 100px;
    height: 136px;
    transform: rotateY(-8deg);
    transform-origin: center;
    margin-bottom: 0;
  }
}


/* -----------------------------------------------------------------------
   Payment gateways image
   ----------------------------------------------------------------------- */
img.payment-gateways-cover {
  max-width: 100%;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* -----------------------------------------------------------------------
   Navbar logo image — constrained to the same footprint as the default
   text/SVG logo so replacing it never changes navbar height or layout.
   ----------------------------------------------------------------------- */
img.navbar-logo-img {
  max-height: 40px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* -----------------------------------------------------------------------
   Testimonial slideshow screenshot — bounded to the phone-frame mockup's
   own footprint so a replacement image can never grow the slideshow
   section or overflow outside the phone bezel.
   ----------------------------------------------------------------------- */
img.testimonial-screenshot-image {
  width: 100%;
  max-width: 320px;
  height: 480px;
  max-height: 480px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 480px) {
  img.testimonial-screenshot-image {
    height: 420px;
  }
}


/* -----------------------------------------------------------------------
   Bonus grid card images
   Replicates .book-cover-bonus: 170×230, 3D tilt, shadow, radius
   ----------------------------------------------------------------------- */
img.bonus-card-cover-image {
  width: 170px;
  height: 230px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transform: rotateY(-12deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
}

img.bonus-card-cover-image:hover {
  transform: rotateY(-5deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* -----------------------------------------------------------------------
   Combo upsell card images
   Replicates .book-cover-main at 160×220 (same tilt/shadow, smaller size)
   ----------------------------------------------------------------------- */
img.upsell-card-cover-image {
  width: 160px;
  height: 220px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.35);
  transform: rotateY(-15deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: block;
}

img.upsell-card-cover-image:hover {
  transform: rotateY(-8deg) rotateX(1deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.45);
}

/* -----------------------------------------------------------------------
   Testimonial / review author avatars
   ----------------------------------------------------------------------- */
img.testimonial-avatar-image,
img.review-avatar-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* -----------------------------------------------------------------------
   File tree / product icon images
   ----------------------------------------------------------------------- */
img.file-icon-image,
img.product-icon-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   1. ANNOUNCEMENT BAR
   ========================================================================== */

.announcement-bar {
  background-color: var(--cta-color);
  color: #ffffff;
  text-align: center;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.announcement-bar #timer {
  font-family: monospace;
  font-weight: 700;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
}

/* ==========================================================================
   2. BUYER NOTIFICATION POPUP
   ========================================================================== */

.buyer-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--card-bg);
  border: var(--card-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
  pointer-events: none;
}

.buyer-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.buyer-notification-icon {
  font-size: 24px;
  background: #f1f5f9;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.buyer-notification-content {
  flex-grow: 1;
}

.buyer-notification-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.buyer-notification-text {
  font-size: 11px;
  color: var(--text-grey);
  margin-top: 1px;
}

.buyer-notification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.buyer-notification-time {
  font-size: 10px;
  color: var(--text-grey);
}

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */

.navbar {
  background-color: var(--card-bg);
  border-bottom: var(--card-border);
  padding: 14px 20px;
  position: sticky;
  top: 38px; /* Offset announcement bar height */
  z-index: 99;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.navbar-icon-btn:hover {
  color: var(--cta-color);
}

.navbar-icon-btn svg {
  width: 22px;
  height: 22px;
}

.hamburger-btn {
  display: none; /* Desktop default */
}

@media (max-width: 768px) {
  .navbar {
    top: 38px;
  }
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero-section {
  background-color: var(--bg-color);
  padding-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
}


@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

/* Hero Left (Main Book Visuals) */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  order: 1; /* Image section first on mobile */
  min-width: 0;
  width: 100%;
}


@media (min-width: 992px) {
  .hero-left {
    order: 1; /* Left side on desktop */
  }
}

.hero-main-cover {

  padding: 20px;
  perspective: 1200px;
}

.hero-thumbnails-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 5px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none; /* Hide scrollbar for layout */
}



.hero-thumbnails-row::-webkit-scrollbar {
  display: none;
}

.hero-thumbnail-item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The direct flex-child of .hero-left wrapping the thumbnail row + caption
   needs its own min-width:0/width:100% — .hero-thumbnail-item is reused both
   as this outer wrapper AND as each individual thumbnail card, so target the
   wrapper specifically via its parent context. */
.hero-left > .hero-thumbnail-item {
  flex-shrink: 1;
  min-width: 0;
  width: 100%;
}


.hero-thumbnail-item .book-cover-bonus {
  transform: rotateY(-8deg) scale(0.65);
  transform-origin: top center;
  margin-bottom: -60px; /* Offset the scale container sizing */
}

/* On mobile, transform:scale() only shrinks visually — it does NOT reduce
   the element's layout box, so 3 unscaled 170px-wide cards (~530px total)
   overflow past the screen edge. Give thumbnails a real smaller box here
   instead, so they actually fit within the viewport without cropping. */
@media (max-width: 991px) {
  .hero-thumbnail-item .book-cover-bonus {
    width: 100px;
    height: 136px;
    transform: rotateY(-8deg);
    transform-origin: center;
    margin-bottom: 0;
  }
}


.hero-thumbnail-item .thumbnail-badge {
  position: absolute;
  top: 0;
  right: 15px;
  background-color: var(--success-color);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-transform: uppercase;
}

.hero-thumbnail-caption {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-grey);
  margin-top: 5px;
}

/* Hero Right (Copywriting & Offer) */
.hero-right {
  order: 2; /* Image section shows first on mobile */
  display: flex;

  flex-direction: column;
  gap: 20px;
  min-width: 0;
  width: 100%;
}


@media (min-width: 992px) {
  .hero-right {
    order: 2;
  }
}

.hero-tagline {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cta-color);
  text-transform: uppercase;
}

.hero-title {
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
}

.hero-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.hero-rating-count {
  color: var(--text-grey);
  text-decoration: underline;
  cursor: pointer;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-original {
  font-size: 18px;
  color: var(--price-strikethrough);
  text-decoration: line-through;
}

.price-sale {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-gateways-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.payment-gateways-text {
  font-size: 11px;
  color: var(--text-grey);
  font-weight: 600;
}

.payment-gateways-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-badge {
  background: #ffffff;
  border: var(--card-border);
  border-radius: 4px;
  height: 28px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-badge svg {
  height: 100%;
  width: auto;
}

.hero-description-block {
  margin-top: 15px;
  font-size: 15px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-description-block p {
  line-height: 1.6;
}

.hero-description-block ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-description-block li {
  position: relative;
  padding-left: 20px;
}

.hero-description-block li::before {
  content: "•";
  position: absolute;
  left: 5px;
  color: var(--cta-color);
  font-weight: bold;
}

/* ==========================================================================
   5. STICKY PURCHASE BAR
   ========================================================================== */

.sticky-purchase-bar {
  position: fixed;
  background-color: var(--card-bg);
  border-top: var(--card-border);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  z-index: 98;
  padding: 12px 20px;
  width: 100%;
  left: 0;
  display: none; /* Hidden on mobile — .mobile-sticky-bar covers this role instead */
  align-items: center;
  justify-content: space-between;
  transform: translateY(120%);
  transition: transform 0.3s ease;
  bottom: 0;
}

.sticky-purchase-bar.show {
  transform: translateY(0);
}


.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-bar-thumb {
  width: 36px;
  height: 48px;
  background: linear-gradient(135deg, #4F6BED, #1E3A8A);
  border-radius: 2px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none; /* Hidden on very small screens, shown above mobile */
}

@media (min-width: 480px) {
  .sticky-bar-thumb {
    display: block;
  }
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.sticky-bar-rating {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sticky-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-bar-price {
  text-align: right;
}

.sticky-bar-price-sale {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.sticky-bar-price-original {
  font-size: 12px;
  color: var(--price-strikethrough);
  text-decoration: line-through;
}

.sticky-purchase-bar .btn {
  padding: 10px 20px;
  font-size: 13px;
  width: auto;
}

@media (min-width: 992px) {
  /* Show sticky bar at the top on desktop instead of bottom.
     Matches .hero-grid's actual desktop breakpoint (992px) so the top and
     bottom purchase bars never overlap or double up on tablets/phones. */
  .sticky-purchase-bar {
    display: flex;
    bottom: auto;
    top: 38px; /* Under sticky navbar */
    border-top: none;
    border-bottom: var(--card-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-150%);
  }
  
  .sticky-purchase-bar.show {
    transform: translateY(0);

  }
}


/* ==========================================================================
   6. BONUS GRID — "What You Get"
   ========================================================================== */

.bonus-grid-section {
  background-color: #ffffff;
  border-top: var(--card-border);
}

.bonus-grid-header {
  text-align: center;
  margin-bottom: 48px;
}

.bonus-grid-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
}

.bonus-grid-subtitle {
  font-size: 15px;
  color: var(--text-grey);
  margin-top: 8px;
  font-weight: 500;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-items: center;
}

@media (min-width: 480px) {
  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .bonus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .bonus-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bonus-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
}

.bonus-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  max-width: 180px;
}

/* ==========================================================================
   7. FILE TREE SECTION — "What's Inside"
   ========================================================================== */

.file-tree-section {
  background-color: var(--bg-color);
  border-top: var(--card-border);
}

.file-tree-header {
  text-align: center;
  margin-bottom: 40px;
}

.file-tree-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
}

.file-tree-subtitle {
  font-size: 15px;
  color: var(--text-grey);
  margin-top: 8px;
}

.file-tree-card {
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 24px;
  max-width: 680px;
  margin: 0 auto 32px auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
}

.file-tree-line {
  white-space: pre;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Filenames must never be clipped off the edge of the card on narrow
   screens. The connector/icon stay compact; the label itself is allowed
   to wrap instead of being cut off by the card's fixed width. */
.tree-label,
.tree-file {
  white-space: normal;
  word-break: break-word;
  min-width: 0;
  flex: 1;
}

/* On mobile, a flex column squeezes the label into a narrow strip, causing
   awkward 1-2-word-per-line wrapping. Switch to normal inline text flow
   instead so the wrapped filename uses the full width of the card, just
   like a paragraph of text. */
@media (max-width: 767px) {
  .file-tree-line {
    display: block;
    white-space: normal;
  }

  .tree-connector,
  .tree-icon {
    display: inline;
    white-space: pre;
  }

  .tree-label,
  .tree-file {
    display: inline;
  }
}



.file-tree-line.reveal {

  opacity: 1;
  transform: translateY(0);
}

.tree-connector {
  color: #CBD5E1;
  font-weight: bold;
}

.tree-icon {
  margin: 0 6px;
  flex-shrink: 0;
  display: inline-block;
}

.tree-label {
  font-weight: 600;
}

.tree-folder {
  color: var(--cta-color);
}

.tree-file {
  color: var(--text-main);
}

.file-tree-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.tree-badge-pill {
  background: #ffffff;
  border: var(--card-border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.file-tree-summary {
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  margin-top: 24px;
  color: var(--text-main);
}

/* ==========================================================================
   8. COMBO UPSELL — "Frequently Bought Together"
   ========================================================================== */

.upsell-section {
  background-color: #ffffff;
  border-top: var(--card-border);
}

.upsell-header {
  text-align: center;
  margin-bottom: 48px;
}

.upsell-tagline {
  font-size: 11px;
  font-weight: 800;
  color: #D97706; /* dark gold */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #FEF3C7;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 12px;
}

.upsell-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .upsell-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.upsell-card {
  border: var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}

.upsell-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.upsell-card-cover {
  padding: 15px;
  perspective: 1000px;
}

.upsell-card-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 20px;
}

.upsell-card-sub {
  font-size: 12px;
  color: var(--text-grey);
  margin-top: 6px;
  min-height: 36px;
}

.upsell-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 12px;
}

.upsell-total-box {
  background-color: var(--bg-color);
  border: var(--card-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upsell-total-price {
  font-size: 18px;
  font-weight: 700;
}

.upsell-total-price span.bold {
  font-size: 24px;
  color: var(--text-main);
  font-weight: 800;
}

.upsell-total-price span.original {
  color: var(--price-strikethrough);
  text-decoration: line-through;
  margin-left: 8px;
  font-size: 16px;
}

.upsell-total-save {
  font-size: 14px;
  font-weight: 700;
  color: var(--success-color);
}

.upsell-total-box .btn {
  width: 100%;
}

/* Compact mobile layout — matches the tight 3-across "+" card row style */
@media (max-width: 767px) {
  .upsell-section {
    padding: 32px 16px;
  }

  .upsell-header {
    margin-bottom: 20px;
    text-align: left;
  }

  .upsell-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px 12px;
    border: var(--card-border);
    border-radius: 8px;
    background: var(--bg-color);
  }

  .upsell-card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex: 1;
    min-width: 0;
  }

  .upsell-card:hover {
    transform: none;
    box-shadow: none;
  }

  .upsell-card::after {
    content: '+';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-grey);
  }

  .upsell-card:last-child::after {
    content: none;
  }

  .upsell-card-cover {
    padding: 0;
    transform: scale(0.55);
    transform-origin: center;
    margin: -40px 0;
  }

  .upsell-card-label,
  .upsell-card-sub,
  .upsell-card-price {
    display: none; /* Compact mode shows just the stacked covers */
  }

  .upsell-total-box {
    max-width: 100%;
    padding: 16px;
    text-align: left;
    align-items: flex-start;
  }

  .upsell-total-price {
    font-size: 15px;
  }

  .upsell-total-price span.bold {
    font-size: 20px;
  }
}


/* ==========================================================================
   9. WHATSAPP TESTIMONIAL SLIDESHOW
   ========================================================================== */

.slideshow-section {
  background-color: var(--bg-color);
  border-top: var(--card-border);
}

.slideshow-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Phone Frame border simulation */
.phone-frame {
  background-color: #111827; /* Dark outer edge */
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 4px solid #374151;
  position: relative;
  overflow: hidden;
}

.phone-screen {
  background: #efeae2; /* WhatsApp background */
  border-radius: 26px;
  overflow: hidden;
  height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* WhatsApp Green Header */
.whatsapp-header {
  background-color: #075e54;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
}

.whatsapp-avatar {
  width: 32px;
  height: 32px;
  background-color: #128c7e;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.whatsapp-user-info {
  display: flex;
  flex-direction: column;
}

.whatsapp-name {
  font-size: 13px;
  font-weight: 700;
}

.whatsapp-status {
  font-size: 10px;
  opacity: 0.8;
}

/* WhatsApp Messages area */
.whatsapp-messages {
  flex-grow: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.whatsapp-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
}

.whatsapp-bubble-in {
  background: #ffffff;
  color: var(--text-main);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.whatsapp-bubble-out {
  background: #d9fdd3;
  color: var(--text-main);
  align-self: flex-end;
  border-top-right-radius: 0;
}

.whatsapp-bubble-time {
  font-size: 9px;
  color: #8696a0;
  text-align: right;
  margin-top: 4px;
  display: block;
}

/* Slideshow elements styling */
.slides-wrapper {
  position: relative;
  height: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.slide-item.active {
  opacity: 1;
  pointer-events: auto;
}

/* Real testimonial screenshot slides (inside .phone-screen) */
.testimonial-real-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.testimonial-real-slide.active {
  opacity: 1;
  pointer-events: auto;
}


/* Controls */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border: var(--card-border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--text-main);
  transition: var(--transition);
}

.slideshow-arrow:hover {
  background-color: #f8fafc;
  color: var(--cta-color);
}

.slideshow-arrow-left {
  left: -22px;
}

.slideshow-arrow-right {
  right: -22px;
}

@media (max-width: 680px) {
  .slideshow-arrow-left {
    left: 8px;
  }
  .slideshow-arrow-right {
    right: 8px;
  }
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.slideshow-dot.active {
  background-color: var(--cta-color);
  transform: scale(1.2);
}

/* ==========================================================================
   10. REVIEWS SECTION
   ========================================================================== */

.reviews-section {
  background-color: #ffffff;
  border-top: var(--card-border);
}

.reviews-summary-card {
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
}

.reviews-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-summary-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
  }
}

.reviews-summary-rating {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.reviews-summary-num {
  font-size: 48px;
  font-weight: 800;
}

.reviews-summary-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.rating-bar-label {
  width: 25px;
  text-align: right;
}

.rating-bar-outer {
  flex-grow: 1;
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-inner {
  height: 100%;
  background: var(--star-color);
  border-radius: 4px;
}

.rating-bar-count {
  width: 30px;
  color: var(--text-grey);
}

.reviews-summary-action {
  text-align: center;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.review-item {
  border-bottom: var(--card-border);
  padding-bottom: 24px;
}

.review-item:last-child {
  border-bottom: none;
}

.review-item.hidden {
  display: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background-color: #E2E8F0;
  color: var(--text-main);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
}

.review-stars-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.review-date {
  font-size: 11px;
  color: var(--text-grey);
}

.review-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.reviews-show-more {
  text-align: center;
}

.reviews-show-more .btn {
  width: auto;
}

/* ==========================================================================
   11. FAQ SECTION
   ========================================================================== */

.faq-section {
  background-color: var(--bg-color);
  border-top: var(--card-border);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-title {
  font-size: 36px;
  font-weight: 800;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question-btn {
  background: none;
  border: none;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  font-family: var(--font-primary);
  gap: 16px;
}

.faq-question-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-grey);
  stroke-width: 2px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* Active states */
.faq-item.active .faq-question-btn svg {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer-panel {
  max-height: 200px; /* Sized for standard text answers */
  padding-bottom: 20px;
}

/* ==========================================================================
   12. SUBSCRIBE SECTION
   ========================================================================== */

.subscribe-section {
  background-color: #ffffff;
  border-top: var(--card-border);
  text-align: center;
  padding: 60px 20px;
}

.subscribe-container {
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.subscribe-sub {
  font-size: 14px;
  color: var(--text-grey);
  margin-bottom: 24px;
}

.subscribe-form {
  display: flex;
  border: 1.5px solid var(--text-main);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.subscribe-input {
  flex-grow: 1;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-primary);
  outline: none;
}

.subscribe-submit-btn {
  background: var(--text-main);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.subscribe-submit-btn:hover {
  background: var(--cta-color);
}

.subscribe-submit-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5px;
}

.subscribe-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  color: var(--text-grey);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--cta-color);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.footer {
  background-color: var(--bg-color);
  border-top: var(--card-border);
  padding: 32px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-grey);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer-region {
  font-weight: 600;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--text-main);
}

.footer-copyright {
  margin-top: 8px;
}

/* ==========================================================================
   MODALS (EMAIL CAPTURE, EXIT INTENT)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-grey);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-main);
  transform: scale(1.1);
}

.modal-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.modal-header-icon {
  font-size: 32px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.modal-subtext {
  font-size: 13px;
  color: var(--text-grey);
  line-height: 1.5;
}

.modal-badge-row {
  margin: 4px 0;
}

.modal-product-badge {
  background-color: var(--bg-color);
  border: var(--card-border);
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.modal-form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-form-input {
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.modal-form-input:focus {
  border-color: var(--cta-color);
}

.modal-form .btn {
  margin-top: 4px;
}

.modal-footer-note {
  font-size: 10px;
  color: var(--text-grey);
  line-height: 1.4;
}

.modal-payment-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.modal-payment-icon {
  border: var(--card-border);
  border-radius: 4px;
  height: 22px;
  padding: 2px 6px;
  display: flex;
  align-items: center;
}

.modal-payment-icon svg {
  height: 100%;
}

/* Exit Intent Modal Specific Layout styling */
.exit-intent-accent {
  height: 6px;
  background-color: #EF4444; /* Red accent */
  width: 100%;
}

.exit-intent-timer {
  background-color: #FEF2F2;
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #B91C1C;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.exit-intent-prices {
  display: flex;
  align-items: center;
  justify-content: center;

/* ==========================================================================
   Universal Product Upsell Page Styles (/product/{slug})
   ========================================================================== */
html.wplp-upsell-root,
body.wplp-upsell-page-wrap {
  --primary-color: #22d3ee;
  --primary-hover: #06b6d4;
  --bg-dark: #070a12;
  --card-bg: #0d1520;
  --card-border: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  background-color: #070a12 !important;
  background-image: radial-gradient(circle at 50% 20%, #0f2438 0%, #070a12 70%) !important;
  background-attachment: fixed !important;
  color: #f8fafc !important;
  line-height: 1.5;
  min-height: 100vh;
  margin: 0 !important;
  padding: 30px 16px !important;
  box-sizing: border-box;
}

body.wplp-upsell-page-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

body.wplp-upsell-page-wrap a {
  color: #38bdf8;
}

.wplp-upsell-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.wplp-upsell-modal-card {
  background: var(--card-bg, #0d1520) !important;
  border: 1px solid var(--card-border, #1e293b) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(34, 211, 238, 0.04) !important;
  padding: 40px 36px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .wplp-upsell-modal-card {
    padding: 30px 20px !important;
    border-radius: 18px !important;
  }
}

.wplp-upsell-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 22px;
}
.wplp-pill-icon { font-weight: 800; }

.wplp-upsell-preheading {
  font-size: 26px !important;
  font-weight: 850 !important;
  color: #f8fafc !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.02em !important;
}

.wplp-upsell-main-title {
  font-size: 32px !important;
  font-weight: 900 !important;
  margin: 0 0 14px 0 !important;
  background: linear-gradient(135deg, #38bdf8, #22d3ee) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #22d3ee !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

.wplp-upsell-subtitle {
  font-size: 14.5px !important;
  color: #94a3b8 !important;
  line-height: 1.55 !important;
  margin: 0 0 24px 0 !important;
}

.wplp-upsell-timer-box {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  margin-bottom: 24px !important;
  color: #ef4444 !important;
  text-align: center !important;
}
.wplp-upsell-timer-msg { font-size: 13px; font-weight: 600; color: #f87171; }
.wplp-upsell-timer-clock { font-size: 26px; font-weight: 900; color: #f87171; letter-spacing: 1.5px; margin-top: 2px; }

.wplp-upsell-offer-meta { margin-bottom: 16px; }
.wplp-upsell-offer-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #64748b; text-transform: uppercase; margin-bottom: 6px; }
.wplp-upsell-offer-summary { font-size: 13.5px; color: #cbd5e1; font-weight: 500; }

.wplp-upsell-price-row { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 26px; }
.wplp-upsell-orig-price { font-size: 22px; color: #64748b; text-decoration: line-through; font-weight: 600; }
.wplp-upsell-sale-price { font-size: 38px; font-weight: 900; color: #22d3ee; letter-spacing: -0.02em; text-shadow: 0 0 25px rgba(34, 211, 238, 0.35); }

.wplp-upsell-form-area { margin-bottom: 12px; text-align: left; }
.wplp-upsell-form-area .wplp-form-wrap,
body.wplp-upsell-page-wrap .wplp-form-wrap { background: transparent !important; box-shadow: none !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.wplp-upsell-form-area .wplp-form-group,
body.wplp-upsell-page-wrap .wplp-form-group { margin-bottom: 14px !important; }
.wplp-upsell-form-area label,
body.wplp-upsell-page-wrap .wplp-form-field-wrapper .wplp-form-label,
body.wplp-upsell-page-wrap label { display: block !important; font-size: 13px !important; font-weight: 600 !important; color: #cbd5e1 !important; margin-bottom: 6px !important; }

body.wplp-upsell-page-wrap input[type="text"],
body.wplp-upsell-page-wrap input[type="email"],
body.wplp-upsell-page-wrap input[type="tel"],
body.wplp-upsell-page-wrap .wplp-form-field-wrapper input {
  width: 100% !important; padding: 13px 16px !important; border-radius: 10px !important; border: 1px solid #1e293b !important; background: #080d16 !important; color: #f8fafc !important; font-size: 15px !important; box-sizing: border-box !important; transition: border-color 0.2s, box-shadow 0.2s !important;
}
body.wplp-upsell-page-wrap input[type="text"]:focus,
body.wplp-upsell-page-wrap input[type="email"]:focus,
body.wplp-upsell-page-wrap input[type="tel"]:focus,
body.wplp-upsell-page-wrap .wplp-form-field-wrapper input:focus { outline: none !important; border-color: #22d3ee !important; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15) !important; }

body.wplp-upsell-page-wrap button[type="submit"],
body.wplp-upsell-page-wrap .wplp-submit-btn,
body.wplp-upsell-page-wrap .wplp-submit-button {
  width: 100% !important; padding: 16px 24px !important; border-radius: 12px !important; border: none !important; background: linear-gradient(135deg, #22d3ee, #0d9488) !important; color: #042f2e !important; font-size: 16.5px !important; font-weight: 850 !important; cursor: pointer !important; transition: transform 0.15s, box-shadow 0.15s !important; box-shadow: 0 0 25px rgba(34, 211, 238, 0.35) !important; margin-top: 6px !important;
}
body.wplp-upsell-page-wrap button[type="submit"]:hover,
body.wplp-upsell-page-wrap .wplp-submit-btn:hover,
body.wplp-upsell-page-wrap .wplp-submit-button:hover { transform: translateY(-1px) !important; box-shadow: 0 0 32px rgba(34, 211, 238, 0.5) !important; }

.wplp-upsell-microcopy { font-size: 12.5px; color: #64748b; margin-bottom: 26px; text-align: center; }

.wplp-upsell-feature-list { list-style: none; padding: 0; margin: 0 0 24px 0; text-align: left; }
.wplp-upsell-feature-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #cbd5e1; margin-bottom: 12px; line-height: 1.4; }
.wplp-upsell-feature-list .wplp-feat-icon {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #34d399; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.wplp-upsell-guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #94a3b8; margin-bottom: 16px; }
.wplp-upsell-cancel-wrap { margin-top: 14px; }
.wplp-upsell-cancel-link { color: #64748b; font-size: 13.5px; text-decoration: underline; transition: color 0.15s; }
.wplp-upsell-cancel-link:hover { color: #94a3b8; }

.wplp-upsell-page-footer-note { text-align: center; font-size: 13px; color: #64748b; margin-top: 24px; line-height: 1.5; }
.wplp-upsell-page-footer-note a { color: #94a3b8; text-decoration: underline; }

.exit-intent-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}

.exit-intent-prices .old {
  font-size: 14px;
  color: var(--price-strikethrough);
  text-decoration: line-through;
}

.exit-intent-prices .new {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.exit-intent-close-link {
  font-size: 11px;
  color: var(--text-grey);
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 4px;
}

.exit-intent-close-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   MOBILE STICKY BOTTOM BAR (Visible below 768px only)
   ========================================================================== */

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border-top: var(--card-border);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 97;
}

.mobile-sticky-price {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-sale {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.mobile-sticky-original {
  font-size: 12px;
  color: var(--price-strikethrough);
  text-decoration: line-through;
  line-height: 1;
}

.mobile-sticky-bar .btn {
  width: auto;
  padding: 10px 20px;
  font-size: 13px;
}

/* Hide on desktop views — matches .sticky-purchase-bar's 992px breakpoint */
@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}


/* EMOJI RESET FOR WORDPRESS EMULATION */
img.wp-smiley,
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
  max-width: 1em !important;
  max-height: 1em !important;
}

/* WP LP BUILDER CORE IMAGE EDITABLE STYLES */
.wplp-image-default-wrapper {
  cursor: pointer;
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 767px) {
  .wplp-hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .wplp-hide-desktop {
    display: none !important;
  }
}

/* ==========================================================================
   PRICING TABLE SECTION (3D glass cards, Monthly vs Yearly)
   ========================================================================== */

.pricing-table-section {
  background: radial-gradient(circle at 50% 0%, #171b2e 0%, #0b0e1a 60%, #05060c 100%);
  color: #E5E7EB;
  overflow: hidden;
}

.pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.pricing-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta-color);
  margin-bottom: 12px;
}

.pricing-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.pricing-subtitle {
  font-size: 16px;
  color: #9CA3AF;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1200px;
}

.pricing-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 32px;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
}

.pricing-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 30px 60px -20px rgba(59, 91, 219, 0.35);
}

.pricing-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(59,91,219,0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.pricing-card-glow-featured {
  background: radial-gradient(circle, rgba(245,158,11,0.35), transparent 70%);
}

.pricing-card-featured {
  border: 1px solid rgba(245,158,11,0.5);
  background: linear-gradient(160deg, rgba(245,158,11,0.09), rgba(255,255,255,0.03));
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #1a1a2e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(245,158,11,0.4);
  z-index: 2;
}

.pricing-card-label {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  margin-bottom: 16px;
  z-index: 1;
}

.pricing-card-price {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  z-index: 1;
}

.pricing-amount {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
}

.pricing-period {
  font-size: 15px;
  color: #9CA3AF;
}

.pricing-feature-list {
  position: relative;
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #D1D5DB;
  line-height: 1.5;
}

.pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: #10B981;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-pricing {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
}

.pricing-btn-monthly {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
}

.pricing-btn-monthly:hover {
  background: rgba(255,255,255,0.15);
}

.pricing-btn-yearly {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #1a1a2e;
  box-shadow: 0 10px 24px -6px rgba(245,158,11,0.5);
}

.pricing-btn-yearly:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(245,158,11,0.6);
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pricing-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   VIDEO EMBED SECTION
   ========================================================================== */

.video-embed-section {
  background: var(--bg-color);
}

.video-embed-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.video-embed-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta-color);
  margin-bottom: 12px;
}

.video-embed-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
}

.video-embed-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.25);
}

.video-embed-frame-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CUSTOM REQUIREMENTS CTA SECTION
   ========================================================================== */

.custom-requirements-section {
  background: linear-gradient(135deg, var(--cta-color), #1E3A8A);
}

.custom-requirements-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.custom-requirements-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.custom-requirements-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 28px;
}

.custom-requirements-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--cta-color);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.3);
}

.custom-requirements-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(0,0,0,0.4);
}




			/* WP LP Builder - Universal Emoji Reset (prevents WordPress wp-emoji from expanding into giant blocks) */
			img.emoji,
			.emoji,
			body img.emoji,
			body .emoji,
			body .wplp-page img.emoji,
			body .gsi-page img.emoji,
			body .atp-page img.emoji,
			body .cbi-page img.emoji,
			body .emi-page img.emoji,
			body .sei-page img.emoji,
			body .bw-guide-page img.emoji {
				display: inline !important;
				border: none !important;
				box-shadow: none !important;
				height: 1em !important;
				width: 1em !important;
				max-width: 1em !important;
				max-height: 1em !important;
				margin: 0 0.15em !important;
				vertical-align: -0.15em !important;
				background: none !important;
				padding: 0 !important;
			}

