/* =========================================================
   FUNNEL PAGE LAYOUT
========================================================= */

.funnel-page {
  color: #ffffff;
  padding: 40px 20px;
}

.funnel-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 80px 60px;
  border-radius: 24px;
  overflow: visible;

  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(77, 184, 255, 0.28);

  box-shadow:
    0 0 14px rgba(77, 184, 255, 0.15),
    0 0 35px rgba(77, 184, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.45);

  animation: funnelGlow 2.5s infinite ease-in-out;
}

/* =========================================================
   FUNNEL CONTAINER GLOW
========================================================= */

@keyframes funnelGlow {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(77, 184, 255, 0.12),
      0 0 18px rgba(77, 184, 255, 0.08),
      0 0 35px rgba(77, 184, 255, 0.04);
  }

  50% {
    box-shadow:
      0 0 20px rgba(77, 184, 255, 0.45),
      0 0 45px rgba(77, 184, 255, 0.28),
      0 0 80px rgba(77, 184, 255, 0.14);
  }
}

/* =========================================================
   H1 HERO HEADING
========================================================= */

.funnel-content h1 {
  position: relative;
  margin-bottom: 55px;
  padding-bottom: 20px;
  text-align: center;
  font-family: "Acme", sans-serif;
  font-size: clamp(2.3rem, 6.5vw, 3.8rem);
  line-height: clamp(3.2rem, 8vw, 5rem);
  text-shadow: 0 0 14px rgba(77, 184, 255, 0.18);
}

.funnel-content h1::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(77, 184, 255, 0),
    rgba(77, 184, 255, 1),
    rgba(77, 184, 255, 0)
  );
  box-shadow: 0 0 12px rgba(77, 184, 255, 0.4);
}

.funnel-content h1::after {
  content: "✦";
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  font-size: 2.2rem;
  color: #4db8ff;
  text-shadow:
    0 0 10px rgba(77, 184, 255, 0.45),
    0 0 25px rgba(77, 184, 255, 0.25);
  animation: heroSymbolGlow 2.5s infinite ease-in-out;
}

@keyframes heroSymbolGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
  }
}

/* =========================================================
   FUNNEL SUBHEADING
========================================================= */

.funnel-content .funnel_subheading {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0;
  text-align: center;
  font-family: "Merriweather", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(77, 184, 255, 0.18),
    0 0 25px rgba(77, 184, 255, 0.08);
}

.funnel_subheading::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 35px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 184, 255, 1),
    transparent
  );
  box-shadow: 0 0 12px rgba(77, 184, 255, 0.4);
}

/* =========================================================
   H2 MAJOR SECTION HEADING
========================================================= */

/* =========================================================
   FUNNEL H2
========================================================= */

.funnel-content h2 {
  position: relative;

  display: block;

  width: calc(100% + 120px);

  margin: 20px 0 55px;

  margin-left: -60px;
  margin-right: -60px;

  padding: 32px 60px;

  box-sizing: border-box;

  text-align: center;

  font-family: "Merriweather", serif;

  font-size: clamp(2rem, 5vw, 2.9rem);

  line-height: 1.2;

  letter-spacing: 0.5px;

  color: #ffffff;

  border-top: 1px solid rgba(77, 184, 255, 0.25);
  border-bottom: 1px solid rgba(77, 184, 255, 0.25);

  background: linear-gradient(
    135deg,
    rgba(77, 184, 255, 0.12),
    rgba(77, 184, 255, 0.04)
  );

  box-shadow:
    0 0 15px rgba(77, 184, 255, 0.12),
    0 0 30px rgba(77, 184, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  text-shadow: 0 0 10px rgba(77, 184, 255, 0.12);
}

/* TOP SYMBOL */

.funnel-content h2::before {
  content: "⟡";

  position: absolute;

  left: 50%;
  top: -14px;

  transform: translateX(-50%);

  padding: 0 12px;

  font-size: 1rem;

  color: #4db8ff;

  background: rgba(0, 0, 0, 0.8);

  text-shadow:
    0 0 10px rgba(77, 184, 255, 0.5),
    0 0 20px rgba(77, 184, 255, 0.2);
}

/* BOTTOM SYMBOL */

.funnel-content h2::after {
  content: "⟡";

  position: absolute;

  left: 50%;
  bottom: -14px;

  transform: translateX(-50%);

  padding: 0 12px;

  font-size: 1rem;

  color: #4db8ff;

  background: rgba(0, 0, 0, 0.8);

  text-shadow:
    0 0 10px rgba(77, 184, 255, 0.5),
    0 0 20px rgba(77, 184, 255, 0.2);
}

/* MOBILE */

@media (max-width: 768px) {
  .funnel-content h2 {
    width: calc(100% + 50px);

    margin-left: -25px;
    margin-right: -25px;

    padding: 28px 25px;

    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }
}

/* =========================================================
   H3 / H4 SUBHEADINGS
========================================================= */

.funnel-content h3 {
  position: relative;
  text-align: center;
  margin: 90px 0 55px;
  font-family: "Acme", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(77, 184, 255, 0.15);
}

.funnel-content h3::before,
.funnel-content h3::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, #4db8ff, transparent);
  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.6),
    0 0 25px rgba(77, 184, 255, 0.25);
}

.funnel-content h3::before {
  margin-bottom: 14px;
}

.funnel-content h3::after {
  margin-top: 14px;
}

.funnel-content h4 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-family: "Acme", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================================
   BODY TEXT
========================================================= */

.funnel-content p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  font-family: "Merriweather", serif;
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.9;
  letter-spacing: 0.25px;
  color: rgba(255, 255, 255, 0.96);
}

.funnel-content strong,
.funnel-content b {
  font-size: 1.12em;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* =========================================================
   FIGURES / IMAGES / CAPTIONS
========================================================= */

.funnel-content figure.wp-block-image,
.funnel-content .wp-block-image {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.funnel-content figure {
  margin-bottom: 60px;
}

.funnel-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.funnel-content figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  letter-spacing: 1px;
  position: relative;
}

.funnel-content figcaption::before,
.funnel-content figcaption::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  margin: 0 12px;
  vertical-align: middle;
  background: rgba(77, 184, 255, 0.4);
}

/* =========================================================
   COLUMNS / CARDS
========================================================= */

.funnel-content .wp-block-columns {
  gap: 25px;
  margin: 60px 0;
}

.funnel-content .wp-block-column {
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.funnel-content .wp-block-column:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 184, 255, 0.3);
}

/* =========================================================
   FORMS / IFRAMES
========================================================= */

.funnel-content form,
.funnel-content iframe {
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  display: block;
  border-radius: 18px;
}

/* =========================================================
   H2 SECTION BOXES
========================================================= */

.funnel-section-box {
  position: relative;
  margin: 70px 0;
  padding: 40px 35px;
  border-radius: 26px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(77, 184, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.06),
    0 0 22px rgba(77, 184, 255, 0.12),
    0 0 55px rgba(77, 184, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: sectionGlow 4s ease-in-out infinite;
}

.funnel-section-box:not(:first-child)::before {
  content: "✦";
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #4db8ff;
  z-index: 20;
  text-shadow:
    0 0 15px rgba(77, 184, 255, 0.8),
    0 0 35px rgba(77, 184, 255, 0.4);
}

.funnel-section-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 184, 255, 0.8),
    transparent
  );
  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.6),
    0 0 24px rgba(77, 184, 255, 0.25);
  pointer-events: none;
}

.funnel-section-box h2:first-child {
  margin-top: 0;
}

/* =========================================================
   SECTION BOX GLOW ANIMATION
========================================================= */

@keyframes sectionGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(77, 184, 255, 0.06),
      0 0 22px rgba(77, 184, 255, 0.12),
      0 0 55px rgba(77, 184, 255, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(77, 184, 255, 0.14),
      0 0 38px rgba(77, 184, 255, 0.2),
      0 0 80px rgba(77, 184, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
}

/* =========================================================
   READING PROGRESS BAR
========================================================= */

.funnel-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.08);
}

.funnel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4db8ff, #ffffff);
  box-shadow: 0 0 14px rgba(77, 184, 255, 0.7);
}

/* =========================================================
   FUNNEL CTA BUTTON
========================================================= */
.funnel-cta-button {
  position: relative;

  padding: 16px 34px;

  background: rgba(255, 255, 255, 0.02);

  color: #ffffff;

  border: 1px solid rgba(77, 184, 255, 0.35);

  border-radius: 999px;

  cursor: pointer;

  font-family: "Acme", sans-serif;

  font-size: clamp(1.25rem, 2vw, 1.4rem);

  font-weight: 700;

  letter-spacing: 0.8px;

  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 12px rgba(77, 184, 255, 0.18),
    0 0 30px rgba(77, 184, 255, 0.08);

  animation: ctaGlow 3s ease-in-out infinite;

  transition: all 0.3s ease;
}

.funnel-cta-button::before {
  content: "➜";

  display: inline-block;

  margin-right: 10px;

  color: #ffffff;

  animation: pointerBounce 1.5s infinite ease-in-out;
}

.funnel-cta-button:hover {
  transform: translateY(-2px) scale(1.03);

  border-color: rgba(77, 184, 255, 0.8);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 18px rgba(77, 184, 255, 0.45),
    0 0 45px rgba(77, 184, 255, 0.2);
}

@keyframes pointerBounce {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-4px);
  }
}

/* =========================================================
   CTA BUTTON GLOW ANIMATION
========================================================= */

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 12px rgba(77, 184, 255, 0.18),
      0 0 30px rgba(77, 184, 255, 0.08);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 20px rgba(77, 184, 255, 0.45),
      0 0 55px rgba(77, 184, 255, 0.18);
  }
}

/* =========================================================
   MOBILE STYLES
========================================================= */

@media (max-width: 900px) {
  .funnel-page {
    padding: 20px;
  }

  .funnel-content {
    width: 100%;
    max-width: 960px;
    padding: 40px 25px;
    border-radius: 18px;
  }

  .funnel-section-box {
    margin: 70px 0;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .funnel-section-box:not(:first-child)::before {
    top: -48px;
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .funnel-content li {
    padding: 16px 18px 16px 52px;
    font-size: 1rem;
  }

  .funnel-content ul li::before,
  .funnel-content ol li::before {
    left: 16px;
    top: 18px;
  }
}

/* =========================================================
  PRICING
========================================================= */

/* =====================================
   PRICING CARD
===================================== */

.pricing-card {
  position: relative;

  margin: 60px 0;

  padding: 45px;

  border-radius: 24px;

  background: rgba(70, 255, 170, 0.05);

  border: 1px solid rgba(70, 255, 170, 0.25);

  backdrop-filter: blur(14px);

  box-shadow:
    0 0 15px rgba(70, 255, 170, 0.12),
    0 0 35px rgba(70, 255, 170, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);

  border-color: rgba(70, 255, 170, 0.45);

  box-shadow:
    0 0 25px rgba(70, 255, 170, 0.18),
    0 0 50px rgba(70, 255, 170, 0.12),
    0 25px 60px rgba(0, 0, 0, 0.45);
}

/* FEATURED PLAN */

.pricing-card.featured {
  border-color: rgba(70, 255, 170, 0.55);

  box-shadow:
    0 0 25px rgba(70, 255, 170, 0.22),
    0 0 50px rgba(70, 255, 170, 0.12),
    0 25px 60px rgba(0, 0, 0, 0.45);
}

/* BADGE */

.pricing-badge {
  position: absolute;

  top: 20px;
  right: 20px;

  padding: 8px 18px;

  border-radius: 999px;

  background: #46ffaa;

  color: #08111d;

  font-weight: 700;

  font-size: 0.9rem;

  box-shadow: 0 0 15px rgba(70, 255, 170, 0.35);
}

/* TITLE */

.pricing-card h3 {
  margin: 0 0 15px;

  text-align: center;

  font-family: "Acme", sans-serif;

  font-size: clamp(2rem, 4vw, 3rem);

  color: #ffffff;
}

/* PRICE */

.pricing-price {
  text-align: center;

  margin-bottom: 30px;

  font-family: "Acme", sans-serif;

  font-size: clamp(2.2rem, 5vw, 3.5rem);

  color: #46ffaa;

  text-shadow:
    0 0 12px rgba(70, 255, 170, 0.35),
    0 0 25px rgba(70, 255, 170, 0.15);
}

/* CTA TEXT */

.pricing-card p:last-of-type {
  margin-top: 30px;
  margin-bottom: 15px;

  font-weight: 700;

  color: #ffffff;
}

/* BUTTON */

.pricing-card .glass-btn {
  margin-top: 15px;
}

/* Demo Popup Modal */

body.modal-open {
  overflow: hidden;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.demo-modal.active {
  display: flex;
}

.demo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.demo-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(18, 28, 43, 0.96),
    rgba(5, 10, 18, 0.96)
  );
  border: 1px solid rgba(77, 184, 255, 0.28);
  box-shadow:
    0 0 45px rgba(77, 184, 255, 0.18),
    0 25px 90px rgba(0, 0, 0, 0.55);
  animation: demoPop 0.35s ease;
}

@keyframes demoPop {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}

.demo-modal-close:hover {
  background: rgba(77, 184, 255, 0.18);
  transform: rotate(90deg);
}

.demo-modal-box h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: "Acme", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  text-align: center;
}

.demo-modal-box p {
  max-width: 500px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.demo-form {
  display: grid;
  gap: 16px;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-form input {
  width: 100%;
  padding: 17px 18px;
  border-radius: 14px;
  border: 1px solid rgba(77, 184, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: 0.25s ease;
}

.demo-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.demo-form input:focus {
  border-color: rgba(77, 184, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(77, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.demo-submit-btn {
  margin-top: 8px;
  padding: 18px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #4db8ff, #8ce6ff);
  color: #03101c;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 0 30px rgba(77, 184, 255, 0.35),
    0 12px 35px rgba(0, 0, 0, 0.35);
  transition: 0.25s ease;
}

.demo-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 42px rgba(77, 184, 255, 0.55),
    0 18px 45px rgba(0, 0, 0, 0.45);
}

@media (max-width: 650px) {
  .demo-modal-box {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .demo-form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   REQUEST DEMO BUTTON
========================================================= */

.request-demo-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-top: 25px;

  margin-bottom: 20px;

  padding: 18px 36px;

  border-radius: 999px;

  text-decoration: none;

  font-family: "Acme", sans-serif;

  font-size: 1.15rem;

  font-weight: 700;

  letter-spacing: 0.5px;

  color: #0f1720;

  background: linear-gradient(135deg, #4db8ff, #7ddcff);

  border: 1px solid rgba(77, 184, 255, 0.35);

  box-shadow:
    0 0 20px rgba(77, 184, 255, 0.25),
    0 0 45px rgba(77, 184, 255, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.35);

  transition: all 0.3s ease;
}

.request-demo-button:hover {
  transform: translateY(-3px);

  border-color: rgba(77, 184, 255, 0.8);

  box-shadow:
    0 0 35px rgba(77, 184, 255, 0.45),
    0 0 70px rgba(77, 184, 255, 0.18),
    0 18px 45px rgba(0, 0, 0, 0.45);
}
