/* ==========================================================================
   Sign Up and Save Section Styles (Lime Green Card with Configurable Title & Button Arc)
   ========================================================================== */

.sign-up-and-save-section {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.sign-up-and-save__container {
  background-color: #5bb318;
  border-radius: 28px;
  padding: 68px 32px;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(91, 179, 24, 0.15);
}

.sign-up-and-save__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

/* 2-LINE TITLE TYPOGRAPHY (Matching Screenshot) */
.sign-up-and-save__header {
  margin-bottom: 12px;
}

.sign-up-and-save__title-line1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px 0;
}

.sign-up-and-save__title-line2 {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.1;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* SUBTITLE DESCRIPTION */
.sign-up-and-save__description {
  margin-bottom: 28px;
}

.sign-up-and-save__description p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* UNIFIED PILL INPUT FORM CONTAINER */
.sign-up-and-save__form-wrapper {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.sign-up-and-save__pill-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 6px 8px 6px 24px;
  width: 100%;
  box-sizing: border-box;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

/* INPUT WRAPPER & FLOATING LABEL */
.sign-up-and-save__input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 44px;
}

/* INPUT FIELD */
.sign-up-and-save__input {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  padding: 14px 0 2px 0;
  height: 100%;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

/* FLOATING LABEL (Moves up when focusing or when email is entered) */
.sign-up-and-save__label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.25, 1);
  transform-origin: left top;
}

.sign-up-and-save__input:focus~.sign-up-and-save__label,
.sign-up-and-save__input:not(:placeholder-shown)~.sign-up-and-save__label,
.sign-up-and-save__input:-webkit-autofill~.sign-up-and-save__label {
  top: 2px;
  transform: translateY(0);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* REMOVE BROWSER AUTOFILL BLUE BACKGROUND */
.sign-up-and-save__input:-webkit-autofill,
.sign-up-and-save__input:-webkit-autofill:hover,
.sign-up-and-save__input:-webkit-autofill:focus,
.sign-up-and-save__input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: #ffffff;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px transparent inset;
}

/* SUBMIT BUTTON (Styled exactly like blog-card__arrow: white button, black icon, black arcs) */
.sign-up-and-save__submit {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.25, 1);
}

.sign-up-and-save__submit:hover {
  background: #ffffff;
  color: #000000;
}

/* Outer Arc Ring (.sign-up-and-save__submit-outer) */
.sign-up-and-save__submit-outer {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  pointer-events: none;
  overflow: visible;
}

.sign-up-and-save__submit-outer::before {
  content: '';
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #000000;
  transform: rotate(-45deg);
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.25, 1);
}

.sign-up-and-save__submit-outer::after {
  content: '';
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: #000000;
  transform: rotate(-45deg);
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.25, 1);
}

.sign-up-and-save__submit:hover .sign-up-and-save__submit-outer::before {
  transform: rotate(0deg);
}

.sign-up-and-save__submit:hover .sign-up-and-save__submit-outer::after {
  transform: rotate(0deg);
}

/* SVG ARROW ICON */
.sign-up-and-save__submit-icon {
  width: 18px;
  height: 18px;
  color: #000000;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.sign-up-and-save__msg--success {
  color: #ffffff;
  font-size: 14px;
  margin-top: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 749px) {
  .sign-up-and-save__container {
    padding: 44px 20px;
    border-radius: 20px;
  }

  .sign-up-and-save__pill-form {
    padding: 4px 6px 4px 18px;
  }

  .sign-up-and-save__submit {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .sign-up-and-save-section {
    padding: 40px 0;
  }
}