/* ============================================================
   COMING SOON POPUP — coming-soon-style.css
   Matches the high-fidelity mockup exactly:
   · Left panel  : dark grid product image (BG-Desktop.webp)
   · Right panel : soft pink (#fce8f1) with Title SVG, pill
                   input stacked above full-width dark button
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---- Page body ---- */
/*body {*/
/*  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;*/
/*  background-color: #0d0b1a;*/
/*  min-height: 100vh;*/
/*  margin: 0;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  overflow-x: hidden;*/
/*}*/

/* ============================================================
   BACKDROP
   ============================================================ */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.65) !important;
  transition: opacity 0.3s ease;
}
.modal-backdrop.show {
  backdrop-filter: blur(8px);
  opacity: 1 !important;
}

/* ============================================================
   MODAL DIALOG SIZE
   ============================================================ */
@media (min-width: 992px) {
  .modal-lg {
    max-width: 960px !important;
  }
}

/* Spring scale-in entrance */
.modal.fade .modal-dialog {
  transform: scale(0.88) translateY(28px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* ============================================================
   POPUP CARD  (modal-content override)
   ============================================================ */
.popup-card {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: none !important;
  box-shadow: 0 36px 90px -12px rgba(0, 0, 0, 0.55) !important;
  background: transparent !important;
  position: relative;
}

/* ============================================================
   LAYOUT  —  webRow / webCol
   Desktop: side-by-side 50/50
   Mobile:  stacked, image on top
   ============================================================ */
.webRow {
  padding: 10px;
    background: #fdf2f8;
    position: relative;
}

/*.webCol {
  flex: 0 0 50%;
  max-width: 50%;
}*/

/* ============================================================
   LEFT PANEL  —  Product image
   ============================================================ */
.popup-visual-container {
  position: relative;
  overflow: hidden;
  background-color: #111;    /* fallback while image loads */
}

.popup-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
      /*z-index: 99;*/
}

/* The desktop image is wide (covers dark left + light right halves).
   We show only the LEFT (dark) portion in this column via object-position. */
.popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.popup-image.desktop { display: block; border-radius: 15px;}
.popup-image.mobile  { display: none;  border-radius: 15px;}

/* ============================================================
   RIGHT PANEL  —  Soft pink content area
   ============================================================ */
.popup-content-container {
      /*background-color: #fce8f1;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px 48px 32px 48px;
    position: relative;
    overflow: hidden;
    position: absolute;
    top: 0;
    /* z-index: 9; */
    right: 0;
    
        width: 100%;
    max-width: 527px;
}

/* Decorative organic wave shape (top-right corner) */
.organic-shapes-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Content sits above the wave shape */
.popup-body-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   CLOSE BUTTON  (top-right of the modal card)
   ============================================================ */
.btn-close-popup {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 150;
  color: #666;
  transition: background-color 0.2s ease, transform 0.25s ease, color 0.2s ease;
}
.btn-close-popup:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: #111;
  transform: rotate(90deg);
}
.btn-close-popup svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   HEADING  —  Title.svg image
   ============================================================ */
.popup-heading {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* ---- Inline fallback heading (shown when Title.svg fails to load) ---- */
.popup-heading-fallback {
  margin-bottom: 20px;
}
.fallback-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.95;
  color: #111;
  margin: 0 0 10px 0;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.fallback-early {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  font-style: italic;
  color: #ff2a8d;
  border: 3px solid #3355ee;
  border-radius: 50px;
  padding: 2px 20px 4px;
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   SUBHEADING
   ============================================================ */
.popup-subheading {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(0 0 0 / 80%);
  margin-bottom: 30px;
  font-weight: 400;
  text-align: center;
}

/* ============================================================
   EMAIL FORM
   ============================================================ */
form#subscribeForm{
  width: 100%;
}
.email-form-wrapper {
  width: 100%;
  margin-bottom: 10px;
}

.custom-input-group {
  display: flex;
  flex-direction: column;   /* stacked: input on top, button below */
  gap: 10px;
  width: 100%;
}

/* --- Email input --- */
.custom-input-group input[type="email"] {
  width: 100%;
  border: 1.5px solid #d8b4cb;
  border-radius: 10px;      /* pill shape */
  background: #fff;
  padding: 15px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  font-weight: 400;
  color: rgb(0 0 0 / 80%);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.custom-input-group input[type="email"]::placeholder {
  color: #bbb;
}
.custom-input-group input[type="email"]:focus {
  border-color: #ff2a8d;
  box-shadow: 0 0 0 4px rgba(255, 42, 141, 0.1);
}

/* Error shake on invalid input */
.custom-input-group.error input[type="email"] {
  border-color: #ff2a8d;
  box-shadow: 0 0 0 4px rgba(255, 42, 141, 0.12);
  animation: shake 0.45s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-7px); }
  40%, 80%  { transform: translateX(7px); }
}

/* --- Submit button --- */
.custom-input-group .btn-submit {
  width: 100%;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 10px;      /* pill shape */
  padding: 10px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.custom-input-group .btn-submit .btn-arrow {
  width: 22px;
  height: auto;
  filter: invert(1);        /* make black arrow white */
  display: inline-block;
  flex-shrink: 0;
}
.custom-input-group .btn-submit .btn-arrow-fallback {
  font-size: 1.15rem;
  line-height: 1;
}

.btn-submit svg{
    width:20px;
    height:20px;
}
.custom-input-group .btn-submit:hover {
  background-color: #000;
  transform: scale(1.015);
}
.custom-input-group .btn-submit:active {
  transform: scale(0.985);
}
.custom-input-group .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   DISCLAIMER TEXT
   ============================================================ */
.disclaimer-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

/* ============================================================
   SUCCESS STATE
   ============================================================ */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 40px 0 20px;
  position: relative;
  z-index: 2;
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: #fff0f6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  animation: pulseCheck 2s ease-in-out infinite;
}
@keyframes pulseCheck {
  0%   { box-shadow: 0 0 0 0    rgba(255, 42, 141, 0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(255, 42, 141, 0);    }
  100% { box-shadow: 0 0 0 0    rgba(255, 42, 141, 0);    }
}
.success-icon-wrapper svg {
  width: 34px;
  height: 34px;
  color: #ff2a8d;
}

.success-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.success-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  color: #666;
  line-height: 1.6;
  max-width: 88%;
  text-align:center;
}

/* ============================================================
   RESPONSIVE — MOBILE  (< 768 px)
   Image column on top, content column below
   ============================================================ */
@media (max-width: 991px) {

  .webRow {
    display: flex;
    flex-direction: column;
  }

  .webCol {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  /* Fixed-height image panel on top */
  .popup-visual-container {
    height: 270px;
    flex-shrink: 0;
  }
  
  

  /* Switch to mobile image */
  .popup-image.desktop { display: none; }
  .popup-image.mobile  {
    display: block;
    object-position: center top;
  }

  /* Content area below */
  .popup-content-container {
    position: unset;
    padding: 0 15px;
  }
  .popup-image-wrapper{
    z-index: 0;
  }

  /* Close button on mobile — white pill so it reads on dark image */
  .btn-close-popup {
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }
  .btn-close-popup:hover {
    background: #fff;
  }

  .popup-heading {
    max-width: 240px;
    margin-bottom: 10px;
  }
  .custom-input-group input[type="email"]{
      padding: 8px 24px;
  }
  .fallback-h1 {
    font-size: 2.1rem;
  }
  .fallback-early {
    font-size: 1.7rem;
  }
  .popup-subheading {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .disclaimer-text {
    text-align: center;
  }
  .success-state {
    padding: 15px 0;
  }
}

@media (max-width: 575px) {
    .webRow {
        display: flex;
        flex-direction: column;
        /*width: 100%;*/
        /*max-width: 90%;*/
        border-radius: 15px;
      }
      .popup-card{
          box-shadow:none !important;
          width: 100%;
          max-width: 90%;
          align-items: center;
      }
      .btn-close-popup {
        top: 14px;
        right: 14px;
      }
    .popup-content-container {
        padding: 0 5px;
    }
}

