/* =====================
   PRODUCT INTEREST FORM PAGE
===================== */

.interest-page {
  background: #ffffff;
  padding: 2rem 1rem 5rem;
}

.interest-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.interest-intro-card,
.interest-form-card {
  border: 1px solid #ececec;
  border-radius: 26px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.07);
  overflow: hidden;
}

.interest-intro-card {
  background:
    linear-gradient(135deg, #111111 0%, #1a1a1a 55%, #702E3B 135%);
  color: #ffffff;
  padding: 2rem;
}

.interest-label {
  display: inline-block;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.interest-intro-card h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.interest-intro-card > p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  font-size: 0.98rem;
}

.interest-product-card {
  margin-top: 1.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: center;
}

.interest-product-card img {
  width: 90px;
  height: 110px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.4rem;
}

.interest-product-card span {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.interest-product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.interest-product-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  line-height: 1.5;
}

.interest-form-card {
  background: #ffffff;
  padding: 1.5rem;
}

.form-heading {
  margin-bottom: 1.5rem;
}

.form-heading h2 {
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.form-heading p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =====================
   REUSABLE FORM STYLING
===================== */

.xbi-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111111;
}

.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  color: #111111;
  background: #fafafa;
  outline: none;
  transition: 0.2s ease;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #702E3B 50%),
    linear-gradient(135deg, #702E3B 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-control:focus {
  border-color: #702E3B;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(112,46,59,0.10);
}

.form-submit-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 999px;
  background: #702E3B;
  color: #ffffff;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-errors {
  background: rgba(112,46,59,0.08);
  border: 1px solid rgba(112,46,59,0.18);
  color: #702E3B;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.form-errors p {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-errors ul {
  padding-left: 1.25rem;
}

.form-errors li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.field-error {
  color: #8b1e1e;
  font-size: 0.82rem;
  font-weight: 700;
}

/* =====================
   PRODUCT INTEREST SUCCESS
===================== */

.interest-success-page {
  min-height: calc(100vh - 80px);
  background:
    radial-gradient(circle at top, rgba(112,46,59,0.10), transparent 45%),
    #ffffff;
  padding: 4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interest-success-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  text-align: center;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #702E3B;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.interest-label.dark {
  color: #702E3B;
}

.interest-success-card h1 {
  font-size: 2rem;
  line-height: 1.12;
  margin: 0.75rem 0 1rem;
}

.interest-success-card > p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.success-next-steps {
  text-align: left;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 22px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.success-next-steps h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.success-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid #ececec;
}

.success-step:first-of-type {
  border-top: none;
}

.success-step span {
  color: #702E3B;
  font-weight: 800;
}

.success-step p {
  color: #666;
  line-height: 1.55;
}

.success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #702E3B;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
}



/* =====================
   TABLET
===================== */

@media (min-width: 768px) {
  .interest-page {
    padding: 3rem 1.5rem 6rem;
  }

  .interest-intro-card,
  .interest-form-card {
    padding: 2.25rem;
  }

  .interest-intro-card h1 {
    font-size: 2.6rem;
  }

  .form-heading h2 {
    font-size: 2rem;
  }
  .interest-success-card {
    padding: 3rem;
  }

  .interest-success-card h1 {
    font-size: 2.6rem;
  }
}

/* =====================
   DESKTOP
===================== */

@media (min-width: 1024px) {
  .interest-page {
    padding: 4rem 1.5rem 7rem;
  }

  .interest-shell {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.75rem;
    align-items: start;
  }

  .interest-intro-card {
    position: sticky;
    top: 90px;
    padding: 3rem;
  }

  .interest-form-card {
    padding: 3rem;
  }

  .interest-intro-card h1 {
    font-size: 3.1rem;
  }

  .form-submit-btn:hover {
    background: #541f2a;
    transform: translateY(-2px);
  }
  .success-btn:hover {
    background: #541f2a;
    transform: translateY(-2px);
  }
}