/* components/_thank_you.css */

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.thank-you__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
}

.thank-you__owl-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: -36px; /* pulls the card up behind the owl */
  position: relative;
  z-index: 2;
}

.thank-you__owl {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  /* white ring + faint blue outer ring so it pops off the card */
  box-shadow:
    0 0 0 4px var(--white),
    0 0 0 5px var(--border);
}

.thank-you__tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.thank-you__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  width: 100%;
  max-width: unset;
  position: relative;
}

@media (max-width: 600px) {
  .thank-you__owl-wrap {
    margin-bottom: -28px; /* slightly less overlap so owl sits higher */
  }

  .thank-you__owl {
    width: 90px;
    height: 90px; /* optionally a touch bigger so it doesn't feel cramped */
  }
}

.thank-you__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #66bbff);
  border-radius: 0 0 4px 4px;
}

/* ── Icon ── */
.thank-you__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Heading & intro ── */
.thank-you__card h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.thank-you__card > p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-60);
  margin: 0 0 2rem;
}

.thank-you__card > p strong {
  color: var(--blue);
  font-weight: 500;
}

/* ── Steps list ── */
.thank-you__steps {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 2rem;
  text-align: left;
}

.thank-you__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.thank-you__step:last-child {
  border-bottom: none;
}

.thank-you__step .step-num {
  /* Reuses .step-num from _how_it_works.css but overrides position */
  position: static;
  flex-shrink: 0;
  margin-top: 1px;
}

.thank-you__step-text p {
  margin: 0;
}

.thank-you__step-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.thank-you__step-body {
  font-size: 0.8rem;
  color: var(--ink-60);
  line-height: 1.55;
  margin-top: 2px !important;
}

/* ── CTA & note ── */
.thank-you__cta {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
}

.thank-you__cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.thank-you__note {
  font-size: 0.8rem;
  color: var(--ink-60);
  margin-top: 1rem;
}

.thank-you__note strong {
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 600px) {
  .thank-you__card {
    padding: 2rem 1.25rem;
  }
}