/* ==========================================================================
   PCMH Campaign — Main Stylesheet
   Full-width layout, hero = 100vh
   ========================================================================== */

:root {
  --hero-h: 100vh;
  --risk-extra: 0px;
}

/* ===== Utility classes ===== */
.accent { color: #f1500b; }
.logo-health { color: #f1500b; }

/* ===== Reveal class — applied via JS after typing completes ===== */
.hero-logo.revealed,
.join-text.revealed,
.cta--hero.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Page Container ===== */
.page {
  position: relative;
  width: 100%;
  height: calc(var(--hero-h) + var(--risk-extra) + 2670px);
  overflow: hidden;
  background: linear-gradient(to right, #ffe8df 70%, #ffffff 70%);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  z-index: 1;
}

/* ===== Layer 0: Decorative outlined rect (large) ===== */
.deco-rect-large {
  position: absolute;
  border: 0.8vw solid #f5c9b7;
  border-radius: 3.88vw;
  z-index: 0;
}

/* ===== Layer 4: Stats background ===== */
.stats-bg {
  position: absolute;
  left: 0;
  top: calc(var(--hero-h) + var(--risk-extra) + 908px);
  width: 100%;
  height: 847px;
  background: #f1500b;
  z-index: 4;
}

/* ===== Stats carousel ===== */
.stats-carousel {
  position: absolute;
  left: 68px;
  top: calc(var(--hero-h) + var(--risk-extra) + 1121px);
  width: 1298px;
  height: 456px;
  z-index: 9;
  pointer-events: none;
}

.stats-carousel .splide__track {
  pointer-events: auto;
  overflow: visible;
}

.stat-slide {
  width: 387px;
  height: 456px;
  border-radius: 10px;
  padding: 61px 64px 0;
}

.stats-carousel .splide__slide {
  width: 387px;
}

/* ===== Carousel arrows ===== */
.carousel-arrows {
  position: absolute;
  left: 1224px;
  top: calc(var(--hero-h) + var(--risk-extra) + 1615px);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 50;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 50;
}

.carousel-arrow i {
  font-size: 18px;
  color: #00183f;
  pointer-events: none;
  transition: color 0.25s ease;
}

.carousel-arrow:hover i {
  color: #ff7e32;
}

.carousel-arrow--left {
  transform: rotate(180deg);
}

/* ===== Layer 10: "algorithm." dark text — centered in hero ===== */
.algo-text {
  position: absolute;
  left: 0;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: fit-content;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: max(48px, 16.1vw);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #363036;
  white-space: nowrap;
  z-index: 10;
  border-right: 5px solid #363036;
  animation: algo-cursor 0.85s step-end infinite;
}

.algo-text.typed {
  border-right-color: transparent;
  animation: none;
}

@keyframes algo-cursor {
  50% { border-right-color: transparent; }
}

/* ===== Hero strip (phone image carousel) ===== */
.hero-strip {
  display: flex;
  gap: 16px;
  height: 100%;
}

.hero-strip img {
  width: calc(100% + 2px);
  min-width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== Layer 12: Teen image (at-risk) ===== */
.teen-image {
  position: absolute;
  left: -3.51%;
  top: var(--hero-h);
  width: 41.07%;
  aspect-ratio: 561 / 1028;
  border-radius: 2.2vw;
  overflow: hidden;
  z-index: 12;
}

.teen-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

/* ===== Layer 13: Small decorative rect (hero logo) ===== */
.hero-logo .deco-rect-small {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 47px;
  height: 84px;
  border: 3px solid #f5c9b7;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(12.25deg);
  z-index: -1;
}

/* ===== Eyebrow as pseudo-element on "gor" span ===== */
.algo-gor {
  position: relative;
}

.algo-gor::before {
  content: 'Your parenting can\2019t beat their';
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  top: 20%;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.0909em;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f1500b;
  opacity: 0;
  pointer-events: none;
  z-index: 14;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.algo-gor.eyebrow-visible::before {
  opacity: 1;
  top: 15%;
}

/* ===== Layer 15: Stats label ===== */
.stats-label {
  position: absolute;
  left: 688px;
  top: calc(var(--hero-h) + var(--risk-extra) + 1034px);
  width: 502px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 26px;
  color: #fff8f5;
  z-index: 15;
}

/* ===== Risk content container ===== */
.risk-content {
  position: absolute;
  left: 50.37%;
  top: calc(var(--hero-h) + 82px);
  width: 43.19%;
  z-index: 25;
  will-change: transform;
}

.risk-intro {
  margin-top: 18px;
  width: 81.35%;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 26px;
  color: #363036;
}

/* ===== Layer 17: Protect body ===== */
.protect-body {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 2008px);
  width: 784px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 26px;
  text-align: center;
  color: #363036;
  z-index: 17;
}

.risk-body {
  margin-top: 16px;
  width: 81.35%;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.48px;
  line-height: 22px;
  color: #363036;
}

/* ===== Stat descriptions (inside carousel) ===== */
.stat-desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.48px;
  line-height: 22px;
  color: #363036;
  width: 259px;
}

.stat-desc--light {
  color: #ffc783;
}

/* ===== Layer 22: Join text — hero-relative ===== */
.join-text {
  position: absolute;
  left: 34.63%;
  top: calc(50% + 235px);
  width: 250px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.48px;
  line-height: 22px;
  color: #363036;
  z-index: 22;
  will-change: transform;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

/* ===== Hero logo container — fixed to top-left ===== */
.hero-logo {
  position: absolute;
  left: 74px;
  top: 63px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 100;
  will-change: transform;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-top {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.48px;
  line-height: 1;
  color: #363036;
}

.logo-bottom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.96px;
  line-height: 1;
  color: #47b1c0;
}

.risk-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 7.03vw, 96px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #363036;
}

.risk-word {
  position: relative;
  display: inline-block;
}

.risk-word::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 2px;
  right: -4px;
  bottom: 2px;
  background: #f1500b;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.risk-word.highlighted::before {
  transform: scaleX(1);
}

.risk-word.highlighted {
  color: #ffe8df;
  transition: color 0.15s ease 0.15s;
}

/* ===== Layer 26: Protect heading ===== */
.protect-heading {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 1875px);
  width: 815px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 96px;
  letter-spacing: -1.92px;
  line-height: 115px;
  text-align: center;
  color: #363036;
  z-index: 26;
}

/* ===== Layer 27: Stories heading ===== */
.stories-heading {
  position: absolute;
  left: 419px;
  top: calc(var(--hero-h) + var(--risk-extra) + 1868px);
  width: 529px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 96px;
  letter-spacing: -1.92px;
  line-height: 115px;
  text-align: center;
  color: #363036;
  z-index: 27;
}

/* ===== Stat numbers (inside carousel) ===== */
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 96px;
  letter-spacing: -1.92px;
  line-height: 115px;
  color: #363036;
  margin-bottom: 18px;
}

.stat-number--dark {
  color: #ff8934;
}

/* ===== Layer 31: Mask group (exclusion blend) — hero-relative ===== */
.mask-group {
  position: absolute;
  left: 55.49%;
  top: calc(50% - 47.23%);
  width: 28.04%;
  min-height: 90vh;
  min-width: calc(90vh * 383 / 686);
  aspect-ratio: 383 / 686;
  overflow: hidden;
  border-radius: 30px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  z-index: 31;
  background: #0C0604;
  isolation: isolate;
  will-change: transform;
  transform: translateX(60px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
              opacity 0.375s ease;
}

.mask-group.settled {
  transform: translateX(0);
  opacity: 1;
}

.mask-algo-text {
  position: absolute;
  left: -610px;
  top: 214px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: max(48px, 16.1vw);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ff4c04;
  mix-blend-mode: exclusion;
  white-space: nowrap;
  will-change: transform;
  transform: translateX(-60px);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.mask-algo-text .algo-gor::before {
  color: #ff4c04;
}

/* mix-blend-mode fallback */
@supports not (mix-blend-mode: exclusion) {
  .mask-algo-text { opacity: 0.3; }
}

/* ===== Layer 32 & 35: CTA buttons ===== */
.cta {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 479px;
  height: 80px;
  background: #f1500b;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: scale 0.25s ease;
}

.cta:hover {
  scale: 1.03;
}

.cta i {
  position: absolute;
  left: 22px;
  font-size: 36px;
  color: #feffd7;
  line-height: 1;
}

.cta span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 22px;
  color: #feffd6;
}

.cta--hero {
  left: 59.15%;
  top: calc(50% + 235px);
  z-index: 32;
  will-change: transform;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.cta--protect {
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 2114px);
  z-index: 35;
}

/* ===== Layer 33: Hamburger ===== */
.hamburger {
  display: none;
}

/* ===== Layer 34: Cursor pointer icon ===== */
.cursor-icon {
  position: absolute;
  left: 415px;
  top: 72px;
  z-index: 34;
  transform: rotate(-4.34deg) translate(300px, 300px);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.cursor-icon--risk {
  left: auto;
  right: -30px;
  top: 50%;
  transform: rotate(-4.34deg) translate(200px, 120px);
  opacity: 0;
}

.cursor-icon.sliding-out {
  transform: rotate(-4.34deg) translate(200px, 0);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.5, 0, 1, 0.5),
              opacity 0.4s ease 0.1s;
}

.cta--hero.cursor-hover {
  scale: 1.03;
}

.cursor-icon i {
  font-size: 56px;
  color: #363036;
  -webkit-text-stroke: 4px #ffffff;
  paint-order: stroke fill;
  filter:
    drop-shadow(15px 15px 30px rgba(0, 39, 102, 0.05))
    drop-shadow(2px 2px 4px rgba(0, 39, 102, 0.10));
}

/* ===== Layer 36: Video thumbnail ===== */
.video-thumb {
  position: absolute;
  left: 68px;
  top: calc(var(--hero-h) + var(--risk-extra) + 2028px);
  width: 1230px;
  height: 738px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 36;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Layer 37: YouTube icon ===== */
.youtube-icon {
  position: absolute;
  left: 575px;
  top: calc(var(--hero-h) + var(--risk-extra) + 2282px);
  width: 216px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 37;
}

.youtube-icon i {
  font-size: 192px;
  letter-spacing: -3.84px;
  line-height: 230px;
  color: #f1500b;
}

/* ===== Layer 38: Footer logo ===== */
.footer-logo {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 2356px);
  width: 444px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 38;
}

.footer-logo .footer-deco-rect {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94px;
  height: 168px;
  border: 6px solid #f5c9b7;
  border-radius: 20px;
  transform: translate(-50%, -50%) rotate(12.25deg);
  z-index: -1;
}

.footer-logo-top {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.96px;
  line-height: 1;
  color: #363036;
}

.footer-logo-bottom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -1.92px;
  line-height: 1;
  color: #47b1c0;
}

/* ===== Layer 39: Share bar ===== */
.share-bar {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 2609px);
  width: 222px;
  height: 60px;
  border: 1px solid #041c2f;
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding: 7px;
  gap: 8px;
  z-index: 39;
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #041c2f;
  color: #041c2f;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== Layer 40: Footer links ===== */
.footer-links {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 2570px);
  width: 202px;
  display: flex;
  justify-content: center;
  gap: 40px;
  z-index: 40;
}

.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 14px;
  text-transform: uppercase;
  color: #00183f;
}

/* ===== Layer 41: Copyright ===== */
.copyright {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: calc(var(--hero-h) + var(--risk-extra) + 2520px);
  width: 279px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 18px;
  text-align: center;
  color: #00183f;
  z-index: 41;
}

/* ===== Stories section (hidden) ===== */
.stories[hidden] {
  display: none;
}

/* ===== Keep elements anchored to right edge below 1366px ===== */
@media (max-width: 1365px) {
  .cta--hero {
    left: auto;
    right: 5.78%;
  }
  .join-text {
    left: auto;
    right: calc(5.78% + 479px + 85px);
  }
  .carousel-arrows {
    left: auto;
    right: 4.83%;
  }
  .stats-label {
    left: auto;
    right: 12.88%;
  }
}

/* ===== Mobile-ish layout below 890px ===== */
@media (max-width: 889px) {
  .algo-text {
    display: none;
  }
  .hero-logo {
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .mask-group {
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100vh;
    aspect-ratio: auto;
    border-radius: 0;
    margin: 0;
  }
  .mask-group::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  .mask-algo-text {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
    mix-blend-mode: normal;
  }
  .mask-algo-text .algo-gor::before {
    opacity: 1;
    top: -6%;
    font-size: 12px;
    width: 100%;
    display: block;
    white-space: normal !important;
    color: #ffe8df;
  }
  .hero-logo .logo-top {
    color: #f5c9b7;
  }
  .hero-logo .deco-rect-small {
    border-color: #363036;
  }
  .teen-image,
  .deco-rect-large {
    display: none;
  }
  .liquid-signup-fields {
    flex-direction: column;
  }
  .join-text {
    left: 20px;
    right: 20px;
    width: auto;
    text-align: center;
    top: auto;
    bottom: 120px;
    z-index: 40;
    color: #ffe8df;
  }
  .cta--hero {
    left: 20px;
    right: 20px;
    width: auto;
    top: auto;
    bottom: 20px;
    z-index: 40;
  }

  /* ---- Normal document flow for everything after hero ---- */
  .page {
    height: auto;
    overflow: hidden;
  }
  .stats-bg {
    display: none;
  }
  .risk-content {
    position: relative;
    left: 0;
    top: auto;
    width: 100%;
    padding: 10%;
  }
  .risk-intro,
  .risk-body {
    width: 100%;
  }
  .stats {
    background: #f1500b;
  }
  .stats-label {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    padding: 40px 5% 20px;
    text-align: center;
  }
  .stats-carousel {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }
  .stats-carousel .splide__slide {
    width: 100%;
  }
  .stat-slide {
    width: 100%;
    height: auto;
    padding: 40px 30px;
  }
  .stat-desc {
    width: 100%;
  }
  .carousel-arrows {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    justify-content: center;
    padding: 20px 0;
  }
  .protect-heading {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 90%;
    margin: 0 auto;
    padding-top: 60px;
    font-size: 64px;
    line-height: 1.2;
  }
  .protect-body {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
  }
  .cta--protect {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: calc(100% - 40px);
    margin: 20px auto;
  }
  .footer-logo {
    position: relative;
    top: auto;
    width: fit-content;
    margin: 60px auto 40px;
    padding-top: 0;
  }
  .footer-logo-top {
    font-size: 16px;
    letter-spacing: -0.48px;
  }
  .footer-logo-bottom {
    font-size: 32px;
    letter-spacing: -0.96px;
  }
  .footer-logo .footer-deco-rect {
    width: 47px;
    height: 84px;
    border-width: 3px;
    border-radius: 10px;
  }
  .copyright {
    position: relative;
    top: auto;
    padding: 20px 0;
  }
  .footer-links {
    position: relative;
    top: auto;
    padding-bottom: 40px;
  }
  .risk-heading {
    font-size: 64px;
  }
  .liquid-form-wrap {
    max-width: 100%;
    padding: 0 20px;
  }
  .liquid-heading {
    font-size: 40px;
  }
}

/* ==========================================================================
   LIQUID SIGNUP OVERLAY
   ========================================================================== */

.liquid-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
}

.liquid-overlay.active {
  pointer-events: auto;
}

.liquid-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.liquid-goo {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  filter: url(#goo-filter);
}

.liquid-goo-blob {
  position: absolute;
  border-radius: 50%;
  background: #f1500b;
  transform: scale(0);
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.liquid-goo-blob.expand {
  transform: scale(1) translate(var(--tx, 0px), var(--ty, 0px));
}

.liquid-btn-clone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f1500b;
  border-radius: 100px;
  text-decoration: none;
}

.liquid-content {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.liquid-content.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.liquid-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(254, 255, 215, 0.3);
  background: none;
  color: #feffd6;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.liquid-close:hover {
  border-color: #feffd6;
  transform: scale(1.1);
}

.liquid-form-wrap {
  text-align: center;
  max-width: 740px;
  width: 100%;
}

.liquid-logo {
  position: relative;
  margin-bottom: 48px;
}

.liquid-deco-rect {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 47px;
  height: 84px;
  border: 3px solid rgba(245, 201, 183, 0.35);
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(12.25deg);
  z-index: -1;
}

.liquid-logo-top {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.48px;
  line-height: 1;
  color: rgba(254, 255, 215, 0.7);
}

.liquid-logo-bottom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.96px;
  line-height: 1;
  color: #feffd6;
}

.liquid-logo-bottom span {
  color: #feffd6;
}

.liquid-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -1.92px;
  line-height: 1.1;
  color: #feffd6;
  margin-bottom: 16px;
}

.liquid-heading span {
  color: #363036;
}

.liquid-subtext {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(254, 255, 215, 0.8);
  margin-bottom: 40px;
  line-height: 1.5;
}

.liquid-signup-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.liquid-signup-fields input[type="email"],
.liquid-signup-fields input[type="text"] {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 16px 24px;
  border: 2px solid #ffffff;
  border-radius: 100px;
  background: transparent;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.liquid-signup-fields input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.liquid-signup-fields input:hover {
  border-color: #feffd6;
}

.liquid-signup-fields input:focus {
  border-color: #feffd6;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(254, 255, 214, 0.12);
}

.liquid-signup-fields input:focus::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.liquid-signup-fields input {
  flex: 1;
  min-width: 0;
}

.liquid-signup-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  padding: 18px 40px;
  background: #feffd6;
  color: #f1500b;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.liquid-signup-btn:hover {
  background: #fff;
  transform: scale(1.02);
}

.liquid-signup-btn:active {
  transform: scale(0.98);
}

.liquid-signup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.liquid-form-wrap .signup-message {
  margin-top: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  color: rgba(254, 255, 215, 0.85);
}

.liquid-form-wrap .signup-message.success {
  color: #feffd6;
}

.liquid-form-wrap .signup-message.error {
  color: #ffc783;
}

.signup-form {
  position: relative;
}
