/* sale-hero.css - HubSpot-matching styles (mobile-first) */

/* Import Google Fonts Lato family */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


/* container / wrapper spacing (mirrors .dnd_area-row-1-padding etc) */
.knack-sale-hero {
  padding-top: 20px;
  padding-bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(211,160,203,0.25)); /* light pink tint as in HS rules */
  text-align: center;
  padding: 0 20px;
}

.knack-sale-hero > .row-fluid-wrapper{
    max-width: 1200px;
    padding: unset; 
    padding-top: 20px
}

/* Badge (small headline) */
.knack-sale-hero__badge {
  display:inline-block;
  color:#ff349a;
  font-weight:bold;
  font-size: 36px;
  margin-bottom: 20px;
  font-family: "Lato", Inter, Arial, Helvetica, sans-serif;
}


.knack-sale-hero__title {
  font-family: "Lato", Inter, Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #000000; /* explicit requested color */
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
}

/* Subtitle WYSIWYG */
.knack-sale-hero__subtitle {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color:#000;
  font-size: 24px;
  line-height: 102%;
  text-align: center;
}

.knack-sale-hero__subtitle h2{
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 102%;
    font-weight: normal;
}

.knack-sale-hero__subtitle h2 strong{
    color:#ff349a;
    font-weight: bold;
}

.knack-sale-hero__subtitle p{
    font-size: 14px;
    margin-bottom: 20px;
}

/* CTA button (HubSpot rules used 22px, 31px radius, 15px vertical padding, 30px horizontal) */
.button-wrapper { text-align: center; margin-top: 12px; }
.button {
  display:inline-block;
  background-color: rgba(152,42,134,1.0);
  color: #ffffff;
  border-radius: 31px;
  font-size: 22px;
  font-family: arial, helvetica, sans-serif;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 600;
}
.button:hover,
.button:focus { background-color: rgba(72,0,54,1.0); text-decoration: none;}
.button:active { background-color: rgba(232,122,214,1.0); text-decoration: none;}

/* Trial small text under CTA */
.knack-sale-hero__trial {
  font-family: "Lato", Inter, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #000;
  font-weight: bold;
  line-height: 21px;
}

/* Trust image */
.knack-sale-trust-img {
  display:inline-block;
  height: 45px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Hero screenshot */
.knack-sale-hero-screenshot {
  display:block;
  max-width: 100%;
  height:auto;
  margin: 0 auto;
  margin-top: 16px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(74,20,55,0.08);
  margin-bottom: -2px;
  padding: 0 30px
}

.knack-sale-hero { --purple: #9c2b7a; }

/* visually-hidden label scoped inside hero */
.knack-sale-hero .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.knack-sale-hero .prompt-form {
  max-width: 900px;
  margin: auto;
  background: linear-gradient(135deg, #FFFFFF 0%, rgb(249, 241, 248) 100%);
  box-shadow: 0 0 25px #00000026;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px !important;
  margin-top: 40px !important
}

.knack-sale-hero .prompt-form-body {
  position: relative;
}

.knack-sale-hero .prompt-form textarea {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  padding: 1rem;
  border-radius: 12px;
  resize: none;
  height: 160px;
  width: 100%;
  box-sizing: border-box;
}

.knack-sale-hero .prompt-form-footer {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.knack-sale-hero .prompt-form-footer div {
  font-size: 14px;
  line-height: 1.5;
  color: #777771;
}

.knack-sale-hero .prompt-form button {
  border: none;
  height: 35px;
  width: 35px;
  min-width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--purple);
  color: #ffffff;
  border-radius: 100%;
  margin-left: auto;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  cursor: pointer;
}

.knack-sale-hero .prompt-form button:hover {
  background: #7a2160; /* fallback hover */
}

/* small-screen tweaks */
@media (max-width: 600px) {
  .knack-sale-hero .prompt-form textarea { height: 140px; }
  .knack-sale-hero .prompt-form { padding: .75rem; }
  .knack-sale-hero .prompt-form button { bottom: .75rem; right: .75rem; }
}

/* Larger screens: increase title, spacing and use row layout if desired */
@media (min-width: 768px) {
  .knack-sale-hero { padding-top: 30px; padding-bottom: 0; }
  .knack-sale-hero__title { font-size: 48px; }
  .knack-sale-hero__subtitle { font-size: 18px; }
  .button { font-size: 22px; }
  .knack-sale-hero > .row-fluid-wrapper { margin: 0 auto; padding: 0 20px; }
}

@media (min-width: 992px) {
  .knack-sale-hero { padding-top: 48px;}
  .knack-sale-hero__title { font-size: 36px; text-align: center; }
}