/*
 * Worxogo Nudge Feature Widget CSS
 *
 * Elementor Nudge Feature Widget Styles
 */

/* ===== STYLE OVERRIDE CLASSES ===== */

/* No gradient background */
.nudge-feature-wrapper.no-gradient-bg {
  background: transparent !important;
  padding: 0px !important;
}
.nudge-feature-wrapper.no-gradient-bg .nudge-feature-header {
  gap: 0px !important;
}

/* No card gradient */
.nudge-feature-card-wrapper.no-card-gradient {
  background: transparent !important;
  border: 1px solid #e0e0e0;
}

/* No icon background */
.nudge-feature-icon-wrapper.no-icon-bg {
  background: transparent !important;
  border: 1px solid #4000a9 !important;
}

/* No border radius */
.nudge-feature-wrapper.no-border-radius {
  border-radius: 0 !important;
}

.nudge-feature-card-wrapper.no-border-radius {
  border-radius: 0 !important;
}

.nudge-feature-icon-wrapper.no-border-radius {
  border-radius: 0 !important;
}

/* ===== NUDGE FEATURE SECTION ===== */
.nudge-feature-section {
  width: 100%;
  box-sizing: border-box;
}

.nudge-feature-wrapper {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 8px;
  padding: 80px 60px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  box-sizing: border-box;
  min-height: 600px;
}

.nudge-feature-header {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 892px;
  text-align: center;
}

.nudge-feature-title {
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: -0.02em;
  margin: 0;
  color: #290074 !important;
  font-weight: 700;
}

.nudge-feature-title__crafted {
  color: #290074 !important;
  font-weight: 700;
}

.nudge-feature-title__highlight {
  color: #4000a9;
  font-weight: 700;
}

.nudge-feature-title__italic {
  font-style: italic !important;
}

.nudge-feature-description {
  color: #494948;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  margin: 0;
}

/* ===== NUDGE FEATURE CARDS ===== */
.nudge-feature-cards {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  align-items: stretch;
}

.nudge-feature-card-container {
  flex: 1;
  display: flex;
}

.nudge-feature-card-wrapper {
  background: linear-gradient(146.69deg, #290074 0%, #1e0059 100%);
  border-radius: 8px;
  padding: 82px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  flex: 1;
}

.nudge-feature-icon-wrapper {
  background: #ffffff;
  border-radius: 100px;
  border: 1px solid #290074;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -33px;
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
}

.nudge-feature-card-icon {
  width: 40px;
  height: auto;
}

.nudge-feature-card-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: flex-start;
  height: 100%;
}

.nudge-feature-card-title {
  color: #ffffff;
  font-family: "Albert Sans", sans-serif;
  font-size: 32px;
  line-height: 110%;
  font-weight: 600;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.nudge-feature-card-text {
  color: #ffffff;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.nudge-feature-footer {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 956px;
  justify-content: center;
}

.nudge-feature-footer-text {
  color: #494948;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;
  font-weight: 400;
  flex: 1;
  max-width: 624px;
  text-align: center;
  margin: 0;
}

/* ===== CTA BUTTON ===== */
.cta-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Albert Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 8px;
}

.cta-button--primary {
  box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.8) inset;
  border-radius: 60px;
  background: radial-gradient(
    54.93% 131.82% at 49.74% 140.91%,
    #e100ff 0%,
    #4000a9 100%
  );
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-top: none;
  color: white !important;
  position: relative;
  z-index: 2;
  padding: 12px 24px;
}

.cta-button--primary:hover {
  box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.8) inset,
    0px 10px 20px rgba(202, 22, 248, 0.8);
  transform: translateY(-1px);
  color: white !important;
}

.cta-button__text {
  color: inherit;
}

.button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.button-icon-arrow {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nudge-feature-wrapper {
    padding: 60px 20px 0px;
  }

  .nudge-feature-cards {
    flex-direction: column;
    gap: 20px;
  }

  .nudge-feature-card-container {
    flex: none;
    margin-top: 45px;
    padding: 0 150px;
  }

  .nudge-feature-card-wrapper {
    padding: 60px 20px 20px;
  }

  .nudge-feature-icon-wrapper {
    top: -45px;
  }

  .nudge-feature-card-content {
    justify-content: flex-start;
  }

  .nudge-feature-footer {
    flex-direction: column;
    gap: 30px;
  }

  .nudge-feature-header {
    gap: 30px;
  }

  .nudge-feature-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .nudge-feature-card-title {
    font-size: 26px;
  }

  .nudge-feature-section {
    padding: 15px;
  }

  .nudge-feature-header {
    gap: 20px;
  }

  .nudge-feature-wrapper {
    gap: 40px;
  }

  .nudge-feature-wrapper {
    padding: 30px 15px 15px;
  }

  .nudge-feature-title {
    font-size: 30px;
  }

  .nudge-feature-card-container {
    padding: 0 20px;
  }

  .nudge-feature-card-wrapper {
    padding: 60px 15px 20px;
  }

  .nudge-feature-icon-wrapper {
    width: 80px;
    height: 80px;
    top: -30px;
  }

  .nudge-feature-card-icon {
    width: 32px;
  }

  .nudge-feature-card-content {
    gap: 24px;
  }

  .nudge-feature-card-title {
    font-size: 22px;
    line-height: 120%;
  }

  .nudge-feature-card-text {
    font-size: 14px;
    line-height: 130%;
  }

  .nudge-feature-footer {
    gap: 20px;
  }

  .nudge-feature-footer-text {
    font-size: 14px;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .nudge-feature-section {
    padding: 10px;
  }

  .nudge-feature-wrapper {
    padding: 25px 10px 10px;
    gap: 30px;
  }

  .nudge-feature-card-container {
    padding: 0 20px;
  }

  .nudge-feature-card-wrapper {
    padding: 60px 20px 20px;
  }

  .nudge-feature-icon-wrapper {
    width: 70px;
    height: 70px;
    top: -25px;
  }

  .nudge-feature-card-icon {
    width: 28px;
  }

  .nudge-feature-card-content {
    gap: 20px;
  }

  .nudge-feature-card-title {
    font-size: 20px;
    line-height: 115%;
  }

  .nudge-feature-card-text {
    font-size: 13px;
    line-height: 125%;
  }

  .nudge-feature-header {
    gap: 15px;
  }

  .nudge-feature-title {
    font-size: 24px;
  }

  .nudge-feature-description {
    font-size: 14px;
  }
}
