
/* PITANGA WEALTH — REFER & EARN */

.pw-refer-page {
  --ref-green: #08784c;
  --ref-dark: #103e2b;
  --ref-mint: #e4f7e9;
  --ref-yellow: #ffce69;
  --ref-purple: #eee5ff;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ref-dark);
}

.pw-refer-page * {
  box-sizing: border-box;
}

.pw-refer-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.pw-refer-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) 0 100px;
  background:
    radial-gradient(circle at 8% 20%, #c5f5d9 0, transparent 35%),
    radial-gradient(circle at 85% 15%, #fff0b7 0, transparent 34%),
    radial-gradient(circle at 75% 90%, #e5d7ff 0, transparent 35%),
    #f8fcf7;
}

.pw-refer-hero::before,
.pw-refer-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pw-refer-hero::before {
  width: 280px;
  height: 280px;
  top: 12%;
  left: -140px;
  background: #a6eec1;
  opacity: .35;
  filter: blur(30px);
}

.pw-refer-hero::after {
  width: 320px;
  height: 320px;
  right: -150px;
  bottom: -120px;
  background: #e5c7ff;
  opacity: .5;
  filter: blur(35px);
}

.pw-refer-hero .pw-refer-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(35px, 5vw, 80px);
  align-items: center;
}

.pw-refer-eyebrow {
  display: inline-flex;
  padding: 11px 17px;
  border-radius: 50px;
  background: #d8f5e2;
  color: #08784c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.pw-refer-hero-content h1 {
  margin: 25px 0;
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.08;
}

.pw-refer-hero-content h1 span {
  display: block;
  color: #0b9959;
}

.pw-refer-hero-content p {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.85;
  color: #52675a;
}

.pw-refer-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  padding: 17px 28px;
  border-radius: 12px;
  background: #08784c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px #08784c30;
  transition: transform .25s, background .25s;
}

.pw-refer-cta:hover {
  transform: translateY(-3px);
  background: #075f3d;
  color: #fff;
}

.pw-refer-form-card {
  padding: clamp(25px, 4vw, 42px);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 25px 80px #16492b18;
  border: 1px solid #e1eee5;
}

.pw-refer-form-card h2 {
  margin: 0 0 10px;
  font-size: 29px;
  letter-spacing: -1px;
}

.pw-refer-form-card p {
  color: #617267;
  line-height: 1.7;
}

.pw-refer-disclaimer {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #64746a;
  background: #f4f8f4;
}

@media (max-width: 850px) {
  .pw-refer-hero {
    padding: 100px 0 65px;
  }

  .pw-refer-hero .pw-refer-container {
    grid-template-columns: 1fr;
  }

  .pw-refer-hero-content h1 {
    font-size: clamp(43px, 9vw, 65px);
    letter-spacing: -2px;
  }

  .pw-refer-hero-content p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-refer-cta {
    transition: none;
  }
}

/* REFER & EARN — HERO FORM */

.pw-refer-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 25px;
}

.pw-refer-form-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: #e3f8eb;
  color: #08784c;
  font-size: 26px;
}

.pw-refer-form-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(23px, 2vw, 29px);
}

.pw-refer-form-heading p {
  margin: 0;
  font-size: 14px;
}

.pw-refer-field {
  margin-bottom: 17px;
}

.pw-refer-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #214333;
}

.pw-refer-field label span {
  color: #d34a4a;
}

.pw-refer-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 15px;
  border: 1px solid #dce9df;
  border-radius: 11px;
  background: #fbfdfb;
  color: #183b2b;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.pw-refer-field input:focus {
  border-color: #0b9959;
  box-shadow: 0 0 0 3px #0b99591a;
}

.pw-refer-field input::placeholder {
  color: #9aaca0;
}

.pw-refer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pw-refer-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pw-refer-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 5px 0 20px;
  font-size: 12px;
  line-height: 1.7;
  color: #617267;
}

.pw-refer-consent input {
  flex-shrink: 0;
  margin-top: 4px;
  accent-color: #08784c;
}

.pw-refer-consent a {
  color: #08784c;
  text-decoration: underline;
}

.pw-refer-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(110deg, #08784c, #0ba766);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.pw-refer-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px #08784c30;
}

.pw-refer-form-card .pw-refer-form-note {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 480px) {
  .pw-refer-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pw-refer-form-card {
    padding: 24px 20px;
  }
}

.pw-refer-notice {
  padding: 14px 16px;
  margin: 0 0 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  background: #fff0e4;
  color: #8c481c;
}

.pw-refer-notice.success {
  background: #e1f7e9;
  color: #09663e;
}

.pw-refer-notice.partial {
  background: #fff4d8;
  color: #855c0b;
}

/* AJAX FORM FEEDBACK */

.pw-refer-submit {
  justify-content: center;
  gap: 12px;
}

.pw-refer-submit > span:last-child {
  margin-left: auto;
}

.pw-refer-submit.is-loading {
  opacity: .8;
  cursor: wait;
  pointer-events: none;
}

.pw-refer-submit:disabled {
  cursor: not-allowed;
}

.pw-refer-spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #ffffff60;
  border-top-color: #fff;
  border-radius: 50%;
  animation: pw-refer-spin .7s linear infinite;
}

@keyframes pw-refer-spin {
  to {
    transform: rotate(360deg);
  }
}

.pw-refer-ajax-message {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.pw-refer-ajax-message[hidden] {
  display: none;
}

.pw-refer-ajax-message.success {
  background: #ddf8e8;
  border: 1px solid #b8ebcc;
  color: #08643e;
}

.pw-refer-ajax-message.warning {
  background: #fff5da;
  border: 1px solid #f1d899;
  color: #835c14;
}

.pw-refer-ajax-message.error {
  background: #fff0ed;
  border: 1px solid #f3c5bb;
  color: #a32c25;
}

@media (prefers-reduced-motion: reduce) {
  .pw-refer-spinner {
    animation: none;
  }
}

/* =========================================
   REFER & EARN — BENEFITS SECTION
========================================= */

.pw-refer-benefits {
  position: relative;
  padding: 110px 0 105px;
  background: #fffefa;
  overflow: hidden;
}

.pw-refer-benefits::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #e9f8e9;
  filter: blur(95px);
  left: -220px;
  top: 100px;
  pointer-events: none;
}

.pw-refer-section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.pw-refer-section-label {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  background: #e5f7eb;
  color: #08784c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.pw-refer-section-heading h2 {
  margin: 22px 0;
  color: #103e2b;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -2px;
}

.pw-refer-section-heading h2 span {
  color: #0a9c5d;
}

.pw-refer-section-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #607369;
  font-size: 16px;
  line-height: 1.9;
}

.pw-refer-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pw-refer-benefit-card {
  position: relative;
  min-height: 305px;
  padding: 29px;
  border-radius: 25px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.pw-refer-benefit-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px #153b261a;
}

.pw-ref-card-green {
  background: linear-gradient(145deg, #ddf9e5, #f1fcf2);
  color: #145d39;
}

.pw-ref-card-purple {
  background: linear-gradient(145deg, #e9e0ff, #f6f0ff);
  color: #6740a5;
}

.pw-ref-card-yellow {
  background: linear-gradient(145deg, #fff0c2, #fff9e6);
  color: #93621b;
}

.pw-ref-card-blue {
  background: linear-gradient(145deg, #dcf2ff, #effaff);
  color: #256b91;
}

.pw-ref-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 35px;
}

.pw-ref-benefit-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 19px;
  background: #ffffffb8;
  box-shadow: 0 6px 22px #00000008;
}

.pw-ref-benefit-icon svg {
  width: 38px;
  height: 38px;
}

.pw-ref-card-number {
  font-size: 13px;
  font-weight: 800;
  opacity: .55;
  letter-spacing: 1px;
}

.pw-refer-benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.6px;
  color: inherit;
}

.pw-refer-benefit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #44594d;
}

.pw-ref-card-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 25px solid currentColor;
  border-radius: 50%;
  opacity: .055;
  right: -75px;
  bottom: -75px;
  pointer-events: none;
}

/* FEATURED WIDE CARD */

.pw-ref-card-featured {
  grid-column: 1 / -1;
  min-height: 290px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    115deg,
    #075338 0%,
    #098b58 60%,
    #0bbd76 100%
  );
  color: #fff;
}

.pw-ref-featured-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.pw-ref-card-featured .pw-ref-card-top {
  margin-bottom: 18px;
}

.pw-ref-card-featured .pw-ref-benefit-icon {
  background: #ffffff25;
}

.pw-ref-card-featured h3 {
  color: #fff;
  font-size: clamp(27px, 3vw, 38px);
}

.pw-ref-card-featured p {
  color: #e0f8e9;
  font-size: 15px;
  max-width: 580px;
}

.pw-ref-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 24px;
  padding: 14px 20px;
  background: #fff;
  color: #08784c;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s;
}

.pw-ref-featured-link:hover {
  transform: translateY(-3px);
  color: #08784c;
}

.pw-ref-featured-art {
  position: absolute;
  width: 340px;
  height: 340px;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.pw-ref-art-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid #ffffff80;
  background: #ffffff17;
  backdrop-filter: blur(5px);
}

.pw-ref-art-circle.circle-one {
  width: 150px;
  height: 150px;
  top: 20px;
  left: 70px;
}

.pw-ref-art-circle.circle-two {
  width: 110px;
  height: 110px;
  bottom: 20px;
  left: 10px;
}

.pw-ref-art-circle.circle-three {
  width: 85px;
  height: 85px;
  bottom: 60px;
  right: 15px;
}

.pw-ref-art-line {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px dashed #ffffff65;
  border-radius: 50%;
  top: 70px;
  left: 75px;
}

.pw-ref-art-star {
  position: absolute;
  top: 45%;
  left: 47%;
  color: #ffe28b;
  font-size: 80px;
  animation: pw-ref-star-float 5s ease-in-out infinite;
}

@keyframes pw-ref-star-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(12deg);
  }
}

.pw-ref-benefits-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: #728178;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .pw-refer-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pw-ref-featured-art {
    right: -60px;
    opacity: .5;
  }
}

@media (max-width: 650px) {
  .pw-refer-benefits {
    padding: 75px 0;
  }

  .pw-refer-section-heading {
    margin-bottom: 35px;
  }

  .pw-refer-section-heading h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .pw-refer-benefits-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pw-refer-benefit-card {
    min-height: auto;
    padding: 26px;
  }

  .pw-ref-card-top {
    margin-bottom: 22px;
  }

  .pw-ref-card-featured {
    padding: 32px 26px;
  }

  .pw-ref-featured-art {
    opacity: .13;
    right: -150px;
  }

  .pw-ref-card-featured h3 {
    font-size: 29px;
  }

  .pw-ref-card-featured p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-refer-benefit-card,
  .pw-ref-featured-link {
    transition: none;
  }

  .pw-ref-art-star {
    animation: none;
  }
}

/* =====================================
   REFER & EARN — HOW IT WORKS
===================================== */

.pw-refer-journey {
  position: relative;
  overflow: hidden;
  padding: 110px 0 95px;
  background:
    radial-gradient(
      circle at 10% 15%,
      #dcf8e7 0,
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 85%,
      #f4e9ff 0,
      transparent 30%
    ),
    #fcfaf3;
}

.pw-refer-journey .pw-refer-container {
  position: relative;
  z-index: 1;
}

.pw-journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  margin-top: 75px;
}

.pw-journey-connector {
  position: absolute;
  z-index: 0;
  width: 75%;
  height: 150px;
  top: 52px;
  left: 12.5%;
  pointer-events: none;
}

.pw-journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pw-journey-visual {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 1;
  margin: 0 auto 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .35s ease;
}

.pw-journey-step:hover .pw-journey-visual {
  transform: translateY(-9px);
}

.pw-journey-mint {
  background: linear-gradient(
    145deg, #d6f7df, #b9eecf
  );
  color: #08784c;
}

.pw-journey-peach {
  background: linear-gradient(
    145deg, #ffe8cc, #ffd4ac
  );
  color: #a76624;
}

.pw-journey-lavender {
  background: linear-gradient(
    145deg, #e9dfff, #d7c7fa
  );
  color: #7047ad;
}

.pw-journey-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  background: #ffffffbd;
  box-shadow: 0 16px 40px #24483212;
  transform: rotate(-7deg);
  transition: transform .3s ease;
}

.pw-journey-step:hover .pw-journey-icon {
  transform: rotate(0deg) scale(1.06);
}

.pw-journey-icon svg {
  width: 65px;
  height: 65px;
}

.pw-journey-step-number {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #fff;
  color: #103e2b;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 25px #00000012;
}

.pw-journey-orbit {
  position: absolute;
  inset: 15px;
  border: 2px dashed #ffffffa8;
  border-radius: 50%;
  animation: pw-journey-rotate 28s linear infinite;
}

@keyframes pw-journey-rotate {
  to { transform: rotate(360deg); }
}

.pw-journey-step h3 {
  margin: 0 0 15px;
  color: #103e2b;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.7px;
}

.pw-journey-step p {
  max-width: 315px;
  margin: 0 auto;
  color: #607369;
  font-size: 15px;
  line-height: 1.85;
}

.pw-journey-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 65px;
}

.pw-journey-bottom p {
  margin: 0;
  color: #103e2b;
  font-size: 19px;
  font-weight: 700;
}

.pw-journey-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 17px 28px;
  border-radius: 13px;
  background: linear-gradient(
    120deg, #08784c, #0baa6b
  );
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px #08784c30;
  transition: transform .25s ease;
}

.pw-journey-cta:hover {
  transform: translateY(-4px);
  color: #fff;
}

.pw-journey-disclaimer {
  margin: 30px auto 0;
  max-width: 650px;
  text-align: center;
  color: #718176;
  font-size: 12px;
  line-height: 1.7;
}

/* FIX ANCHOR POSITION BELOW STICKY HEADER */
#refer-benefits,
#how-refer-works,
#refer-form {
  scroll-margin-top: 135px;
}

/* TABLET */
@media (max-width: 950px) {
  .pw-journey-track {
    gap: 20px;
  }

  .pw-journey-visual {
    width: min(100%, 190px);
  }

  .pw-journey-connector {
    top: 25px;
  }

  .pw-journey-icon {
    width: 95px;
    height: 95px;
  }
}

/* MOBILE */
@media (max-width: 650px) {
  .pw-refer-journey {
    padding: 75px 0;
  }

  .pw-journey-track {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 50px;
  }

  .pw-journey-connector {
    display: none;
  }

  .pw-journey-visual {
    width: 205px;
  }

  .pw-journey-step p {
    max-width: 330px;
  }

  .pw-journey-bottom {
    margin-top: 55px;
  }

  .pw-journey-bottom p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-journey-orbit {
    animation: none;
  }

  .pw-journey-visual,
  .pw-journey-icon,
  .pw-journey-cta {
    transition: none;
  }
}

/* =====================================
   WHO CAN JOIN — SPLIT SECTION
===================================== */

.pw-refer-audience {
  padding: 115px 0;
  background: #ffffff;
  overflow: hidden;
}

.pw-audience-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 85px;
  align-items: center;
}

.pw-audience-feature {
  position: relative;
  min-height: 660px;
  border-radius: 35px;
  padding: 55px 48px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 85% 90%,
      #24c78a 0,
      transparent 43%
    ),
    linear-gradient(
      145deg,
      #06412f,
      #08784c 65%,
      #0ca86b
    );
  color: #fff;
}

.pw-audience-feature-content {
  position: relative;
  z-index: 2;
}

.pw-audience-eyebrow {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 40px;
  background: #ffffff24;
  color: #d8ffe7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.pw-audience-feature h2 {
  margin: 28px 0 20px;
  color: #fff;
  font-size: clamp(37px, 3.5vw, 54px);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.pw-audience-feature h2 span {
  display: block;
  color: #b9f7c8;
}

.pw-audience-feature p {
  max-width: 430px;
  margin: 0;
  color: #e0f6e9;
  font-size: 15px;
  line-height: 1.9;
}

.pw-audience-button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
  padding: 15px 20px;
  border-radius: 12px;
  background: #fff;
  color: #08784c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s ease;
}

.pw-audience-button:hover {
  transform: translateY(-4px);
  color: #08784c;
}

/* DECORATIVE NETWORK ILLUSTRATION */

.pw-audience-art {
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -115px;
  right: -35px;
  pointer-events: none;
}

.pw-audience-orbit {
  position: absolute;
  border: 2px solid #ffffff40;
  border-radius: 50%;
}

.pw-audience-orbit.orbit-outer {
  inset: 0;
}

.pw-audience-orbit.orbit-inner {
  inset: 55px;
  border-style: dashed;
}

.pw-audience-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 105px;
  height: 105px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: #ffffff30;
  color: #fff;
  backdrop-filter: blur(10px);
}

.pw-audience-center svg {
  width: 65px;
  height: 65px;
}

.pw-audience-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #c9ffb5;
  color: #075338;
  font-size: 27px;
  box-shadow: 0 12px 30px #003c2525;
}

.pw-audience-node.node-one {
  top: 12px;
  left: 65px;
}

.pw-audience-node.node-two {
  right: 8px;
  top: 110px;
  background: #ffe6a7;
}

.pw-audience-node.node-three {
  left: 15px;
  bottom: 75px;
  background: #dcd0ff;
}

/* RIGHT CONTENT */

.pw-audience-right > h2 {
  margin: 23px 0 18px;
  color: #103e2b;
  font-size: clamp(34px, 3.4vw, 49px);
  line-height: 1.16;
  letter-spacing: -1.6px;
  font-weight: 800;
}

.pw-audience-right > h2 span {
  color: #0a9c5d;
}

.pw-audience-intro {
  color: #607369;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 32px;
}

.pw-audience-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pw-audience-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 19px 20px;
  border: 1px solid #e5eee7;
  border-radius: 18px;
  background: #fff;
  transition:
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.pw-audience-item:hover {
  transform: translateX(5px);
  border-color: #b6e8c9;
  box-shadow: 0 12px 28px #06412f0a;
}

.pw-audience-item-icon {
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.pw-audience-item-icon.mint {
  background: #dcf8e7;
  color: #08784c;
}

.pw-audience-item-icon.peach {
  background: #fff0d9;
  color: #a76c25;
}

.pw-audience-item-icon.lavender {
  background: #eee5ff;
  color: #7549b3;
}

.pw-audience-item-icon.sky {
  background: #e1f3ff;
  color: #2875a1;
}

.pw-audience-item h3 {
  margin: 0 0 6px;
  color: #103e2b;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.pw-audience-item p {
  margin: 0;
  color: #6a7c70;
  font-size: 13px;
  line-height: 1.7;
}

.pw-audience-arrow {
  margin-left: auto;
  color: #0a9c5d;
  font-size: 21px;
  opacity: .7;
}

.pw-audience-note {
  margin: 22px 0 0;
  color: #7a887e;
  font-size: 12px;
  line-height: 1.7;
}

#who-can-join {
  scroll-margin-top: 135px;
}

/* TABLET */

@media (max-width: 1050px) {
  .pw-audience-layout {
    gap: 35px;
  }

  .pw-audience-feature {
    padding: 40px 30px;
    min-height: 620px;
  }
}

/* MOBILE */

@media (max-width: 800px) {
  .pw-refer-audience {
    padding: 75px 0;
  }

  .pw-audience-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .pw-audience-feature {
    min-height: 520px;
    padding: 38px 30px;
  }

  .pw-audience-feature h2 {
    font-size: 39px;
  }

  .pw-audience-art {
    opacity: .5;
  }

  .pw-audience-right > h2 {
    font-size: 37px;
  }
}

@media (max-width: 480px) {
  .pw-audience-feature {
    min-height: 550px;
    padding: 32px 24px;
  }

  .pw-audience-feature h2 {
    font-size: 35px;
  }

  .pw-audience-item {
    padding: 16px 14px;
    gap: 12px;
  }

  .pw-audience-item-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .pw-audience-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-audience-button,
  .pw-audience-item {
    transition: none;
  }
}

/* =====================================
   REFER & EARN — FAQ
===================================== */

.pw-refer-faq {
  padding: 110px 0;
  background: #f7faf7;
}

.pw-faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 35px;
  align-items: start;
}

.pw-faq-aside {
  position: relative;
  padding: 38px;
  border-radius: 27px;
  background: linear-gradient(145deg, #e0f8e9, #f0fcf3);
  border: 1px solid #d4efdd;
}

.pw-faq-aside-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #08784c;
  color: #fff;
  font-size: 39px;
  font-weight: 800;
  margin-bottom: 28px;
}

.pw-faq-aside h3 {
  color: #103e2b;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.8px;
  margin: 0 0 14px;
}

.pw-faq-aside p {
  color: #607369;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}

.pw-faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #08784c;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.pw-faq-contact:hover {
  color: #fff;
  background: #065e3b;
}

.pw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pw-faq-item {
  border: 1px solid #e2ebe5;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  transition: border-color .25s ease;
}

.pw-faq-item[open] {
  border-color: #a6dec0;
}

.pw-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 25px;
  color: #103e2b;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.pw-faq-item summary::-webkit-details-marker {
  display: none;
}

.pw-faq-item summary:focus-visible {
  outline: 3px solid #0a9c5d;
  outline-offset: -3px;
}

.pw-faq-toggle {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f8ef;
  color: #08784c;
}

.pw-faq-toggle::before {
  content: "+";
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.pw-faq-item[open] .pw-faq-toggle::before {
  content: "−";
}

.pw-faq-answer {
  padding: 0 25px 24px;
}

.pw-faq-answer p {
  margin: 0;
  color: #64786a;
  font-size: 14px;
  line-height: 1.85;
}

/* =====================================
   FINAL REGISTRATION CTA
===================================== */

.pw-refer-final {
  padding: 85px 0 110px;
  background: #fff;
}

.pw-final-banner {
  position: relative;
  min-height: 455px;
  display: flex;
  align-items: center;
  padding: 65px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 35px;
  background: linear-gradient(
    115deg,
    #075338 0%,
    #078454 55%,
    #0bbd76 100%
  );
}

.pw-final-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.pw-final-eyebrow {
  display: inline-block;
  padding: 10px 17px;
  border-radius: 50px;
  background: #ffffff25;
  color: #dcffe9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.pw-final-content h2 {
  margin: 26px 0 19px;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.13;
  letter-spacing: -2px;
  font-weight: 800;
}

.pw-final-content h2 span {
  display: block;
  color: #c7ffcd;
}

.pw-final-content p {
  max-width: 550px;
  margin: 0;
  color: #e2fae9;
  font-size: 16px;
  line-height: 1.9;
}

.pw-final-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 30px;
  padding: 18px 27px;
  border-radius: 13px;
  background: #fff;
  color: #08784c;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px #003c2520;
  transition: transform .25s ease;
}

.pw-final-button:hover {
  transform: translateY(-4px);
  color: #08784c;
}

.pw-final-content small {
  display: block;
  margin-top: 22px;
  color: #d4f6df;
  font-size: 12px;
  line-height: 1.7;
}

.pw-final-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pw-final-decoration-one {
  width: 450px;
  height: 450px;
  background: #ffffff10;
  top: -280px;
  right: 80px;
}

.pw-final-decoration-two {
  width: 350px;
  height: 350px;
  background: #ffffff0d;
  bottom: -250px;
  left: 15%;
}

.pw-final-art {
  position: absolute;
  width: 370px;
  height: 370px;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.pw-final-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid #ffffff55;
}

.pw-final-ring.ring-one {
  inset: 0;
}

.pw-final-ring.ring-two {
  inset: 65px;
  border-style: dashed;
}

.pw-final-center-star {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffe8a4;
  font-size: 110px;
}

.pw-final-floating-star {
  position: absolute;
  color: #fff;
  font-size: 40px;
}

.pw-final-floating-star.star-one {
  top: 20px;
  right: 30px;
}

.pw-final-floating-star.star-two {
  bottom: 25px;
  left: 15px;
  color: #c7ffcd;
}

#refer-faq,
#refer-final {
  scroll-margin-top: 135px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .pw-faq-layout {
    grid-template-columns: 1fr;
  }

  .pw-faq-aside {
    padding: 30px;
  }

  .pw-final-art {
    opacity: .22;
    right: -90px;
  }
}

@media (max-width: 650px) {
  .pw-refer-faq {
    padding: 75px 0;
  }

  .pw-faq-item summary {
    padding: 20px 18px;
    font-size: 15px;
  }

  .pw-faq-answer {
    padding: 0 18px 20px;
  }

  .pw-refer-final {
    padding: 60px 0 75px;
  }

  .pw-final-banner {
    min-height: auto;
    padding: 45px 28px;
    border-radius: 25px;
  }

  .pw-final-content h2 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }

  .pw-final-content p {
    font-size: 14px;
  }

  .pw-final-art {
    right: -200px;
    opacity: .12;
  }

  .pw-final-button {
    width: 100%;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-final-button {
    transition: none;
  }
}



/* REFER & EARN — STICKY LEFT HERO */

@media (min-width: 992px) {

  .pw-refer-page .pw-refer-hero {
    overflow: visible;
  }

  .pw-refer-page .pw-refer-hero > .pw-refer-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
  }

  .pw-refer-page .pw-refer-hero-left {
    position: relative;
    min-height: 100%;
  }

  .pw-refer-page .pw-refer-hero-content {
    position: sticky;
    top: 145px;
    height: fit-content;
    margin-top: 0;
  }

}

@media (max-width: 991px) {

  .pw-refer-page .pw-refer-hero-left {
    min-height: auto;
  }

  .pw-refer-page .pw-refer-hero-content {
    position: static;
    margin-top: 0;
  }

}

/* ==========================================
   REFER & EARN — ANIMATED HERO BACKGROUND
========================================== */

.pw-refer-page .pw-refer-hero {
  position: relative;
  isolation: isolate;
}

/* Animated pastel glow */
.pw-refer-page .pw-refer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 15% 35%,
      rgba(97, 231, 165, 0.28),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 85% 20%,
      rgba(255, 215, 103, 0.24),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 75% 85%,
      rgba(181, 145, 255, 0.22),
      transparent 55%
    );

  background-size: 140% 140%;
  animation: pwHeroGradientFlow 18s ease-in-out infinite alternate;
}

/* Large soft floating glow */
.pw-refer-page .pw-refer-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -130px;
  z-index: -1;
  pointer-events: none;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 207, 138, 0.16),
    transparent 70%
  );

  animation: pwHeroOrbFloat 16s ease-in-out infinite alternate;
}

/* Gradient movement */
@keyframes pwHeroGradientFlow {
  0% {
    background-position: 0% 20%;
  }

  50% {
    background-position: 55% 65%;
  }

  100% {
    background-position: 100% 30%;
  }
}

/* Floating glow movement */
@keyframes pwHeroOrbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(65px, -55px, 0) scale(1.12);
  }

  100% {
    transform: translate3d(120px, -20px, 0) scale(0.95);
  }
}

/* Keep hero content above animated layers */
.pw-refer-page .pw-refer-hero > .pw-refer-container {
  position: relative;
  z-index: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .pw-refer-page .pw-refer-hero::before,
  .pw-refer-page .pw-refer-hero::after {
    animation: none;
  }
}

/* ========================================
   VISIBLE FLOATING HERO DECORATIONS
======================================== */

.pw-refer-page .pw-refer-hero {
  position: relative;
  isolation: isolate;
}

/* Decorative layer */
.pw-hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Keep actual content above decorations */
.pw-refer-page .pw-refer-hero > .pw-refer-container {
  position: relative;
  z-index: 2;
}

/* Floating glass orbs */
.pw-decor-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    inset 0 0 35px rgba(255,255,255,.4),
    0 15px 50px rgba(0,80,50,.08);
  backdrop-filter: blur(3px);
  animation: pwFloatOrb 9s ease-in-out infinite alternate;
}

.pw-orb-one {
  width: 170px;
  height: 170px;
  top: 17%;
  left: 3%;
  background: rgba(31,190,126,.15);
}

.pw-orb-two {
  width: 110px;
  height: 110px;
  top: 15%;
  right: 5%;
  background: rgba(255,194,62,.2);
  animation-delay: -3s;
}

.pw-orb-three {
  width: 135px;
  height: 135px;
  bottom: 8%;
  left: 43%;
  background: rgba(156,116,238,.16);
  animation-delay: -5s;
}

/* Outlined decorative rings */
.pw-decor-ring {
  position: absolute;
  display: block;
  border-radius: 50%;
  border: 2px solid rgba(5,133,83,.22);
  animation: pwFloatRing 14s ease-in-out infinite alternate;
}

.pw-ring-one {
  width: 280px;
  height: 280px;
  top: 8%;
  left: -140px;
}

.pw-ring-two {
  width: 220px;
  height: 220px;
  right: -95px;
  bottom: 6%;
  border-color: rgba(139,91,214,.25);
  animation-delay: -5s;
}

/* Floating stars */
.pw-decor-spark {
  position: absolute;
  display: block;
  font-size: 38px;
  color: #0b9e65;
  opacity: .65;
  animation: pwSparkFloat 7s ease-in-out infinite;
}

.pw-spark-one {
  top: 17%;
  left: 45%;
}

.pw-spark-two {
  top: 60%;
  left: 5%;
  color: #b28a35;
  animation-delay: -2s;
}

.pw-spark-three {
  bottom: 15%;
  right: 5%;
  color: #8b65d5;
  animation-delay: -4s;
}

/* Animation keyframes */
@keyframes pwFloatOrb {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(35px, -45px, 0) rotate(8deg);
  }
}

@keyframes pwFloatRing {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(35px, 35px, 0) scale(1.08);
  }
}

@keyframes pwSparkFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: .4;
  }
  50% {
    transform: translateY(-28px) rotate(35deg);
    opacity: .9;
  }
}

/* Smaller decorations on mobile */
@media (max-width: 767px) {
  .pw-orb-one {
    width: 95px;
    height: 95px;
  }

  .pw-orb-two {
    width: 75px;
    height: 75px;
  }

  .pw-orb-three {
    width: 85px;
    height: 85px;
  }

  .pw-decor-ring {
    opacity: .5;
  }

  .pw-decor-spark {
    font-size: 25px;
    opacity: .45;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .pw-decor-orb,
  .pw-decor-ring,
  .pw-decor-spark {
    animation: none;
  }
}

/* =====================================
   REFER & EARN — CONFETTI CELEBRATION
===================================== */

.pw-refer-confetti-canvas {
  position: fixed;
  inset: 0;

  width: 100vw;
  height: 100vh;

  z-index: 999999;

  pointer-events: none;

  background: transparent;
}


